Enterprise Server 5

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, Cédric Delfosse, Nicolas Perrin, Séverine Wiltgen.

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” re 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.


1. About Mandriva Linux
1.1. Contacting the Mandriva Linux Community
1.2. Purchasing Mandriva Products
1.3. Contributing to Mandriva Linux
2. Conventions Used in this Book
2.1. Typing Conventions
2.2. General Conventions
1. Installation of Enterprise Server 5
Starting Your Installation
1. Different ways of installing
1. Before Installing
2. Installation via CD/DVD
3. Installing PXE
3.1. What is PXE?
3.2. Using PXE to Install Mandriva Enterprise Server 5
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 Packages 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. Mandriva Server Setup (mmc-wizard)
1. Use Mandriva Server Setup
2. MDS Stacks and simplified configuration
2.1. Main Concept
2.2. Installation and Configuration
3. Middleware/server stacks and services ("Advanced configuration")
3.1. Introduction
3.2. Stacks review
4. Limit access to Mandriva Server Setup
4.1. Disable the mmc-wizard service
4.2. Forbid the access to the web configuration interface from the network
4. Auto-install mode
1. Managing auto-installation
2. Administrating services
Introduction to Service Administration
1. Using Mandriva Control Center
5. Base system
1. Software Management Tools
1.1. Local repository configuration
1.2. Installing and Updating RPMs with urpmi
1.3. Searching for Packages with urpmf and urpmq
1.4. 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 
3.1. Xen
3.2. KVM
3.3. Virt-manager
6. Mandriva Directory Server
1. General review of Mandriva Directory Server
1.1. Connection to Mandriva Directory Server
2. Users accounts management
2.1. Users accounts list
2.2. Add a user account
2.3. Remove a user account
3. Users groups management
3.1. Add a group
3.2. Edit groups members
3.3. Delete a group
4. Shares Module (Samba)
4.1. Manage Samba users accounts
4.2. Samba shares management
4.3. Hosts management
4.4. General options of Samba
5. Mail Module
5.1. Running mail service
5.2. Add and modify a mail user
5.3. Remove a mail user
5.4. Add and remove users in a group mail
5.5. Mail domains management
6. Network Module
6.1. Interface
6.2. DNS management
6.3. Managing DHCP
6.4. Service Management
7. Audit module
7.1. Audit tab
7.2. User audit
8. LDAP password policy module
8.1. Available Settings
8.2. Password quality test
8.3. Users connection to the Mandriva Management Console
8.4. Resetting a user password
9. Authentication on workstations
9.1. Windows® clients
9.2. Mandriva workstation
7. 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
8. Services Stacks
1. Managing Main Network Services
1.1. Managing Name Servers with BIND
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
9. Monitoring
1. Cacti
1.1. General review of Cacti
1.2. Configure the server to make it accessible by Cacti
1.3. Install and configure a Cacti server
1.4. Monitoring the local server

List of Figures

1.1. How PXE Works?
2.1. Choosing the Default Language
2.2. DiskDrake's Main Window
3.1. Login Mandriva Server Setup
3.2. Mandriva Server Setup Home
3.3. Mandriva Directory Server Installation Page
3.4. Installation Details: Console View
3.5. Mandriva Directory Server Configuration Page
3.6. Mandriva Directory Server Configuration Result Page
3.7. DNS service configuration page:
3.8. Server stacks page
12. The Control Center's Main Window
5.1. The Mandriva Linux Control Center
5.2. Adding repository
5.3. Adding custom repository
5.4. Software Management in the Mandriva Linux Control Center
5.5. The Software Package Installation interface
5.6. Rpmdrake Dependency Alert Box
5.7. The Software Media Manager
5.8. Managing Keys
5.9. Configuring a Proxy server
5.10. Adding Computers to a Group
5.11. General architecture for load balancing
5.12. Launch Virt-manager
5.13. Guest's creation
5.14. Virtual networks configuration
6.1. Mandriva Directory Server login page
6.2. Mandriva Directory Server Home Page
6.3. Users accounts list
6.4. Add a user account
6.5. List of users groups
6.6. Edit groups members
6.7. Samba properties
6.8. Add a new share
6.9. Add a new host
6.10. Samba configuration
6.11. Add a mail user
6.12. Mail alias for a group of users
6.13. Mail domain list
6.14. DNS/DHCP module
6.15. Add a DNS zone
6.16. List of zones managed by Mandriva Directory Server
6.17. Add a new A entry
6.18. Adding a CNAME type record
6.19. Edit a DNS zone
6.20. MX record
6.21. Add a DHCP subnet
6.22. Dynamic address range
6.23. Adding a static host (address reservation)
6.24. Transformation of a dynamic host into a static one.
6.25. Removing a static host
6.26. DNS and DHCP Services Management
6.27. Viewing DNS logs
6.28. List of changes in all modules
6.29. User audit
6.30. Default password policy settings
6.31. User password settings
6.32. Join Windows® to a Samba domain: 1
6.33. Join Windows® to a Samba domain: 2
6.34. Join Windows® to a Samba domain: 3
6.35. Join Windows® to a Samba domain: 4
6.36. Join Windows® to a Samba domain: 5
6.37. Login in a Samba domain under Windows®
6.38. LDAP Authentication in Mandriva: 1
6.39. LDAP Authentication in Mandriva: 2
6.40. LDAP Authentication in Mandriva: 3
7.1. LDAP Protocol
7.2. LDAP tree
7.3. Tree Layout
7.4. Luma plugins
7.5. User management plugin
7.6. Where to add an user
7.7. Adding an user
7.8. Groups
7.9. Peter in LDAP
7.10. Using an internal LDAP server
7.11. Using a replica instead
8.1. How Does DHCP Work?
8.2. Applying Declarations for a Practical DHCP Configuration

List of Tables

8.1. Windows Domain Entities
8.2. Managing ACLs in Cyrus-IMAP