Changes between Version 5 and Version 6 of JuergeN/Documentation
- Timestamp:
- 26.08.2011 13:19:11 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JuergeN/Documentation
v5 v6 1 1 = Installing DeepaMehta 4 on Ubuntu 10.04 LTS = 2 2 3 == create an unprivileged user == 3 == Download DeepaMehta == 4 Download the latest stable version of DeepaMehta from GitHub: 5 {{{ 6 wget https://github.com/downloads/jri/deepamehta/deepamehta-4.XXX.YYY.zip 7 }}} 8 9 == Unzip zip archive == 10 {{{ 11 unzip wget https://github.com/downloads/jri/deepamehta/deepamehta-4.XXX.YYY.zip 12 }}} 13 14 == Create an unprivileged user == 4 15 As we do not want to run DeepaMehta as root we need to create an unprivileged user: 5 16 {{{ 6 17 adduser --system --home /opt/deepamehta --group --disabled-password --disabled-login --gecos DeepaMehta deepamehta 18 }}} 19 20 == Copy files == 21 Copy the DeepaMehta files to ''/opt/deepamehta'': 22 {{{ 23 cp -a deepamehta-4.XXX.YYY/* /opt/deepamehta 24 chown -R deepamehta:deepamehta /opt/deepamehta 7 25 }}} 8 26 … … 30 48 DESC="DeepaMehta" 31 49 NAME=deepamehta 32 DAEMON=/opt/deepamehta/d m.sh33 EXTRA_ARGS="-c root--background --make-pidfile"50 DAEMON=/opt/deepamehta/deepamehta-linux.sh 51 EXTRA_ARGS="-c deepamehta --background --make-pidfile" 34 52 DAEMON_ARGS="" 35 53 PIDFILE=/var/run/$NAME.pid … … 171 189 #EOF 172 190 }}} 173 191 192 == Update rc.d == 193 Create links for start stop runlevel: 194 {{{ 195 update-rc.d deepamehta defaults 196 }}}