You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by de...@apache.org on 2010/02/19 11:01:30 UTC
svn commit: r911767 - in /continuum/branches/continuum-1.3.x/continuum-docs:
./ src/site/apt/installation/standalone.apt
Author: dennisl
Date: Fri Feb 19 10:01:30 2010
New Revision: 911767
URL: http://svn.apache.org/viewvc?rev=911767&view=rev
Log:
Correct the name of the Continuum Linux script.
Fix typos.
Merged from trunk.
Modified:
continuum/branches/continuum-1.3.x/continuum-docs/ (props changed)
continuum/branches/continuum-1.3.x/continuum-docs/src/site/apt/installation/standalone.apt
Propchange: continuum/branches/continuum-1.3.x/continuum-docs/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Feb 19 10:01:30 2010
@@ -1,4 +1,4 @@
/continuum/branches/continuum-1.2.x/continuum-docs:690684,690689-690799,698449-698533,698817-698819,699529,700250,700273,700936,705894,705910,708339,722279,722624,723119,723487,724016,724024,725845,726103,726239,726462
/continuum/branches/continuum-distributed-builds/continuum-docs:713270-734307
/continuum/tags/continuum-1.2.3/continuum-docs:733253
-/continuum/trunk/continuum-docs:769703,902978,904800,905173,911599,911626,911649,911652
+/continuum/trunk/continuum-docs:769703,902978,904800,905173,911599,911626,911649,911652,911763
Modified: continuum/branches/continuum-1.3.x/continuum-docs/src/site/apt/installation/standalone.apt
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-1.3.x/continuum-docs/src/site/apt/installation/standalone.apt?rev=911767&r1=911766&r2=911767&view=diff
==============================================================================
--- continuum/branches/continuum-1.3.x/continuum-docs/src/site/apt/installation/standalone.apt (original)
+++ continuum/branches/continuum-1.3.x/continuum-docs/src/site/apt/installation/standalone.apt Fri Feb 19 10:01:30 2010
@@ -3,7 +3,7 @@
------
Emmanuel Venisse
------
- 2008-09-01
+ 2010-02-19
------
Installing Continuum Standalone
@@ -53,12 +53,12 @@
* {Installing as a Linux Service}
- Since the Continuum Linux script <<<bin/linux/run.sh>>> understands the same arguments as Linux boot scripts, there is no need to write a particular
+ Since the Continuum Linux script <<<bin/continuum>>> understands the same arguments as Linux boot scripts, there is no need to write a particular
startup script to add Continuum to the Linux boot process. All you need to do, as root, is:
** {Basic script in /etc/init.d}
- * Create a <<<continuum>>> file under <<</etc/init.d/>>> with the following content (replacing <<<continuum_user>>> with the name of an account you have already created):
+ * Create a <<<continuum>>> file under <<</etc/init.d/>>> with the following content. Replace <<<continuum_user>>> with the name of an account you have already created.
------------------
#!/bin/sh
@@ -67,20 +67,20 @@
su - continuum_user -c "$CONTINUUM_HOME/bin/continuum console $@ &"
------------------
-** {In a Debian-based system}
+** {On a Debian-based system}
------------------
-ln -s /usr/local/continuum-[VERSION]/bin/linux/run.sh /etc/init.d/continuum
+ln -s /usr/local/continuum-[VERSION]/bin/continuum /etc/init.d/continuum
------------------
- At this point you have Continuum ready to be symlinked from different runlevels. This might sound a bit esoteric, but it is not, you will find these words
+ At this point you have Continuum ready to be symlinked from different runlevels. This might sound a bit esoteric, but it is not. You will find these words
very fast as soon as you start reading about the init process. Fortunately, Debian GNU/Linux comes with a very handy utility to create these links, just run as root:
------------------
update-rc.d -n continuum defaults 80
------------------
- If you run this command, you will look something like this:
+ If you run this command, you will see something like this:
------------------
Adding system startup for /etc/init.d/continuum ...
@@ -93,19 +93,19 @@
/etc/rc5.d/S80continuum -> ../init.d/continuum
------------------
- What you see is the symlinks that would be created. The above command didn't do anything because of the -n switch, remove it to get the real links created.
+ What you see is the symlinks that would be created. The above command didn't actually create anything because of the -n switch. Remove that switch and run the command again to have the real links created.
-** {In a RedHat-based system}
+** {On a RedHat-based system}
- Configuring Continuum in a RedHat-based system (like Fedora Core) is slightly different: Instead of <<<running update-rc.d>>>, you need to add a new
- service using <<<chkconfig>>>. And in order to add Continuum to <<<chkconfig>>>, it is necessary to add some comments to the <<</etc/rc.d/init.d/continuum>>> script
- and run a couple of commands; these tasks are automatically executed by running the <<<chkconfig_install.sh>>> script (note that _continuum_user_ needs to be
- replaced by the name of an account you have already created):
+ Configuring Continuum on a RedHat-based system (like Fedora Core) is slightly different. Instead of running <<<update-rc.d>>>, you need to add a new
+ service using the <<<chkconfig>>> command. In order to add Continuum using <<<chkconfig>>>, it is necessary to add some comments to the <<</etc/rc.d/init.d/continuum>>> script
+ and run a couple of commands. These tasks are executed by running the <<<chkconfig_install.sh>>> script below. Note that <<<_continuum_user_>>> needs to be
+ replaced by the name of an account you have already created.
------------------
#! /bin/sh
#
-# chkconfig_install.sh - install Continuum on a chkconfig-bases system
+# chkconfig_install.sh - install Continuum on a chkconfig-based system
#
# Author: Felipe Leme <felipeal at apache.org>
#
@@ -140,9 +140,9 @@
fi
# run Continuum as root
cd ${CONTINUUM_HOME}
-./run.sh \$*
+./bin/continuum \$*
# run Continuum as user _continuum_user_
-#su - _continuum_user_ -c "cd ${CONTINUUM_HOME}; ./run.sh \$*"
+#su - _continuum_user_ -c "cd ${CONTINUUM_HOME}; ./bin/continuum \$*"
EOF
chmod +x ${INITD_SCRIPT}