Building the Laika AMI

Size: px
Start display at page:

Download "Building the Laika AMI"

Transcription

1 Building the Laika AMI Ben Uphoff, CCHIT Table of Contents Install steps... 2 Install dependencies and congure environment... 2 Get and congure Laika... 3 Congure Laika to start on system boot... 3 Create the Laika schema and populate it... 4 Install Apache from Source... 4 Download, verify and unpack the distribution... 4 Congure and install the server... 4 Modify conf/httpd.conf to include (in the pertinent sections of the le):... 4 NameVirtualHost directive... 4 Congure Apache to start on system boot... 4 XDS Registry & Repository... 5 Initial environment setup... 5 Get the supporting software (Tomcat and ebxml)... 5 Databases and user setup... 5 Tomcat setup... 5 Get the XDS server code, expand archive and install... 6 Congure Tomcat to launch at system startup... 6 Resetting the XDS database... 6 PIX/PDQ... 7 Get the supporting software... 7 If upgrading... 7 Install... 7 Congure... 7 Congure pixpdq to launch at system startup... 7 Start PIX/PDQ server... 7 February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 1 of 23

2 Clearing the HL7 message log in Laika... 7 AMI at this point in the build... 8 ATNA logging server... 8 Congure ATNA logging server to launch at system startup... 8 TLS encryption of services... 8 XDS... 8 PIX/PDQ... 8 ATNA... 8 Notes... 9 Other thoughts... 9 Scripts... 9 usr/local/apache2/conf/extra/laika.conf... 9 etc/init.d/apache usr/local/apache2/envvars etc/prole.d/laika_env.sh var/www/laika/cong/database.yml etc/init.d/laika.sh etc/init.d/tomcat1.sh etc/init.d/tomcat2.sh home/tomcat/.prole etc/init.d/pixpdq.sh etc/init.d/bsdsyslog.sh Install steps Started with Alestic ami-ccf615a5, Ubuntu 9.04 Jaunty Server Install dependencies and congure environment apt-get update apt-get upgrade apt-get install sun-java5-jdk apt-get install sun-java6-jdk wget tar -zxf jruby-bin tar.gz mv jruby /usr/local/ ln -s /usr/local/jruby /usr/local/jruby February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 2 of 23

3 apt-get install vim Create /etc/prole.d/java_prole.sh as JAVA_HOME=/usr/lib/jvm/java-6-sun JRUBY_HOME=/usr/local/jruby PATH="$PATH:$JRUBY_HOME/bin" export JAVA_HOME JRUBY_HOME PATH Make script executable chmod 755 /etc/prole.d/java_prole.sh Then, run the script statements manually - not executing for some reason - [need! bin/sh or something?). Or, reboot. Install Rails jruby -S gem sources -a jruby -S gem install rails -v= no-rdoc --no-ri Install MySQL apt-get install mysql-server root PW = <insert your own secure password> Get and congure Laika apt-get install git-core mkdir /var/www cd /var/www git clone git://github.com/cchit/laika.git cd laika cp./cong/database.yml.template./cong/database.yml Fix reference to Rails version in environment.rb (v > v2.3.5) Install the balance of the gem dependencies jruby -S gem install jruby-openssl jruby -S gem install activerecord-jdbcmysql-adapter jruby -S gem install activerecord-jdbcpostgresql-adapter jruby -S rake gems:install Log into MySQL and set up the database mysql> create database laika; mysql> grant all on laika.* to 'laika'@'localhost' identied by 'laika'; Install the Glasssh application server jruby -S gem install glasssh Update /etc/prole.d/laika_env.sh Execute this script, or the commands therein to set the CLASSPATH environment variable. Create /var/www/laika/cong/database.yml Congure Laika to start on system boot Create /etc/init.d/laika.sh February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 3 of 23

4 Set permissions and install as startup script chmod 755 /etc/init.d/laika.sh cd /etc/init.d update-rc.d laika.sh defaults Create the Laika schema and populate it jruby -S rake db:migrate jruby -S rake db:seed Watch for admin user account setup Install Apache from Source Download, verify and unpack the distribution Get the latest release (v as of December 2009) wget Verify the MD5 for the download md5sum httpd tar.gz Compare the resulting MD5 with that available at the Apache distribution site Unpack the gzipped tar tar xvf httpd tar.gz cd httpd Congure and install the server./congure --enable-rewrite=shared --enable-proxy=shared make make install Modify conf/httpd.conf to include (in the pertinent sections of the le): ServerRoot "/usr/local/apache2" LoadModule rewrite_module modules/mod_rewrite.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so ServerAdmin Laika virtual host Include conf/extra/laika.conf NameVirtualHost directive Ensure only one instance of NameVirtualHost directive - should only be in laika.conf; remove from ports.conf and elsewhere. grep for "NameVirtualHost"? Implement /usr/local/apache2/envvars Congure Apache to start on system boot Create /etc/init.d/apache2 chmod 755 /etc/init.d/apache2 update-rc.d apache2 defaults February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 4 of 23

5 XDS Registry & Repository Initial environment setup Update the apt-get cache apt-get update Update any packages in-need apt-get upgrade Install PostgreSQL apt-get install postgresql apt-get install postgresql-client Create accounts used by XDS services sudo -u postgres createuser -s root sudo -u postgres createuser -s bill Get the supporting software (Tomcat and ebxml) cd ~ wget n_2.tgz tar xfz xds_support_bin_2.tgz Databases and user setup createuser -s -P ebxmlrr (empty password) createuser -s -P xdsoper (password xdsoper) createuser -s -P logs (password xdslogs) createdb -O xdsoper registry createdb adt createdb -O logs log2 cd ~/xds_support_bin_2 pg_restore -d registry -F t init_data/xds/xds_init.tar pg_restore -d adt init_data/adt/adt.dump Tomcat setup adduser tomcat (insert your secure password) mkdir /usr/local/tomcat2 February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 5 of 23

6 chown tomcat /usr/local/tomcat2 cd ~/xds_support_bin_2/tomcat2 cp -R * /usr/local/tomcat2 cd /usr/local/tomcat2/ chown -R tomcat:tomcat * mkdir /usr/local/tomcat1 chown tomcat /usr/local/tomcat1 cd ~/xds_support_bin_2/tomcat1 cp -R * /usr/local/tomcat1 cd /usr/local/tomcat1/ chown -R tomcat:tomcat * Get the XDS server code, expand archive and install cd ~ wget 1_0.tgz tar xfz xds_server_bin_1_0.tgz cd xds_server_bin_1_0./install.sh Congure Tomcat to launch at system startup Modify /home/tomcat/.prole Create /etc/init.d/tomcat1.sh Create /etc/init.d/tomcat2.sh Set execute permissions on startup scripts chmod 755 /etc/init.d/tomcat* Set rc links update-rc.d tomcat2.sh multiuser update-rc.d tomcat1.sh multiuser Resetting the XDS database Use this procedure to reset the PostgreSQL XDS databases back to their default state. Useful in preparing an AMI for bundling, or getting an instance to a known, clean state. Version in-use on Laika AMIs (Technical Framework v5; tf5) may be found here: pg_restore commands reference the xds_support_bin_2 directory, so change to that directory before running or modify path accordingly. /etc/init.d/tomcat1.sh stop /etc/init.d/tomcat2.sh stop dropdb -e registry createdb -O xdsoper registry dropdb -e adt createdb adt pg_restore -d registry -F t init_data/xds/xds_init.tar pg_restore -d adt init_data/adt/adt.dump /etc/init.d/tomcat1.sh start /etc/init.d/tomcat2.sh start February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 6 of 23

7 PIX/PDQ Get the supporting software Install ant apt-get install ant Download and build OpenPIXPDQAdapter cd ~ git clone git://github.com/citiustech/laika-pixpdq-adapter.git cd laika-pixpdq-adapter ant If upgrading Stop PIX/PDQ server and back up existing version. Modify these steps for path changes as appropriate. /etc/init.d/pixpdq.sh stop mv /usr/local/laika/pixpdq_server /usr/local/laika/pixpdq_server_old Install Move the pixpdq_server to the appropriate install path mkdir /usr/local/laika mv pixpdq_server /usr/local/laika/ Congure Set database values in pixpdq_server/conf/db.properties and pixpdq_server/conf/hibernate.cfg.xml Username: laika Password: laika Set domain values in pixpdq_server/conf/actors/pixpdqclientdomains.xml NamespaceId: CCHIT UniversalId: UniversalIdType: ISO Congure pixpdq to launch at system startup Create /etc/init.d/pixpdq.sh Set execute permissions on startup script chmod 755 /etc/init.d/pixpdq.sh Set rc links update-rc.d pixpdq.sh multiuser Start PIX/PDQ server /etc/init.d/pixpdq.sh start Clearing the HL7 message log in Laika Log into MySQL as root or laika user, then: mysql> use laika; mysql> delete from messagelog; February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 7 of 23

8 AMI at this point in the build laika04, ami-e8ed0081 ATNA logging server Download the syslog package from the CCHIT GitHub site wget Install unzip apt-get install unzip Expand zip archive unzip syslog_server.zip Move the server to /usr/local mv syslog_server /usr/local/ Create syslog db Use logs user from XDS install createdb -O logs syslog Update /var/www/laika/cong/database.yml with these settings ATNA message log syslog: adapter: jdbcpostgresql host: localhost database: syslog username: logs password: xdslogs port: 5432 Congure ATNA logging server to launch at system startup Create /etc/init.d/bsdsyslog.sh Set execute permissions on startup script chmod 755 /etc/init.d/bsdsyslog.sh Set rc links update-rc.d bsdsyslog.sh multiuser TLS encryption of services XDS PIX/PDQ ATNA IHE is not requiring TLS encryption of ATNA logging as of January See - "Future of ATNA transport" (near end of FAQ). February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 8 of 23

9 When required, see as a possible syslog daemon to implement. It mirrors the standard syslogd behavior, is very flexible, and can write to a database. Notes The ATNA logging is not installed. database.yml should be reviewed to ensure settings for adv. interop components are accurate. Other thoughts Get Glasssh to bind to localhost only (don't expose to ext adapter) Check out Bastille (security wizard/documentation) Move to Rails Fix apache2 init.d script to better deal with htcacheclean parameters Scripts /usr/local/apache2/conf/extra/laika.conf NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin webmaster@localhost Disable forward proxy - keeps Apache from acting like a relay. Really important! ProxyRequests Off ProxyPreserveHost on RewriteEngine on Deal with old, published URL RewriteRule ^/laika(.*) [P,L] Main rewrite to Glasssh application server RewriteRule ^/(.*) [P,L] <Directory /> Options FollowSymLinks AllowOverride None Order Deny,Allow Deny from all </Directory> ErrorLog /usr/local/apache2/logs/apache_err_laika.log Possible values include: debug, info, notice, warn, error, crit, alert, emerg. LogLevel debug CustomLog /usr/local/apache2/logs/apache_access_laika.log combined February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 9 of 23

10 </VirtualHost> ServerSignature On /etc/init.d/apache2 Modied version of that included with packaged install of Apache2 via apt-get!/bin/sh -e BEGIN INIT INFO Provides: apache2 Required-Start: $local_fs $remote_fs $network $syslog Required-Stop: $local_fs $remote_fs $network $syslog Default-Start: Default-Stop: Short-Description: Start/stop apache2 web server END INIT INFO apache2 This init.d script is used to start apache2. It basically just calls apache2ctl. Modied by Ben Uphoff to handle an install from source ENV="env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin" [ `ls -1 /etc/apache2/sites-enabled/ wc -l sed -e 's/ *//;'` -eq 0 ] && \ echo "You haven't enabled any sites yet, so I'm not starting apache2." && \ echo "To add and enable a host, use addhost and enhost." && exit 0 edit /etc/default/apache2 to change this. HTCACHECLEAN_RUN=auto HTCACHECLEAN_MODE=daemon HTCACHECLEAN_SIZE=300M HTCACHECLEAN_DAEMON_INTERVAL=120 HTCACHECLEAN_PATH=/var/cache/apache2/mod_disk_cache HTCACHECLEAN_OPTIONS="" set -e if [ -x /usr/local/apache2 ] ; then HAVE_APACHE2=1 else echo "No apache MPM package installed" exit 0. /lib/lsb/init-functions test -f /etc/default/rcs &&. /etc/default/rcs test -f /etc/default/apache2 &&. /etc/default/apache2 APACHE2CTL="$ENV /usr/local/apache2/bin/apachectl" HTCACHECLEAN="$ENV /usr/local/apache2/bin/htcacheclean" PIDFILE=`. /usr/local/apache2/envvars ; echo $APACHE_PID_FILE` if [ -z "$PIDFILE" ] ; then February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 10 of 23

11 echo ERROR: APACHE_PID_FILE needs to be dened in /usr/local/apache2/envvars >&2 exit 2 check_htcacheclean() { [ "$HTCACHECLEAN_MODE" = "daemon" ] return 1 [ "$HTCACHECLEAN_RUN" = "yes" ] && return 0 [ "$HTCACHECLEAN_RUN" = "auto" \ -a -e /etc/apache2/mods-enabled/disk_cache.load ] && return 0 return 1 start_htcacheclean() { $HTCACHECLEAN $HTCACHECLEAN_OPTIONS -d$htcacheclean_daemon_interval \ -i -p$htcacheclean_path -l$htcacheclean_size stop_htcacheclean() { killall htcacheclean 2> /dev/null echo...not running pidof_apache() { if pidof is null for some reasons the script exits automagically classied as good/unknown feature PIDS=`pidof apache2` true [ -e $PIDFILE ] && PIDS2=`cat $PIDFILE` if there is a pid we need to verify that belongs to apache2 for real for i in $PIDS; do if [ "$i" = "$PIDS2" ]; then in this case the pid stored in the pidle matches one of the pidof apache so a simple kill will make it echo $i return 0 done return 1 apache_stop() { if `$APACHE2CTL congtest > /dev/null 2>&1`; then if the cong is ok than we just stop normaly $APACHE2CTL stop 2>&1 grep -v 'not running' >&2 true else if we are here something is broken and we need to try to exit as nice and clean as possible PID=$(pidof_apache) February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 11 of 23

12 if [ "${PID" ]; then in this case it is everything nice and dandy and we kill apache2 log_warning_msg "We failed to correctly shutdown apache, so we're now killing all running apache processes. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now!" kill $PID elif [ "$(pidof apache2)" ]; then if [ "$VERBOSE"!= no ]; then echo "... failed!" echo "You may still have some apache2 processes running. There are" echo "processes named 'apache2' which do not match your pid le," echo "and in the name of safety, we've left them alone. Please review" echo "the situation by hand." return 1 apache_wait_stop() { running? PIDTMP=$(pidof_apache) if $(kill -0 "${PIDTMP:-" 2> /dev/null); then PID=$PIDTMP apache_stop wait until really stopped if [ -n "${PID:-" ]; then i=0 while $(kill -0 "${PID:-" 2> /dev/null); do if [ $i = '60' ]; then break; else if [ $i = '0' ]; then echo -n "... waiting " else echo -n "." i=$(($i+1)) sleep 1 done case $1 in start) log_daemon_msg "Starting web server" "apache2" if $APACHE2CTL start; then if check_htcacheclean ; then February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 12 of 23

13 stop) else log_progress_msg htcacheclean start_htcacheclean log_end_msg 1 log_end_msg 0 log_end_msg 1 if check_htcacheclean ; then log_daemon_msg "Stopping web server" "htcacheclean" stop_htcacheclean log_progress_msg "apache2" else log_daemon_msg "Stopping web server" "apache2" if apache_wait_stop; then log_end_msg 0 else log_end_msg 1 reload force-reload) if! $APACHE2CTL congtest > /dev/null 2>&1; then $APACHE2CTL congtest true log_end_msg 1 exit 1 log_daemon_msg "Reloading web server cong" "apache2" if pidof_apache > /dev/null ; then if $APACHE2CTL graceful $2 ; then log_end_msg 0 else log_end_msg 1 restart) if check_htcacheclean ; then log_daemon_msg "Restarting web server" "htcacheclean" stop_htcacheclean log_progress_msg apache2 else log_daemon_msg "Restarting web server" "apache2" PID=$(pidof_apache) true if! apache_wait_stop; then log_end_msg 1 true if $APACHE2CTL start; then if check_htcacheclean ; then start_htcacheclean log_end_msg 1 log_end_msg 0 else log_end_msg 1 February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 13 of 23

14 start-htcacheclean) log_daemon_msg "Starting htcacheclean" start_htcacheclean log_end_msg 1 log_end_msg 0 stop-htcacheclean) log_daemon_msg "Stopping htcacheclean" stop_htcacheclean log_end_msg 0 status) PID=$(pidof_apache) if [ -n "$PID" ]; then log_success_msg "Apache is running (pid $PID)." exit 0 else log_failure_msg "Apache is not running." exit 1 *) log_success_msg "Usage: /etc/init.d/apache2 {start stop restart reload force-reload start-htcacheclean stophtcacheclean status" exit 1 /usr/local/apache2/envvars envvars - default environment variables for apache2ctl Since there is no sane way to get the parsed apache2 cong in scripts, some settings are dened via environment variables and then used in apache2ctl, /etc/init.d/apache2, /etc/logrotate.d/apache2, etc. export APACHE_RUN_USER=www-data export APACHE_RUN_GROUP=www-data export APACHE_PID_FILE=/var/run/apache2.pid /etc/prole.d/laika_env.sh CLASSPATH=/var/www/laika/lib/saxon/saxon9.jar:/var/www/laika/lib/saxon/saxon9 -dom.jar export CLASSPATH /var/www/laika/cong/database.yml default settings login: &login encoding: UTF8 username: laika password: laika ATNA message log syslog: adapter: jdbcpostgresql February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 14 of 23

15 database: syslog port: 5432 host: localhost username: sysloguser password: sysloguser UMLS database settings umls_production: adapter: jdbcmysql host: umls.cchit.org database: umls username: umls password: cchitreadonly umls_development: adapter: jdbcmysql host: umls.cchit.org database: umls username: umls password: cchitreadonly umls_test: adapter: jdbcmysql host: umls.cchit.org database: umls username: umls password: cchitreadonly NIST XDS local repository nist_xds_registry: adapter: jdbcpostgresql database: registry host: localhost username: xdsoper password: xdsoper port: 5432 laika development settings development: adapter: jdbcmysql database: laika <<: *login laika production settings production: adapter: jdbcmysql database: laika <<: *login Warning: The database dened as "test" will be erased and re-generated from your development database when you run "rake". Do not set this db to the same as development or production. test: adapter: jdbcmysql database: laika_test <<: *login February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 15 of 23

16 /etc/init.d/laika.sh! /bin/sh BEGIN INIT INFO Provides: laika Required-Start: $local_fs $remote_fs Required-Stop: $local_fs $remote_fs Default-Start: Default-Stop: S Short-Description: Laika startup script Description: Start's Laika JRuby on Rails application, using Glasssh application server packaged as gem END INIT INFO Author: Ben Uphof <buphoff@cchit.org> Do NOT "set -e" PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/ jruby/bin DESC="Laika testing framework" NAME=glasssh DAEMON=/usr/local/jruby/bin/$NAME APP_PATH=/var/www/laika DAEMON_ARGS="-p n 2 --runtimes-max=2 --runtimes-min=2 -e production" PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/laika.sh CLASSPATH=/var/www/laika/lib/saxon/saxon9.jar:/var/www/laika/lib/saxon/saxon9 -dom.jar export CLASSPATH Exit if the package is not installed [ -x "$DAEMON" ] exit 0 Read conguration variable le if it is present [ -r /etc/default/$name ] &&. /etc/default/$name Load the VERBOSE setting and other rcs variables [ -f /etc/default/rcs ] &&. /etc/default/rcs Dene LSB log_* functions. Depend on lsb-base (>= 3.0-6) to ensure that this le is present.. /lib/lsb/init-functions Function that starts the daemon/service do_start() { cd $APP_PATH nohup $DAEMON $DAEMON_ARGS 0<&- 1>/dev/null 2>&1 & Function that stops the daemon/service February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 16 of 23

17 do_stop() { pkill -f glasssh case "$1" in start) [ "$VERBOSE"!= no ] && log_daemon_msg "Starting $DESC" "$NAME" do_start 0 1) [ "$VERBOSE"!= no ] && log_end_msg 0 2) [ "$VERBOSE"!= no ] && log_end_msg 1 stop) [ "$VERBOSE"!= no ] && log_daemon_msg "Stopping $DESC" "$NAME" do_stop 0 1) [ "$VERBOSE"!= no ] && log_end_msg 0 2) [ "$VERBOSE"!= no ] && log_end_msg 1 restart force-reload) log_daemon_msg "Restarting $DESC" "$NAME" do_stop 0 1) do_start 0) log_end_msg 0 1) log_end_msg 1 Old process is still running *) log_end_msg 1 Failed to start *) Failed to stop log_end_msg 1 *) echo "Usage: $SCRIPTNAME {start stop restart reload force-reload" >&2 echo "Usage: $SCRIPTNAME {start stop restart force-reload" >&2 exit 3 : /etc/init.d/tomcat1.sh!/bin/sh Startup script for Tomcat1 JAVA_HOME commented out because it's in ~/tomcat/.prole February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 17 of 23

18 JAVA_HOME=/usr/lib/jvm/java sun /bin export JAVA_HOME start_tomcat=/usr/local/tomcat1/bin/startup.sh stop_tomcat=/usr/local/tomcat1/bin/shutdown.sh start() { echo -n "Starting tomcat: " su -l tomcat -c ${start_tomcat echo "done." stop() { echo -n "Shutting down tomcat: " su -l tomcat -c ${stop_tomcat echo "done." See how we were called case "$1" in start) start stop) stop restart) stop sleep 10 start *) echo "Usage: $0 {start stop restart" exit 0 /etc/init.d/tomcat2.sh!/bin/sh Startup script for Tomcat2 JAVA_HOME commented out because it's in ~/tomcat/.prole JAVA_HOME=/usr/lib/jvm/java sun /bin export JAVA_HOME start_tomcat=/usr/local/tomcat2/bin/startup.sh stop_tomcat=/usr/local/tomcat2/bin/shutdown.sh start() { echo -n "Starting tomcat: " su -l tomcat -c ${start_tomcat echo "done." stop() { echo -n "Shutting down tomcat: " su -l tomcat -c ${stop_tomcat echo "done." February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 18 of 23

19 See how we were called case "$1" in start) start stop) stop restart) stop sleep 10 start *) echo "Usage: $0 {start stop restart" exit 0 /home/tomcat/.prole Add this to end of the le set JAVA_HOME for ancient tomcat instances export JAVA_HOME=/usr/lib/jvm/java sun /etc/init.d/pixpdq.sh! /bin/sh BEGIN INIT INFO Provides: OpenPIXPDQManager Required-Start: $local_fs $remote_fs Required-Stop: $local_fs $remote_fs Default-Start: Default-Stop: S Short-Description: PIX/PDQ manager for Laika Description: PIX/PDQ manager for Laika END INIT INFO Author: Ben Uphoff <buphoff@cchit.org> PATH=/usr/sbin:/usr/bin:/sbin:/bin DESC="OpenPIXPDQManager" NAME=java APP_PATH=/usr/local/laika/pixpdq_server DAEMON=/usr/lib/jvm/java-6-sun/bin/$NAME DAEMON_ARGS="-jar OpenPIXPDQAdapter.jar" PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/pixpdq.sh Exit if the package is not installed [ -x "$DAEMON" ] exit 0 Read conguration variable le if it is present [ -r /etc/default/$name ] &&. /etc/default/$name Load the VERBOSE setting and other rcs variables February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 19 of 23

20 [ -f /etc/default/rcs ] &&. /etc/default/rcs Dene LSB log_* functions. Depend on lsb-base (>= 3.0-6) to ensure that this le is present.. /lib/lsb/init-functions Function that starts the daemon/service do_start() { cd $APP_PATH $DAEMON $DAEMON_ARGS 0<&- 1>/dev/null 2>&1 & Function that stops the daemon/service do_stop() { cd $APP_PATH rm pixpdq.str RETVAL="$?" [ "$RETVAL" = 2 ] && return 2 case "$1" in start) [ "$VERBOSE"!= no ] && log_daemon_msg "Starting $DESC" "$NAME" do_start 0 1) [ "$VERBOSE"!= no ] && log_end_msg 0 2) [ "$VERBOSE"!= no ] && log_end_msg 1 stop) [ "$VERBOSE"!= no ] && log_daemon_msg "Stopping $DESC" "$NAME" do_stop 0 1) [ "$VERBOSE"!= no ] && log_end_msg 0 2) [ "$VERBOSE"!= no ] && log_end_msg 1 reload force-reload) If do_reload() is not implemented then leave this commented out and leave 'force-reload' as an alias for 'restart'. log_daemon_msg "Reloading $DESC" "$NAME" do_reload log_end_msg $? restart force-reload) If the "reload" option is implemented then remove the 'force-reload' alias February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 20 of 23

21 >&2 *) log_daemon_msg "Restarting $DESC" "$NAME" do_stop 0 1) do_start 0) log_end_msg 0 1) log_end_msg 1 Old process is still running *) log_end_msg 1 Failed to start *) Failed to stop log_end_msg 1 echo "Usage: $SCRIPTNAME {start stop restart reload force-reload" echo "Usage: $SCRIPTNAME {start stop restart force-reload" >&2 exit 3 : /etc/init.d/bsdsyslog.sh! /bin/sh BEGIN INIT INFO Provides: BSD syslog (ATNA) Required-Start: $local_fs $remote_fs Required-Stop: $local_fs $remote_fs Default-Start: Default-Stop: S Short-Description: BSD syslog (ATNA) Description: BSD syslog (ATNA) END INIT INFO Author: Ben Uphoff <buphoff@cchit.org> IP_ADDR=$(/sbin/ifcong eth0 grep 'inet addr:' cut -d: -f2 awk '{ print $1') PATH=/usr/sbin:/usr/bin:/sbin:/bin DESC="BSD Syslog (ATNA)" NAME=java APP_PATH=/usr/local/syslog_server DAEMON=/usr/lib/jvm/java-6-sun/bin/$NAME DAEMON_ARGS="-jar BSDsyslog.jar jdbc:postgresql://localhost/syslog logs xdslogs 5140 $IP_ADDR" PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/bsdsyslog.sh Exit if the package is not installed February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 21 of 23

22 [ -x "$DAEMON" ] exit 0 Read conguration variable le if it is present [ -r /etc/default/$name ] &&. /etc/default/$name Load the VERBOSE setting and other rcs variables [ -f /etc/default/rcs ] &&. /etc/default/rcs Dene LSB log_* functions. Depend on lsb-base (>= 3.0-6) to ensure that this le is present.. /lib/lsb/init-functions Function that starts the daemon/service do_start() { cd $APP_PATH $DAEMON $DAEMON_ARGS 0<&- 1>/dev/null 2>&1 & Function that stops the daemon/service do_stop() { pkill -f BSDsyslog RETVAL="$?" [ "$RETVAL" = 2 ] && return 2 case "$1" in start) [ "$VERBOSE"!= no ] && log_daemon_msg "Starting $DESC" "$NAME" do_start 0 1) [ "$VERBOSE"!= no ] && log_end_msg 0 2) [ "$VERBOSE"!= no ] && log_end_msg 1 stop) [ "$VERBOSE"!= no ] && log_daemon_msg "Stopping $DESC" "$NAME" do_stop 0 1) [ "$VERBOSE"!= no ] && log_end_msg 0 2) [ "$VERBOSE"!= no ] && log_end_msg 1 reload force-reload) If do_reload() is not implemented then leave this commented out and leave 'force-reload' as an alias for 'restart'. log_daemon_msg "Reloading $DESC" "$NAME" do_reload log_end_msg $? February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 22 of 23

23 restart force-reload) If the "reload" option is implemented then remove the 'force-reload' alias log_daemon_msg "Restarting $DESC" "$NAME" do_stop 0 1) do_start 0) log_end_msg 0 1) log_end_msg 1 Old process is still running *) log_end_msg 1 Failed to start *) Failed to stop log_end_msg 1 *) echo "Usage: $SCRIPTNAME {start stop restart reload force-reload" >&2 echo "Usage: $SCRIPTNAME {start stop restart force-reload" >&2 exit 3 : February 23, 2010 Building The Laika AMI - External (V1.0).Docx Page 23 of 23

FreeSWITCH for Ubuntu 14.04

FreeSWITCH for Ubuntu 14.04 FreeSWITCH for Ubuntu 14.04 Freeswitch is an open-source alternative to Asterisk to build a voip telephony server. It was launched by a member of the Asterisk development team who wanted to rewrite the

More information

Installing Open Project on Ubuntu AWS with Apache and Postgesql

Installing Open Project on Ubuntu AWS with Apache and Postgesql Installing Open Project on Ubuntu AWS with Apache and Postgesql Contents Installing Open Project on Ubuntu AWS with Apache and Postgesql... 1 Add new ports to your security group... 2 Update your system...

More information

T.A.D / ABS - Installation

T.A.D / ABS - Installation T.A.D / ABS - Installation Technical Architecture Document / Installation Topic : This document aims to expose the architecture to set up for the installation of ABS. It exposes all the tools that make

More information

ViMP 2.0. Installation Guide. Verfasser: ViMP GmbH

ViMP 2.0. Installation Guide. Verfasser: ViMP GmbH ViMP 2.0 Installation Guide Verfasser: ViMP GmbH Table of contents About this document... 3 Prerequisites... 4 Preparing the server... 5 Apache2... 5 PHP... 5 MySQL... 5 Transcoding... 6 Configuration...

More information

RM4GS Install Guide. version 1.0. September All Rights Reserved, Copyright (C) 2004, FUJITSU LIMITED, Hitachi, Ltd. and NEC Corporation

RM4GS Install Guide. version 1.0. September All Rights Reserved, Copyright (C) 2004, FUJITSU LIMITED, Hitachi, Ltd. and NEC Corporation RM4GS Install Guide version 1.0 September 2004 All Rights Reserved, Copyright (C) 2004, FUJITSU LIMITED, Hitachi, Ltd. and NEC Corporation Abstract This document describes how to install configure and

More information

Linux Essentials Objectives Topics:

Linux Essentials Objectives Topics: Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives

More information

IPv6 Sauron - Quick How To

IPv6 Sauron - Quick How To IPv6 Sauron - Quick How To Padrta, A., Kostěnec, M. September 22, 2014 Contents 1 Introduction 2 2 Deployment Scheme 2 2.1 Sauron Database Operations.............................. 2 2.1.1 Data Export...................................

More information

Bitnami Re:dash for Huawei Enterprise Cloud

Bitnami Re:dash for Huawei Enterprise Cloud Bitnami Re:dash for Huawei Enterprise Cloud Description Re:dash is an open source data visualization and collaboration tool. It was designed to allow fast and easy access to billions of records in all

More information

Bitnami Ruby for Huawei Enterprise Cloud

Bitnami Ruby for Huawei Enterprise Cloud Bitnami Ruby for Huawei Enterprise Cloud Description Bitnami Ruby Stack provides a complete development environment for Ruby on Rails that can be deployed in one click. It includes most popular components

More information

Remote GUI access to a Linux computer using Tightvnc

Remote GUI access to a Linux computer using Tightvnc Remote GUI access to a Linux computer using Tightvnc The command line is a great way to manage a remote Linux computer if you don't mind typing in commands, but sometimes you need to be able to view a

More information

Molecular Forecaster Inc. Forecaster 1.2 Server Installation Guide

Molecular Forecaster Inc. Forecaster 1.2 Server Installation Guide Molecular Forecaster Inc. Forecaster 1.2 Server Installation Guide 13 June 2014 CONTENTS Windows... 4 Linux... 4 Installation Procedures... 4 Windows Installation... 4 Linux portable Installation... 5

More information

User-friendly Cross-platform Industry 4.0 Web Viewer Smartphone-App Free Hotline

User-friendly Cross-platform Industry 4.0 Web Viewer Smartphone-App Free Hotline Documentation Dragonfly QuickHMI with Raspberry Pi Version 6.0 User-friendly Cross-platform Industry 4.0 Web Viewer Smartphone-App Free Hotline Indi.Systems GmbH Universitätsallee 23 D-28359 Bremen Tel.

More information

Step 1 - Install Apache and PostgreSQL

Step 1 - Install Apache and PostgreSQL How to install OTRS (Open Source Trouble Ticket System) on Ubuntu 16.04 Prerequisites Ubuntu 16.04. Min 2GB of Memory. Root privileges. Step 1 - Install Apache and PostgreSQL In this first step, we will

More information

VMware Monitoring Using Unnoc - Setup Instructions

VMware Monitoring Using Unnoc - Setup Instructions VMware Monitoring Using Unnoc - Setup Instructions Summary: This document explains how to setup an Unnoc server to monitor VMware vcenter Servers, ESX Servers, and Virtual Machines using the Perl VI SDK.

More information

Bitnami JRuby for Huawei Enterprise Cloud

Bitnami JRuby for Huawei Enterprise Cloud Bitnami JRuby for Huawei Enterprise Cloud Description JRuby is a 100% Java implementation of the Ruby programming language. It is Ruby for the JVM. JRuby provides a complete set of core built-in classes

More information

ߕҹ 5-5 ߕҹ 5-5ǵѠ ϐ LiveE! ڋᏔमЎހЋн ɄɄԃࡋȨཥ жᆛሞᆛၡڐۓϕ೯ᇡ ฝȩ ز ߕҹ Ѡ ϐ LiveE! ڋᏔ मЎހЋн ᔈҔ ϩ ฝη ฝΟ Ь ΓǺᇳ ਠߏ Չ ՏǺ୯ҥమ εᏢ ύ ୯ ɄɄԃΜД 1083

ߕҹ 5-5 ߕҹ 5-5ǵѠ ϐ LiveE! ڋᏔमЎހЋн ɄɄԃࡋȨཥ жᆛሞᆛၡڐۓϕ೯ᇡ ฝȩ ز ߕҹ Ѡ ϐ LiveE! ڋᏔ मЎހЋн ᔈҔ ϩ ฝη ฝΟ Ь ΓǺᇳ ਠߏ Չ ՏǺ୯ҥమ εᏢ ύ ୯ ɄɄԃΜД 1083 5-5 LiveE! LiveE! 1083 OUTLINE... 1085 SECTION 1: LIVE E! SYSTEM OVERVIEW... 1085 SECTION 2: SERVER INSTALLATION... 1086 2.1. BASE SYSTEM INSTALLATION... 1087 2.2. LIVE E! SYSTEM COMPONENT INSTALLATION...

More information

Configuring Multiple Instances of Railo on Linux

Configuring Multiple Instances of Railo on Linux Configuring Multiple Instances of Railo on Linux The purpose of this guide is to explain how to set up multiple instances of Railo on a single instance of Linux. The instances can then be used for redundancy,

More information

Managing Virtual Machines on Ubuntu KVM

Managing Virtual Machines on Ubuntu KVM Managing Virtual Machines on Ubuntu KVM This article is a dump of my experience with setting up a viable virtual machine management platform on an Ubuntu Hypervisor with following specs: OS: Ubuntu 14.04.2

More information

LAMP Stack with VirtualHosts On Centos 6.x

LAMP Stack with VirtualHosts On Centos 6.x LAMP Stack with VirtualHosts On Centos 6.x This article illustrates how to install the Apache Mysql PHP Stack on Centos 6.x. Additionally, with this configuration, you can serve Multiple Domains using

More information

ARCHER Data Services Service Layer

ARCHER Data Services Service Layer ARCHER 1.0 ARCHER Data Services Service Layer System Administrator s Guide ICAT & MCAText Installation Configuration Maintenance ARCHER Data Services Service Layer... 1 About ARCHER Data Services Service

More information

simplevisor Documentation

simplevisor Documentation simplevisor Documentation Release 1.2 Massimo Paladin June 27, 2016 Contents 1 Main Features 1 2 Installation 3 3 Configuration 5 4 simplevisor command 9 5 simplevisor-control command 13 6 Supervisor

More information

Bitnami Dolibarr for Huawei Enterprise Cloud

Bitnami Dolibarr for Huawei Enterprise Cloud Bitnami Dolibarr for Huawei Enterprise Cloud Description Dolibarr is an open source, free software package for small and medium companies, foundations or freelancers. It includes different features for

More information

Bitnami Pimcore for Huawei Enterprise Cloud

Bitnami Pimcore for Huawei Enterprise Cloud Bitnami Pimcore for Huawei Enterprise Cloud Description Pimcore is the open source platform for managing digital experiences. It is the consolidated platform for web content management, product information

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Introduction to UNIX Stephen Pauwels University of Antwerp October 2, 2015 Outline What is Unix? Getting started Streams Exercises UNIX Operating system Servers, desktops,

More information

CSCI 201 Lab 1 Environment Setup

CSCI 201 Lab 1 Environment Setup CSCI 201 Lab 1 Environment Setup "The journey of a thousand miles begins with one step." - Lao Tzu Introduction This lab document will go over the steps to install and set up Eclipse, which is a Java integrated

More information

Tungsten Dashboard for Clustering. Eric M. Stone, COO

Tungsten Dashboard for Clustering. Eric M. Stone, COO Tungsten Dashboard for Clustering Eric M. Stone, COO In this training session 1. Tungsten Dashboard Welcome 2. Tungsten Dashboard Overview 3. Tungsten Dashboard Prerequisites 4. Tungsten Dashboard Security

More information

X-road MISP2 installation and configuration guide. Version 1.20

X-road MISP2 installation and configuration guide. Version 1.20 X-road MISP2 installation and configuration guide Version 1.20 Contents 1. Introduction... 3 2. Environment requirements... 3 3.MISP2 Installation... 3 3.1. Java... 3 3.2. PostgreSQL... 3 3.3. Apache Tomcat

More information

Apache MySQL PHP PHPAdmin Install

Apache MySQL PHP PHPAdmin Install Apache MySQL PHP PHPAdmin Install Installing Apache 2 To only install the apache2 webserver, use any method to install apache2 It requires a restart for it to work sudo /etc/init.d/apache2 restart Checking

More information

Bitnami Spree for Huawei Enterprise Cloud

Bitnami Spree for Huawei Enterprise Cloud Bitnami Spree for Huawei Enterprise Cloud Description Spree is an e-commerce platform that was designed to make customization and upgrades as simple as possible. It includes support for product variants,

More information

K-RATE INSTALLATION MANUAL

K-RATE INSTALLATION MANUAL K-RATE INSTALLATION MANUAL K-Rate Installation Manual Contents SYSTEM REQUIREMENTS... 3 1. DOWNLOADING K-RATE... 4 STEP 1: LOGIN TO YOUR MEMBER ACCOUNT... 4 STEP 2: ENTER DOMAIN NAME... 5 STEP 3: DOWNLOAD

More information

OpenEMR Insights Configuration Instructions

OpenEMR Insights Configuration Instructions OpenEMR Insights provides ETL and Dashboards to enhance your OpenEMR intelligence backed by Pentaho CE and Saiku Analytics CE. To see OpenEMR Insights in action, head over to www.oemr.org. There you will

More information

INTRODUCTION. To avoid the PHP7 conflicts use this OS image: STEP 1 - Parts List:

INTRODUCTION. To avoid the PHP7 conflicts use this OS image:   STEP 1 - Parts List: INTRODUCTION These are enhanced instruction set to install RaspberryPints on a Raspberry Pi 2 Model B with use of an AlaMode card and Flow Meters from AdaFruit.com. I started with instruction set here:

More information

PoWA Documentation. Release Dalibo

PoWA Documentation. Release Dalibo PoWA Documentation Release 1.2.1 Dalibo May 04, 2015 Contents 1 PostgreSQL Workload Analyzer detailled installation guide 3 1.1 Download PoWA from the website................................... 3 1.2

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Stephen Pauwels Computer Systems Academic Year 2018-2019 Overview of the Semester UNIX Introductie Regular Expressions Scripting Data Representation Integers, Fixed point,

More information

TangeloHub Documentation

TangeloHub Documentation TangeloHub Documentation Release None Kitware, Inc. September 21, 2015 Contents 1 User s Guide 3 1.1 Managing Data.............................................. 3 1.2 Running an Analysis...........................................

More information

شرکت توسعه ارتباطات پردیس پارس. owncloud. The last file sharing platform you'll ever need

شرکت توسعه ارتباطات پردیس پارس. owncloud. The last file sharing platform you'll ever need شرکت توسعه ارتباطات پردیس پارس owncloud The last file sharing platform you'll ever need. Explore the Features: Click Sync and Share Your Data, with Ease A Safe Home for All Your Data Your Data is Where

More information

How to develop with infandango Documentation

How to develop with infandango Documentation How to develop with infandango Documentation Release Mike Hull April 27, 2016 Contents 1 Overview 1 2 Contents 3 2.1 Overview................................................. 3 2.2 Using Infandango............................................

More information

Bitnami Tiny Tiny RSS for Huawei Enterprise Cloud

Bitnami Tiny Tiny RSS for Huawei Enterprise Cloud Bitnami Tiny Tiny RSS for Huawei Enterprise Cloud Description Tiny Tiny RSS is an open source web-based news feed (RSS/Atom) reader and aggregator, designed to allow you to read news from any location,

More information

Apache Tomcat Installation Guide [ Application : IVMS Base, Rich and Core Version ] [ Platform : 64 Bit Linux ] Tomcat Version: 6.0.

Apache Tomcat Installation Guide [ Application : IVMS Base, Rich and Core Version ] [ Platform : 64 Bit Linux ] Tomcat Version: 6.0. Apache Tomcat Installation Guide [ Application : IVMS Base, Rich and Core Version ] [ Platform : 64 Bit Linux ] Tomcat Version: 6.0.44 Introduction Apache Tomcat is an open source software implementation

More information

Oracle WebLogic Server (WLS) 11gR1 ( and ) Installation on Oracle Linux 5 and 6

Oracle WebLogic Server (WLS) 11gR1 ( and ) Installation on Oracle Linux 5 and 6 1 of 11 8/25/2016 11:19 AM Back to normal view: https://oracle-base.com/articles/11g/oracle-weblogic-server-11gr1-1036-installation-on-oracle-linux-5-and-6-11gr1 Oracle WebLogic Server (WLS) 11gR1 (10.3.5

More information

TEAMWORK SYSTEM. version user guide

TEAMWORK SYSTEM. version user guide version 17.0.1 user guide No Magic, Inc. 2011 All material contained herein is considered proprietary information owned by No Magic, Inc. and is not to be shared, copied, or reproduced by any means. All

More information

KOHA 3.4 INSTALLATION ON UBUNTU LINUX. Dibyendra Hyoju August 2011 Madan Puraskar Pustakalaya

KOHA 3.4 INSTALLATION ON UBUNTU LINUX. Dibyendra Hyoju August 2011 Madan Puraskar Pustakalaya KOHA 3.4 INSTALLATION ON UBUNTU LINUX Dibyendra Hyoju dibyendra@mpp.org.np August 2011 Madan Puraskar Pustakalaya 1 Click Alt+F2 and type 'terminal' without quotes to launch terminal. Note: We will be

More information

Bitnami Piwik for Huawei Enterprise Cloud

Bitnami Piwik for Huawei Enterprise Cloud Bitnami Piwik for Huawei Enterprise Cloud Description Piwik is a real time web analytics software program. It provides detailed reports on website visitors: the search engines and keywords they used, the

More information

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions Welcome to getting started with Ubuntu 12.04 Server. This System Administrator Manual guide to be simple to follow, with step by step instructions with screenshots INDEX 1.Installation of Ubuntu 12.04

More information

Setting Up PHPlist (Open-Source Newsletter Manager)

Setting Up PHPlist (Open-Source Newsletter Manager) By Oliver Meyer Published: 2008-05-25 18:48 Setting Up PHPlist (Open-Source Newsletter Manager) Version 1.0 Author: Oliver Meyer Last edited 04/23/2008 This document

More information

MISP2 installation and configuration guide. Version 2.12

MISP2 installation and configuration guide. Version 2.12 MISP2 installation and configuration guide Version 2.12 Contents Contents... 2 1. Introduction... 3 2. Environment requirements... 3 3. MISP2 Installation... 3 3.1. Updating the MISP2 package list... 3

More information

RTC 502 and its Git adapter, Git and its prerequisite

RTC 502 and its Git adapter, Git and its prerequisite RTC 502 and its Git adapter, Git and its prerequisite software installation and setup guide In this doc, OS is RedHat Enterprise Server 6.4. Note: Why? Because open source software installation sometimes

More information

HPE IDOL Site Admin. Software Version: Installation Guide

HPE IDOL Site Admin. Software Version: Installation Guide HPE IDOL Site Admin Software Version: 11.3.0 Installation Guide Document Release Date: February 2017 Software Release Date: February 2017 Legal Notices Warranty The only warranties for Hewlett Packard

More information

Php Scripts If Then Else Linux Bash Shell

Php Scripts If Then Else Linux Bash Shell Php Scripts If Then Else Linux Bash Shell I am using awk as part of and if then else statement. KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here. I just wrote

More information

Bitnami ez Publish for Huawei Enterprise Cloud

Bitnami ez Publish for Huawei Enterprise Cloud Bitnami ez Publish for Huawei Enterprise Cloud Description ez Publish is an Enterprise Content Management platform with an easy to use Web Content Management System. It includes role-based multi-user access,

More information

Bitnami Moodle for Huawei Enterprise Cloud

Bitnami Moodle for Huawei Enterprise Cloud Bitnami Moodle for Huawei Enterprise Cloud Description Moodle is a Course Management System that is designed using sound pedagogical principles to help educators create effective online learning communities.

More information

Installation Manual InfraManage.NET Installation Instructions for Ubuntu

Installation Manual InfraManage.NET Installation Instructions for Ubuntu Installation Manual InfraManage.NET Installation Instructions for Ubuntu Copyright 1996 2017 Timothy Ste. Marie Version 7.5.72SQL InfraManage.NET Installing InfraManage.NET Page 1 of 78 Table of Contents

More information

opencrx Server Installation

opencrx Server Installation opencrx Server Installation Version 2.9.0 www.opencrx.org License The contents of this file are subject to a BSD license (the "License"); you may not use this file except in compliance with the License.

More information

4.1.0-Beta 2 Python Cartridge Agent Guide

4.1.0-Beta 2 Python Cartridge Agent Guide 4.1.0-Beta 2 Python Cartridge Agent Guide Overview Congurations Logging Methods of installing and starting a CA Docker le scenario Puppet scenario Setting up the cartridge agent Step 1 - Check out the

More information

Installing Shibbolized Tiqr

Installing Shibbolized Tiqr Installing Shibbolized Tiqr Following document instructs how to install Shibbolized Tiqr (or "tiqrshib") in the IdP environment. Please feel free to contact us (tiqr at meatmail.jp) if you have any difficulty

More information

Bitnami OroCRM for Huawei Enterprise Cloud

Bitnami OroCRM for Huawei Enterprise Cloud Bitnami OroCRM for Huawei Enterprise Cloud Description OroCRM is a flexible open-source CRM application. OroCRM supports your business no matter the vertical. If you are a traditional B2B company, franchise,

More information

Useful Unix Commands Cheat Sheet

Useful Unix Commands Cheat Sheet Useful Unix Commands Cheat Sheet The Chinese University of Hong Kong SIGSC Training (Fall 2016) FILE AND DIRECTORY pwd Return path to current directory. ls List directories and files here. ls dir List

More information

Configuring the Raspberry Pi for the UPS

Configuring the Raspberry Pi for the UPS Conguring the Raspberry Pi for the UPS To enable to Raspberry Pi to detect the presence of the UPS and to enable it to shut itself and the UPS down in an orderly fashion changes have to be made to the

More information

MODEM on HP-UX. Guy Van Sanden.

MODEM on HP-UX. Guy Van Sanden. MODEM on HP-UX Guy Van Sanden gvsanden@sckcen.be MODEM on HP-UX by Guy Van Sanden This document describes how to set up MODEM on HP-UX Table of Contents 1. Introduction...1 2. Apache and Tomcat...2 2.1.

More information

LENS Server Maintenance Guide JZ 2017/07/28

LENS Server Maintenance Guide JZ 2017/07/28 LENS Server Maintenance Guide JZ 2017/07/28 Duty Maintain LENS server with minimum downtime Patch critical vulnerabilities Assist LAB member for using the LENS services Evaluate for custom requirements

More information

Apache + PHP + MySQL. bdnog November 2017 Dhaka, Bangladesh

Apache + PHP + MySQL. bdnog November 2017 Dhaka, Bangladesh Apache + PHP + MySQL bdnog7 18-22 November 2017 Dhaka, Bangladesh Outline q Introduction to Apache httpd web server q Basic Compilation, Installation and Configuration q Apache File system q Apache Logging

More information

Installing Tomcat 6 on Ubuntu 8.04 (Hardy) Miles Jordan AADC

Installing Tomcat 6 on Ubuntu 8.04 (Hardy) Miles Jordan AADC Installing Tomcat 6 on Ubuntu 8.04 (Hardy) Miles Jordan AADC Last Updated Wednesday, 22 December 2010 1. APT Configuration Tomcat 6 is not provided by the standard Hardy package repositories, but it can

More information

Aware IM Version 8.1 Installation Guide

Aware IM Version 8.1 Installation Guide Aware IM Version 8.1 Copyright 2002-2018 Awaresoft Pty Ltd CONTENTS 1 INSTALLATION UNDER WINDOWS OPERATING SYSTEM... 3 1.1 HARDWARE AND SOFTWARE REQUIREMENTS... 3 1.2 USING THE INSTALLATION PROGRAM...

More information

List of Linux Commands in an IPm

List of Linux Commands in an IPm List of Linux Commands in an IPm Directory structure for Executables bin: ash cpio false ln mount rm tar zcat busybox date getopt login mv rmdir touch cat dd grep ls perl sed true chgrp df gunzip mkdir

More information

More Raspian. An editor Configuration files Shell scripts Shell variables System admin

More Raspian. An editor Configuration files Shell scripts Shell variables System admin More Raspian An editor Configuration files Shell scripts Shell variables System admin Nano, a simple editor Nano does not require the mouse. You must use your keyboard to move around the file and make

More information

X-road MISP2 installation and configuration guide. Version 2.6

X-road MISP2 installation and configuration guide. Version 2.6 X-road MISP2 installation and configuration guide Version 2.6 Contents 1. Introduction... 3 2. Environment requirements... 3 3.MISP2 Installation... 3 3.1 Repositories... 3 3.2 MISP2 keyring... 4 3.3 PostgreSQL

More information

Bitnami ProcessMaker Community Edition for Huawei Enterprise Cloud

Bitnami ProcessMaker Community Edition for Huawei Enterprise Cloud Bitnami ProcessMaker Community Edition for Huawei Enterprise Cloud Description ProcessMaker is an easy-to-use, open source workflow automation and Business Process Management platform, designed so Business

More information

Installing Alfresco components one by one. Angel Borroy

Installing Alfresco components one by one. Angel Borroy Installing Alfresco components one by one Angel Borroy developer@keensoft Alfresco components (201702) https://community.alfresco.com/docs/doc-6641-alfresco-community-edition-file-list-201702 Alfresco

More information

Bitnami JFrog Artifactory for Huawei Enterprise Cloud

Bitnami JFrog Artifactory for Huawei Enterprise Cloud Bitnami JFrog Artifactory for Huawei Enterprise Cloud Description JFrog Artifactory is a Binary Repository Manager for Maven, Ivy, Gradle modules, etc. Integrates with CI servers for fully traceable builds.

More information

Bitnami Phabricator for Huawei Enterprise Cloud

Bitnami Phabricator for Huawei Enterprise Cloud Bitnami Phabricator for Huawei Enterprise Cloud IMPORTANT: Phabricator requires you to access the application using a specific domain. This domain is the public IP address for the cloud server. Description

More information

Quick Installation Guide. CereusReporting - Standard Edition

Quick Installation Guide. CereusReporting - Standard Edition Quick Installation Guide CereusReporting - Standard Edition Version 2.90 1 Introduction 1.1 About CereusReporting CereusReporting is a plugin designed to enhance the reporting functionality of the Cacti

More information

RG-MACC_2.0 Installation Manual

RG-MACC_2.0 Installation Manual RG-MACC_2.0 Installation Manual Ruijie Networks Co., Ltd all rights reserved 1 Copyright Clarify Copyright ownership belongs to Ruijie, shall not be reproduced, copied, or used in other ways without permission.

More information

Getting Started with MySQL

Getting Started with MySQL A P P E N D I X B Getting Started with MySQL M ysql is probably the most popular open source database. It is available for Linux and you can download and install it on your Linux machine. The package is

More information

John the Ripper on a Ubuntu MPI Cluster

John the Ripper on a Ubuntu MPI Cluster John the Ripper on a Ubuntu 10.04 MPI Cluster Pétur Ingi Egilsson petur [at] petur [.] eu 1 Table of Contents Foreword...3 History...3 Requirements...3 Configuring the Server...3 Requirements...3 Required

More information

Dockerfile Best Practices

Dockerfile Best Practices Dockerfile Best Practices OpenRheinRuhr 2015 November 07th, 2015 1 Dockerfile Best Practices Outline About Dockerfile Best Practices Building Images This work is licensed under the Creative Commons Attribution-ShareAlike

More information

A PAtCHy server: developed by the Apache group formed 2/95 around by a number of people who provided patch files for NCSA httpd 1.3 by Rob McCool.

A PAtCHy server: developed by the Apache group formed 2/95 around by a number of people who provided patch files for NCSA httpd 1.3 by Rob McCool. Outline q Introduction to Apache httpd web server q Basic Compilation, Installation and Configuration q Apache File system q Apache Logging & Status q Security & Performance Features q Virtual Hosting

More information

Open a browser and download the Apache Tomcat 7 and Oracle JDBC 6 JAR from these locations. The Oracle site may require that you register as a user.

Open a browser and download the Apache Tomcat 7 and Oracle JDBC 6 JAR from these locations. The Oracle site may require that you register as a user. Installing Tomcat 7 on CentOS 7 David J. Walling, March 8 th, 2017 Email: david@davidjwalling.com This how to describes a process to download and install Apache Tomcat 7 on a CentOS 7 virtual machine using

More information

Communication protocols and services

Communication protocols and services This chapter describes various protocols and that may be enabled on Modberry. SSH Connection SSH service is started up on boot and already preinstalled and configured. You may access your device through

More information

Bitnami Mantis for Huawei Enterprise Cloud

Bitnami Mantis for Huawei Enterprise Cloud Bitnami Mantis for Huawei Enterprise Cloud Description Mantis is a complete bug-tracking system that includes role-based access controls, changelog support, built-in reporting and more. A mobile client

More information

IDOL Site Admin. Software Version Installation Guide

IDOL Site Admin. Software Version Installation Guide IDOL Site Admin Software Version 12.0 Installation Guide Document Release Date: June 2018 Software Release Date: June 2018 Legal notices Copyright notice Copyright 2015-2018 Micro Focus or one of its affiliates.

More information

Bitnami OSQA for Huawei Enterprise Cloud

Bitnami OSQA for Huawei Enterprise Cloud Bitnami OSQA for Huawei Enterprise Cloud Description OSQA is a question and answer system that helps manage and grow online communities similar to Stack Overflow. First steps with the Bitnami OSQA Stack

More information

Linux Systems Administration Getting Started with Linux

Linux Systems Administration Getting Started with Linux Linux Systems Administration Getting Started with Linux Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International

More information

CHAPTER III PLANNING

CHAPTER III PLANNING CHAPTER III PLANNING Table 1: Project Management Activities August September October Analysis Install VirtualBox Installation and update Ubuntu 14.04, Fedora 22 dan opensuse 13.1 Configuration VirtualBox

More information

How to Install Open HRMS on Ubuntu 16.04?

How to Install Open HRMS on Ubuntu 16.04? How to Install Open HRMS on Ubuntu 16.04? Step 1: Update The Server Make your system Updated using these two commands sudo apt-get update sudo apt-get upgrade Step 2: Secure Server It is common for all

More information

Gunnery Documentation

Gunnery Documentation Gunnery Documentation Release 0.1 Paweł Olejniczak August 18, 2014 Contents 1 Contents 3 1.1 Overview................................................. 3 1.2 Installation................................................

More information

Installation of Apache OpenMeetings on Ubuntu LTS. This tutorial is made based on a fresh installations of

Installation of Apache OpenMeetings on Ubuntu LTS. This tutorial is made based on a fresh installations of Installation of Apache OpenMeetings 4.0.2 on Ubuntu 18.04 LTS This tutorial is made based on a fresh installations of ubuntu-mate-18.04-beta1-desktop-amd64.iso It is tested with positive result. We will

More information

PiCloud. Building owncloud on a Raspberry PI

PiCloud. Building owncloud on a Raspberry PI PiCloud Building owncloud on a Raspberry PI PiCloud - Building owncloud on a Raspberry PI by Sebastian Büttrich is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International

More information

Masternode Setup Guide

Masternode Setup Guide Masternode Setup Guide What this guide is This guide is aimed at anyone who wants to run a Reliance masternode on an Ubuntu 16.04 VPS. What this guide is not A tutorial for linux. What I mean by that,

More information

Raspberry Pi as an Ad Blocking Access Point

Raspberry Pi as an Ad Blocking Access Point Raspberry Pi as an Ad Blocking Access Point Created by Justin Cooper Last updated on 2017-12-05 07:26:38 PM UTC Guide Contents Guide Contents Overview Preparation Install Software Improving Performance

More information

Offloading NDO2DB To Remote Server

Offloading NDO2DB To Remote Server Purpose This document is meant to show a step-by-step guide for offloading the NDO2DB daemon from the central server to an external, remote server. NDO2DB is an acronym of "Nagios Data Output To Database"

More information

K-SEARCH TRIAL INSTALLATION MANUAL

K-SEARCH TRIAL INSTALLATION MANUAL K-SEARCH TRIAL INSTALLATION MANUAL Qsoft Inc, 2006-2009, All Rights Reserved Page 1 of 32 K-Search Trial Installation Manual Contents SYSTEM REQUIREMENTS... 3 1. DOWNLOADING K-SEARCH 15 DAYS TRIAL... 4

More information

Installation of Apache OpenMeetings on Ubuntu LTS. This tutorial is made based on fresh installations of. ubuntu desktop-amd64.

Installation of Apache OpenMeetings on Ubuntu LTS. This tutorial is made based on fresh installations of. ubuntu desktop-amd64. Installation of Apache OpenMeetings 4.0.5 on Ubuntu 14.04 LTS This tutorial is made based on fresh installations of ubuntu-14.04.2-desktop-amd64.iso It is tested with positive result. We will use the Apache's

More information

Alarm Counter. A Ceilometer OpenStack Application

Alarm Counter. A Ceilometer OpenStack Application Alarm Counter A Ceilometer OpenStack Application Tejas Tovinkere Pattabhi UTD VOLUNTEER AT AWARD SOLUTIONS Summer 2015 Contents Alarm Counter 1 Introduction...2 2 Pre-Requisites...2 2.1 Server Creation...

More information

HP IT Operations Compliance Community Edition

HP IT Operations Compliance Community Edition HP IT Operations Compliance Community Edition Software Version: 00.14.1200 - Getting Started Guide Document Release Date: January 2015 Software Release Date: January 2015 Legal Notices Warranty The only

More information

Bitnami TestLink for Huawei Enterprise Cloud

Bitnami TestLink for Huawei Enterprise Cloud Bitnami TestLink for Huawei Enterprise Cloud Description TestLink is test management software that facilitates software quality assurance. It offers support for test cases, test suites, test plans, test

More information

Installing MediaWiki using VirtualBox

Installing MediaWiki using VirtualBox Installing MediaWiki using VirtualBox Install VirtualBox with your package manager or download it from the https://www.virtualbox.org/ website and follow the installation instructions. Load an Image For

More information

Install and make Apache + PHP to work with PosgreSQL database server on Debian Linux and set up server Web Posgre interface Pgpadmin howto

Install and make Apache + PHP to work with PosgreSQL database server on Debian Linux and set up server Web Posgre interface Pgpadmin howto Install and make Apache + PHP to work with PosgreSQL database server on Debian Linux and set up server Web Posgre interface Pgpadmin howto Author : admin In previous article I've wrote on how to install

More information

Install some base packages. I recommend following this guide as root on a new VPS or using sudo su, it will make running setup just a touch easier.

Install some base packages. I recommend following this guide as root on a new VPS or using sudo su, it will make running setup just a touch easier. Nagios 4 on Ubuntu 16 Install some base packages. I recommend following this guide as root on a new VPS or using sudo su, it will make running setup just a touch easier. apt-get install php-gd build-essential

More information

macos High Sierra Apache Setup: Multiple PHP Versions First part in a multi-part blog series for Mac developers

macos High Sierra Apache Setup: Multiple PHP Versions First part in a multi-part blog series for Mac developers macos 10.13 High Sierra Apache Setup: Multiple PHP Versions First part in a multi-part blog series for Mac developers Andy Miller posted on 10/22/2017 in macos + sierra + apache + homebrew + php 14 mins

More information

LOG ON TO LINUX AND LOG OFF

LOG ON TO LINUX AND LOG OFF EXPNO:1A LOG ON TO LINUX AND LOG OFF AIM: To know how to logon to Linux and logoff. PROCEDURE: Logon: To logon to the Linux system, we have to enter the correct username and password details, when asked,

More information