Changeset 932240d
- Timestamp:
- 07/20/2014 01:41:38 PM (10 years ago)
- Branches:
- 7.6-blfs, 7.6-systemd, kde5-14269, kde5-14686, systemd-13485
- Children:
- 0da88ea3
- Parents:
- 96733af
- Files:
-
- 7 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/acpid-systemd.xml
r96733af r932240d 145 145 146 146 <para> 147 To automatically start<command>acpid</command> daemon at boot,147 To start the <command>acpid</command> daemon at boot, 148 148 install the systemd unit from the <xref linkend="bootscripts"/> 149 149 package by running the following command as the -
general/sysutils/sysstat-systemd.xml
r96733af r932240d 184 184 daily data file to reinitialize the kernel counters. This can be 185 185 automated by enabling the previously installed systemd unit 186 using the following command as the186 by running the following command as the 187 187 <systemitem class="username">root</systemitem> user:</para> 188 188 -
networking/connect/connect.xml
r96733af r932240d 34 34 <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ppp.xml"/> --> 35 35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dhcpcd.xml"/> 36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dhcp .xml"/>36 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dhcp-systemd.xml"/> 37 37 38 38 </chapter> -
networking/connect/dhcp-systemd.xml
r96733af r932240d 261 261 <screen role="root"><userinput>dhclient <replaceable><eth0></replaceable></userinput></screen> 262 262 263 <para>264 Replace <replaceable><eth0></replaceable> with your265 desired interface. If you want more verbose output, add the266 <command>-v</command> parameter to the command above.267 </para>268 269 <para id="dhclient-service">270 If you want to configure network interfaces at boot using271 <command>dhclient</command>, you need to install the272 <filename>/lib/services/dhclient</filename> script273 included in <xref linkend="bootscripts"/> package:274 </para>275 276 <screen role="root"><userinput>make install-service-dhclient</userinput></screen>277 278 <indexterm zone="dhcp dhclient-service">279 <primary sortas="f-dhclient">dhclient (service script)</primary>280 </indexterm>281 282 <para id="dhclient-ifconfig">283 Next, create the <filename>/etc/sysconfig/ifconfig.eth0</filename>284 configuration file with the following commands as the285 <systemitem class="username">root</systemitem> user:286 </para>287 288 <screen role="root"><userinput>cat > /etc/sysconfig/ifconfig.eth0 << "EOF"289 <literal>ONBOOT="yes"290 IFACE="eth0"291 SERVICE="dhclient"292 DHCP_START=""293 DHCP_STOP=""294 295 # Set PRINTIP="yes" to have the script print296 # the DHCP assigned IP address297 PRINTIP="no"298 299 # Set PRINTALL="yes" to print the DHCP assigned values for300 # IP, SM, DG, and 1st NS. This requires PRINTIP="yes".301 PRINTALL="no"</literal>302 EOF</userinput></screen>303 304 <indexterm zone="dhcp dhclient-ifconfig">305 <primary sortas="e-etc-sysconfig-...-dhclient">/etc/sysconfig/ifconfig.eth0</primary>306 </indexterm>307 308 <para>309 Adjust the file to suit your needs.310 </para>311 312 <para>313 For more information on the appropriate <envar>DHCP_START</envar>314 and <envar>DHCP_STOP</envar> values see315 <command>man 8 dhclient</command>.316 </para>317 318 263 </sect3> 319 264 … … 370 315 <screen role="root"><userinput>install -v -dm 755 /var/lib/dhcpd</userinput></screen> 371 316 372 373 If you want to start the DHCP Server at boot, install374 the <filename>/etc/rc.d/init.d/dhcpd</filename>375 init script included in the <xref linkend="bootscripts"/>376 package:317 <para> 318 To start the <command>dhcpd</command> daemon at boot, 319 install the systemd unit from the <xref linkend="bootscripts"/> 320 package by running the following command as the 321 <systemitem class="username">root</systemitem> user: 377 322 </para> 378 323 … … 385 330 <para> 386 331 You will need to edit the 387 <filename>/etc/ sysconfig/dhcpd</filename>in order332 <filename>/etc/default/dhcpd</filename> file in order 388 333 to set the interface on which <command>dhcpd</command> 389 334 will serve the DHCP requests. -
networking/netprogs/netprogs.xml
r96733af r932240d 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncftp.xml"/> 26 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="net-tools.xml"/> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nfs-utils .xml"/>27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nfs-utils-systemd.xml"/> 28 28 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="netfs.xml"/> 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ntp.xml"/> -
networking/netprogs/nfs-utils-systemd.xml
r96733af r932240d 196 196 197 197 <sect4 id="nfs-utils-server-init"> 198 <title>Boot Script</title> 199 200 <para>Install the <filename>/etc/rc.d/init.d/nfs-server</filename> 201 init script included in the <xref linkend="bootscripts"/> package 202 to start the server at boot.</para> 198 <title>Systemd Units</title> 199 200 <para> 201 To start the NFS Server daemons at boot, 202 install the systemd units from the <xref linkend="bootscripts"/> 203 package by running the following command as the 204 <systemitem class="username">root</systemitem> user: 205 </para> 203 206 204 207 <screen role="root"><userinput>make install-nfs-server</userinput></screen> … … 208 211 </indexterm> 209 212 210 <para>Now create the <filename>/etc/sysconfig/nfs-server</filename> 211 configuration file:</para> 212 213 <screen role="root"><userinput>cat > /etc/sysconfig/nfs-server << "EOF" 214 <literal>PORT="2049" 215 PROCESSES="8" 216 QUOTAS="no" 217 KILLDELAY="10"</literal> 218 EOF</userinput></screen> 219 220 <note><para>The above parameters may be optionally placed in 221 <filename>/etc/sysconfig/rc.site</filename>.</para></note> 213 <para>You can edit the <filename>/etc/default/nfs-utils</filename> 214 file to change the startup options for NFS daemons. Defaults should 215 be fine for most use cases.</para> 222 216 223 217 <indexterm zone="nfs-utils nfs-utils-server-init"> 224 <primary 225 sortas="e-etc-sysconfig-nfs-server">/etc/sysconfig/nfs-server</primary> 218 <primary sortas="e-etc-default-nfs-utils">/etc/default/nfs-utils</primary> 226 219 </indexterm> 227 220 … … 284 277 285 278 <sect4 id="nfs-utils-client-init"> 286 <title>Boot Script</title> 287 288 <note><para>The following boot script is not required if the 289 nfs-server script is installed.</para></note> 290 291 <para>Install the <filename>/etc/rc.d/init.d/nfs-client</filename> init 292 script included in the <xref linkend="bootscripts"/> package to start 293 the client services at boot.</para> 279 <title>Systemd Units</title> 280 281 <note><para>The following systemd unis are not required if the 282 nfs-server units were previously installed.</para></note> 283 284 <para> 285 To start the NFS client services at boot, 286 install the systemd units from the <xref linkend="bootscripts"/> 287 package by running the following command as the 288 <systemitem class="username">root</systemitem> user: 289 </para> 294 290 295 291 <screen role="root"><userinput>make install-nfs-client</userinput></screen> … … 297 293 <indexterm zone="nfs-utils nfs-utils-client-config"> 298 294 <primary sortas="f-nfs-client">nfs-client</primary> 299 </indexterm>300 301 <para>To automatically mount <systemitem302 class="filesystem">nfs</systemitem> filesystems, clients will also need303 to install the <filename>netfs</filename> bootscript as described in304 <xref linkend="postlfs-config-netfs"/>.</para>305 306 <indexterm zone="nfs-utils nfs-utils-client-config">307 <primary sortas="f-netfs">netfs</primary>308 295 </indexterm> 309 296 -
postlfs/security/cyrus-sasl-systemd.xml
r96733af r932240d 286 286 287 287 <para> 288 To automatically start<command>saslauthd</command> daemon at boot,288 To start the <command>saslauthd</command> daemon at boot, 289 289 install the systemd unit from the <xref linkend="bootscripts"/> 290 290 package by running the following command as the -
postlfs/security/mitkrb-systemd.xml
r96733af r932240d 467 467 468 468 <para> 469 To automatically startKerberos services at boot,470 install the systemd unit from the <xref linkend="bootscripts"/>469 To start the Kerberos services at boot, 470 install the systemd units from the <xref linkend="bootscripts"/> 471 471 package by running the following command as the 472 472 <systemitem class="username">root</systemitem> user: -
postlfs/security/openssh-systemd.xml
r96733af r932240d 305 305 306 306 <para> 307 To automatically start<command>sshd</command> daemon at boot,308 install the systemd unit from the <xref linkend="bootscripts"/>307 To start the <command>sshd</command> daemon at boot, 308 install the systemd units from the <xref linkend="bootscripts"/> 309 309 package by running the following command as the 310 310 <systemitem class="username">root</systemitem> user:
Note:
See TracChangeset
for help on using the changeset viewer.