Corporate Server 4.0

Installation and Administration

by Loïc Vaillant, Christophe Potigny, Andreas Hasenack, Rafaël Garcia Suarez, Emmanuel Cohen, Vincent Cuirassier, Anne Nicolas, Antoine Ginies, Yann Droneaud, Anthoine Bourgeois.

Style revision and translations:

Legal Notice

This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at opencontent.org).

  • Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder.

  • Distribution of the work or derivative of the work in any standard (paper) book form is prohibited unless prior permission is obtained from the copyright holder.

Mandriva” and “DrakX” are registered trademarks in the US and/or other countries. The related “Star logo” is also registered. All rights reserved. All other copyrights embodied in this document remain the property of their respective owners.

2006-09-11


Préface
1. About mandrake Linux
1.1. Contacting the Mandriva Linux Community
1.2. Mandriva Corporate Club
1.3. Purchasing Mandriva Products
1.4. Contributing to Mandriva Linux
2. Conventions Used in this Book
2.1. Typing Conventions
2.2. General Conventions
1. Installation of Corporate Server 4
Starting Your Installation
1. Different ways of installing (ftp, pxe, http, ka...)
1. Before Installing
2. Network Installation
2.1. How to Start a Network Installation
2.2. Advanced Network Installation
3. Installing PXE
3.1. What is PXE?
3.2. Using PXE to Install Mandriva Corporate Server 4
3.3. Configuring a PXE Server
2. Main steps of installation
1. Choosing your Language
2. License Terms of the Distribution
3. Installation Class
4. Configuring Your Keyboard
5. Security Level
6. Partitioning Your Disk
6.1. Advanced use of DiskDrake
6.2. Using Advanced Manageable Data Partition
7. Package Selection
7.1. Media Handling
7.2. Choose Package to Install
7.3. Choosing Individual Packages to Install
8. Adding a User
9. Installing a Bootloader
10. Checking Miscellaneous Parameters
10.1. Summary
10.2. Time-Zone Options
10.3. Configuring The X Graphical Server
10.4. Configure Your Network
10.5. Installing a Bootloader
10.6. Selecting Available Services at Boot Time
3. Fibric (First Boot RPM Installer and Configurator)
1. Executing Fibric on Graphical Environments
2. Executing Fibric on Text-Only Environments
3. An Overview of Fibric
3.1. The Services Stack
3.2. The Middleware Stack
3.3. The Toolbox Stack
4. Adding Update Sources
5. Leaving Fibric and running it again
4. Aauto-install mode
1. Managing auto-installation
2. Administrating services
Introduction to Service Administration
1. Using Mandriva Control Center
2. Using Webmin
5. Base system
1. Software Management Tools
1.1. Installing and Updating RPMs with urpmi
1.2. Searching for Packages with urpmf and urpmq
1.3. Managing Software with Rpmdrake
2. Load Balancing
2.1. Prerequisites
2.2. General Concepts and Web References
2.3. Installing and Configuring LVS
3. Virtualization: Xen Howto
3.1. General Concepts and Main Web References
3.2. Installing and Configuring Domains
3.3. Managing Guest Domains
3.4. Troubleshooting
4. Improving security on CS4
4.1. Preamble
4.2. Overview
4.3. Physical Security
4.4. Local Security
4.5. Files and File-System Security
4.6. Password Security and Encryption
4.7. Kernel Security
4.8. Network Security
4.9. Security Preparation (Before You Go On-Line)
4.10. What to Do During and After a Break-in
4.11. Security Sources
4.12. Frequently Asked Questions
4.13. Securing your Machine through Mandriva tools
4.14. Conclusion
6. Middleware Stacks
1. Managing web services: LAMP and Proxy
1.1. Managing a LAMP server.
1.2. Proxy setup
2. Identity service
2.1. General Concepts
2.2. Unix Users Authentication
2.3. Samba Authentication
2.4. Kerberos Authentication
2.5. Tuning
2.6. Advanced usage
2.7. Replication with syncrepl
2.8. Maintenance tasks
2.9. Troubleshooting
3. Database servers
3.1. MySQL database server
3.2. Managing PostgreSQL server
7. Services Stacks
1. Managing Main Network Services
1.1. Managing Name Servers with Bind
1.2. Advanced Configuration and Troubleshooting
1.3. Managing BIND Data in OpenLDAP Directory
1.4. Managing a DHCP Server
2. File and Print Services
2.1. Sharing Printers with CUPS
2.2. Sharing Files with NFS
2.3. FTP File Server
2.4. Samba File and Print Server
3. Managing Mail Services
3.1. POP/IMAP Cyrus-IMAPD Server
3.2. The Postfix SMTP Server
3.3. Anti-Virus and Anti-Spam Solutions

List of Figures

1.1. How PXE Works?
2.1. Choosing the Default Language
2.2. DiskDrake's Main Window
4. The Control Center's Main Window
5. Main screen of Webmin
5.1. Software Management in the Mandriva Linux Control Center
5.2. The Software Package Installation interface
5.3. Rpmdrake Dependency Alert Box
5.4. The Software Media Manager
5.5. Managing Keys
5.6. Configuring a Proxy
5.7. Adding Computers to a Group
5.8. General architecture for load balancing
5.9. Choosing the Security Level of your System
5.10. Modifying Standard Options
5.11. Configuring File-Permission Checks
5.12. Adding a File-Permissions Rule
6.1. LAMP Installation
6.2. Apache configuration with Webmin
6.3. Optimizing Apache configuration with Webmin
6.4. Access Control configuration with Webmin
6.5. LDAP Protocol
6.6. LDAP tree
6.7. Tree Layout
6.8. Installing the Identity Stack
6.9. Configuring the Identity Stack
6.10. Luma plugins
6.11. User management plugin
6.12. Where to add an user
6.13. Adding an user
6.14. Groups
6.15. Peter in LDAP
6.16. Using an internal LDAP server
6.17. Using a replica instead
7.1. DNS Forwarders
7.2. DNS Addresses to Listen on
7.3. Creating a New Master Zone
7.4. All DNS Zones
7.5. Adding Machine Names
7.6. Configuring the Client
7.7. Declaring a Mail Server
7.8. How Does DHCP Work?
7.9. Applying Declarations for a Practical DHCP Configuration
7.10. Adding a New Host with Webmin
7.11. Installation of mail services with Fibric

List of Tables

7.1. Windows Domain Entities
7.2. Managing ACLs in Cyrus-IMAP