mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Temporary render fix for bootscripts with REV=systemd.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17430 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
5c9e99827d
commit
3c7bd00845
@ -512,7 +512,7 @@ gunzip -v /usr/share/doc/php-&php-version;/php_manual_en.html.gz</userinput></sc
|
||||
<sect3 id="php-init">
|
||||
<title>Boot Script</title>
|
||||
|
||||
<para>
|
||||
<para revision="sysv">
|
||||
To automatically start the <command>php-fpm</command> daemon when the
|
||||
system is rebooted, install the
|
||||
<filename>/etc/rc.d/init.d/php</filename> bootscript from the
|
||||
@ -520,11 +520,22 @@ gunzip -v /usr/share/doc/php-&php-version;/php_manual_en.html.gz</userinput></sc
|
||||
<systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<para revision="systemd">
|
||||
To automatically start the <command>php-fpm</command> daemon when the
|
||||
system is rebooted, install the <filename>php-fpm.service</filename>
|
||||
unit from the <xref linkend="systemd-units"/> package as the
|
||||
<systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
|
||||
<indexterm zone="php php-init">
|
||||
<primary sortas="f-php">php</primary>
|
||||
</indexterm>
|
||||
|
||||
<screen role="root"><userinput>make install-php</userinput></screen>
|
||||
<screen role="root" revision="sysv"><userinput>make install-php</userinput></screen>
|
||||
|
||||
<screen role="root" revision="systemd"><userinput>make install-php-fpm</userinput></screen>
|
||||
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
@ -209,7 +209,8 @@ EOF</userinput></screen>
|
||||
<title>4. Starting the Server</title>
|
||||
|
||||
<para>To start the server at boot time, install the svn bootscript
|
||||
included in the <xref linkend="bootscripts"/> package.</para>
|
||||
included in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.</para>
|
||||
|
||||
<indexterm zone="svnserver svnserver-init">
|
||||
<primary sortas="f-svn">svn</primary>
|
||||
|
@ -217,8 +217,9 @@ make</userinput></screen>
|
||||
<para>
|
||||
To automatically store and restore volume settings (if udev rule doesn't
|
||||
work for you) when the system is rebooted, install the
|
||||
<filename>/etc/rc.d/init.d/alsa</filename> boot script from the <xref
|
||||
linkend="bootscripts"/> package.
|
||||
<filename>/etc/rc.d/init.d/alsa</filename> boot script from the
|
||||
<xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make install-alsa</userinput></screen>
|
||||
|
@ -185,7 +185,9 @@ mv -v /usr/sbin/dhclient /sbin &&
|
||||
install -v -m755 client/scripts/linux /sbin/dhclient-script</userinput></screen>
|
||||
|
||||
<para>
|
||||
Skip to <xref linkend="dhclient-config"/> in order to configure the client
|
||||
Skip to <xref linkend="dhclient-config" revision="sysv"/>
|
||||
<xref linkend="dhclient-config-systemd" revision="systemd"/>
|
||||
in order to configure the client
|
||||
</para>
|
||||
|
||||
<para>
|
||||
@ -234,7 +236,7 @@ install -v -m755 client/scripts/linux /sbin/dhclient-script</userinput></screen>
|
||||
|
||||
</sect3>
|
||||
|
||||
<sect3 id="dhclient-config">
|
||||
<sect3 id="dhclient-config" revision="sysv">
|
||||
<title>Client Configuration</title>
|
||||
|
||||
<para>
|
||||
@ -340,6 +342,12 @@ EOF</userinput></screen>
|
||||
|
||||
</sect3>
|
||||
|
||||
<sect3 id="dhclient-config-systemd" revision="systemd">
|
||||
<title>Client Configuration</title>
|
||||
|
||||
<para>TBA</para>
|
||||
</sect3>
|
||||
|
||||
<sect3 id="dhcpd-config">
|
||||
<title>Server Configuration</title>
|
||||
|
||||
@ -394,8 +402,11 @@ EOF</userinput></screen>
|
||||
|
||||
<para>
|
||||
If you want to start the DHCP Server at boot, install
|
||||
the <filename>/etc/rc.d/init.d/dhcpd</filename>
|
||||
init script included in the <xref linkend="bootscripts"/>
|
||||
the <filename revision="sysv">/etc/rc.d/init.d/dhcpd</filename>
|
||||
<filename revision="systemd">dhcpd.service</filename>
|
||||
init script included in the
|
||||
<xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/>
|
||||
package:
|
||||
</para>
|
||||
|
||||
|
@ -137,7 +137,7 @@ install -v -m 644 dhcpcd-hooks/50-dhcpcd-compat /lib/dhcpcd/dhcpcd-hooks/</useri
|
||||
|
||||
</sect3>
|
||||
|
||||
<sect3 id="dhcpcd-init">
|
||||
<sect3 id="dhcpcd-init" revision="sysv">
|
||||
<title>General Configuration Information</title>
|
||||
|
||||
<para>To configure <command>dhcpcd</command>, you need to first install
|
||||
@ -206,7 +206,7 @@ EOF</userinput></screen>
|
||||
</indexterm>
|
||||
</sect3>
|
||||
|
||||
<sect3 id="dhcpcd-init2">
|
||||
<sect3 id="dhcpcd-init2" revision="sysv">
|
||||
<title>Configuration Information: fixed ip</title>
|
||||
|
||||
<para id="dhcpcd-config4">Although not usual, it is possible that you need
|
||||
|
@ -121,7 +121,7 @@ make</userinput></screen>
|
||||
<sect2 role="configuration">
|
||||
<title>Configuring bridge-utils</title>
|
||||
|
||||
<sect3 id='bridgeutils-init'>
|
||||
<sect3 id='bridgeutils-init' revision="sysv">
|
||||
<title>Configuration Information</title>
|
||||
|
||||
<para>To automate bridge creation and configuration,
|
||||
@ -178,6 +178,11 @@ EOF</userinput></screen>
|
||||
|
||||
</sect3>
|
||||
|
||||
<sect3 id='bridgeutils-init-systemd' revision="systemd">
|
||||
<title>Configuration Information</title>
|
||||
<para>TBA</para>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
||||
|
@ -29,10 +29,11 @@
|
||||
<option>_netdev</option> option, and unmounting of all network filesystems
|
||||
before the network is brought down.</para>
|
||||
|
||||
<para>As the <systemitem class="username">root</systemitem> user, install
|
||||
<para revision="sysv">As the <systemitem class="username">root</systemitem> user, install
|
||||
the <filename>/etc/rc.d/init.d/netfs</filename> bootscript included with the
|
||||
<xref linkend="bootscripts"/> package.</para>
|
||||
|
||||
<screen role='root'><userinput>make install-netfs</userinput></screen>
|
||||
<screen role='root' revision="sysv"><userinput>make install-netfs</userinput></screen>
|
||||
|
||||
<para revision="systemd">TBA</para>
|
||||
</sect1>
|
||||
|
@ -220,7 +220,8 @@ chmod u+w,go+r /sbin/mount.nfs</userinput></screen>
|
||||
<title>Boot Script</title>
|
||||
|
||||
<para>Install the <filename>/etc/rc.d/init.d/nfs-server</filename>
|
||||
init script included in the <xref linkend="bootscripts"/> package
|
||||
init script included in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package
|
||||
to start the server at boot.</para>
|
||||
|
||||
<screen role="root"><userinput>make install-nfs-server</userinput></screen>
|
||||
@ -291,7 +292,8 @@ EOF</userinput></screen>
|
||||
nfs-server script is installed.</para></note>
|
||||
|
||||
<para>Install the <filename>/etc/rc.d/init.d/nfs-client</filename> init
|
||||
script included in the <xref linkend="bootscripts"/> package to start
|
||||
script included in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package to start
|
||||
the client services at boot.</para>
|
||||
|
||||
<screen role="root"><userinput>make install-nfs-client</userinput></screen>
|
||||
|
@ -216,7 +216,8 @@ EOF</userinput></screen>
|
||||
<para>If you choose Option one, then install the
|
||||
<filename>/etc/rc.d/init.d/ntp</filename>
|
||||
init script included in the
|
||||
<xref linkend="bootscripts"/> package.</para>
|
||||
<xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.</para>
|
||||
|
||||
<indexterm zone="ntp ntp-init">
|
||||
<primary sortas="f-ntp">ntp</primary>
|
||||
|
@ -91,7 +91,7 @@
|
||||
<para>Install <application>rpcbind</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../rpcbind-&rpcbind-version;-tirpc_fix-1.patch &&
|
||||
<screen revision="sysv"><userinput>patch -Np1 -i ../rpcbind-&rpcbind-version;-tirpc_fix-1.patch &&
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--bindir=/sbin \
|
||||
@ -99,6 +99,13 @@
|
||||
--without-systemdsystemunitdir &&
|
||||
make</userinput></screen>
|
||||
|
||||
<screen revision="systemd"><userinput>patch -Np1 -i ../rpcbind-&rpcbind-version;-tirpc_fix-1.patch &&
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--bindir=/sbin \
|
||||
--with-rpcuser=root &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>This package does not come with a test suite.</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
@ -113,8 +120,8 @@ make</userinput></screen>
|
||||
<para><command>--with-rpcuser=root</command>: This works around an error in
|
||||
the configure script.</para>
|
||||
|
||||
<para><command>--without-systemdsystemunitdir</command>: BLFS does not
|
||||
support systemd.</para>
|
||||
<para revision="sysv"><command>--without-systemdsystemunitdir</command>:
|
||||
BLFS does not support systemd.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
@ -124,8 +131,9 @@ make</userinput></screen>
|
||||
<sect3 id="rpcbind-init">
|
||||
<title>Boot Script</title>
|
||||
|
||||
<para>Install the <filename>/etc/rc.d/init.d/rpcbind</filename> init script
|
||||
included in the <xref linkend="bootscripts"/> package.</para>
|
||||
<para>Install the <filename>/etc/rc.d/init.d/rpcbind</filename> init
|
||||
script included in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.</para>
|
||||
|
||||
<indexterm zone="rpcbind rpcbind-init">
|
||||
<primary sortas="f-rpcbind">rpcbind</primary>
|
||||
|
@ -174,7 +174,8 @@ EOF</userinput></screen>
|
||||
|
||||
<para>Install the <filename>/etc/rc.d/init.d/rsyncd</filename> init
|
||||
script included in the
|
||||
<xref linkend="bootscripts"/> package.</para>
|
||||
<xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.</para>
|
||||
|
||||
<screen role="root"><userinput>make install-rsyncd</userinput></screen>
|
||||
|
||||
|
@ -411,7 +411,8 @@ install -v -m755 examples/LDAP/{get*,ol*} \
|
||||
|
||||
<para>For your convenience, boot scripts have been provided for
|
||||
<application>Samba</application>. There are two included in the
|
||||
<xref linkend="bootscripts"/> package. The first,
|
||||
<xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package. The first,
|
||||
<filename>samba</filename>, will start the <command>smbd</command>
|
||||
and <command>nmbd</command> daemons needed to provide SMB/CIFS
|
||||
services. The second script, <filename>winbind</filename>, starts
|
||||
|
@ -314,7 +314,8 @@ install -v -m644 wpa_gui-qt4/icons/wpa_gui.svg /usr/share/pixmaps/</userinput></
|
||||
If you want to configure network interfaces at boot using
|
||||
<command>wpa_supplicant</command>, you need to install the
|
||||
<filename>/lib/services/wpa</filename> script
|
||||
included in <xref linkend="bootscripts"/> package:
|
||||
included in <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>make install-service-wpa</userinput></screen>
|
||||
|
@ -245,7 +245,8 @@ make</userinput></screen>
|
||||
To automatically start the <command>avahi-daemon</command>
|
||||
when the system is rebooted, install the
|
||||
<filename>/etc/rc.d/init.d/avahi</filename> bootscript from
|
||||
the <xref linkend="bootscripts"/> package.
|
||||
the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.
|
||||
</para>
|
||||
|
||||
<indexterm zone="avahi avahi-init">
|
||||
|
@ -228,7 +228,8 @@ EOF</userinput></screen>
|
||||
To automatically start the <command>NetworkManager</command> daemon when the
|
||||
system is rebooted, install the
|
||||
<filename>/etc/rc.d/init.d/networkmanager</filename> bootscript from the
|
||||
<xref linkend="bootscripts"/> package.
|
||||
<xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.
|
||||
</para>
|
||||
|
||||
<indexterm zone="NetworkManager NetworkManager-init">
|
||||
|
@ -101,9 +101,21 @@
|
||||
<para>Install <application>Wicd</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>sed -e "/wpath.logrotate\|wpath.systemd/d" \
|
||||
<screen revision="sysv"><userinput>sed -e "/wpath.logrotate\|wpath.systemd/d" \
|
||||
-e "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
|
||||
-i.orig setup.py &&;
|
||||
-i.orig setup.py &&
|
||||
|
||||
rm po/*.po &&
|
||||
|
||||
python setup.py configure --no-install-kde \
|
||||
--no-install-acpi \
|
||||
--no-install-pmutils \
|
||||
--no-install-init \
|
||||
--no-install-gnome-shell-extensions \
|
||||
--docdir=/usr/share/doc/wicd-&wicd-version;</userinput></screen>
|
||||
|
||||
<screen revision="systemd"><userinput>sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
|
||||
-i.orig setup.py &&
|
||||
|
||||
rm po/*.po &&
|
||||
|
||||
@ -126,10 +138,13 @@ python setup.py configure --no-install-kde \
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><command>sed -e ... -i setup.py</command>: The first expression in
|
||||
this <command>sed</command> command prevents installation of logrotate and
|
||||
systemd configuration files. You may omit it if you use these utilities. The
|
||||
second one fixes building with BLFS.</para>
|
||||
<para revision="sysv"><command>sed -e ... -i setup.py</command>: The first
|
||||
expression in this <command>sed</command> command prevents installation of
|
||||
logrotate and systemd configuration files. You may omit it if you use these
|
||||
utilities. The second one fixes building with BLFS.</para>
|
||||
|
||||
<para revision="systemd"><command>sed -e ... -i setup.py</command>: Fix
|
||||
and issue while building with BLFS.</para>
|
||||
|
||||
<para><command>rm po/*.po</command>: This command removes the international
|
||||
messages associated with this package. The command is required unless Babel
|
||||
@ -180,7 +195,8 @@ python setup.py configure --no-install-kde \
|
||||
<para>To automatically start Wicd at boot time, you need to first install
|
||||
the Wicd bootscript,
|
||||
<filename>/etc/rc.d/init.d/wicd</filename>,
|
||||
included in the <xref linkend="bootscripts"/> package
|
||||
included in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package
|
||||
(as user <systemitem class="username">root</systemitem>):</para>
|
||||
|
||||
<indexterm zone="wicd wicd-init">
|
||||
|
@ -33,7 +33,8 @@
|
||||
start-ups.</para>
|
||||
|
||||
<para>Install the <filename>/etc/rc.d/init.d/random</filename> init script
|
||||
included with the <xref linkend="bootscripts"/> package.</para>
|
||||
included with the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.</para>
|
||||
|
||||
<screen role="root"><userinput>make install-random</userinput></screen>
|
||||
|
||||
|
@ -116,7 +116,8 @@ make</userinput></screen>
|
||||
If you want the <application>smartd</application> daemon to
|
||||
start automatically when the system is booted, install the
|
||||
<filename>/etc/rc.d/init.d/smartd</filename> init script included
|
||||
in the <xref linkend="bootscripts"/> package.
|
||||
in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.
|
||||
</para>
|
||||
|
||||
<indexterm zone="smartmontools smartmontoools-init">
|
||||
|
@ -273,7 +273,8 @@ install -v -dm700 /var/lib/sasl</userinput></screen>
|
||||
<para>
|
||||
If you need to run the <command>saslauthd</command> daemon at system
|
||||
startup, install the <filename>/etc/rc.d/init.d/saslauthd</filename>
|
||||
init script included in the <xref linkend="bootscripts"/>
|
||||
init script included in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/>
|
||||
package using the following command:
|
||||
</para>
|
||||
|
||||
|
@ -110,7 +110,8 @@ cp -v README /usr/share/doc/haveged-&haveged-version;</userinput></screen>
|
||||
If you want the <application>Haveged</application> daemon to
|
||||
start automatically when the system is booted, install the
|
||||
<filename>/etc/rc.d/init.d/haveged</filename> init script included
|
||||
in the <xref linkend="bootscripts"/> package.
|
||||
in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.
|
||||
</para>
|
||||
|
||||
<indexterm zone="haveged haveged-init">
|
||||
|
@ -203,7 +203,8 @@ done</userinput></screen>
|
||||
<para>
|
||||
To set up the iptables firewall at boot, install the
|
||||
<filename>/etc/rc.d/init.d/iptables</filename> init script included
|
||||
in the <xref linkend="bootscripts"/> package.
|
||||
in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.
|
||||
</para>
|
||||
|
||||
<indexterm zone="iptables iptables-init">
|
||||
|
@ -449,7 +449,8 @@ EOF</userinput></screen>
|
||||
<para>
|
||||
If you want to start <application>Kerberos</application> services
|
||||
at boot, install the <filename>/etc/rc.d/init.d/krb5</filename> init
|
||||
script included in the <xref linkend="bootscripts"/> package using
|
||||
script included in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package using
|
||||
the following command:
|
||||
</para>
|
||||
|
||||
|
@ -313,9 +313,10 @@ echo "UsePAM yes" >> /etc/ssh/sshd_config</userinput></screen>
|
||||
|
||||
<para>
|
||||
To start the SSH server at system boot, install the
|
||||
<filename>/etc/rc.d/init.d/sshd</filename> init script included
|
||||
in the <xref linkend="bootscripts"/> package.
|
||||
</para>
|
||||
<filename>/etc/rc.d/init.d/sshd</filename> init script included
|
||||
in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.
|
||||
</para>
|
||||
|
||||
<indexterm zone="openssh openssh-init">
|
||||
<primary sortas="f-sshd">sshd</primary>
|
||||
|
@ -132,12 +132,17 @@ useradd -c "stunnel Daemon" -d /var/lib/stunnel \
|
||||
./configure ...</command> in the first command below.</para>
|
||||
</note>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr \
|
||||
<screen revision="sysv"><userinput>./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-systemd &&
|
||||
make</userinput></screen>
|
||||
|
||||
<screen revision="systemd"><userinput>./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>This package does not come with a test suite.</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
@ -165,8 +170,9 @@ make</userinput></screen>
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><parameter>--disable-systemd</parameter>: This switch disables
|
||||
systemd socket activation support which is not available in BLFS.</para>
|
||||
<para revision="sysv"><parameter>--disable-systemd</parameter>: This switch
|
||||
disables systemd socket activation support which is not available in
|
||||
BLFS.</para>
|
||||
|
||||
<para><command>make docdir=... install</command>: This command installs the
|
||||
package and changes the documentation installation directory to standard
|
||||
@ -253,7 +259,8 @@ connect = <replaceable><hostname:portnumber></replaceable></literal></scre
|
||||
<para>To automatically start the <command>stunnel</command> daemon
|
||||
when the system is booted, install the
|
||||
<filename>/etc/rc.d/init.d/stunnel</filename> bootscript from the
|
||||
<xref linkend="bootscripts"/> package.</para>
|
||||
<xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.</para>
|
||||
|
||||
<indexterm zone="stunnel stunnel-init">
|
||||
<primary sortas="f-stunnel">stunnel</primary>
|
||||
|
@ -407,7 +407,8 @@ EOF</userinput></screen>
|
||||
<para>
|
||||
If you want the <application>Cups</application> print service to start
|
||||
automatically when the system is booted, install the init
|
||||
script included in the <xref linkend="bootscripts"/>
|
||||
script included in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/>
|
||||
package:
|
||||
</para>
|
||||
|
||||
|
@ -366,7 +366,8 @@ mysqld_safe --user=mysql 2>&1 >/dev/null &</userinput></screen>
|
||||
|
||||
<para>
|
||||
Install the <filename>/etc/rc.d/init.d/mysql</filename> init script
|
||||
included in the <xref linkend="bootscripts"/> package as
|
||||
included in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package as
|
||||
the <systemitem class="username">root</systemitem> user to start the
|
||||
<application>MariaDB</application> server during system boot-up.
|
||||
</para>
|
||||
|
@ -250,7 +250,8 @@ echo "select * from t1;" | (su - postgres -c '/usr/bin/psql test')</userinput></
|
||||
|
||||
<para>Install the <filename>/etc/rc.d/init.d/postgresql</filename>
|
||||
init script included in the
|
||||
<xref linkend="bootscripts"/> package.</para>
|
||||
<xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.</para>
|
||||
|
||||
<indexterm zone="postgresql postgresql-init">
|
||||
<primary sortas="f-postgresql">postgresql</primary>
|
||||
|
@ -248,7 +248,8 @@ EOF</userinput></screen>
|
||||
<para>If you want the <application>Dovecot</application> server to
|
||||
start automatically when the system is booted, install the
|
||||
<filename>/etc/rc.d/init.d/dovecot</filename> init script included
|
||||
in the <xref linkend="bootscripts"/> package.</para>
|
||||
in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.</para>
|
||||
|
||||
<indexterm zone="dovecot dovecot-init">
|
||||
<primary sortas="f-dovecot">dovecot</primary>
|
||||
|
@ -304,7 +304,8 @@ exim -v -bi &&
|
||||
|
||||
<para>To automate the running of <command>exim</command> at startup,
|
||||
install the <filename>/etc/rc.d/init.d/exim</filename> init script
|
||||
included in the <xref linkend="bootscripts"/>
|
||||
included in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/>
|
||||
package.</para>
|
||||
|
||||
<indexterm zone="exim exim-init">
|
||||
|
@ -406,7 +406,8 @@ EOF</userinput></screen>
|
||||
<para>
|
||||
To automate the running of Postfix at startup, install the
|
||||
<filename>/etc/rc.d/init.d/postfix</filename> init script included in
|
||||
the <xref linkend="bootscripts"/> package.
|
||||
the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.
|
||||
</para>
|
||||
|
||||
<indexterm zone="postfix postfix-init">
|
||||
|
@ -265,7 +265,8 @@ m4 m4/cf.m4 sendmail.mc > sendmail.cf</userinput></screen>
|
||||
<para>To automate the running of <application>sendmail</application>
|
||||
at startup, install the <filename>/etc/rc.d/init.d/sendmail</filename>
|
||||
init script included in the
|
||||
<xref linkend="bootscripts"/> package.</para>
|
||||
<xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.</para>
|
||||
|
||||
<indexterm zone="sendmail sendmail-init">
|
||||
<primary sortas="f-sendmail-init">sendmail</primary>
|
||||
|
@ -273,7 +273,8 @@ chown -v -R apache:apache /srv/www</userinput></screen>
|
||||
If you want the <application>Apache</application> server to
|
||||
start automatically when the system is booted, install the
|
||||
<filename>/etc/rc.d/init.d/httpd</filename> init script included
|
||||
in the <xref linkend="bootscripts"/> package.
|
||||
in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.
|
||||
</para>
|
||||
|
||||
<indexterm zone="apache httpd-init">
|
||||
|
@ -408,7 +408,8 @@ EOF</userinput></screen>
|
||||
|
||||
<para>To start the DNS server at boot, install the
|
||||
<filename>/etc/rc.d/init.d/bind</filename> init script included
|
||||
in the <xref linkend="bootscripts"/> package.</para>
|
||||
in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.</para>
|
||||
|
||||
<indexterm zone="bind bind-init">
|
||||
<primary sortas="f-bind">bind</primary>
|
||||
|
@ -235,7 +235,8 @@ EOF</userinput></screen>
|
||||
<title>Boot Script</title>
|
||||
|
||||
<para>Install the <filename>/etc/rc.d/init.d/proftpd</filename> init
|
||||
script included in the <xref linkend="bootscripts"/>
|
||||
script included in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/>
|
||||
package.</para>
|
||||
|
||||
<indexterm zone="proftpd proftpd-init">
|
||||
|
@ -184,7 +184,8 @@ EOF</userinput></screen>
|
||||
|
||||
<para>Install the <filename>/etc/rc.d/init.d/vsftpd</filename>
|
||||
init script included in the
|
||||
<xref linkend="bootscripts"/> package.</para>
|
||||
<xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.</para>
|
||||
|
||||
<screen role="root"><userinput>make install-vsftpd</userinput></screen>
|
||||
|
||||
|
@ -415,7 +415,8 @@ cp -vfr doc/{drafts,rfc,guide} \
|
||||
<para>
|
||||
To automate the startup of the LDAP server at system bootup,
|
||||
install the <filename>/etc/rc.d/init.d/slapd</filename> init script
|
||||
included in the <xref linkend="bootscripts"/> package
|
||||
included in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package
|
||||
using the following command:
|
||||
</para>
|
||||
|
||||
|
@ -232,7 +232,8 @@ install -v -m644 doc/html/* /usr/share/doc/unbound-&unbound-version;</userinput>
|
||||
<para>If you want the <application>Unbound</application> server to
|
||||
start automatically when the system is booted, install the
|
||||
<filename>/etc/rc.d/init.d/unbound</filename> init script included
|
||||
in the <xref linkend="bootscripts"/> package.</para>
|
||||
in the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.</para>
|
||||
|
||||
<indexterm zone="unbound unbound-init">
|
||||
<primary sortas="f-unbound">unbound</primary>
|
||||
|
@ -400,7 +400,8 @@ EOF</userinput></screen>
|
||||
|
||||
<para>As the <systemitem class="username">root</systemitem> user, install
|
||||
the <filename>/etc/rc.d/init.d/xinetd</filename> init script included in
|
||||
the <xref linkend="bootscripts"/> package.</para>
|
||||
the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.</para>
|
||||
|
||||
<indexterm zone="xinetd xinetd-init">
|
||||
<primary sortas="f-xinetd">xinetd</primary>
|
||||
|
@ -278,7 +278,8 @@ EOF</userinput></screen>
|
||||
To automatically start the <command>TEMPLATE</command> daemon when the
|
||||
system is rebooted, install the
|
||||
<filename>/etc/rc.d/init.d/TEMPLATE</filename> bootscript from the
|
||||
<xref linkend="bootscripts"/> package as the
|
||||
<xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package as the
|
||||
<systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
|
@ -212,7 +212,8 @@ make</userinput></screen>
|
||||
|
||||
<para>
|
||||
Install the <filename>/etc/rc.d/init.d/lxdm</filename> init script from
|
||||
the <xref linkend="bootscripts"/> package.
|
||||
the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.
|
||||
</para>
|
||||
|
||||
<indexterm zone="lxdm lxdm-init">
|
||||
|
@ -287,7 +287,8 @@ install -v -dm755 -o sddm -g sddm /var/lib/sddm</userinput></screen>
|
||||
|
||||
<para>
|
||||
Install the <filename>/etc/rc.d/init.d/sddm</filename> init script from
|
||||
the <xref linkend="bootscripts"/> package.
|
||||
the <xref linkend="bootscripts" revision="sysv"/>
|
||||
<xref linkend="systemd-units" revision="systemd"/> package.
|
||||
</para>
|
||||
|
||||
<indexterm zone="sddm sddm-bootscript">
|
||||
|
Loading…
Reference in New Issue
Block a user