Changeset 65df9fca for server/other
- Timestamp:
- 06/03/2004 02:41:04 AM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 2cbfd78a
- Parents:
- 23d784b
- Location:
- server/other
- Files:
-
- 1 deleted
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
server/other/bind/bind-config.xml
r23d784b r65df9fca 112 112 servers. This file must be updated periodically with the 113 113 <command>dig</command> utility. 114 Consult the < application><acronym>BIND</acronym></application> 9 Administrator Reference Manualfor114 Consult the <ulink url="http://www.bind9.net/Bv9ARM.html"><application><acronym>BIND</acronym></application> 9 Administrator Reference Manual</ulink> for 115 115 details.</para> 116 116 … … 141 141 <screen><userinput><command>cp /etc/resolv.conf /etc/resolv.conf.bak && 142 142 cat > /etc/resolv.conf << "EOF"</command> 143 search yourdomain.com143 search <replaceable>[yourdomain.com]</replaceable> 144 144 nameserver 127.0.0.1 145 145 <command>EOF</command></userinput></screen> … … 150 150 <screen><userinput><command>chown -R named.named /home/named</command></userinput></screen> 151 151 152 <para>To start the DNS server at boot, install <filename>/etc/rc.d/init.d/bind</filename>152 <para>To start the DNS server at boot, install the <filename>/etc/rc.d/init.d/bind</filename> 153 153 init script included in the <xref linkend="intro-important-bootscripts"/> package.</para> 154 154 -
server/other/cvsserver/cvsserver-exp.xml
r23d784b r65df9fca 2 2 <title>Command explanations</title> 3 3 4 <para><command>mkdir / cvsroot</command>: Create the <acronym>CVS</acronym>4 <para><command>mkdir /home/cvsroot</command>: Create the <acronym>CVS</acronym> 5 5 repository directory.</para> 6 6 7 <para><command>chmod 1777 / cvsroot</command>: Sticky bit permissions for7 <para><command>chmod 1777 /home/cvsroot</command>: Set sticky bit permissions for 8 8 <envar>CVSROOT</envar>.</para> 9 9 10 <para><command>export CVSROOT=/ cvsroot</command>: Specify new <envar>CVSROOT10 <para><command>export CVSROOT=/home/cvsroot</command>: Specify new <envar>CVSROOT 11 11 </envar> for all <command>cvs</command> commands.</para> 12 12 … … 17 17 releasetag</command>: All source code modules must be imported 18 18 into the <acronym>CVS</acronym> repository before use, with the 19 <command>cvs import</command> command. the <userinput>-m</userinput>19 <command>cvs import</command> command. The <userinput>-m</userinput> 20 20 flags specifies an initial descriptive entry for the new module. 21 the "cvstest" parameter is the name used for the module in all22 subsequent <command>cvs</command> commands. the "vendortag" and "releasetag"21 The "cvstest" parameter is the name used for the module in all 22 subsequent <command>cvs</command> commands. The "vendortag" and "releasetag" 23 23 parameters are used to further identify each <acronym>CVS</acronym> module and 24 24 are mandatory whether used or not.</para> … … 28 28 create one if not found.</para> 29 29 30 <para><command>echo anonymous: > / cvsroot/CVSROOT/passwd30 <para><command>echo anonymous: > /home/cvsroot/CVSROOT/passwd 31 31 </command>: Add the anonymous user to the <acronym>CVS</acronym> passwd file, 32 32 which is unused for anything else in this configuration.</para> 33 33 34 <para><command>echo anonymous > / cvsroot/CVSROOT/readers</command>: Add the34 <para><command>echo anonymous > /home/cvsroot/CVSROOT/readers</command>: Add the 35 35 anonymous user to the <acronym>CVS</acronym> readers file, a list of 36 36 users who have read only access to the repository.</para> -
server/other/cvsserver/cvsserver-inst.xml
r23d784b r65df9fca 2 2 <title>Setting up a <acronym>CVS</acronym> server.</title> 3 3 4 <para> We will discuss setting up a <acronym>CVS</acronym> serverusing OpenSSH4 <para>A <acronym>CVS</acronym> server will be set up using OpenSSH 5 5 as the remote access method. Other access methods, including :pserver: and 6 6 :server: will not be used for write access to the <acronym>CVS</acronym> … … 10 10 :pserver: can be found at the end of this section.</para> 11 11 12 <para>Configuration of our<acronym>CVS</acronym> server consists of four12 <para>Configuration of the <acronym>CVS</acronym> server consists of four 13 13 steps:</para> 14 14 15 15 <sect3><title>1. Create a repository.</title> 16 16 <para>Create a new <acronym>CVS</acronym> repository with the following 17 commands , logged in as root:</para>18 <screen><userinput><command>mkdir / cvsroot &&19 chmod 1777 / cvsroot &&20 export CVSROOT=/ cvsroot &&17 commands:</para> 18 <screen><userinput><command>mkdir /home/cvsroot && 19 chmod 1777 /home/cvsroot && 20 export CVSROOT=/home//cvsroot && 21 21 cvs init</command></userinput></screen></sect3> 22 22 … … 26 26 <acronym>CVS</acronym> repository:</para> 27 27 28 <screen><userinput><command>export CVSROOT=/ cvsroot &&29 cd sourcedir&&30 cvs import -m "repository test" cvstest vendortag releasetag</command></userinput></screen></sect3>28 <screen><userinput><command>export CVSROOT=/home/cvsroot && 29 cd <replaceable>[sourcedir]</replaceable> && 30 cvs import -m <replaceable>["repository test"] [cvstest] [vendortag] [releasetag]</replaceable></command></userinput></screen></sect3> 31 31 32 32 <sect3><title>3. Verify local repository access.</title> … … 57 57 58 58 <screen><userinput><command>(grep anonymous /etc/passwd || useradd anonymous -s /bin/false) && 59 echo anonymous: > / cvsroot/CVSROOT/passwd &&60 echo anonymous > / cvsroot/CVSROOT/readers</command></userinput></screen>59 echo anonymous: > /home/cvsroot/CVSROOT/passwd && 60 echo anonymous > /home/cvsroot/CVSROOT/readers</command></userinput></screen> 61 61 62 62 <para>If you use <command>inetd</command>, the following command will add the … … 64 64 65 65 <screen><userinput><command>echo "2401 stream tcp nowait root /usr/bin/cvs cvs -f \ 66 --allow-root=/ cvsroot pserver" >> /etc/inetd.conf</command></userinput></screen>66 --allow-root=/home/cvsroot pserver" >> /etc/inetd.conf</command></userinput></screen> 67 67 68 68 <para>Issue a <command>killall -HUP inetd</command> to reread the changed … … 82 82 passenv = PATH 83 83 server = /usr/bin/cvs 84 server_args = -f --allow-root=/ cvsroot pserver84 server_args = -f --allow-root=/home/cvsroot pserver 85 85 } 86 86 <command>EOF</command></userinput></screen> … … 91 91 on another machine that can reach the <acronym>CVS</acronym> server via 92 92 network. No account on the <acronym>CVS</acronym> repository is needed. To 93 test anonymous access to the <acronym>CVS</acronym> repository log in to93 test anonymous access to the <acronym>CVS</acronym> repository, log in to 94 94 another machine as an unprivileged user and execute the following command: 95 95 </para> 96 96 97 <screen><userinput><command>cvs -d:pserver:anonymous@<replaceable>[servername]</replaceable>:/ cvsroot co cvstest</command></userinput></screen>97 <screen><userinput><command>cvs -d:pserver:anonymous@<replaceable>[servername]</replaceable>:/home/cvsroot co cvstest</command></userinput></screen> 98 98 <note><para>Replace <replaceable>[servername]</replaceable> with the <acronym>IP</acronym> address or 99 99 hostname of the <acronym>CVS</acronym> server</para></note> -
server/other/dhcp/dhcp-config.xml
r23d784b r65df9fca 9 9 10 10 <para>Information on configuring the <acronym>DHCP</acronym> client can be 11 found in Chapter 14.</para>11 found in <xref linkend="connect-dhcp"/>.</para> 12 12 13 13 <para>Note that you only need the <acronym>DHCP</acronym> server if … … 17 17 interface, which may need to be modified for your hardware configuration.</para> 18 18 19 <para>Install <filename>/etc/rc.d/init.d/dhcp</filename>19 <para>Install the <filename>/etc/rc.d/init.d/dhcp</filename> 20 20 init script included in the <xref linkend="intro-important-bootscripts"/> package.</para> 21 21 … … 27 27 <screen><userinput><command>touch /var/state/dhcp/dhcpd.leases</command></userinput></screen> 28 28 29 <para>The follow commands will create a base configuration file for a29 <para>The following commands will create a base configuration file for a 30 30 <acronym>DHCP</acronym> server. There are several options that you may want to 31 31 add (information that is passed back to the <acronym>DHCP</acronym> client) and … … 37 37 ddns-update-style ad-hoc; 38 38 39 subnet 192.168.5.0 netmask 255.255.255.0{40 range 192.168.5.10 192.168.5.240;41 option broadcast-address 195.168.5.255;42 option routers 192.168.5.1;39 subnet <replaceable>[192.168.5.0]</replaceable> netmask <replaceable>[255.255.255.0]</replaceable> { 40 range <replaceable>[192.168.5.10] [192.168.5.240]</replaceable>; 41 option broadcast-address <replaceable>[195.168.5.255]</replaceable>; 42 option routers <replaceable>[192.168.5.1]</replaceable>; 43 43 } 44 44 <command>EOF</command></userinput></screen> -
server/other/dhcp/dhcp-desc.xml
r23d784b r65df9fca 3 3 4 4 <para>The <application><acronym>DHCP</acronym></application> package contains 5 <command>dhclient</command>, <command>dhcpd</command> and <command>dhcrelay 6 </command>.</para> 5 <command>dhclient</command>, <command>dhcpd</command> and <command>dhcrelay</command>.</para> 7 6 8 7 </sect2> -
server/other/leafnode/leafnode-config.xml
r23d784b r65df9fca 3 3 4 4 <sect3><title>Config files</title> 5 <para><filename>/etc/ leafnode/config</filename>,6 <filename>/etc/inetd.conf</filename> and5 <para><filename>/etc/news/config</filename>, 6 <filename>/etc/inetd.conf</filename> or 7 7 <filename>/etc/xinetd.conf</filename></para> 8 8 … … 14 14 <screen><userinput><command>echo "nntp stream tcp nowait news /usr/sbin/tcpd /usr/sbin/leafnode" \ 15 15 >> /etc/inetd.conf</command></userinput></screen> 16 17 <para>Issue a <command>killall -HUP inetd</command> to reread the 18 changed <filename>inetd.conf</filename> file.</para> 16 19 17 20 <para>Alternatively, <application>Leafnode</application> may be configured to … … 34 37 <command>EOF</command></userinput></screen> 35 38 39 <para>Issue a <command>killall -HUP xinetd</command> to reread the 40 changed <filename>xinetd.conf</filename> file.</para> 41 36 42 <para>The <filename>/etc/news/config</filename> file must be 37 43 edited to reflect the name of the upstream <acronym>NNTP</acronym> … … 49 55 <para>The <envar>NNTPSERVER</envar> environment variable must be set to 50 56 127.0.0.1 to prevent news clients from reading news from the upstream feed, 51 add the following to <filename>/etc/profile</filename> or57 so add the following to <filename>/etc/profile</filename> or 52 58 <filename>$HOME/.bash_profile</filename>:</para> 53 59 -
server/other/leafnode/leafnode-intro.xml
r23d784b r65df9fca 16 16 <sect3><title><application>Leafnode</application> dependencies</title> 17 17 <sect4><title>Required</title> 18 <para><xref linkend="pcre"/> 18 <para><xref linkend="pcre"/> and <xref linkend="tcpwrappers"/> 19 19 </para></sect4> 20 20 </sect3> -
server/other/openssh/openssh-config.xml
r23d784b r65df9fca 15 15 <sect3><title>sshd init.d script</title> 16 16 17 <para>To start the SSH Server at boot, install <filename>/etc/rc.d/init.d/sshd</filename>17 <para>To start the SSH Server at boot, install the <filename>/etc/rc.d/init.d/sshd</filename> 18 18 init script included in the <xref linkend="intro-important-bootscripts"/> package.</para> 19 19 -
server/other/openssh/openssh-desc.xml
r23d784b r65df9fca 17 17 18 18 <sect3><title>sshd</title> 19 <para>The daemon that permits you to login.</para></sect3>19 <para>The daemon that listens for ssh login requests.</para></sect3> 20 20 21 21 <sect3><title>ssh-agent</title> … … 27 27 <sect3><title>sftp</title> 28 28 <para><acronym>FTP</acronym>-like program that works over 29 <acronym>SSH</acronym>1 and <acronym>SSH</acronym>2 protocol .</para></sect3>29 <acronym>SSH</acronym>1 and <acronym>SSH</acronym>2 protocols.</para></sect3> 30 30 31 31 <sect3><title>scp</title> -
server/other/openssh/openssh-exp.xml
r23d784b r65df9fca 13 13 14 14 <para><parameter>--libexecdir=/usr/sbin</parameter>: 15 <application>Open<acronym>SSH</acronym></application> puts15 <application>Open<acronym>SSH</acronym></application> installs 16 16 programs called by programs in <filename class="directory">/usr/libexec</filename>. 17 17 <command>sftp-server</command> is a <command>sshd</command> -
server/other/openssh/openssh-inst.xml
r23d784b r65df9fca 18 18 linked <application>OpenSSL</application> libraries. If you recompile 19 19 <application>OpenSSL</application>, <application>OpenSSH</application> may 20 fail to startup. An alternative is to link against static <application>OpenSSL</application>20 fail to startup. An alternative is to link against the static <application>OpenSSL</application> 21 21 library. To link against the static library, execute the following command:</para> 22 22 -
server/other/openssh/openssh-intro.xml
r23d784b r65df9fca 4 4 <para>The <application>Open<acronym>SSH</acronym></application> package 5 5 contains <command>ssh</command> clients and the <command>sshd</command> daemon. 6 This is useful for encrypting a lltraffic over a network.</para>6 This is useful for encrypting authentication and subsequent traffic over a network.</para> 7 7 8 8 <sect3><title>Package information</title> … … 23 23 <xref linkend="tcpwrappers"/>, 24 24 X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>), 25 < ulink url="http://web.mit.edu/kerberos/www/">MIT Kerberos</ulink> and25 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/> and 26 26 <ulink url="http://www.opensc.org/">OpenSC</ulink> 27 27 </para></sect4> -
server/other/rsync.xml
r23d784b r65df9fca 5 5 &rsync-intro; 6 6 &rsync-inst; 7 &rsync-exp;8 7 &rsync-config; 9 8 &rsync-desc; -
server/other/rsync/rsync-config.xml
r23d784b r65df9fca 36 36 script to be used.</para> 37 37 38 <para>Install <filename>/etc/rc.d/init.d/rsyncd</filename>38 <para>Install the <filename>/etc/rc.d/init.d/rsyncd</filename> 39 39 init script included in the <xref linkend="intro-important-bootscripts"/> package.</para> 40 40 -
server/other/rsync/rsync-desc.xml
r23d784b r65df9fca 13 13 uses the "rsync algorithm" which provides a very fast method of syncing remote 14 14 files. It does this by sending just the differences in the files across the 15 link, without requiring that both sets of files are present at one of the ends15 link, without requiring that both sets of files are present at one end 16 16 of the link beforehand.</para></sect3> 17 17 -
server/other/rsync/rsync-inst.xml
r23d784b r65df9fca 2 2 <title>Installation of <application>rsync</application></title> 3 3 4 <para>For security reasons, running <application>rsync</application> server as 5 an unprivileged user and group is encouraged.</para> 4 <para>For security reasons, running the <application>rsync</application> server as 5 an unprivileged user and group is encouraged. Create the rsyncd user 6 and group with the following commands:</para> 6 7 7 8 <screen><userinput><command>groupadd rsyncd && -
server/other/samba3/samba3-config.xml
r23d784b r65df9fca 27 27 <screen><userinput><command>echo "swat stream tcp nowait.400 root /usr/sbin/swat swat" \ 28 28 >> /etc/inetd.conf</command></userinput></screen> 29 <para>Issue a <command>killall -HUP inetd</command> to reread the 30 changed <filename>inetd.conf</filename> file.</para> 29 31 30 32 <para>If <command>xinetd</command> is used, the following command will … … 43 45 } 44 46 <command>EOF</command></userinput></screen> 47 48 <para>Issue a <command>killall -HUP xinetd</command> to reread the 49 changed <filename>xinetd.conf</filename> file.</para> 45 50 46 51 <para><acronym>SWAT</acronym> can be launched by pointing your web -
server/other/samba3/samba3-exp.xml
r23d784b r65df9fca 5 5 needed for proper operation of the <command>smbd</command> and 6 6 <command>nmbd</command> daemons.</para> 7 8 <para><parameter>--prefix=/usr</parameter>: Sets the prefix for almost9 all the file paths to <filename class="directory">/usr</filename>.</para>10 7 11 8 <para><parameter>--sysconfdir=/etc</parameter>: Sets the configuration … … 25 22 26 23 <para><command>install -m755 nsswitch/libnss_win{s,bind}.so /lib</command>: 27 The nss lib s are not installed by default. If you intend to use24 The nss libraries are not installed by default. If you intend to use 28 25 winbindd for domain auth, and/or <acronym>WINS</acronym> name resolution, 29 26 you need these libraries.</para> … … 31 28 <para><command>ln -sf libnss_winbind.so /lib/libnss_winbind.so.2</command> 32 29 and <command>ln -sf libnss_wins.so /lib/libnss_wins.so.2</command>: 33 These symlinks are required by glibc to use the nss lib s.</para>30 These symlinks are required by glibc to use the nss libraries.</para> 34 31 35 32 <para><command>cp ../examples/smb.conf.default /etc/samba</command>: -
server/other/xinetd/xinetd-config.xml
r23d784b r65df9fca 10 10 <sect3><title>Configuration Information</title> 11 11 12 <para>Ensure the path to all daemons are in<filename12 <para>Ensure the path to all daemons is <filename 13 13 class="directory">/usr/sbin</filename>, rather than the default path of 14 <filename class="directory">/usr/etc</filename>:</para> 14 <filename class="directory">/usr/etc</filename> by running the following 15 command:</para> 15 16 16 17 <screen><userinput><command>sed -e 's/etc/sbin/g' xinetd/sample.conf > /etc/xinetd.conf</command> … … 21 22 found at <ulink url="http://www.xinetd.org"/>.</para> 22 23 23 <para>Install <filename>/etc/rc.d/init.d/xinetd</filename>24 <para>Install the <filename>/etc/rc.d/init.d/xinetd</filename> 24 25 init script included in the <xref linkend="intro-important-bootscripts"/> package.</para> 25 26 … … 41 42 executable [line=42]</userinput></screen> 42 43 43 <para>These errors are due to the fact that we don't have most of the44 servers that <command>xinetd</command> is trying to controlinstalled yet.</para>44 <para>These errors are because most of the 45 servers <command>xinetd</command> is trying to control are not installed yet.</para> 45 46 46 47 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.