Changeset 7319b78 for server/other
- Timestamp:
- 02/01/2003 04:51:51 PM (21 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, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 123c844
- Parents:
- 9a88a3b9
- Location:
- server/other
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
server/other/bind/bind-config-exp.xml
r9a88a3b9 r7319b78 1 1 <sect2> 2 2 <title>Configuration command explanations</title> 3 <para><screen><userinput> 4 groupadd -g 200 named 3 <para><screen><userinput>groupadd -g 200 named 5 4 useradd -m -g named -u 200 -s /bin/false named 6 5 cd /home/named -
server/other/bind/bind-inst.xml
r9a88a3b9 r7319b78 4 4 <para>Install BIND by running the following commands:</para> 5 5 6 <para><screen><userinput> 7 ./configure --prefix=/usr && 6 <para><screen><userinput>./configure --prefix=/usr && 8 7 make && 9 make install 10 </userinput></screen></para> 8 make install</userinput></screen></para> 11 9 </sect2> 12 10 -
server/other/cvsserver/cvsserver-inst.xml
r9a88a3b9 r7319b78 15 15 <para>Create a new CVS repository with the following commands, 16 16 logged in as root:</para> 17 <para><screen><userinput> 18 mkdir /cvsroot && 17 <para><screen><userinput>mkdir /cvsroot && 19 18 chmod 1777 /cvsroot && 20 19 export CVSROOT=/cvsroot … … 26 25 repository:</para> 27 26 28 <para><screen><userinput> 29 export CVSROOT=/cvsroot && 27 <para><screen><userinput>export CVSROOT=/cvsroot && 30 28 cd sourcedir && 31 cvs import -m "repository test" cvstest vendortag releasetag 32 </userinput></screen></para></sect3> 29 cvs import -m "repository test" cvstest vendortag releasetag</userinput></screen></para></sect3> 33 30 34 31 <sect3><title>3. Verify local repository access.</title> … … 36 33 with the following command:</para> 37 34 38 <para><screen><userinput> 39 cvs co cvstest 40 </userinput></screen></para></sect3> 35 <para><screen><userinput>cvs co cvstest</userinput></screen></para></sect3> 41 36 42 37 <sect3><title>4. Verify remote repository access.</title> … … 50 45 51 46 52 <para><screen><userinput> 53 export CVS_RSH=/usr/bin/ssh && 54 cvs -d:ext:servername:/cvsroot co cvstest 55 </userinput></screen></para></sect3> 47 <para><screen><userinput>export CVS_RSH=/usr/bin/ssh && 48 cvs -d:ext:servername:/cvsroot co cvstest</userinput></screen></para></sect3> 56 49 </sect2> 57 50 <sect2> … … 62 55 commands:</para> 63 56 64 <para><screen><userinput> 65 (grep anonymous /etc/passwd || useradd anonymous -s /bin/false) && 57 <para><screen><userinput>(grep anonymous /etc/passwd || useradd anonymous -s /bin/false) && 66 58 echo anonymous: > /cvsroot/CVSROOT/passwd && 67 echo anonymous > /cvsroot/CVSROOT/readers 68 </userinput></screen></para> 59 echo anonymous > /cvsroot/CVSROOT/readers</userinput></screen></para> 69 60 70 61 <para>If you use inetd, the following command will add the pserver 71 62 entry to /etc/inetd.conf:</para> 72 63 73 <para><screen><userinput> 74 echo "2401 stream tcp nowait root /usr/bin/cvs cvs -f \ 75 --allow-root=/cvsroot pserver" >> /etc/inetd.conf 76 </userinput></screen></para> 64 <para><screen><userinput>echo "2401 stream tcp nowait root /usr/bin/cvs cvs -f \ 65 --allow-root=/cvsroot pserver" >> /etc/inetd.conf</userinput></screen></para> 77 66 78 67 <para>Issue a killall -HUP inetd to reread the changed inetd.conf … … 82 71 entry to /etc/xinetd.conf:</para> 83 72 84 <para><screen><userinput> 85 cat >> /etc/xinetd.conf << "EOF" 73 <para><screen><userinput>cat >> /etc/xinetd.conf << "EOF" 86 74 service cvspserver 87 75 { … … 95 83 server_args = -f --allow-root=/cvsroot pserver 96 84 } 97 EOF 98 </userinput></screen></para> 85 EOF</userinput></screen></para> 99 86 <para>Issue a killall -HUP xinetd to reread the changed xinetd.conf 100 87 file.</para> … … 106 93 and execute the following command:</para> 107 94 108 <para><screen><userinput> 109 cvs -d:pserver:anonymous@servername:/cvsroot co cvstest 110 </userinput></screen><note><para>Replace "servername" with the IP 95 <para><screen><userinput>cvs -d:pserver:anonymous@servername:/cvsroot co cvstest</userinput></screen><note><para>Replace "servername" with the IP 111 96 address or hostname of the CVS server</para></note></para> 112 97 -
server/other/leafnode/leafnode-config.xml
r9a88a3b9 r7319b78 12 12 <para>Add a leafnode entry to the <filename>/etc/inetd.conf</filename> 13 13 file with the following command: 14 <screen><userinput> 15 echo "nntp stream tcp nowait news /usr/sbin/tcpd /usr/sbin/leafnode" \ 16 >> /etc/inetd.conf 17 </userinput></screen></para> 14 <screen><userinput>echo "nntp stream tcp nowait news /usr/sbin/tcpd /usr/sbin/leafnode" \ 15 >> /etc/inetd.conf</userinput></screen></para> 18 16 19 17 <para>xinetd configuration</para> 20 18 <para>Add a leafnode entry to the <filename>/etc/xinetd.conf</filename> 21 19 file with the following command: 22 <screen><userinput> 23 cat >> /etc/xinetd.conf << "EOF" 20 <screen><userinput>cat >> /etc/xinetd.conf << "EOF" 24 21 service nntp 25 22 { … … 34 31 per_source = 3 35 32 } 36 EOF 37 38 </userinput></screen></para> 33 EOF</userinput></screen></para> 39 34 40 35 <para>The <filename>/etc/news/config</filename> file must be … … 43 38 and save the original for reference : </para> 44 39 45 <para><screen><userinput> 46 cp /etc/news/config.example /etc/news/config 47 </userinput></screen></para> 40 <para><screen><userinput>cp /etc/news/config.example /etc/news/config</userinput></screen></para> 48 41 <para>Change the</para> 49 42 <para><screen><userinput>server = </userinput></screen></para> … … 54 47 following to <filename>/etc/profile</filename> or 55 48 <filename>$HOME/.bash_profile</filename> :</para> 56 <para><screen><userinput> 57 export NNTPSERVER=127.0.0.1 58 </userinput></screen></para> 49 <para><screen><userinput>export NNTPSERVER=127.0.0.1</userinput></screen></para> 59 50 60 51 </sect3> -
server/other/leafnode/leafnode-inst.xml
r9a88a3b9 r7319b78 3 3 4 4 <para>Install leafnode by running the following commands:</para> 5 <para><screen><userinput> 6 groupadd news 5 <para><screen><userinput>groupadd news 7 6 useradd -g news news 8 7 ./configure --localstatedir=/var --prefix=/usr \ … … 11 10 make install && 12 11 ldconfig && 13 make update 14 </userinput></screen></para> 12 make update</userinput></screen></para> 15 13 </sect2> 16 14 -
server/other/samba/samba-config.xml
r9a88a3b9 r7319b78 62 62 63 63 <para>Now add the machine trust account for WIN2KBOX:</para> 64 <para><screen><userinput> 65 /usr/sbin/useradd -g 100 -d /dev/null -c \ 64 <para><screen><userinput>/usr/sbin/useradd -g 100 -d /dev/null -c \ 66 65 "machine nickname" -s /bin/false win2kbox$ && 67 66 passwd -l win2kbox$ && 68 smbpasswd -a -m win2kbox 69 </userinput></screen></para> 67 smbpasswd -a -m win2kbox</userinput></screen></para> 70 68 71 69 <para>Create the Samba boot script:</para> … … 111 109 esac 112 110 # End $rc_base/init.d/samba 113 EOF 114 115 </userinput></screen></para> 111 EOF</userinput></screen></para> 116 112 <para>Add the run level symlinks:</para> 117 <para><screen><userinput> 118 chmod 754 /etc/rc.d/init.d/samba && 113 <para><screen><userinput>chmod 754 /etc/rc.d/init.d/samba && 119 114 ln -s /etc/rc.d/init.d/samba /etc/rc.d/rc0.d/K48samba && 120 115 ln -s /etc/rc.d/init.d/samba /etc/rc.d/rc1.d/K48samba && … … 123 118 ln -s /etc/rc.d/init.d/samba /etc/rc.d/rc4.d/S24samba && 124 119 ln -s /etc/rc.d/init.d/samba /etc/rc.d/rc5.d/S24samba && 125 ln -s /etc/rc.d/init.d/samba /etc/rc.d/rc6.d/K48samba 126 </userinput></screen></para> 120 ln -s /etc/rc.d/init.d/samba /etc/rc.d/rc6.d/K48samba</userinput></screen></para> 127 121 128 122 <para>Now, we'll use our new boot script to start Samba: </para> 129 <para><screen><userinput> 130 /etc/rc.d/init.d/samba start 131 </userinput></screen></para> 123 <para><screen><userinput>/etc/rc.d/init.d/samba start</userinput></screen></para> 132 124 <para>We have to add the SAMBABOX root account to the Samba user list 133 125 first in order to join WIN2KBOX to the DOMAIN01 domain: </para> -
server/other/samba/samba-inst.xml
r9a88a3b9 r7319b78 7 7 </para></note> 8 8 9 <para><screen><userinput> 10 mkdir -p /etc/samba/private && 9 <para><screen><userinput>mkdir -p /etc/samba/private && 11 10 mkdir -p /var/cache/samba && 12 11 ./configure \ … … 23 22 echo "swat 901/tcp" >> /etc/services && 24 23 echo "swat stream tcp nowait.400 root /usr/sbin/swat swat" >> \ 25 /etc/inetd.conf 26 </userinput></screen></para> 24 /etc/inetd.conf</userinput></screen></para> 27 25 </sect2> 28 26 -
server/other/xinetd/xinetd-config.xml
r9a88a3b9 r7319b78 3 3 <para>Create the xinetd.conf file with the following commands: </para> 4 4 5 <para><screen><userinput> 6 cp /etc/xinetd.conf /etc/xinetd.conf.bak 7 sed -e 's/etc/sbin/g' xinetd/sample.conf > /etc/xinetd.conf 8 </userinput></screen></para> 5 <para><screen><userinput>cp /etc/xinetd.conf /etc/xinetd.conf.bak 6 sed -e 's/etc/sbin/g' xinetd/sample.conf > /etc/xinetd.conf</userinput></screen></para> 9 7 10 8 <sect3><title>Config files</title> … … 12 10 13 11 <para>Create the xinetd boot script:</para> 14 <para><screen><userinput> 15 cat > /etc/rc.d/init.d/xinetd << "EOF" 12 <para><screen><userinput>cat > /etc/rc.d/init.d/xinetd << "EOF" 16 13 #!/bin/bash 17 14 # Begin $rc_base/init.d/xinetd … … 47 44 esac 48 45 # End $rc_base/init.d/xinetd 49 EOF 46 EOF</userinput></screen></para> 50 47 51 </userinput></screen></para>52 48 <para>Add the run level symlinks:</para> 53 <para><screen><userinput> 54 chmod 754 /etc/rc.d/init.d/xinetd &&49 50 <para><screen><userinput>chmod 754 /etc/rc.d/init.d/xinetd && 55 51 ln -s /etc/rc.d/init.d/xinetd /etc/rc.d/rc0.d/K49xinetd && 56 52 ln -s /etc/rc.d/init.d/xinetd /etc/rc.d/rc1.d/K49xinetd && … … 63 59 64 60 <para>Now, we'll use our new boot script to start xinetd: </para> 65 <para><screen><userinput> 66 /etc/rc.d/init.d/xinetd start 67 </userinput></screen></para> 61 <para><screen><userinput>/etc/rc.d/init.d/xinetd start</userinput></screen></para> 68 62 69 63 <para>Checking the <filename>/var/log/daemon.log</filename> file … … 71 65 similar to the following: </para> 72 66 73 <para><screen><userinput> 74 Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not 67 <para><screen><userinput>Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rlogind is not 75 68 executable [line=29] 76 69 Aug 22 21:40:21 dps10 xinetd[2696]: Error parsing attribute server - 77 70 DISABLING SERVICE [line=29] 78 71 Aug 22 21:40:21 dps10 xinetd[2696]: Server /usr/sbin/in.rshd is not 79 executable [line=42] 80 </userinput></screen></para> 72 executable [line=42]</userinput></screen></para> 81 73 82 74 <para>These errors are due to the fact that we don't have most of the -
server/other/xinetd/xinetd-inst.xml
r9a88a3b9 r7319b78 3 3 4 4 <para>Install xinetd by running the following commands:</para> 5 <para><screen><userinput> 6 ./configure --prefix=/usr && 5 <para><screen><userinput>./configure --prefix=/usr && 7 6 make && 8 make install 9 </userinput></screen></para> 7 make install</userinput></screen></para> 10 8 </sect2> 11 9
Note:
See TracChangeset
for help on using the changeset viewer.