Changeset 0da88ea3
- Timestamp:
- 07/20/2014 02:21:04 PM (10 years ago)
- Branches:
- 7.6-blfs, 7.6-systemd, kde5-14269, kde5-14686, systemd-13485
- Children:
- 3452097f
- Parents:
- 932240d
- Files:
-
- 5 edited
- 5 moved
Legend:
- Unmodified
- Added
- Removed
-
TODO
r932240d r0da88ea3 1 dbus2 1 gpm 3 2 svn server 4 3 sendmail 5 4 iptables 5 wpa_supplicant -
networking/netprogs/netprogs.xml
r932240d r0da88ea3 27 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 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ntp .xml"/>30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rpcbind .xml"/>31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rsync .xml"/>32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="samba .xml"/>29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ntp-systemd.xml"/> 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rpcbind-systemd.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rsync-systemd.xml"/> 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="samba-systemd.xml"/> 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wget.xml"/> 34 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wireless-tools.xml"/> -
networking/netprogs/nfs-utils-systemd.xml
r932240d r0da88ea3 199 199 200 200 <para> 201 To start the NFS Server daemons at boot,201 To start the NFS server daemons at boot, 202 202 install the systemd units from the <xref linkend="bootscripts"/> 203 203 package by running the following command as the -
networking/netprogs/ntp-systemd.xml
r932240d r0da88ea3 181 181 and update the time each time <command>ntpd</command> is scheduled.</para> 182 182 183 <para>If you choose Option one, then install the 184 <filename>/etc/rc.d/init.d/ntp</filename> 185 init script included in the 186 <xref linkend="bootscripts"/> package.</para> 183 <para> 184 To start the <command>ntpd</command> daemon at boot, 185 install the systemd unit from the <xref linkend="bootscripts"/> 186 package by running the following command as the 187 <systemitem class="username">root</systemitem> user: 188 </para> 187 189 188 190 <indexterm zone="ntp ntp-init"> … … 197 199 198 200 <screen><literal>ntpd -q</literal></screen> 199 200 <para>Execute the following command if you would like to set the201 hardware clock to the current system time at shutdown and reboot:</para>202 203 <screen role="root"><userinput>ln -v -sf ../init.d/setclock /etc/rc.d/rc0.d/K46setclock &&204 ln -v -sf ../init.d/setclock /etc/rc.d/rc6.d/K46setclock</userinput></screen>205 206 <para>The other way around is already set up by LFS.</para>207 201 208 202 </sect3> -
networking/netprogs/rpcbind-systemd.xml
r932240d r0da88ea3 107 107 108 108 <sect3 id="rpcbind-init"> 109 <title> Boot Script</title>109 <title>Systemd Units</title> 110 110 111 <para>Install the <filename>/etc/rc.d/init.d/rpcbind</filename> init script 112 included in the <xref linkend="bootscripts"/> package.</para> 111 <para> 112 To start the <command>rpcbind</command> daemon at boot, 113 install the systemd unit from the <xref linkend="bootscripts"/> 114 package by running the following command as the 115 <systemitem class="username">root</systemitem> user: 116 </para> 113 117 114 118 <indexterm zone="rpcbind rpcbind-init"> -
networking/netprogs/rsync-systemd.xml
r932240d r0da88ea3 165 165 166 166 <sect3 id="rsync-init"> 167 <title> Boot Script</title>167 <title>Systemd Units</title> 168 168 169 169 <para>Note that you only want to start the 170 170 <application>rsync</application> server if you want to provide an 171 171 <application>rsync</application> archive on your local machine. 172 You don't need this script to run the172 You don't need this unit to run the 173 173 <application>rsync</application> client.</para> 174 174 175 <para>Install the <filename>/etc/rc.d/init.d/rsyncd</filename> init 176 script included in the 177 <xref linkend="bootscripts"/> package.</para> 175 <para> 176 To start the <command>rsync</command> daemon at boot, 177 install the systemd units from the <xref linkend="bootscripts"/> 178 package by running the following command as the 179 <systemitem class="username">root</systemitem> user: 180 </para> 178 181 179 182 <screen role="root"><userinput>make install-rsyncd</userinput></screen> 183 184 <note> 185 <para> 186 This package comes with two types of units: A service file and a socket file. 187 The service file will start rsync daemon once at boot and it will keep running until the 188 system shuts down. The socket file will make systemd listen on rsync port (Default 873, needs 189 to be edited for anything else) and will start rsync daemon when something tries to connect 190 to that port and stop the daemon when the connection is terminated. This is 191 called socket activation. 192 193 By default, the first method is used - rsync daemon is started at boot and stopped at shutdown. 194 If the socket method is desired, you need to run as the 195 <systemitem class="username">root</systemitem> user: 196 197 <screen role="root"><userinput>systemctl stop rsyncd && 198 systemctl disable rsyncd && 199 systemctl enable rsyncd.socket && 200 systemctl start rsyncd.socket</userinput></screen> 201 202 Note that socket method is only useful for remote backups. For local backups you'll need the 203 service method. 204 </para> 205 </note> 180 206 181 207 </sect3> -
networking/netprogs/samba-systemd.xml
r932240d r0da88ea3 114 114 --with-piddir=/run/samba \ 115 115 --with-pammodulesdir=/lib/security \ 116 --without-systemd \117 116 --enable-fhs \ 118 117 --enable-nss-wrapper && … … 174 173 <para><parameter>--enable-nss-wrapper</parameter>: Builds the nss-wrapper 175 174 library.</para> 176 177 <para><parameter>--without-systemd</parameter>: Disable178 <application>systemd</application> integration, which is not part of179 LFS/BLFS. If you use <application>systemd</application>, replace by180 <parameter>--with-systemd</parameter>.</para>181 175 182 176 <para><option>--enable-socket-wrapper</option> and … … 398 392 399 393 <sect4 id="samba-init"> 400 <title>Boot Script</title> 401 402 <para>For your convenience, boot scripts have been provided for 403 <application>Samba</application>. There are two included in the 404 <xref linkend="bootscripts"/> package. The first, 405 <filename>samba</filename>, will start the <command>smbd</command> 406 and <command>nmbd</command> daemons needed to provide SMB/CIFS 407 services. The second script, <filename>winbind</filename>, starts 408 the <command>winbindd</command> daemon, used for providing Windows 409 domain services to Linux clients.</para> 410 411 <indexterm zone="samba samba-init"> 412 <primary sortas="f-samba">samba</primary> 413 </indexterm> 414 415 <indexterm zone="samba samba-init"> 416 <primary sortas="f-winbind">winbind</primary> 417 </indexterm> 394 <title>Systemd Units</title> 418 395 419 396 <para>The default <application>Samba</application> installation uses the … … 431 408 -s /bin/false -u 99 nobody</userinput></screen> 432 409 433 <para>Install the <filename>samba</filename> script with the following 434 command issued as the <systemitem class="username">root</systemitem> 435 user:</para> 410 <para> 411 To start the <application>Samba</application> daemons at boot, 412 install the systemd units from the <xref linkend="bootscripts"/> 413 package by running the following command as the 414 <systemitem class="username">root</systemitem> user: 415 </para> 416 417 <indexterm zone="samba samba-init"> 418 <primary sortas="f-samba">samba</primary> 419 </indexterm> 436 420 437 421 <screen role="root"><userinput>make install-samba</userinput></screen> 438 422 439 <para>If you also need the <filename>winbindd</filename> 440 script to resolve names from Windows clients, run:</para> 423 <para> 424 To start the <command>winbindd</command> daemon at boot, 425 install the systemd unit from the <xref linkend="bootscripts"/> 426 package by running the following command as the 427 <systemitem class="username">root</systemitem> user: 428 </para> 429 430 <indexterm zone="samba samba-init"> 431 <primary sortas="f-winbindd">winbindd</primary> 432 </indexterm> 441 433 442 434 <screen role="root"><userinput>make install-winbindd</userinput></screen> 435 436 <note> 437 <para> 438 This package comes with two types of units: A service file and a socket file. 439 The service file will start smbd daemon once at boot and it will keep running until the 440 system shuts down. The socket file will make systemd listen on smbd port (Default 445, needs 441 to be edited for anything else) and will start smbd daemon when something tries to connect 442 to that port and stop the daemon when the connection is terminated. This is 443 called socket activation. 444 445 By default, the first method is used - smbd daemon is started at boot and stopped at shutdown. 446 If the socket method is desired, you need to run as the 447 <systemitem class="username">root</systemitem> user: 448 449 <screen role="root"><userinput>systemctl stop smbd && 450 systemctl disable smbd && 451 systemctl enable smbd.socket && 452 systemctl start smbd.socket</userinput></screen> 453 454 Note that only smbd daemon can be socket activated. 455 </para> 456 </note> 443 457 444 458 </sect4> -
networking/netutils/netutils.xml
r932240d r0da88ea3 29 29 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="traceroute.xml"/> 30 30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="whois.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wicd .xml"/>31 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wicd-systemd.xml"/> 32 32 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wireshark.xml"/> 33 33 -
networking/netutils/wicd-systemd.xml
r932240d r0da88ea3 115 115 commands:</para> 116 116 117 <screen><userinput>sed -i '/wpath.logrotate\|wpath.systemd/d' setup.py && 118 rm po/*.po && 117 <screen><userinput>rm po/*.po && 119 118 python setup.py configure --no-install-kde \ 120 119 --no-install-acpi \ … … 138 137 in order for the build to complete.</para> 139 138 140 <para><command>sed -i '/wpath...</command>: This <command>sed</command>141 prevents installation of <command>logrotate</command> and systemd142 configuration files. You may omit it if you use these utilities.</para>143 144 139 <para><option>--no-install-kde</option>: Prevent installation of an 145 140 autostart desktop file for KDE. If you use KDE, you should instead install the … … 175 170 176 171 <sect3 id="wicd-init"> 177 <title> Configuration Information</title>178 179 <para> To automatically start Wicd at boot time, you need to first install180 the Wicd bootscript,181 <filename>/etc/rc.d/init.d/wicd</filename>,182 included in the <xref linkend="bootscripts"/> package183 (as user <systemitem class="username">root</systemitem>):</para>172 <title>Systemd Units</title> 173 174 <para> 175 To start the <command>wicd</command> daemon at boot, enable 176 the previously installed systemd unit by running the following command 177 as the <systemitem class="username">root</systemitem> user: 178 </para> 184 179 185 180 <indexterm zone="wicd wicd-init"> 186 <primary sortas="f-wicd">wicd (bootscript)</primary>181 <primary sortas="f-wicd">wicd</primary> 187 182 </indexterm> 188 183 189 <screen role='root'><userinput>make install-wicd</userinput></screen> 190 191 <para>Since Wicd will now handle all configuration of network devices, 192 the network bootscript installed by LFS should be disabled. This can be 193 achieved by either removing any <filename>S*network</filename> and 194 <filename>K*network</filename> symlinks in the <filename>/etc/rc*.d</filename> 195 directories or by setting <literal>ONBOOT=no</literal> in any 196 <filename>/etc/sysconfig/ifconfig.*</filename> files.</para> 184 <screen role="root"><userinput>systemctl enable wicd</userinput></screen> 197 185 198 186 <para>No manual configuration of Wicd is needed if you use the graphical -
postlfs/security/openssh-systemd.xml
r932240d r0da88ea3 319 319 <note> 320 320 <para> 321 Note that this package comes with two types of units: A service file and a socket file.321 This package comes with two types of units: A service file and a socket file. 322 322 The service file will start sshd daemon once at boot and it will keep running until the 323 system shuts down. The socket file will make systemd listen tosshd port (Default 22, needs323 system shuts down. The socket file will make systemd listen on sshd port (Default 22, needs 324 324 to be edited for anything else) and will start sshd daemon when something tries to connect 325 325 to that port and stop the daemon when the connection is terminated. This is
Note:
See TracChangeset
for help on using the changeset viewer.