mirror of https://github.com/tLDP/LDP
updated
This commit is contained in:
parent
c6698b1418
commit
9855c097e5
|
@ -985,7 +985,7 @@ Addresses Linux localization issues specific to Greek users
|
||||||
HighQuality-Apps-HOWTO</ULink>,
|
HighQuality-Apps-HOWTO</ULink>,
|
||||||
<CiteTitle>Creating Integrated High Quality Linux Applications HOWTO</CiteTitle>
|
<CiteTitle>Creating Integrated High Quality Linux Applications HOWTO</CiteTitle>
|
||||||
</Para><Para>
|
</Para><Para>
|
||||||
<CiteTitle>Updated: March 2002</CiteTitle>.
|
<CiteTitle>Updated: April 2002</CiteTitle>.
|
||||||
Tries to clarify some issues and give
|
Tries to clarify some issues and give
|
||||||
tips on how to create Linux applications highly integrated to
|
tips on how to create Linux applications highly integrated to
|
||||||
the Operating System, security and easy of use. </Para>
|
the Operating System, security and easy of use. </Para>
|
||||||
|
@ -2769,7 +2769,7 @@ configurations, and its operation. </Para>
|
||||||
Unicode-HOWTO</ULink>,
|
Unicode-HOWTO</ULink>,
|
||||||
<CiteTitle>The Unicode HOWTO</CiteTitle>
|
<CiteTitle>The Unicode HOWTO</CiteTitle>
|
||||||
</Para><Para>
|
</Para><Para>
|
||||||
<CiteTitle>Updated: August 2000</CiteTitle>.
|
<CiteTitle>Updated: January 2001</CiteTitle>.
|
||||||
How to change your Linux system so it uses UTF-8 as text encoding. </Para>
|
How to change your Linux system so it uses UTF-8 as text encoding. </Para>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ Topics covered in this section include:
|
||||||
Unicode-HOWTO</ULink>,
|
Unicode-HOWTO</ULink>,
|
||||||
<CiteTitle>The Unicode HOWTO</CiteTitle>
|
<CiteTitle>The Unicode HOWTO</CiteTitle>
|
||||||
</Para><Para>
|
</Para><Para>
|
||||||
<CiteTitle>Updated: August 2000</CiteTitle>.
|
<CiteTitle>Updated: January 2001</CiteTitle>.
|
||||||
How to change your Linux system so it uses UTF-8 as text encoding. </Para>
|
How to change your Linux system so it uses UTF-8 as text encoding. </Para>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
|
|
||||||
|
|
|
@ -716,7 +716,7 @@ mod_dynvhost, mod_roaming, mod_jserv, and mod_php. </Para>
|
||||||
<ULINK URL="../HighQuality-Apps-HOWTO/index.html">
|
<ULINK URL="../HighQuality-Apps-HOWTO/index.html">
|
||||||
HighQuality-Apps-HOWTO</ULink>,
|
HighQuality-Apps-HOWTO</ULink>,
|
||||||
<CiteTitle>Creating Integrated High Quality Linux Applications HOWTO</CiteTitle></Para><Para>
|
<CiteTitle>Creating Integrated High Quality Linux Applications HOWTO</CiteTitle></Para><Para>
|
||||||
<CiteTitle>Updated: March 2002</CiteTitle>.
|
<CiteTitle>Updated: April 2002</CiteTitle>.
|
||||||
Tries to clarify some issues and give
|
Tries to clarify some issues and give
|
||||||
tips on how to create Linux applications highly integrated to
|
tips on how to create Linux applications highly integrated to
|
||||||
the Operating System, security and easy of use. </Para>
|
the Operating System, security and easy of use. </Para>
|
||||||
|
|
|
@ -1,10 +1,3 @@
|
||||||
<areaspec>
|
|
||||||
<areaset id="ex.soul.vars" coords="">
|
|
||||||
<area id="ex.soul.c1" coords=13>
|
|
||||||
<area id="ex.soul.c2" coords=16>
|
|
||||||
<area id="ex.soul.c3" coords=18>
|
|
||||||
</areaset>
|
|
||||||
</areaspec>
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
|
@ -18,11 +11,11 @@
|
||||||
# A ':' separated list of directories for your content.
|
# A ':' separated list of directories for your content.
|
||||||
# The directories /var/www and /var/MySofware are already there, so
|
# The directories /var/www and /var/MySofware are already there, so
|
||||||
# include here your special directories, if any.
|
# include here your special directories, if any.
|
||||||
CONF_CONTENT_PATH=/var/NewInstance:/var/NewInstance2
|
CONF_CONTENT_PATH=/var/NewInstance:/var/NewInstance2 <co id="ex.soul.c1"/>
|
||||||
|
|
||||||
# Your e-mail address, for notifications.
|
# Your e-mail address, for notifications.
|
||||||
EMAIL=john@mycompany.com
|
EMAIL=john@mycompany.com <co id="ex.soul.c2"/>
|
||||||
|
|
||||||
# Logs directory
|
# Logs directory
|
||||||
LOG_DIR=/var/log/myInstance
|
LOG_DIR=/var/log/myInstance <co id="ex.soul.c3"/>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
<areaspec>
|
|
||||||
<area id="ex.body.const.c1" coords=14>
|
|
||||||
<area id="ex.body.const.c2" coords=17>
|
|
||||||
<area id="ex.body.conf" coords=21>
|
|
||||||
<area id="ex.body.merge" coords=26>
|
|
||||||
</areaspec>
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
@ -19,18 +13,18 @@
|
||||||
##
|
##
|
||||||
|
|
||||||
# Default configuration file
|
# Default configuration file
|
||||||
CONF=/etc/MySoftware.conf
|
CONF=/etc/MySoftware.conf <co id="ex.body.const.c1"/>
|
||||||
|
|
||||||
# Minimal content directories
|
# Minimal content directories
|
||||||
MIN_CONTENT_PATH=/var/www:/var/MySoftware/www
|
MIN_CONTENT_PATH=/var/www:/var/MySoftware/www <co id="ex.body.const.c2"/>
|
||||||
|
|
||||||
if [ -r "$CONF"]; then
|
if [ -r "$CONF"]; then
|
||||||
. "$CONF"
|
. "$CONF" <co id="ex.body.conf"/>
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# All the content I'll serve are the "minimal" plus the ones provided
|
# All the content I'll serve are the "minimal" plus the ones provided
|
||||||
# by the user in the configuration file $CONF
|
# by the user in the configuration file $CONF
|
||||||
CONTENT_PATH=$MIN_CONTENT_PATH:$CONF_CONTENT_PATH
|
CONTENT_PATH=$MIN_CONTENT_PATH:$CONF_CONTENT_PATH <co id="ex.body.merge"/>
|
||||||
|
|
||||||
.
|
.
|
||||||
.
|
.
|
||||||
|
|
|
@ -1,26 +1,10 @@
|
||||||
<areaspec>
|
|
||||||
<area id="ex.init.chkconfig" coords=6>
|
|
||||||
<area id="ex.init.sysconfig" coords=17>
|
|
||||||
<areaset id="ex.init.action" coords="">
|
|
||||||
<area id="ex.init.start" coords=26>
|
|
||||||
<area id="ex.init.stop" coords=36>
|
|
||||||
<area id="ex.init.reload" coords=47>
|
|
||||||
</areaset>
|
|
||||||
<area id="ex.init.call" coords=54>
|
|
||||||
<area id="ex.init.default" coords="80">
|
|
||||||
<areaset id="ex.init.any" coords="">
|
|
||||||
<area id="ex.init.any.begin" coords=23>
|
|
||||||
<area id="ex.init.any.start" coords=29>
|
|
||||||
<area id="ex.init.any.stop" coords=39>
|
|
||||||
</areaset>
|
|
||||||
</areaspec>
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# /etc/init.d/mysystem
|
# /etc/init.d/mysystem
|
||||||
# Subsystem file for "MySystem" server
|
# Subsystem file for "MySystem" server
|
||||||
#
|
#
|
||||||
# chkconfig: 2345 95 05
|
# chkconfig: 2345 95 05 <co id="ex.init.chkconfig"/>
|
||||||
# description: MySystem server daemon
|
# description: MySystem server daemon
|
||||||
#
|
#
|
||||||
# processname: MySystem
|
# processname: MySystem
|
||||||
|
@ -32,43 +16,43 @@
|
||||||
. /etc/rc.d/init.d/functions
|
. /etc/rc.d/init.d/functions
|
||||||
|
|
||||||
# pull in sysconfig settings
|
# pull in sysconfig settings
|
||||||
[ -f /etc/sysconfig/mySystem ] && . /etc/sysconfig/mySystem
|
[ -f /etc/sysconfig/mySystem ] && . /etc/sysconfig/mySystem <co id="ex.init.sysconfig"/>
|
||||||
|
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
prog="MySystem"
|
prog="MySystem"
|
||||||
.
|
.
|
||||||
.
|
. <co id="ex.init.any.begin"/>
|
||||||
.
|
.
|
||||||
|
|
||||||
start() {
|
start() { <co id="ex.init.start"/>
|
||||||
echo -n $"Starting $prog:"
|
echo -n $"Starting $prog:"
|
||||||
.
|
.
|
||||||
.
|
. <co id="ex.init.any.start"/>
|
||||||
.
|
.
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
[ "$RETVAL" = 0 ] && touch /var/lock/subsys/$prog
|
[ "$RETVAL" = 0 ] && touch /var/lock/subsys/$prog
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() { <co id="ex.init.stop"/>
|
||||||
echo -n $"Stopping $prog:"
|
echo -n $"Stopping $prog:"
|
||||||
.
|
.
|
||||||
.
|
. <co id="ex.init.any.stop"/>
|
||||||
.
|
.
|
||||||
killproc $prog -TERM
|
killproc $prog -TERM
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
[ "$RETVAL" = 0 ] && rm -f /var/lock/subsys/$prog
|
[ "$RETVAL" = 0 ] && rm -f /var/lock/subsys/$prog
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
reload() {
|
reload() { <co id="ex.init.reload"/>
|
||||||
echo -n $"Reloading $prog:"
|
echo -n $"Reloading $prog:"
|
||||||
killproc $prog -HUP
|
killproc $prog -HUP
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in <co id="ex.init.call"/>
|
||||||
start)
|
start)
|
||||||
start
|
start
|
||||||
;;
|
;;
|
||||||
|
@ -94,7 +78,7 @@ case "$1" in
|
||||||
status $prog
|
status $prog
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
;;
|
;;
|
||||||
*)
|
*) <co id="ex.init.default"/>
|
||||||
echo $"Usage: $0 {start|stop|restart|reload|condrestart|status}"
|
echo $"Usage: $0 {start|stop|restart|reload|condrestart|status}"
|
||||||
RETVAL=1
|
RETVAL=1
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<screen>
|
<screen>
|
||||||
<prompt>bash# </prompt><command>/usr/sbin/httpd &</command>
|
<prompt>bash# </prompt><command>/usr/sbin/httpd &</command>
|
||||||
<prompt>bash# </prompt><command>/usr/sbin/httpd -f /etc/httpd/dom1.com.br.conf &</command>
|
<prompt>bash# </prompt><command>/usr/sbin/httpd -f /etc/httpd/dom1.com.br.conf &</command>
|
||||||
<prompt>bash# </prompt><command>/usr/sbin/httpd -f /etc/httpd/dom2.com.br.conf &</command>
|
<prompt>bash# </prompt><command>/usr/sbin/httpd -f /etc/httpd/dom2.com.br.conf &</command>
|
||||||
<prompt>bash# </prompt><command>/usr/sbin/httpd -f /etc/httpd/dom3.com.br.conf &</command></screen>
|
<prompt>bash# </prompt><command>/usr/sbin/httpd -f /etc/httpd/dom3.com.br.conf &</command></screen>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<screen>
|
<screen>
|
||||||
<prompt>bash:/etc/rc3.d# </prompt><command>ls -l</command>
|
<prompt>bash:/etc/rc3.d# </prompt><command>ls -l</command>
|
||||||
lrwxrwxrwx 1 root root 18 Jan 14 11:59 K92firewall -> ../init.d/firewall
|
lrwxrwxrwx 1 root root 18 Jan 14 11:59 K92firewall -> ../init.d/firewall
|
||||||
lrwxrwxrwx 1 root root 17 Jan 14 11:59 <emphasis role=strong>S10network -> ../init.d/network</emphasis>
|
lrwxrwxrwx 1 root root 17 Jan 14 11:59 <emphasis role="strong">S10network -> ../init.d/network</emphasis>
|
||||||
lrwxrwxrwx 1 root root 16 Jan 14 11:59 S12syslog -> ../init.d/syslog
|
lrwxrwxrwx 1 root root 16 Jan 14 11:59 S12syslog -> ../init.d/syslog
|
||||||
lrwxrwxrwx 1 root root 18 Jan 14 11:59 S17keytable -> ../init.d/keytable
|
lrwxrwxrwx 1 root root 18 Jan 14 11:59 S17keytable -> ../init.d/keytable
|
||||||
lrwxrwxrwx 1 root root 20 Jan 14 11:59 S56rawdevices -> ../init.d/rawdevices
|
lrwxrwxrwx 1 root root 20 Jan 14 11:59 S56rawdevices -> ../init.d/rawdevices
|
||||||
lrwxrwxrwx 1 root root 16 Jan 14 11:59 S56xinetd -> ../init.d/xinetd
|
lrwxrwxrwx 1 root root 16 Jan 14 11:59 S56xinetd -> ../init.d/xinetd
|
||||||
lrwxrwxrwx 1 root root 18 Jan 14 11:59 <emphasis role=strong>S75httpd -> ../init.d/httpd</emphasis>
|
lrwxrwxrwx 1 root root 18 Jan 14 11:59 <emphasis role="strong">S75httpd -> ../init.d/httpd</emphasis>
|
||||||
lrwxrwxrwx 1 root root 11 Jan 13 21:45 S99local -> ../rc.local</screen>
|
lrwxrwxrwx 1 root root 11 Jan 13 21:45 S99local -> ../rc.local</screen>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue