Changeset 4472e923
- Timestamp:
- 03/07/2020 09:40:50 AM (4 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 99c61a4
- Parents:
- 21a08bf
- Location:
- server
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
server/databases/lmdb.xml
r21a08bf r4472e923 82 82 <title>Installation of lmdb</title> 83 83 84 <note><para>This package extracts to lmdb-LMDB_&lmdb-version;.</para></note> 84 <note> 85 <para> 86 This package extracts to lmdb-LMDB_&lmdb-version;. 87 </para> 88 </note> 85 89 86 90 <para> -
server/databases/mariadb.xml
r21a08bf r4472e923 73 73 </itemizedlist> 74 74 75 <note><para>The installed size of MariaDB is 473 MB, but this can be 76 reduced by about 200 MB, if desired, by removing the /usr/share/mysql/test 77 directory after installation.</para></note> 75 <note> 76 <para> 77 The installed size of MariaDB is 473 MB, but this can be 78 reduced by about 200 MB, if desired, by removing the <filename 79 class="directory">/usr/share/mysql/test</filename> 80 directory after installation. 81 </para> 82 </note> 78 83 79 84 <bridgehead renderas="sect3">MariaDB Dependencies</bridgehead> -
server/databases/postgresql.xml
r21a08bf r4472e923 31 31 <title>Introduction to PostgreSQL</title> 32 32 33 <para><application>PostgreSQL</application> is an advanced 34 object-relational database management system (ORDBMS), derived 35 from the Berkeley Postgres database management system.</para> 33 <para> 34 <application>PostgreSQL</application> is an advanced 35 object-relational database management system (ORDBMS), derived 36 from the Berkeley Postgres database management system. 37 </para> 36 38 37 39 &lfs91_checked; … … 40 42 <itemizedlist spacing="compact"> 41 43 <listitem> 42 <para>Download (HTTP): <ulink url="&postgresql-download-http;"/></para> 44 <para> 45 Download (HTTP): <ulink url="&postgresql-download-http;"/> 46 </para> 43 47 </listitem> 44 48 <listitem> 45 <para>Download (FTP): <ulink url="&postgresql-download-ftp;"/></para> 49 <para> 50 Download (FTP): <ulink url="&postgresql-download-ftp;"/> 51 </para> 46 52 </listitem> 47 53 <listitem> 48 <para>Download MD5 sum: &postgresql-md5sum;</para> 54 <para> 55 Download MD5 sum: &postgresql-md5sum; 56 </para> 49 57 </listitem> 50 58 <listitem> 51 <para>Download size: &postgresql-size;</para> 59 <para> 60 Download size: &postgresql-size; 61 </para> 52 62 </listitem> 53 63 <listitem> 54 <para>Estimated disk space required: &postgresql-buildsize;</para> 64 <para> 65 Estimated disk space required: &postgresql-buildsize; 66 </para> 55 67 </listitem> 56 68 <listitem> 57 <para>Estimated build time: &postgresql-time;</para> 69 <para> 70 Estimated build time: &postgresql-time; 71 </para> 58 72 </listitem> 59 73 </itemizedlist> … … 101 115 -u 41 postgres</userinput></screen> 102 116 103 <note><para>There are several configuration items that add additional 104 functionality with optional packages to 105 <application>PostgreSQL</application>. Use <userinput>./configure 106 --help</userinput> to see a list.</para></note> 107 108 <para>Install <application>PostgreSQL</application> with the 109 following commands: </para> 117 <note> 118 <para> 119 There are several configuration items that add additional 120 functionality with optional packages to 121 <application>PostgreSQL</application>. Use <command>./configure 122 --help</command> to see a list. 123 </para> 124 </note> 125 126 <para> 127 Install <application>PostgreSQL</application> with the 128 following commands: 129 </para> 110 130 111 131 <screen><userinput>sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' src/include/pg_config_manual.h && … … 116 136 make</userinput></screen> 117 137 118 <para>There are a number of programs in the 119 <filename class="directory">contrib/</filename> directory. If you are going 120 to run this installation as a server and wish to build some of them, enter 121 <command>make -C contrib</command> or 122 <command>make -C contrib/<replaceable><SUBDIR-NAME></replaceable></command> for each subdirectory. 123 </para> 124 125 <para>Tests must be run as an unprivileged user because they need to start a 126 temporary server and this is prevented as the root user. For the same reason, 127 you need to stop all PostgreSQL servers if any are running. If a previous 128 version of PostgreSQL is installed, it may be necessary to use 129 <command>--disable-rpath</command> with <command>configure</command> to 130 avoid failures, but <emphasis>installing the binaries created using this 131 switch is not recommended</emphasis>. To test the results, issue: 132 <command>make check</command>.</para> 133 134 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 138 <para> 139 There are a number of programs in the 140 <filename class="directory">contrib/</filename> directory. If you are 141 going to run this installation as a server and wish to build some of 142 them, enter <command>make -C contrib</command> or <command>make -C 143 contrib/<replaceable><SUBDIR-NAME></replaceable></command> for 144 each subdirectory. 145 </para> 146 147 <para> 148 Tests must be run as an unprivileged user because they need to start a 149 temporary server and this is prevented as the root user. For the same 150 reason, you need to stop all PostgreSQL servers if any are running. If a 151 previous version of PostgreSQL is installed, it may be necessary to use 152 <command>--disable-rpath</command> with <command>configure</command> to 153 avoid failures, but <emphasis>installing the binaries created using this 154 switch is not recommended</emphasis>. To test the results, issue: 155 <command>make check</command>. 156 </para> 157 158 <para> 159 Now, as the <systemitem class="username">root</systemitem> user: 160 </para> 135 161 136 162 <screen role="root"><userinput>make install && 137 163 make install-docs</userinput></screen> 138 164 139 <para>If you made any of the <filename class="directory">contrib/</filename> 140 programs, as the <systemitem class="username">root</systemitem> user:</para> 165 <para> 166 If you made any of the <filename class="directory">contrib/</filename> 167 programs, as the <systemitem class="username">root</systemitem> user: 168 </para> 141 169 142 170 <screen role="nodump"><userinput>make -C contrib/<replaceable><SUBDIR-NAME></replaceable> install</userinput></screen> 143 171 144 <para><emphasis>If you only intend to use 145 <application>PostgreSQL</application> as a client to connect to a server on 146 another machine, your installation is complete and you should not run the 147 remaining commands.</emphasis></para> 148 149 <!-- 'Upgrading' seems to only ever exist in the docs for *previous* version --> 150 <!-- Obsolete: only if upgrading for versions prior to 9 <note> 151 <para>If you are upgrading an existing system and are going to install 152 the new files over the old ones, then you should back up your data, shut 153 down the old server and follow the instructions in <ulink 154 url="http://www.postgresql.org/docs/9.0/static/install-upgrading.html">the 155 official <application>PostgreSQL</application> documentation</ulink>.</para> 156 </note>--> 157 158 <para>Initialize a database cluster with the following commands issued by the 159 <systemitem class="username">root</systemitem> user:</para> 172 <tip> 173 <para> 174 If you only intend to use <application>PostgreSQL</application> as a 175 client to connect to a server on another machine, your installation is 176 complete and you should not run the remaining commands. 177 </para> 178 </tip> 179 180 <para> 181 Initialize a database cluster with the following commands issued by the 182 <systemitem class="username">root</systemitem> user: 183 </para> 160 184 161 185 <screen role="root"><userinput>install -v -dm700 /srv/pgsql/data && … … 163 187 chown -Rv postgres:postgres /srv/pgsql /run/postgresql</userinput></screen> 164 188 165 <para>Now, initialize the database as the <systemitem 166 class="username">root</systemitem> user:</para> 189 <para> 190 Now, initialize the database as the <systemitem 191 class="username">root</systemitem> user: 192 </para> 167 193 168 194 <screen role="root"><userinput>su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data'</userinput></screen> … … 181 207 </para> 182 208 183 <para><parameter>--docdir=/usr/share/doc/postgresql-&postgresql-version;</parameter>: 184 This switch puts the documentation in a versioned directory.</para> 185 186 <para><parameter>--enable-thread-safety</parameter>: This switch makes the 187 client libraries thread-safe by allowing concurrent threads in 188 <filename class="libraryfile">libpq</filename> and ECPG programs to safely 189 control their private connection handles.</para> 190 191 <para><option>--with-openssl</option>: builds the package with support for 192 <application>OpenSSL</application> encrypted connections.</para> 193 194 <para><option>--with-perl</option>: builds the PL/Perl server-side language. 195 </para> 196 197 <para><option>--with-python</option>: builds the PL/Python server-side 198 language. Add PYTHON=/usr/bin/python2 for Python2 support, otherwise 199 Python3 is used by default.</para> 200 201 <para><option>--with-tcl</option>: builds the PL/Tcl server-side language.</para> 209 <para> 210 <parameter>--enable-thread-safety</parameter>: This switch makes the 211 client libraries thread-safe by allowing concurrent threads in 212 <filename class="libraryfile">libpq</filename> and ECPG programs to 213 safely control their private connection handles. 214 </para> 215 216 <para> 217 <option>--with-openssl</option>: builds the package with support for 218 <application>OpenSSL</application> encrypted connections. 219 </para> 220 221 <para> 222 <option>--with-perl</option>: builds the PL/Perl server-side language. 223 </para> 224 225 <para> 226 <option>--with-python</option>: builds the PL/Python server-side 227 language. Add PYTHON=/usr/bin/python2 for Python2 support, otherwise 228 Python3 is used by default. 229 </para> 230 231 <para> 232 <option>--with-tcl</option>: builds the PL/Tcl server-side language. 233 </para> 202 234 203 235 </sect2> … … 209 241 <title>Config Files</title> 210 242 211 <para><filename>$PGDATA/pg_ident.con</filename>, 212 <filename>$PGDATA/pg_hba.conf</filename> and 213 <filename>$PGDATA/postgresql.conf</filename></para> 243 <para> 244 <filename>$PGDATA/pg_ident.con</filename>, 245 <filename>$PGDATA/pg_hba.conf</filename>, and 246 <filename>$PGDATA/postgresql.conf</filename> 247 </para> 214 248 215 249 <indexterm zone="postgresql postgresql-config"> … … 225 259 </indexterm> 226 260 227 <para>The <envar>PGDATA</envar> environment variable is used to 228 distinguish database clusters from one another by setting it to 229 the value of the directory which contains the cluster desired. 230 The three configuration files exist in every <filename 231 class="directory">PGDATA/</filename> directory. Details on the 232 format of the files and the options that can be set in each can 233 be found in <ulink 234 url="file:///usr/share/doc/postgresql-&postgresql-version;/html/index.html"/>.</para> 261 <para> 262 The <envar>PGDATA</envar> environment variable is used to 263 distinguish database clusters from one another by setting it to 264 the value of the directory which contains the cluster desired. 265 The three configuration files exist in every <filename 266 class="directory">PGDATA/</filename> directory. Details on the 267 format of the files and the options that can be set in each can 268 be found in <filename> 269 /usr/share/doc/postgresql-&postgresql-version;/html/index.html</filename>. 270 </para> 235 271 236 272 </sect3> … … 240 276 <phrase revision="systemd">Systemd Unit</phrase></title> 241 277 242 <para>Install the 243 <phrase revision="sysv"><filename>/etc/rc.d/init.d/postgresql</filename> 244 init script</phrase> 245 <phrase revision="systemd"><filename>postgresql.service</filename> 246 unit</phrase> included in the 247 <xref linkend="bootscripts" revision="sysv"/> 248 <xref linkend="systemd-units" revision="systemd"/> package.</para> 278 <para> 279 Install the 280 <phrase revision="sysv"><filename>/etc/rc.d/init.d/postgresql</filename> 281 init script</phrase> 282 <phrase revision="systemd"><filename>postgresql.service</filename> 283 unit</phrase> included in the 284 <xref linkend="bootscripts" revision="sysv"/> 285 <xref linkend="systemd-units" revision="systemd"/> package: 286 </para> 249 287 250 288 <indexterm zone="postgresql postgresql-init"> … … 293 331 294 332 <para> 295 When you are done with testing, you can shut down the server, by issuing296 as <systemitem class="username">root</systemitem>:333 When you are done with testing, you can shut down the server, by 334 issuing as <systemitem class="username">root</systemitem>: 297 335 </para> 298 336 … … 346 384 <term><command>clusterdb</command></term> 347 385 <listitem> 348 <para>is a utility for reclustering tables in a 349 <application>PostgreSQL</application> database.</para> 386 <para> 387 is a utility for reclustering tables in a 388 <application>PostgreSQL</application> database. 389 </para> 350 390 <indexterm zone="postgresql clusterdb"> 351 391 <primary sortas="b-clusterdb">clusterdb</primary> … … 357 397 <term><command>createdb</command></term> 358 398 <listitem> 359 <para> creates a new <application>PostgreSQL</application> 360 database.</para> 399 <para> 400 creates a new <application>PostgreSQL</application> 401 database. 402 </para> 361 403 <indexterm zone="postgresql createdb"> 362 404 <primary sortas="b-createdb">createdb</primary> … … 365 407 </varlistentry> 366 408 367 <!-- <varlistentry id="createlang">368 <term><command>createlang</command></term>369 <listitem>370 <para>defines a new <application>PostgreSQL</application> procedural371 language.</para>372 <indexterm zone="postgresql createlang">373 <primary sortas="b-createlang">createlang</primary>374 </indexterm>375 </listitem>376 </varlistentry>-->377 378 409 <varlistentry id="createuser"> 379 410 <term><command>createuser</command></term> 380 411 <listitem> 381 <para>defines a new <application>PostgreSQL</application> 382 user account.</para> 412 <para> 413 defines a new <application>PostgreSQL</application> 414 user account. 415 </para> 383 416 <indexterm zone="postgresql createuser"> 384 417 <primary sortas="b-createuser">createuser</primary> … … 390 423 <term><command>dropdb</command></term> 391 424 <listitem> 392 <para>removes a <application>PostgreSQL</application> database.</para> 425 <para> 426 removes a <application>PostgreSQL</application> database. 427 </para> 393 428 <indexterm zone="postgresql dropdb"> 394 429 <primary sortas="b-dropdb">dropdb</primary> … … 397 432 </varlistentry> 398 433 399 <!-- <varlistentry id="droplang">400 <term><command>droplang</command></term>401 <listitem>402 <para>removes a <application>PostgreSQL</application> procedural403 language.</para>404 <indexterm zone="postgresql droplang">405 <primary sortas="b-droplang">droplang</primary>406 </indexterm>407 </listitem>408 </varlistentry> -->409 410 434 <varlistentry id="dropuser"> 411 435 <term><command>dropuser</command></term> 412 436 <listitem> 413 <para>removes a <application>PostgreSQL</application> 414 user account.</para> 437 <para> 438 removes a <application>PostgreSQL</application> user account. 439 </para> 415 440 <indexterm zone="postgresql dropuser"> 416 441 <primary sortas="b-dropuser">dropuser</primary> … … 422 447 <term><command>ecpg</command></term> 423 448 <listitem> 424 <para>is the embedded SQL preprocessor.</para> 449 <para> 450 is the embedded SQL preprocessor. 451 </para> 425 452 <indexterm zone="postgresql ecpg"> 426 453 <primary sortas="b-ecpg">ecpg</primary> … … 432 459 <term><command>initdb</command></term> 433 460 <listitem> 434 <para>creates a new database cluster.</para> 461 <para> 462 creates a new database cluster. 463 </para> 435 464 <indexterm zone="postgresql initdb"> 436 465 <primary sortas="b-initdb">initdb</primary> … … 442 471 <term><command>oid2name</command></term> 443 472 <listitem> 444 <para>resolves OIDs (Object IDs) and file nodes in a PostgreSQL data 445 directory.</para> 473 <para> 474 resolves OIDs (Object IDs) and file nodes in a PostgreSQL data 475 directory. 476 </para> 446 477 <indexterm zone="postgresql oid2name"> 447 478 <primary sortas="b-oid2name">oid2name</primary> … … 453 484 <term><command>pg_archivecleanup</command></term> 454 485 <listitem> 455 <para>cleans up PostgreSQL WAL (write-ahead log) archive files.</para> 486 <para> 487 cleans up PostgreSQL WAL (write-ahead log) archive files. 488 </para> 456 489 <indexterm zone="postgresql pg_archivecleanup"> 457 490 <primary sortas="b-pg_archivecleanup">pg_archivecleanup</primary> … … 463 496 <term><command>pg_basebackup</command></term> 464 497 <listitem> 465 <para>takes base backups of a running 466 <application>PostgreSQL</application> cluster.</para> 498 <para> 499 takes base backups of a running 500 <application>PostgreSQL</application> cluster. 501 </para> 467 502 <indexterm zone="postgresql pg_basebackup"> 468 503 <primary sortas="b-pg_basebackup">pg_basebackup</primary> … … 474 509 <term><command>pg_config</command></term> 475 510 <listitem> 476 <para>retrieves <application>PostgreSQL</application> version 477 information.</para> 511 <para> 512 retrieves <application>PostgreSQL</application> version 513 information. 514 </para> 478 515 <indexterm zone="postgresql pg_config"> 479 516 <primary sortas="b-pg_config">pg_config</primary> … … 485 522 <term><command>pg_controldata</command></term> 486 523 <listitem> 487 <para>returns information initialized during 488 <command>initdb</command>, such as the catalog version and server 489 locale.</para> 524 <para> 525 returns information initialized during <command>initdb</command>, 526 such as the catalog version and server locale. 527 </para> 490 528 <indexterm zone="postgresql pg_controldata"> 491 529 <primary sortas="b-pg_controldata">pg_controldata</primary> … … 497 535 <term><command>pg_ctl</command></term> 498 536 <listitem> 499 <para>controls stopping and starting the database server.</para> 537 <para> 538 controls stopping and starting the database server. 539 </para> 500 540 <indexterm zone="postgresql pg_ctl"> 501 541 <primary sortas="b-pg_ctl">pg_ctl</primary> … … 507 547 <term><command>pg_dump</command></term> 508 548 <listitem> 509 <para>dumps database data and metadata into scripts which are used 510 to recreate the database.</para> 549 <para> 550 dumps database data and metadata into scripts which are used 551 to recreate the database. 552 </para> 511 553 <indexterm zone="postgresql pg_dump"> 512 554 <primary sortas="b-pg_dump">pg_dump</primary> … … 518 560 <term><command>pg_dumpall</command></term> 519 561 <listitem> 520 <para>recursively calls <command>pg_dump</command> for each 521 database in a cluster.</para> 562 <para> 563 recursively calls <command>pg_dump</command> for each 564 database in a cluster. 565 </para> 522 566 <indexterm zone="postgresql pg_dumpall"> 523 567 <primary sortas="b-pg_dumpall">pg_dumpall</primary> … … 529 573 <term><command>pg_isready</command></term> 530 574 <listitem> 531 <para>check the connection status of a PostgreSQL server.</para> 575 <para> 576 checks the connection status of a PostgreSQL server. 577 </para> 532 578 <indexterm zone="postgresql pg_isready"> 533 579 <primary sortas="b-pg_isready">pg_isready</primary> … … 551 597 <term><command>pg_recvlogical</command></term> 552 598 <listitem> 553 <para>controls PostgreSQL logical decoding streams.</para> 599 <para> 600 controls PostgreSQL logical decoding streams. 601 </para> 554 602 <indexterm zone="postgresql pg_recvlogical"> 555 603 <primary sortas="b-pg_recvlogical">pg_recvlogical</primary> … … 561 609 <term><command>pg_resetwal</command></term> 562 610 <listitem> 563 <para>resets the write-ahead log and other control information 564 of a PostgreSQL database cluseter.</para> 611 <para> 612 resets the write-ahead log and other control information 613 of a PostgreSQL database cluster. 614 </para> 565 615 <indexterm zone="postgresql pg_resetwal"> 566 616 <primary sortas="b-pg_resetwal">pg_resetwal</primary> … … 572 622 <term><command>pg_restore</command></term> 573 623 <listitem> 574 <para>creates databases from dump files created by 575 <command>pg_dump</command>.</para> 624 <para> 625 creates databases from dump files created by 626 <command>pg_dump</command>. 627 </para> 576 628 <indexterm zone="postgresql pg_restore"> 577 629 <primary sortas="b-pg_restore">pg_restore</primary> … … 583 635 <term><command>pg_rewind</command></term> 584 636 <listitem> 585 <para>synchronizes a PostgreSQL data directory with another data 586 directory that was forked from the first one.</para> 637 <para> 638 synchronizes a PostgreSQL data directory with another data 639 directory that was forked from the first one. 640 </para> 587 641 <indexterm zone="postgresql pg_rewind"> 588 642 <primary sortas="b-pg_rewind">pg_rewind</primary> … … 594 648 <term><command>pg_standby</command></term> 595 649 <listitem> 596 <para>supports the creation of a PostgreSQL warm standby 597 server.</para> 650 <para> 651 supports the creation of a PostgreSQL warm standby server. 652 </para> 598 653 <indexterm zone="postgresql pg_standby"> 599 654 <primary sortas="b-pg_standby">pg_standby</primary> … … 605 660 <term><command>pg_test_fsync</command></term> 606 661 <listitem> 607 <para>determine fastest wal_sync method for PostgreSQL.</para> 662 <para> 663 determines fastest wal_sync method for PostgreSQL. 664 </para> 608 665 <indexterm zone="postgresql pg_test_fsync"> 609 666 <primary sortas="b-pg_test_fsync">pg_test_fsync</primary> … … 615 672 <term><command>pg_test_timing</command></term> 616 673 <listitem> 617 <para>measure timing overhead.</para> 674 <para> 675 measures timing overhead. 676 </para> 618 677 <indexterm zone="postgresql pg_test_timing"> 619 678 <primary sortas="b-pg_test_timing">pg_test_timing</primary> … … 625 684 <term><command>pg_upgrade</command></term> 626 685 <listitem> 627 <para>upgrade a PostgreSQL server instance.</para> 686 <para> 687 upgrades a PostgreSQL server instance. 688 </para> 628 689 <indexterm zone="postgresql pg_upgrade"> 629 690 <primary sortas="b-pg_upgrade">pg_upgrade</primary> … … 635 696 <term><command>pg_waldump</command></term> 636 697 <listitem> 637 <para>display a human-readable rendering of the write-ahead log of a 638 PostgreSQL database cluster.</para> 698 <para> 699 displays a human-readable rendering of the write-ahead log of a 700 PostgreSQL database cluster. 701 </para> 639 702 <indexterm zone="postgresql pg_waldump"> 640 703 <primary sortas="b-pg_waldump">pg_waldump</primary> … … 646 709 <term><command>pgbench</command></term> 647 710 <listitem> 648 <para>run a benchmark test on PostgreSQL.</para> 711 <para> 712 runs a benchmark test on PostgreSQL. 713 </para> 649 714 <indexterm zone="postgresql pgbench"> 650 715 <primary sortas="b-pgbench">pgbench</primary> … … 656 721 <term><command>pltcl_delmod</command></term> 657 722 <listitem> 658 <para>is a support script used to delete a module from a 659 PL/<application>Tcl</application> table. The command 660 requires the <ulink 661 url="http://flightaware.github.io/Pgtcl/">Pgtcl</ulink> 662 package to be installed also.</para> 723 <para> 724 is a support script used to delete a module from a 725 PL/<application>Tcl</application> table. The command 726 requires the <ulink 727 url="http://flightaware.github.io/Pgtcl/">Pgtcl</ulink> 728 package to be installed also. 729 </para> 663 730 <indexterm zone="postgresql pltcl_delmod"> 664 731 <primary sortas="b-pltcl_delmod">pltcl_delmod</primary> … … 670 737 <term><command>pltcl_listmod</command></term> 671 738 <listitem> 672 <para>is a support script used to list the modules in a 673 PL/<application>Tcl</application> table. The command 674 requires the <ulink 675 url="http://gborg.postgresql.org/project/pgtcl/">Pgtcl</ulink> 676 package to be installed also.</para> 739 <para> 740 is a support script used to list the modules in a 741 PL/<application>Tcl</application> table. The command 742 requires the <ulink 743 url="http://gborg.postgresql.org/project/pgtcl/">Pgtcl</ulink> 744 package to be installed also. 745 </para> 677 746 <indexterm zone="postgresql pltcl_listmod"> 678 747 <primary sortas="b-pltcl_listmod">pltcl_listmod</primary> … … 684 753 <term><command>pltcl_loadmod</command></term> 685 754 <listitem> 686 <para>is a support script used to load a module into a 687 PL/<application>Tcl</application> table. The command 688 requires the <ulink 689 url="http://gborg.postgresql.org/project/pgtcl/">Pgtcl</ulink> 690 package to be installed also.</para> 755 <para> 756 is a support script used to load a module into a 757 PL/<application>Tcl</application> table. The command 758 requires the <ulink 759 url="http://gborg.postgresql.org/project/pgtcl/">Pgtcl</ulink> 760 package to be installed also. 761 </para> 691 762 <indexterm zone="postgresql pltcl_loadmod"> 692 763 <primary sortas="b-pltcl_loadmod">pltcl_loadmod</primary> … … 698 769 <term><command>postgres</command></term> 699 770 <listitem> 700 <para>is the PostgreSQL database server.</para> 771 <para> 772 is the PostgreSQL database server. 773 </para> 701 774 <indexterm zone="postgresql postgres"> 702 775 <primary sortas="b-postgres">postgres</primary> … … 708 781 <term><command>postmaster</command></term> 709 782 <listitem> 710 <para>(deprecated, a symlink to <command>postgres</command>) is a 711 multi-user database daemon.</para> 783 <para> 784 (deprecated, a symlink to <command>postgres</command>) is a 785 multi-user database daemon. 786 </para> 712 787 <indexterm zone="postgresql postmaster"> 713 788 <primary sortas="b-postmaster">postmaster</primary> … … 719 794 <term><command>psql</command></term> 720 795 <listitem> 721 <para>is a console based database shell.</para> 796 <para> 797 is a console based database shell. 798 </para> 722 799 <indexterm zone="postgresql psql"> 723 800 <primary sortas="b-psql">psql</primary> … … 729 806 <term><command>reindexdb</command></term> 730 807 <listitem> 731 <para>is a utility for rebuilding indexes in a database.</para> 808 <para> 809 is a utility for rebuilding indexes in a database. 810 </para> 732 811 <indexterm zone="postgresql reindexdb"> 733 812 <primary sortas="b-reindexdb">reindexdb</primary> … … 739 818 <term><command>vacuumdb</command></term> 740 819 <listitem> 741 <para>compacts databases and generates statistics for the query 742 analyzer.</para> 820 <para> 821 compacts databases and generates statistics for the query analyzer. 822 </para> 743 823 <indexterm zone="postgresql vacuumdb"> 744 824 <primary sortas="b-vacuumdb">vacuumdb</primary> … … 750 830 <term><command>vacuumlo</command></term> 751 831 <listitem> 752 <para>remove orphaned large objects from a PostgreSQL database.</para> 832 <para> 833 removes orphaned large objects from a PostgreSQL database. 834 </para> 753 835 <indexterm zone="postgresql vacuumlo"> 754 836 <primary sortas="b-vacuumlo">vacuumlo</primary> … … 760 842 <term><filename class='libraryfile'>libecpg.{so,a}</filename></term> 761 843 <listitem> 762 <para>contains functions to support embedded SQL in C programs.</para> 844 <para> 845 contains functions to support embedded SQL in C programs. 846 </para> 763 847 <indexterm zone="postgresql libecpg"> 764 848 <primary sortas="c-libecpg">libecpg.{so,a}</primary> … … 770 854 <term><filename class='libraryfile'>libecpg_compat.{so,a}</filename></term> 771 855 <listitem> 772 <para>is the ecpg compatibility library.</para> 856 <para> 857 is the ecpg compatibility library. 858 </para> 773 859 <indexterm zone="postgresql libecpg_compat"> 774 860 <primary sortas="c-libecpg_compat">libecpg_compat.{so,a}</primary> … … 780 866 <term><filename class='libraryfile'>libgport.a</filename></term> 781 867 <listitem> 782 <para>is the port-specific subsystem of the Postgres backend.</para> 868 <para> 869 is the port-specific subsystem of the Postgres backend. 870 </para> 783 871 <indexterm zone="postgresql libgport"> 784 872 <primary sortas="c-libgport">libgport.a</primary> … … 790 878 <term><filename class='libraryfile'>libpgtypes.{so,a}</filename></term> 791 879 <listitem> 792 <para>contains functions for dealing with Postgres data types.</para> 880 <para> 881 contains functions for dealing with Postgres data types. 882 </para> 793 883 <indexterm zone="postgresql libpgtypes"> 794 884 <primary sortas="c-libpgtypes">libpgtypes.{so,a}</primary> … … 800 890 <term><filename class='libraryfile'>libpq.{so,a}</filename></term> 801 891 <listitem> 802 <para>is the C programmer's API to Postgres.</para> 892 <para> 893 is the C programmer's API to Postgres. 894 </para> 803 895 <indexterm zone="postgresql libpq"> 804 896 <primary sortas="c-libpq">libpq.{so,a}</primary> -
server/mail/exim.xml
r21a08bf r4472e923 415 415 unit</phrase> 416 416 included in the <xref linkend="bootscripts" revision="sysv"/> 417 <xref linkend="systemd-units" revision="systemd"/> package .417 <xref linkend="systemd-units" revision="systemd"/> package: 418 418 </para> 419 419 -
server/mail/postfix.xml
r21a08bf r4472e923 438 438 unit</phrase> included in the 439 439 <xref linkend="bootscripts" revision="sysv"/> 440 <xref linkend="systemd-units" revision="systemd"/> package .440 <xref linkend="systemd-units" revision="systemd"/> package: 441 441 </para> 442 442 -
server/mail/sendmail.xml
r21a08bf r4472e923 337 337 unit</phrase> included in the 338 338 <xref linkend="bootscripts" revision="sysv"/> 339 <xref linkend="systemd-units" revision="systemd"/> package .339 <xref linkend="systemd-units" revision="systemd"/> package: 340 340 </para> 341 341 -
server/major/apache.xml
r21a08bf r4472e923 163 163 </para> 164 164 165 <note><para>This package does not install properly using DESTDIR 166 techniques as an unpriviledged user.</para></note> 165 <note> 166 <para> 167 This package does not install properly using <envar>DESTDIR</envar> 168 techniques as an unpriviledged user. 169 </para> 170 </note> 167 171 168 172 <screen role="root"><userinput>make install && … … 283 287 unit</phrase> included in the 284 288 <xref linkend="bootscripts" revision="sysv"/> 285 <xref linkend="systemd-units" revision="systemd"/> package .289 <xref linkend="systemd-units" revision="systemd"/> package: 286 290 </para> 287 291 -
server/major/bind.xml
r21a08bf r4472e923 30 30 <title>Introduction to BIND</title> 31 31 32 <para>The <application>BIND</application> package provides a DNS server 33 and client utilities. If you are only interested in the utilities, refer 34 to the <xref linkend="bind-utils"/>.</para> 32 <para> 33 The <application>BIND</application> package provides a DNS server 34 and client utilities. If you are only interested in the utilities, refer 35 to the <xref linkend="bind-utils"/>. 36 </para> 35 37 36 38 &lfs91_checked; … … 39 41 <itemizedlist spacing="compact"> 40 42 <listitem> 41 <para>Download (HTTP): <ulink url="&bind-download-http;"/></para> 43 <para> 44 Download (HTTP): <ulink url="&bind-download-http;"/> 45 </para> 42 46 </listitem> 43 47 <listitem> 44 <para>Download (FTP): <ulink url="&bind-download-ftp;"/></para> 48 <para> 49 Download (FTP): <ulink url="&bind-download-ftp;"/> 50 </para> 45 51 </listitem> 46 52 <listitem> 47 <para>Download MD5 sum: &bind-md5sum;</para> 53 <para> 54 Download MD5 sum: &bind-md5sum; 55 </para> 48 56 </listitem> 49 57 <listitem> 50 <para>Download size: &bind-size;</para> 58 <para> 59 Download size: &bind-size; 60 </para> 51 61 </listitem> 52 62 <listitem> 53 <para>Estimated disk space required: &bind-buildsize;</para> 63 <para> 64 Estimated disk space required: &bind-buildsize; 65 </para> 54 66 </listitem> 55 67 <listitem> 56 <para>Estimated build time: &bind-time;</para> 68 <para> 69 Estimated build time: &bind-time; 70 </para> 57 71 </listitem> 58 72 </itemizedlist> … … 61 75 <itemizedlist spacing='compact'> 62 76 <listitem> 63 <para>Optional patch (if net-tools is not installed): 64 <ulink 65 url="&patch-root;/bind-&bind-version;-use_iproute2-1.patch"/></para> 77 <para> 78 Optional patch (if net-tools is not installed): <ulink 79 url="&patch-root;/bind-&bind-version;-use_iproute2-1.patch"/> 80 </para> 66 81 </listitem> 67 82 </itemizedlist> … … 116 131 <title>Installation of BIND</title> 117 132 <!-- 118 <para>If you have chosen not to install net-tools, apply the iproute2 119 patch with the following command:</para> 133 <para> 134 If you have chosen not to install net-tools, apply the iproute2 135 patch with the following command: 136 </para> 120 137 121 138 <screen><userinput>patch -Np1 -i ../bind-&bind-version;-use_iproute2-1.patch</userinput></screen> 122 139 --> 123 140 124 <para>To ensure <application>BIND</application> will build dnssec-keymgr, 125 install a python module as the <systemitem 126 class="username">root</systemitem> user:</para> 141 <para> 142 To ensure <application>BIND</application> will build dnssec-keymgr, 143 install a python module as the <systemitem 144 class="username">root</systemitem> user: 145 </para> 127 146 128 147 <screen role="root"><userinput>pip3 install ply</userinput></screen> 129 148 130 <para>Install <application>BIND</application> by running the 131 following commands:</para> 149 <para> 150 Install <application>BIND</application> by running the 151 following commands: 152 </para> 132 153 133 154 <screen><userinput>./configure --prefix=/usr \ … … 139 160 make</userinput></screen> 140 161 141 <para>Issue the following commands to run the complete suite of tests. 142 First, as the <systemitem class="username">root</systemitem> user, set up 143 some test interfaces:</para> 144 145 <note><para>If IPv6 is not enabled in the kernel, there will be several 146 error messages: "RTNETLINK answers: Operation not permitted". These 147 messages do not affect the tests.</para></note> 162 <para> 163 Issue the following commands to run the complete suite of tests. 164 First, as the <systemitem class="username">root</systemitem> user, set up 165 some test interfaces: 166 </para> 167 168 <note> 169 <para> 170 If IPv6 is not enabled in the kernel, there will be several 171 error messages: "RTNETLINK answers: Operation not permitted". These 172 messages do not affect the tests. 173 </para> 174 </note> 148 175 149 176 <screen role="root" 150 177 remap="test"><userinput>bin/tests/system/ifconfig.sh up</userinput></screen> 151 178 152 <para>The test suite may indicate some skipped tests depending on 153 what configuration options are used. Some tests are marked <quote>UNTESTED 154 </quote> if <xref linkend="perl-net-dns"/> is not installed. 155 To run the tests, as an unprivileged user, execute:</para> 179 <para> 180 The test suite may indicate some skipped tests depending on 181 what configuration options are used. Some tests are marked 182 <quote>UNTESTED</quote> if <xref linkend="perl-net-dns"/> is not 183 installed. To run the tests, as an unprivileged user, execute: 184 </para> 156 185 157 186 <screen remap="test"><userinput>make -k check</userinput></screen> 158 187 159 <para>Again as <systemitem class="username">root</systemitem>, clean up the 160 test interfaces:</para> 188 <para> 189 Again as <systemitem class="username">root</systemitem>, clean up the 190 test interfaces: 191 </para> 161 192 162 193 <screen role="root" 163 194 remap="test"><userinput>bin/tests/system/ifconfig.sh down</userinput></screen> 164 195 165 <para>Finally, install the package as the <systemitem 166 class="username">root</systemitem> user:</para> 196 <para> 197 Finally, install the package as the <systemitem 198 class="username">root</systemitem> user: 199 </para> 167 200 168 201 <screen role="root"><userinput>make install && … … 181 214 <title>Command Explanations</title> 182 215 183 <para><parameter>--sysconfdir=/etc</parameter>: This parameter forces 184 <application>BIND</application> to look for configuration 185 files in <filename class='directory'>/etc</filename> instead of 186 <filename class='directory'>/usr/etc</filename>.</para> 216 <para> 217 <parameter>--sysconfdir=/etc</parameter>: This parameter forces 218 <application>BIND</application> to look for configuration 219 files in <filename class='directory'>/etc</filename> instead of 220 <filename class='directory'>/usr/etc</filename>. 221 </para> 187 222 188 223 <!-- No longer available as of 9.14.2 189 <para><parameter>- -enable-threads</parameter>: This parameter enables 190 multi-threading capability.</para> 224 <para> 225 <parameter>- -enable-threads</parameter>: This parameter enables 226 multi-threading capability. 227 </para> 191 228 --> 192 229 193 <para><parameter>--with-libtool</parameter>: This parameter forces the 194 building of dynamic libraries and links the installed binaries to these 195 libraries.</para> 230 <para> 231 <parameter>--with-libtool</parameter>: This parameter forces the 232 building of dynamic libraries and links the installed binaries to these 233 libraries. 234 </para> 196 235 197 <para><option>--with-libidn2</option>: This parameter enables 198 the IDNA2008 (Internationalized Domain Names in Applications) 199 support.</para> 236 <para> 237 <option>--with-libidn2</option>: This parameter enables 238 the IDNA2008 (Internationalized Domain Names in Applications) 239 support. 240 </para> 200 241 201 242 <!-- no longer available 202 <para><parameter>- -with-randomdev=/dev/urandom</parameter>: This parameter 203 specifes a non-blocking random device for use with digital signatures.</para> 243 <para> 244 <parameter>- -with-randomdev=/dev/urandom</parameter>: This parameter 245 specifes a non-blocking random device for use with digital signatures. 246 </para> 204 247 --> 205 <para><option>--enable-fetchlimit</option>: Use this option if you want 206 to be able to limit the rate of recursive client queries. This may be 207 useful on servers which receive a large number of queries.</para> 208 209 <para><option>--disable-linux-caps</option>: BIND can also be built without 210 capability support by using this option, at the cost of some loss of 211 security.</para> 212 213 <para><option>--with-dlz-{mysql,bdb,filesystem,ldap,odbc,stub}</option>: Use 214 one (or more) of those options to add Dynamically Loadable Zones support. 215 For more information refer to 216 <ulink url="http://bind-dlz.sourceforge.net/">bind-dlz.sourceforge.net</ulink>. 248 <para> 249 <option>--enable-fetchlimit</option>: Use this option if you want 250 to be able to limit the rate of recursive client queries. This may be 251 useful on servers which receive a large number of queries. 252 </para> 253 254 <para> 255 <option>--disable-linux-caps</option>: BIND can also be built without 256 capability support by using this option, at the cost of some loss of 257 security. 258 </para> 259 260 <para> 261 <option>--with-dlz-{mysql,bdb,filesystem,ldap,odbc,stub}</option>: Use 262 one (or more) of those options to add Dynamically Loadable Zones support. 263 For more information refer to <ulink 264 url="http://bind-dlz.sourceforge.net/">bind-dlz.sourceforge.net</ulink>. 217 265 </para> 218 266 … … 220 268 href="../../xincludes/static-libraries.xml"/> 221 269 222 <para><command>cd doc; install ...</command>: These commands install 223 additional package documentation. Omit any or all of these commands if 224 desired.</para> 270 <para> 271 <command>cd doc; install ...</command>: These commands install 272 additional package documentation. Omit any or all of these commands if 273 desired. 274 </para> 225 275 </sect2> 226 276 … … 231 281 <title>Config files</title> 232 282 233 <para><filename>named.conf</filename>, 234 <filename>root.hints</filename>, 235 <filename>127.0.0</filename>, 236 <filename>rndc.conf</filename> and 237 <filename>resolv.conf</filename></para> 283 <para> 284 <filename>named.conf</filename>, 285 <filename>root.hints</filename>, 286 <filename>127.0.0</filename>, 287 <filename>rndc.conf</filename>, and 288 <filename>resolv.conf</filename> 289 </para> 238 290 239 291 <indexterm zone="bind bind-config"> … … 263 315 <title>Configuration Information</title> 264 316 265 <para><application>BIND</application> will be configured to run in a 266 <command>chroot</command> jail as an unprivileged user (<systemitem 267 class="username">named</systemitem>). This configuration is more secure 268 in that a DNS compromise can only affect a few files in the <systemitem 269 class="username">named</systemitem> user's <envar>HOME</envar> 270 directory.</para> 271 272 <para>Create the unprivileged user and group <systemitem 273 class="username">named</systemitem>:</para> 317 <para> 318 <application>BIND</application> will be configured to run in a 319 <command>chroot</command> jail as an unprivileged user (<systemitem 320 class="username">named</systemitem>). This configuration is more secure 321 in that a DNS compromise can only affect a few files in the <systemitem 322 class="username">named</systemitem> user's <envar>HOME</envar> 323 directory. 324 </para> 325 326 <para> 327 Create the unprivileged user and group <systemitem 328 class="username">named</systemitem>: 329 </para> 274 330 275 331 <screen role="root"><userinput>groupadd -g 20 named && … … 277 333 install -d -m770 -o named -g named /srv/named</userinput></screen> 278 334 279 <para>Set up some files, directories and devices needed by 280 <application>BIND</application>:</para> 335 <para> 336 Set up some files, directories and devices needed by 337 <application>BIND</application>: 338 </para> 281 339 282 340 <screen role="root"><userinput>mkdir -p /srv/named && … … 288 346 cp /etc/localtime etc</userinput></screen> 289 347 290 <para>The <filename>rndc.conf</filename> file contains information for 291 controlling <command>named</command> operations with the 292 <command>rndc</command> utility. Generate a key for use in the <filename>named.conf</filename> and <filename>rdnc.conf</filename> with the 293 <command>rndc-confgen</command> command:</para> 294 295 <screen role="root"><userinput>rndc-confgen -a -b 512 -t /srv/named</userinput></screen> 296 297 <para>Complete the <filename>named.conf</filename> file from which 298 <command>named</command> will read the location of zone files, root 299 name servers and secure DNS keys:</para> 348 <para> 349 The <filename>rndc.conf</filename> file contains information for 350 controlling <command>named</command> operations with the 351 <command>rndc</command> utility. Generate a key for use in the 352 <filename>named.conf</filename> and <filename>rdnc.conf</filename> 353 with the <command>rndc-confgen</command> command: 354 </para> 355 356 <screen role="root"><userinput>rndc-confgen -a -b 512 -t /srv/named</userinput></screen> 357 358 <para> 359 Complete the <filename>named.conf</filename> file from which 360 <command>named</command> will read the location of zone files, root 361 name servers and secure DNS keys: 362 </para> 300 363 301 364 <screen role="root"><?dbfo keep-together="auto"?><userinput>cat >> /srv/named/etc/named.conf << "EOF" … … 353 416 EOF</userinput></screen> 354 417 355 <para>Create a zone file with the following contents:</para> 418 <para> 419 Create a zone file with the following contents: 420 </para> 356 421 357 422 <screen role="root"><userinput>cat > /srv/named/etc/named/pz/127.0.0 << "EOF" … … 367 432 EOF</userinput></screen> 368 433 369 <para>Create the <filename>root.hints</filename> file with the following 370 commands:</para> 434 <para> 435 Create the <filename>root.hints</filename> file with the following 436 commands: 437 </para> 371 438 372 439 <note> 373 <para>Caution must be used to ensure there are no leading spaces in 374 this file.</para> 440 <para> 441 Caution must be used to ensure there are no leading spaces in 442 this file. 443 </para> 375 444 </note> 376 445 … … 417 486 EOF</userinput></screen> 418 487 419 <para>The <filename>root.hints</filename> file is a list of root name 420 servers. This file must be updated periodically with the 421 <command>dig</command> utility. A current copy of root.hints can be 422 obtained from <ulink url="ftp://rs.internic.net/domain/named.root" />. 423 For details, consult the "BIND 9 Administrator Reference Manual", included 424 in every source archive of BIND 9 distributed by ISC, in HTML and PDF 425 formats, also available at 426 <ulink url="ftp://ftp.isc.org/isc/bind9/cur/&bind-minor-version;/doc/arm/Bv9ARM.html"> 427 BIND 9 Administrator Reference Manual</ulink>.</para> 428 429 <para>Create or modify <filename>resolv.conf</filename> to use the new 430 name server with the following commands:</para> 488 <para> 489 The <filename>root.hints</filename> file is a list of root name 490 servers. This file must be updated periodically with the 491 <command>dig</command> utility. A current copy of root.hints can be 492 obtained from <ulink url="ftp://rs.internic.net/domain/named.root" />. 493 For details, consult the "BIND 9 Administrator Reference Manual", 494 included in every source archive of BIND 9 distributed by ISC, in HTML 495 and PDF formats, also available at <ulink 496 url="ftp://ftp.isc.org/isc/bind9/cur/&bind-minor-version;/doc/arm/Bv9ARM.html"> 497 BIND 9 Administrator Reference Manual</ulink>. 498 </para> 499 500 <para> 501 Create or modify <filename>resolv.conf</filename> to use the new 502 name server with the following commands: 503 </para> 431 504 432 505 <note> 433 <para>Replace <replaceable><yourdomain.com></replaceable> with 434 your own valid domain name.</para> 506 <para> 507 Replace <replaceable><yourdomain.com></replaceable> with 508 your own valid domain name. 509 </para> 435 510 </note> 436 511 … … 441 516 EOF</userinput></screen> 442 517 443 <para>Set permissions on the <command>chroot</command> jail with the 444 following command:</para> 518 <para> 519 Set permissions on the <command>chroot</command> jail with the 520 following command: 521 </para> 445 522 446 523 <screen role="root"><userinput>chown -R named:named /srv/named</userinput></screen> … … 452 529 <phrase revision="systemd">Systemd Unit</phrase></title> 453 530 454 <para>To start the DNS server at boot, install the 455 <phrase revision="sysv"><filename>/etc/rc.d/init.d/bind</filename> init 456 script</phrase> 457 <phrase revision="systemd"><filename>named.service</filename> 458 unit</phrase> included in the 459 <xref linkend="bootscripts" revision="sysv"/> 460 <xref linkend="systemd-units" revision="systemd"/> package.</para> 531 <para> 532 To start the DNS server at boot, install the 533 <phrase revision="sysv"><filename>/etc/rc.d/init.d/bind</filename> init 534 script</phrase> 535 <phrase revision="systemd"><filename>named.service</filename> 536 unit</phrase> included in the 537 <xref linkend="bootscripts" revision="sysv"/> 538 <xref linkend="systemd-units" revision="systemd"/> package: 539 </para> 461 540 462 541 <indexterm zone="bind bind-init"> … … 467 546 <screen role="root" revision="systemd"><userinput>make install-named</userinput></screen> 468 547 469 <para>Now start <application>BIND</application> with 470 the following command:</para> 548 <para> 549 Now start <application>BIND</application> with the following command: 550 </para> 471 551 472 552 <screen role="root" revision="sysv"><userinput>/etc/rc.d/init.d/bind start</userinput></screen> … … 478 558 <title>Testing BIND</title> 479 559 480 <para>Test out the new <application>BIND</application> 9 installation. 481 First query the local host address with <command>dig</command>:</para> 560 <para> 561 Test out the new <application>BIND</application> 9 installation. 562 First query the local host address with <command>dig</command>: 563 </para> 482 564 483 565 <screen><userinput>dig -x 127.0.0.1</userinput></screen> 484 566 485 <para>Now try an external name lookup, taking note of the speed 486 difference in repeated lookups due to the caching. Run the 487 <command>dig</command> command twice on the same address:</para> 567 <para> 568 Now try an external name lookup, taking note of the speed 569 difference in repeated lookups due to the caching. Run the 570 <command>dig</command> command twice on the same address: 571 </para> 488 572 489 573 <screen><userinput>dig www.&lfs-domainname; && 490 574 dig www.&lfs-domainname;</userinput></screen> 491 575 492 <para>You can see almost instantaneous results with the named caching 493 lookups. Consult the <application>BIND</application> Administrator 494 Reference Manual located at <filename>doc/arm/Bv9ARM.html</filename> 495 in the package source tree, for further configuration options.</para> 576 <para> 577 You can see almost instantaneous results with the named caching 578 lookups. Consult the <application>BIND</application> Administrator 579 Reference Manual located at <filename>doc/arm/Bv9ARM.html</filename> 580 in the package source tree, for further configuration options. 581 </para> 496 582 497 583 </sect3> … … 583 669 <term><command>dig</command></term> 584 670 <listitem> 585 <para>interrogates DNS servers.</para> 671 <para> 672 interrogates DNS servers. 673 </para> 586 674 <indexterm zone="bind dig"> 587 675 <primary sortas="b-dig">dig</primary> … … 657 745 <term><command>dnssec-keygen</command></term> 658 746 <listitem> 659 <para>is a key generator for secure DNS.</para> 747 <para> 748 is a key generator for secure DNS. 749 </para> 660 750 <indexterm zone="bind dnssec-keygen"> 661 751 <primary sortas="b-dnssec-keygen">dnssec-keygen</primary> … … 691 781 <term><command>dnssec-signzone</command></term> 692 782 <listitem> 693 <para>generates signed versions of zone files.</para> 783 <para> 784 generates signed versions of zone files. 785 </para> 694 786 <indexterm zone="bind dnssec-signzone"> 695 787 <primary sortas="b-dnssec-signzone">dnssec-signzone</primary> … … 727 819 <term><command>host</command></term> 728 820 <listitem> 729 <para>is a utility for DNS lookups.</para> 821 <para> 822 is a utility for DNS lookups. 823 </para> 730 824 <indexterm zone="bind host"> 731 825 <primary sortas="b-host">host</primary> … … 761 855 <term><command>lwresd</command></term> 762 856 <listitem> 763 <para>is a caching-only name server for local process use.</para> 857 <para> 858 is a caching-only name server for local process use. 859 </para> 764 860 <indexterm zone="bind lwresd"> 765 861 <primary sortas="b-lwresd">lwresd</primary> … … 771 867 <term><command>named</command></term> 772 868 <listitem> 773 <para>is the name server daemon.</para> 869 <para> 870 is the name server daemon. 871 </para> 774 872 <indexterm zone="bind named"> 775 873 <primary sortas="b-named">named</primary> … … 781 879 <term><command>named-checkconf</command></term> 782 880 <listitem> 783 <para>checks the syntax of <filename>named.conf</filename> 784 files.</para> 881 <para> 882 checks the syntax of <filename>named.conf</filename> 883 files. 884 </para> 785 885 <indexterm zone="bind named-checkconf"> 786 886 <primary sortas="b-named-checkconf">named-checkconf</primary> … … 792 892 <term><command>named-checkzone</command></term> 793 893 <listitem> 794 <para>checks zone file validity.</para> 894 <para> 895 checks zone file validity. 896 </para> 795 897 <indexterm zone="bind named-checkzone"> 796 898 <primary sortas="b-named-checkzone">named-checkzone</primary> … … 852 954 <term><command>nslookup</command></term> 853 955 <listitem> 854 <para>is a program used to query Internet domain nameservers.</para> 956 <para> 957 is a program used to query Internet domain nameservers. 958 </para> 855 959 <indexterm zone="bind nslookup"> 856 960 <primary sortas="b-nslookup">nslookup</primary> … … 862 966 <term><command>nsupdate</command></term> 863 967 <listitem> 864 <para>is used to submit DNS update requests.</para> 968 <para> 969 is used to submit DNS update requests. 970 </para> 865 971 <indexterm zone="bind nsupdate"> 866 972 <primary sortas="b-nsupdate">nsupdate</primary> … … 872 978 <term><command>rndc</command></term> 873 979 <listitem> 874 <para>controls the operation of <application>BIND</application>.</para> 980 <para> 981 controls the operation of <application>BIND</application>. 982 </para> 875 983 <indexterm zone="bind rndc"> 876 984 <primary sortas="b-rndc">rndc</primary> … … 882 990 <term><command>rndc-confgen</command></term> 883 991 <listitem> 884 <para>generates <filename>rndc.conf</filename> files.</para> 992 <para> 993 generates <filename>rndc.conf</filename> files. 994 </para> 885 995 <indexterm zone="bind rndc-confgen"> 886 996 <primary sortas="b-rndc-confgen">rndc-confgen</primary> -
server/major/major.xml
r21a08bf r4472e923 16 16 <title>Major Servers</title> 17 17 18 <para>Major servers are the programs that provide content or services 19 to users or other programs.</para> 18 <para> 19 Major servers are the programs that provide content or services 20 to users or other programs. 21 </para> 20 22 21 23 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="apache.xml"/> -
server/major/proftpd.xml
r21a08bf r4472e923 30 30 <title>Introduction to ProFTPD</title> 31 31 32 <para>The <application>ProFTPD</application> package contains a secure 33 and highly configurable FTP daemon. This is useful for serving large 34 file archives over a network.</para> 32 <para> 33 The <application>ProFTPD</application> package contains a secure 34 and highly configurable FTP daemon. This is useful for serving large 35 file archives over a network. 36 </para> 35 37 36 38 &lfs91_checked; … … 39 41 <itemizedlist spacing="compact"> 40 42 <listitem> 41 <para>Download (HTTP): <ulink url="&proftpd-download-http;"/></para> 42 </listitem> 43 <listitem> 44 <para>Download (FTP): <ulink url="&proftpd-download-ftp;"/></para> 45 </listitem> 46 <listitem> 47 <para>Download MD5 sum: &proftpd-md5sum;</para> 48 </listitem> 49 <listitem> 50 <para>Download size: &proftpd-size;</para> 51 </listitem> 52 <listitem> 53 <para>Estimated disk space required: &proftpd-buildsize;</para> 54 </listitem> 55 <listitem> 56 <para>Estimated build time: &proftpd-time;</para> 43 <para> 44 Download (HTTP): <ulink url="&proftpd-download-http;"/> 45 </para> 46 </listitem> 47 <listitem> 48 <para> 49 Download (FTP): <ulink url="&proftpd-download-ftp;"/> 50 </para> 51 </listitem> 52 <listitem> 53 <para> 54 Download MD5 sum: &proftpd-md5sum; 55 </para> 56 </listitem> 57 <listitem> 58 <para> 59 Download size: &proftpd-size; 60 </para> 61 </listitem> 62 <listitem> 63 <para> 64 Estimated disk space required: &proftpd-buildsize; 65 </para> 66 </listitem> 67 <listitem> 68 <para> 69 Estimated build time: &proftpd-time; 70 </para> 57 71 </listitem> 58 72 </itemizedlist> … … 89 103 <title>Installation of ProFTPD</title> 90 104 91 <para>For security reasons, you should install 92 <application>ProFTPD</application> using an unprivileged user and group. 93 As the <systemitem class="username">root</systemitem> user:</para> 105 <para> 106 For security reasons, you should install 107 <application>ProFTPD</application> using an unprivileged user and group. 108 As the <systemitem class="username">root</systemitem> user: 109 </para> 94 110 95 111 <screen role="root"><userinput>groupadd -g 46 proftpd && … … 108 124 <screen><userinput remap="pre">patch -Np1 -i ../proftpd-&proftpd-version;-consolidated_fixes-1.patch</userinput></screen> 109 125 --> 110 <para>Install <application>ProFTPD</application> as an unprivileged user by 111 running the following commands:</para> 126 <para> 127 Install <application>ProFTPD</application> as an unprivileged user by 128 running the following commands: 129 </para> 112 130 113 131 <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run && 114 132 make</userinput></screen> 115 133 116 <para>This packages does not come with a usable test suite.</para> 117 118 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 134 <para> 135 This packages does not come with a usable test suite. 136 </para> 137 138 <para> 139 Now, as the <systemitem class="username">root</systemitem> user: 140 </para> 119 141 120 142 <screen role="root"><userinput>make install && … … 127 149 <title>Command Explanations</title> 128 150 129 <para><command>install -v -d -m775 -o proftpd -g proftpd 130 /srv/ftp</command>: Create the home directory for 131 <application>ProFTPD</application>.</para> 132 133 <para><command>ln -v -s /bin/false /usr/bin/proftpdshell</command>: 134 Set the default shell as a link to an invalid shell.</para> 135 136 <para><command>echo /usr/bin/proftpdshell >> 137 /etc/shells</command>: Fake a valid shell for compatibility purposes.</para> 151 <para> 152 <command>install -v -d -m775 -o proftpd -g proftpd /srv/ftp</command>: 153 Create the home directory for <application>ProFTPD</application>. 154 </para> 155 156 <para> 157 <command>ln -v -s /bin/false /usr/bin/proftpdshell</command>: 158 Set the default shell as a link to an invalid shell. 159 </para> 160 161 <para> 162 <command>echo /usr/bin/proftpdshell >> /etc/shells</command>: 163 Fake a valid shell for compatibility purposes. 164 </para> 138 165 139 166 <note> 140 <para>The above two commands can be omitted if the following directive is 141 placed in the configuration file:</para> 167 <para> 168 The above two commands can be omitted if the following directive is 169 placed in the configuration file: 170 </para> 142 171 143 172 <screen><literal>RequireValidShell off</literal></screen> 144 173 145 <para>By default, proftpd will require that users logging in have valid 146 shells. The RequireValidShell directive turns off this requirement. This 147 is only recommended if you are setting up your FTP server exclusively 148 for anonymous downloads.</para> 174 <para> 175 By default, proftpd will require that users logging in have valid 176 shells. The RequireValidShell directive turns off this requirement. 177 This is only recommended if you are setting up your FTP server 178 exclusively for anonymous downloads. 179 </para> 149 180 </note> 150 181 … … 166 197 <title>Config Files</title> 167 198 168 <para><filename>/etc/proftpd.conf</filename></para> 199 <para> 200 <filename>/etc/proftpd.conf</filename> 201 </para> 169 202 170 203 <indexterm zone="proftpd proftpd-config"> … … 177 210 <title>Configuration Information</title> 178 211 179 <para>This is a simple, download-only sample configuration. See the 180 <application>ProFTPD</application> documentation in 181 <filename class="directory">/usr/share/doc/proftpd</filename> and 182 consult the website at <ulink url="http://www.proftpd.org/"/> for 183 example configurations.</para> 212 <para> 213 This is a simple, download-only sample configuration. See the 214 <application>ProFTPD</application> documentation in 215 <filename class="directory">/usr/share/doc/proftpd</filename> and 216 consult the website at <ulink url="http://www.proftpd.org/"/> for 217 example configurations. 218 </para> 184 219 185 220 <screen role="root"><?dbfo keep-together="auto"?><userinput>cat > /etc/proftpd.conf << "EOF" … … 247 282 <phrase revision="systemd">Systemd Unit</phrase></title> 248 283 249 <para>Install the 250 <phrase revision="sysv"><filename>/etc/rc.d/init.d/proftpd</filename> 251 init script</phrase> 252 <phrase revision="systemd"><filename>proftpd.service</filename> 253 unit</phrase> included in the 254 <xref linkend="bootscripts" revision="sysv"/> 255 <xref linkend="systemd-units" revision="systemd"/> 256 package.</para> 284 <para> 285 Install the 286 <phrase revision="sysv"><filename>/etc/rc.d/init.d/proftpd</filename> 287 init script</phrase> 288 <phrase revision="systemd"><filename>proftpd.service</filename> 289 unit</phrase> included in the 290 <xref linkend="bootscripts" revision="sysv"/> 291 <xref linkend="systemd-units" revision="systemd"/> 292 package: 293 </para> 257 294 258 295 <indexterm zone="proftpd proftpd-init"> … … 296 333 <term><command>proftpd</command></term> 297 334 <listitem> 298 <para>is the FTP daemon.</para> 335 <para> 336 is the FTP daemon. 337 </para> 299 338 <indexterm zone="proftpd proftpd-prog"> 300 339 <primary sortas="b-proftpd">proftpd</primary> … … 306 345 <term><command>ftpcount</command></term> 307 346 <listitem> 308 <para>shows the current number of connections.</para> 347 <para> 348 shows the current number of connections. 349 </para> 309 350 <indexterm zone="proftpd ftpcount"> 310 351 <primary sortas="b-ftpcount">ftpcount</primary> … … 316 357 <term><command>ftpdctl</command></term> 317 358 <listitem> 318 <para>is used to control the proftpd daemon while it is running.</para> 359 <para> 360 is used to control the proftpd daemon while it is running. 361 </para> 319 362 <indexterm zone="proftpd ftpdctl"> 320 363 <primary sortas="b-ftpdctl">ftpdctl</primary> … … 326 369 <term><command>ftpasswd</command></term> 327 370 <listitem> 328 <para>is a Perl script designed to create and manage 329 AuthUserFiles and AuthGroupFiles of the correct format for proftpd.</para> 371 <para> 372 is a Perl script designed to create and manage 373 AuthUserFiles and AuthGroupFiles of the correct format for proftpd. 374 </para> 330 375 <indexterm zone="proftpd ftpasswd"> 331 376 <primary sortas="b-ftpasswd">ftpasswd</primary> … … 337 382 <term><command>ftpmail</command></term> 338 383 <listitem> 339 <para>is a Perl script for sending email based on the proftpd TransferLog. 384 <para> 385 is a Perl script for sending email based on the proftpd TransferLog. 340 386 </para> 341 387 <indexterm zone="proftpd ftpmail"> … … 348 394 <term><command>ftpquota</command></term> 349 395 <listitem> 350 <para>is a Perl script designed to create and manage limits and tally 351 files for the mod_quotatab + mod_quotatab_file module combination 352 for proftpd.</para> 396 <para> 397 is a Perl script designed to create and manage limits and tally 398 files for the mod_quotatab + mod_quotatab_file module combination 399 for proftpd. 400 </para> 353 401 <indexterm zone="proftpd ftpquota"> 354 402 <primary sortas="b-ftpquota">ftpquota</primary> … … 360 408 <term><command>ftpscrub</command></term> 361 409 <listitem> 362 <para>provides a way to scrub the scoreboard file on demand.</para> 410 <para> 411 provides a way to scrub the scoreboard file on demand. 412 </para> 363 413 <indexterm zone="proftpd ftpscrub"> 364 414 <primary sortas="b-ftpscrub">ftpscrub</primary> … … 370 420 <term><command>ftpshut</command></term> 371 421 <listitem> 372 <para>shuts down all <application>proftpd</application> servers 373 at a given time.</para> 422 <para> 423 shuts down all <application>proftpd</application> servers 424 at a given time. 425 </para> 374 426 <indexterm zone="proftpd ftpshut"> 375 427 <primary sortas="b-ftpshut">ftpshut</primary> … … 381 433 <term><command>ftptop</command></term> 382 434 <listitem> 383 <para>displays running status on connections.</para> 435 <para> 436 displays running status on connections. 437 </para> 384 438 <indexterm zone="proftpd ftptop"> 385 439 <primary sortas="b-ftptop">ftptop</primary> … … 391 445 <term><command>ftpwho</command></term> 392 446 <listitem> 393 <para>shows current process information for each session.</para> 447 <para> 448 shows current process information for each session. 449 </para> 394 450 <indexterm zone="proftpd ftpwho"> 395 451 <primary sortas="b-ftpwho">ftpwho</primary> … … 401 457 <term><command>prxs</command></term> 402 458 <listitem> 403 <para>is a Perl script designed to compile and install third-party 404 modules, from source code, as DSO modules for the installed 405 proftpd.</para> 459 <para> 460 is a Perl script designed to compile and install third-party 461 modules, from source code, as DSO modules for the installed 462 proftpd. 463 </para> 406 464 <indexterm zone="proftpd prxs"> 407 465 <primary sortas="b-prxs">prxs</primary> -
server/major/vsftpd.xml
r21a08bf r4472e923 31 31 <title>Introduction to vsftpd</title> 32 32 33 <para>The <application>vsftpd</application> package contains a very 34 secure and very small FTP daemon. This is useful for serving files 35 over a network.</para> 33 <para> 34 The <application>vsftpd</application> package contains a very 35 secure and very small FTP daemon. This is useful for serving files 36 over a network. 37 </para> 36 38 37 39 &lfs91_checked; … … 40 42 <itemizedlist spacing="compact"> 41 43 <listitem> 42 <para>Download (HTTP): <ulink url="&vsftpd-download-http;"/></para> 43 </listitem> 44 <listitem> 45 <para>Download (FTP): <ulink url="&vsftpd-download-ftp;"/></para> 46 </listitem> 47 <listitem> 48 <para>Download MD5 sum: &vsftpd-md5sum;</para> 49 </listitem> 50 <listitem> 51 <para>Download size: &vsftpd-size;</para> 52 </listitem> 53 <listitem> 54 <para>Estimated disk space required: &vsftpd-buildsize;</para> 55 </listitem> 56 <listitem> 57 <para>Estimated build time: &vsftpd-time;</para> 44 <para> 45 Download (HTTP): <ulink url="&vsftpd-download-http;"/> 46 </para> 47 </listitem> 48 <listitem> 49 <para> 50 Download (FTP): <ulink url="&vsftpd-download-ftp;"/> 51 </para> 52 </listitem> 53 <listitem> 54 <para> 55 Download MD5 sum: &vsftpd-md5sum; 56 </para> 57 </listitem> 58 <listitem> 59 <para> 60 Download size: &vsftpd-size; 61 </para> 62 </listitem> 63 <listitem> 64 <para> 65 Estimated disk space required: &vsftpd-buildsize; 66 </para> 67 </listitem> 68 <listitem> 69 <para> 70 Estimated build time: &vsftpd-time; 71 </para> 58 72 </listitem> 59 73 </itemizedlist> … … 80 94 <title>Installation of vsftpd</title> 81 95 82 <para>For security reasons, running <application>vsftpd</application> 83 as an unprivileged user and group is encouraged. Also, a user should be 84 created to map anonymous users. As the <systemitem 85 class="username">root</systemitem> user, create the needed directories, 86 users, and groups with the following commands:</para> 96 <para> 97 For security reasons, running <application>vsftpd</application> 98 as an unprivileged user and group is encouraged. Also, a user should be 99 created to map anonymous users. As the <systemitem 100 class="username">root</systemitem> user, create the needed directories, 101 users, and groups with the following commands: 102 </para> 87 103 88 104 <screen role="root"><userinput>install -v -d -m 0755 &vsftpd-empty; && … … 93 109 useradd -c "vsftpd User" -d /dev/null -g vsftpd -s /bin/false -u 47 vsftpd && 94 110 useradd -c anonymous_user -d /home/ftp -g ftp -s /bin/false -u 45 ftp</userinput></screen> 95 <!-- 96 <para>If you did not install the optional <application>libcap2</application> package, 97 run the following to avoid a build error:</para> 98 99 <screen><userinput>sed -i -e 's|#define VSF_SYSDEP_HAVE_LIBCAP|//&|' sysdeputil.c</userinput></screen>--> 100 101 <para>Build <application>vsftpd</application> as an unprivileged user 102 using the following command:</para> 111 112 <para> 113 Build <application>vsftpd</application> as an unprivileged user 114 using the following command: 115 </para> 103 116 104 117 <screen><userinput>make</userinput></screen> 105 118 106 <para>This package does not come with a test suite.</para> 107 108 <para>Once again, become the <systemitem class="username">root</systemitem> 109 user and install <application>vsftpd</application> with the following 110 commands:</para> 119 <para> 120 This package does not come with a test suite. 121 </para> 122 123 <para> 124 Once again, become the <systemitem class="username">root</systemitem> 125 user and install <application>vsftpd</application> with the following 126 commands: 127 </para> 111 128 112 129 <screen role="root"><userinput>install -v -m 755 vsftpd /usr/sbin/vsftpd && … … 120 137 <title>Command Explanations</title> 121 138 122 <para><command>install -v -d ...</command>: This creates the 123 directory that anonymous users will use (<filename 124 class='directory'>/home/ftp</filename>) 125 and the directory the daemon will chroot into 126 (<filename class='directory'>&vsftpd-empty;</filename>).</para> 139 <para> 140 <command>install -v -d ...</command>: This creates the 141 directory that anonymous users will use (<filename 142 class='directory'>/home/ftp</filename>) 143 and the directory the daemon will chroot into 144 (<filename class='directory'>&vsftpd-empty;</filename>). 145 </para> 127 146 128 147 <note> 129 <para><filename class="directory">/home/ftp</filename> should not be 130 owned by the user <systemitem class="username">vsftpd</systemitem>, 131 or the user <systemitem class="username">ftp</systemitem>.</para> 148 <para> 149 <filename class="directory">/home/ftp</filename> should not be 150 owned by the user <systemitem class="username">vsftpd</systemitem>, 151 or the user <systemitem class="username">ftp</systemitem>. 152 </para> 132 153 </note> 133 154 134 <para><command>echo "#define VSF_BUILD_TCPWRAPPERS" >>builddefs.h</command>: 135 Use this prior to <command>make</command> to add support for 136 <application>tcpwrappers</application>.</para> 137 138 <para><command>echo "#define VSF_BUILD_SSL" >>builddefs.h</command>: 139 Use this prior to <command>make</command> to add support for SSL.</para> 140 141 <para><command>install -v -m ...</command>: 142 The <filename>Makefile</filename> uses non-standard installation paths. 143 These commands install the files in 144 <filename class='directory'>/usr</filename> and 145 <filename class='directory'>/etc</filename>.</para> 155 <para> 156 <command>echo "#define VSF_BUILD_TCPWRAPPERS" >>builddefs.h</command>: 157 Use this prior to <command>make</command> to add support for 158 <application>tcpwrappers</application>. 159 </para> 160 161 <para> 162 <command>echo "#define VSF_BUILD_SSL" >>builddefs.h</command>: 163 Use this prior to <command>make</command> to add support for SSL. 164 </para> 165 166 <para> 167 <command>install -v -m ...</command>: 168 The <filename>Makefile</filename> uses non-standard installation paths. 169 These commands install the files in 170 <filename class='directory'>/usr</filename> and 171 <filename class='directory'>/etc</filename>. 172 </para> 146 173 147 174 </sect2> … … 153 180 <title>Config Files</title> 154 181 155 <para><filename>/etc/vsftpd.conf</filename></para> 182 <para> 183 <filename>/etc/vsftpd.conf</filename> 184 </para> 156 185 157 186 <indexterm zone="vsftpd vsftpd-config"> … … 164 193 <title>Configuration Information</title> 165 194 166 <para><application>vsftpd</application> comes with a basic 167 anonymous-only configuration file that was copied to 168 <filename class='directory'>/etc</filename> above. While still as 169 <systemitem class="username">root</systemitem>, this file should be 170 modified because it is now recommended to run <command>vsftpd</command> 171 in standalone mode. <!-- as opposed to 172 <command>inetd</command>/<command>xinetd</command> mode. -->Also, you 173 should specify the privilege separation user created above. Finally, 174 you should specify the <command>chroot</command> directory. 175 <command>man vsftpd.conf</command> will give you all the details.</para> 195 <para> 196 <application>vsftpd</application> comes with a basic 197 anonymous-only configuration file that was copied to 198 <filename class='directory'>/etc</filename> above. While still as 199 <systemitem class="username">root</systemitem>, this file should be 200 modified because it is now recommended to run <command>vsftpd</command> 201 in standalone mode. Also, you 202 should specify the privilege separation user created above. Finally, 203 you should specify the <command>chroot</command> directory. 204 <command>man vsftpd.conf</command> will give you all the details. 205 </para> 176 206 177 207 <screen role="root"><userinput>cat >> /etc/vsftpd.conf << "EOF" … … 183 213 184 214 <!-- recheck this issue when vsftpd is updated --> 185 <para>The vsftpd daemon uses seccomp to improve security by default. 186 But it's known to cause vsftpd unable to handle ftp 187 <literal>LIST</literal> command with recent kernel versions. Append 188 a line to <filename>/etc/vsftpd.conf</filename> (as the 189 <systemitem class="username">root</systemitem> user) to disable 190 seccomp and workaround this issue:</para> 215 <para> 216 The vsftpd daemon uses seccomp to improve security by default. 217 But it's known to cause vsftpd unable to handle ftp 218 <literal>LIST</literal> command with recent kernel versions. Append 219 a line to <filename>/etc/vsftpd.conf</filename> (as the 220 <systemitem class="username">root</systemitem> user) to disable 221 seccomp and workaround this issue: 222 </para> 191 223 192 224 <screen role="root"><userinput>cat >> /etc/vsftpd.conf << "EOF" … … 194 226 EOF</userinput></screen> 195 227 196 <para>To enable local logins, append the following to the 197 <filename>/etc/vsftpd.conf</filename> file (as the 198 <systemitem class="username">root</systemitem> user):</para> 228 <para> 229 To enable local logins, append the following to the 230 <filename>/etc/vsftpd.conf</filename> file (as the 231 <systemitem class="username">root</systemitem> user): 232 </para> 199 233 200 234 <screen role="root"><userinput>cat >> /etc/vsftpd.conf << "EOF" … … 202 236 EOF</userinput></screen> 203 237 204 <para>In addition, if using <application>Linux-PAM</application> and 205 <application>vsftpd</application> with local user logins, you will need 206 a <application>Linux-PAM</application> configuration file. As the 207 <systemitem class="username">root</systemitem> user, create the 208 <filename>/etc/pam.d/vsftpd</filename> file, and add the needed 209 configuration changes for <application>Linux-PAM</application> session 210 support using the following commands:</para> 238 <para> 239 In addition, if using <application>Linux-PAM</application> and 240 <application>vsftpd</application> with local user logins, you will need 241 a <application>Linux-PAM</application> configuration file. As the 242 <systemitem class="username">root</systemitem> user, create the 243 <filename>/etc/pam.d/vsftpd</filename> file, and add the needed 244 configuration changes for <application>Linux-PAM</application> session 245 support using the following commands: 246 </para> 211 247 212 248 <screen role="root"><userinput>cat > /etc/pam.d/vsftpd << "EOF" && … … 232 268 <phrase revision="systemd">Systemd Unit</phrase></title> 233 269 234 <para>Install the 235 <phrase revision="sysv"><filename>/etc/rc.d/init.d/vsftpd</filename> init 236 script</phrase> 237 <phrase revision="systemd"><filename>vsftpd.service</filename> 238 unit</phrase> included in the 239 <xref linkend="bootscripts" revision="sysv"/> 240 <xref linkend="systemd-units" revision="systemd"/> package.</para> 270 <para> 271 Install the 272 <phrase revision="sysv"><filename>/etc/rc.d/init.d/vsftpd</filename> 273 init script</phrase> 274 <phrase revision="systemd"><filename>vsftpd.service</filename> 275 unit</phrase> included in the 276 <xref linkend="bootscripts" revision="sysv"/> 277 <xref linkend="systemd-units" revision="systemd"/> package: 278 </para> 241 279 242 280 <screen role="root"><userinput>make install-vsftpd</userinput></screen> … … 269 307 <term><command>vsftpd</command></term> 270 308 <listitem> 271 <para>is the FTP daemon.</para> 309 <para> 310 is the FTP daemon. 311 </para> 272 312 <indexterm zone="vsftpd vsftpd-prog"> 273 313 <primary sortas="b-vsftpd">vsftpd</primary> -
server/other/unbound.xml
r21a08bf r4472e923 243 243 unit</phrase> included 244 244 in the <xref linkend="bootscripts" revision="sysv"/> 245 <xref linkend="systemd-units" revision="systemd"/> package .245 <xref linkend="systemd-units" revision="systemd"/> package: 246 246 </para> 247 247
Note:
See TracChangeset
for help on using the changeset viewer.