Changes between Version 5 and Version 6 of JuergeN/Documentation


Ignore:
Timestamp:
26.08.2011 13:19:11 (9 years ago)
Author:
JuergeN
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JuergeN/Documentation

    v5 v6  
    11= Installing DeepaMehta 4 on Ubuntu 10.04 LTS = 
    22 
    3 == create an unprivileged user == 
     3== Download DeepaMehta == 
     4Download the latest stable version of DeepaMehta from GitHub: 
     5{{{ 
     6wget https://github.com/downloads/jri/deepamehta/deepamehta-4.XXX.YYY.zip 
     7}}}  
     8 
     9== Unzip zip archive == 
     10{{{ 
     11unzip wget https://github.com/downloads/jri/deepamehta/deepamehta-4.XXX.YYY.zip 
     12}}} 
     13 
     14== Create an unprivileged user == 
    415As we do not want to run DeepaMehta as root we need to create an unprivileged user: 
    516{{{ 
    617adduser --system --home /opt/deepamehta --group --disabled-password --disabled-login --gecos DeepaMehta deepamehta 
     18}}} 
     19 
     20== Copy files == 
     21Copy the DeepaMehta files to ''/opt/deepamehta'': 
     22{{{ 
     23cp -a deepamehta-4.XXX.YYY/* /opt/deepamehta 
     24chown -R deepamehta:deepamehta /opt/deepamehta 
    725}}} 
    826 
     
    3048DESC="DeepaMehta" 
    3149NAME=deepamehta 
    32 DAEMON=/opt/deepamehta/dm.sh 
    33 EXTRA_ARGS="-c root --background --make-pidfile" 
     50DAEMON=/opt/deepamehta/deepamehta-linux.sh 
     51EXTRA_ARGS="-c deepamehta --background --make-pidfile" 
    3452DAEMON_ARGS="" 
    3553PIDFILE=/var/run/$NAME.pid 
     
    171189#EOF 
    172190}}} 
    173   
     191 
     192== Update rc.d == 
     193Create links for start stop runlevel: 
     194{{{ 
     195update-rc.d deepamehta defaults 
     196}}}