- Timestamp:
- 06/05/2005 09:06:40 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- fc290c7
- Parents:
- 0efab06
- Location:
- server
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
server/databases/mysql.xml
r0efab06 rb785ab29 10 10 <!ENTITY mysql-size "22 MB"> 11 11 <!ENTITY mysql-buildsize "207 MB"> 12 <!ENTITY mysql-time "3.8 3SBU">12 <!ENTITY mysql-time "3.8 SBU"> 13 13 ]> 14 14 … … 76 76 and group is strongly encouraged:</para> 77 77 78 <screen role="root"><userinput>groupadd mysql && 79 useradd -c "MySQL Server" -d /dev/null -g mysql -s /bin/false mysql</userinput></screen> 78 <screen role="root"><userinput>groupadd -g 40 mysql && 79 useradd -c "MySQL Server" -d /dev/null -g mysql -s /bin/false \ 80 -u 40 mysql</userinput></screen> 80 81 81 82 <para>Build and install <application>MySQL</application> by -
server/databases/postgresql.xml
r0efab06 rb785ab29 130 130 131 131 <screen role="root"><userinput>install -v -m755 -d /srv/pgsql/data && 132 useradd -c "PostgreSQL Server" -g users -d /srv/pgsql/data postgres && 132 useradd -c "PostgreSQL Server" -g users -d /srv/pgsql/data \ 133 -u 41 postgres && 133 134 chown -v postgres /srv/pgsql/data && 134 135 su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data'</userinput></screen> -
server/mail/courier.xml
r0efab06 rb785ab29 95 95 group with the following commands:</para> 96 96 97 <screen role="root"><userinput>groupadd courier &&97 <screen role="root"><userinput>groupadd -g 30 courier && 98 98 useradd -c 'Courier Mail Server' -d /dev/null \ 99 -g courier -s /bin/false courier</userinput></screen>99 -g courier -s /bin/false -u 30 courier</userinput></screen> 100 100 101 101 <para>The install script also expects a <systemitem … … 459 459 <para>Create a virtual mailman user and group:</para> 460 460 461 <screen role="root"><userinput>groupadd -g 9000vmailman &&462 useradd -c 'Virtual Mailman' -g vmailman -m -k /dev/null -u 9000vmailman</userinput></screen>461 <screen role="root"><userinput>groupadd -g 35 vmailman && 462 useradd -c 'Virtual Mailman' -g vmailman -m -k /dev/null -u 35 vmailman</userinput></screen> 463 463 464 464 <para>Create a mail directory for a new virtual user:</para> -
server/mail/exim.xml
r0efab06 rb785ab29 92 92 will run the <command>exim</command> daemon:</para> 93 93 94 <screen role="root"><userinput>groupadd exim &&95 useradd -d /dev/null -c "Exim Daemon" -g exim -s /bin/false exim</userinput></screen>94 <screen role="root"><userinput>groupadd -g 31 exim && 95 useradd -d /dev/null -c "Exim Daemon" -g exim -s /bin/false -u 31 exim</userinput></screen> 96 96 97 97 <para>If you have <application>Berkeley DB</application> -
server/mail/sendmail.xml
r0efab06 rb785ab29 79 79 <systemitem class="username">root</systemitem> user:</para> 80 80 81 <screen role="root"><userinput>groupadd smmsp &&82 groupadd mail &&81 <screen role="root"><userinput>groupadd -g 26 smmsp && 82 groupadd -g 34 mail && 83 83 useradd -c "Sendmail Daemon" -g smmsp -G mail \ 84 -d /dev/null -s /bin/false smmsp &&84 -d /dev/null -s /bin/false -u 26 smmsp && 85 85 chmod -v 1777 /var/mail && 86 86 install -v -m700 -d /var/spool/mqueue</userinput></screen> -
server/major/apache.xml
r0efab06 rb785ab29 82 82 following commands (as <systemitem class="username">root</systemitem>):</para> 83 83 84 <screen role="root"><userinput>groupadd apache && 85 useradd -c "Apache Server" -d /dev/null -g apache -s /bin/false apache</userinput></screen> 84 <screen role="root"><userinput>groupadd -g 25 apache && 85 useradd -c "Apache Server" -d /dev/null -g apache \ 86 -s /bin/false -u 25 apache</userinput></screen> 86 87 87 88 <para>The following patch will define the layout of destination -
server/major/bind.xml
r0efab06 rb785ab29 207 207 class="username">named</systemitem>:</para> 208 208 209 <screen role="root"><userinput>groupadd named &&210 useradd -m -c "BIND Owner" -g named -s /bin/false named</userinput></screen>209 <screen role="root"><userinput>groupadd -g 20 named && 210 useradd -m -c "BIND Owner" -g named -s /bin/false -u 20 named</userinput></screen> 211 211 212 212 <para>Set up some files, directories and devices needed by -
server/major/proftpd.xml
r0efab06 rb785ab29 70 70 As the <systemitem class="username">root</systemitem> user:</para> 71 71 72 <screen role="root"><userinput>groupadd proftpd &&72 <screen role="root"><userinput>groupadd -g 46 proftpd && 73 73 useradd -c proftpd -d /home/ftp -g proftpd \ 74 -s /usr/lib/proftpd/proftpdshell proftpd &&74 -s /usr/lib/proftpd/proftpdshell -u 46 proftpd && 75 75 install -v -d -m775 -o proftpd -g proftpd /usr/lib/proftpd && 76 76 ln -v -s /bin/false /usr/lib/proftpd/proftpdshell && -
server/major/vsftpd.xml
r0efab06 rb785ab29 74 74 <screen role="root"><userinput>install -v -d -m 0755 /var/ftp/empty && 75 75 install -v -d -m 0755 /home/ftp && 76 groupadd vsftpd && 77 useradd -d /dev/null -c "vsFTPD User" -g vsftpd -s /bin/false vsftpd && 78 groupadd ftp && 79 useradd -c anonymous_user -d /home/ftp -g ftp -s /bin/false ftp</userinput></screen> 76 groupadd -g 47 vsftpd && 77 useradd -d /dev/null -c "vsFTPD User" -g vsftpd -s /bin/false \ 78 -u 47 vsftpd && 79 groupadd -g 45 ftp && 80 useradd -c anonymous_user -d /home/ftp -g ftp -s /bin/false -u 45 ftp</userinput></screen> 80 81 81 82 <para>Install <application>vsFTPD</application> by running -
server/other/cvsserver.xml
r0efab06 rb785ab29 108 108 and executing the following commands:</para> 109 109 110 <screen role="root"><userinput>(grep anonymous /etc/passwd || useradd anonymous -s /bin/false ) &&110 <screen role="root"><userinput>(grep anonymous /etc/passwd || useradd anonymous -s /bin/false -u 98) && 111 111 echo anonymous: > /srv/cvsroot/CVSROOT/passwd && 112 112 echo anonymous > /srv/cvsroot/CVSROOT/readers</userinput></screen> … … 195 195 196 196 <para><command>(grep anonymous /etc/passwd || useradd anonymous -s 197 /bin/false )</command>: Check for an existing <systemitem197 /bin/false -u 98)</command>: Check for an existing <systemitem 198 198 class="username">anonymous</systemitem> user and create one if not 199 199 found.</para> -
server/other/leafnode.xml
r0efab06 rb785ab29 71 71 if not present:</para> 72 72 73 <screen role="root"><userinput>groupadd news && 74 useradd -c "Leafnode News Server" -d /var/spool/news -g news news</userinput></screen> 73 <screen role="root"><userinput>groupadd -g 36 news && 74 useradd -c "Leafnode News Server" -d /var/spool/news -g news \ 75 -u 36 news</userinput></screen> 75 76 76 77 <para>Install <application>Leafnode</application> by running the following -
server/other/svnserver.xml
r0efab06 rb785ab29 49 49 user and group with the following commands:</para> 50 50 51 <screen role="root"><userinput>groupadd svn &&52 useradd -c "SVN Owner" -d /home/svn -m -g svn -s /bin/false svn</userinput></screen>51 <screen role="root"><userinput>groupadd -g 56 svn && 52 useradd -c "SVN Owner" -d /home/svn -m -g svn -s /bin/false -u 56 svn</userinput></screen> 53 53 54 54 <para>If you plan to have multiple repositories, you should have a … … 58 58 user to that group with the following commands:</para> 59 59 60 <screen role="root"><userinput>groupadd svntest &&60 <screen role="root"><userinput>groupadd -g 57 svntest && 61 61 usermod -G svntest svn</userinput></screen> 62 62
Note:
See TracChangeset
for help on using the changeset viewer.