This chapter describes how to install Advanced Server. It contains the following information:
Before Installation describes the two types of installations that you can use to install Advanced Server and information that you should consider before beginning to install Advanced Server.
Installation Procedure describes how to install Advanced Server using either the Express or Custom Setup.
Installing the Manual Pages Package describes how to install the package that contains UNIX system commands and API descriptions.
Installing the Administrative Tools Package describes how to install the package containing Windows network client-based administrative tools on Advanced Server.
Installing the Microsoft Client Package describes how to install Microsoft client disk images on Advanced Server.
Removing Advanced Server describes how to remove Advanced Server from your computer and save important configuration files.
Note
Before you install Advanced Server on your computer, you must install a supported UNIX operating system and appropriate protocol stacks which include a NetBIOS package that supports RFC 1001/1002.
There are two ways to install Advanced Server for UNIX Systems software. They are as follows:
Express Setup Uses default settings which make the installation procedure quick and simple. You can change these settings after completing Advanced Server installation process. Using this method, the server is always installed as a primary domain controller in its own domain.
Custom Setup Allows you to specify the settings during the installation procedure. If you choose to use this type of installation, you will be prompted to enter the server name, the domain in which it will participate, its role in the domain, and an administrative account password.
Regardless of which installation type you choose, before you begin an installation procedure you should give consideration to what the server name will be, which domain it will belong to, and the role that the server will play (primary or backup domain controller). Remember that you can change your selections after the server installation process is completed.
The following sections describe the information that you need to know before you install Advanced Server if you are using the Custom Setup script. You also can change these items after installation as described later in "Configuration."
The server name can be up to 15 characters long and can contain any combination of the following characters:
a - z; A - Z; 0 - 9; ~ ! # $ % ^ & _ ( ) . -
During Express Setup installation, the system assigns a default name to the server. The default server name is the name of the UNIX system (uname).
After the installation is complete, the administrator can change the name of the server by using the setservername command.
For information about this command, you can type man setservername at the Advanced Server command prompt after the Manual Pages Package has been installed, as described later in this chapter.
Note
Do not edit the ComputerName key in the Advanced Server Registry nor the listenname parameter in the lanman.ini file to change the server name.
Every server must be given one of the following roles in the domain:
Primary domain controller Distributes user account information to backup domain controllers and validates network logon requests. There can be only one primary domain controller per domain.
Backup domain controller Receives user account information from the primary domain controller and validates network logon requests. Can be promoted to primary if the primary domain controller is not accessible.
During Express Setup installation, the system installs the server as a primary domain controller. The administrator can change the role of the server by using the joindomain command.
For information about this command, you can type man joindomain at the Advanced Server command prompt after the Manual Pages Package has been installed, as described later in this chapter.
Note
The primary domain controller must be the first server that is installed in a domain. The primary domain controller must be up and running before installing a backup domain controller. There can be only one primary domain controller in a domain. If you configure a server as a primary domain controller in a domain that already exists, the result will be two domains with the same name, neither of which will operate properly.
A domain name can be up to 15 characters long and can contain any combination of the following characters:
a - z; A - Z; 0 - 9; ~ ! # $ % ^ & _ ( ) . -
During Express Setup installation, the system assigns a default name to the domain. The default domain name is the name of the UNIX system (uname_dom).
After the installation is complete, the administrator can change the name of the domain by using the setdomainname command.
For information about this command, you can type man setdomainname at the Advanced Server command prompt after the Manual Pages Package has been installed, as described later in this chapter.
During the installation of an Advanced Server primary domain controller, the system creates an administrative account called administrator to which it assigns the default password "password." If you choose the Custom Setup, the system will ask you whether you want to enter a different password at the end of the installation.
During the installation of an Advanced Server backup domain controller, the system asks you to enter an administrative account name from the domain along with its password. (If you are installing multiple servers, you should use the default password for all of them.)
After the server installation is complete, it is strongly recommended that you create another administrative account and password. Then, change the password for the administrator account using the net password command.
For information about this command, type net help password at the Advanced Server command prompt.
The following installation procedure is used to install Advanced Server software on your computer. Early in the procedure, the system will ask you to choose either Express or Custom Setup installation.
Both the Express or Custom Setup modes can be used to install a server.
If you choose Express Setup, the server will be installed as a primary domain controller automatically. You will not be prompted for any information during the installation.
If you choose Custom Setup, be prepared to enter the server name, server role, domain name, and whether you want to specify an administrative account password. For information about these items, see Before Installation.
Remember that the primary domain controller must be the first server installed in a domain. To install Advanced Server as a backup domain controller, the primary domain controller must be running in the domain and connected to the network. You will be prompted for the name of the primary domain controller during installation of a backup.
To install Advanced Server
1. Log on to the UNIX system as root.
2. Insert the Advanced Server installation medium into the appropriate drive.
3. Type the following command and press ENTER:
pkgadd -d devicename
Replace devicename with the appropriate device name.
The system displays an installation menu.
4. Type the number that corresponds with asuserver and press ENTER.
You must install the base package (asuserver) before installing any of the user license packages.
The system displays the following messages:
This request script will prompt you for information which is necessary to install and configure your Advanced Server 4.0 for UNIX Systems.
There are two installation modes:
Express Setup - the installation scripts use default settings so installation is quick and easy. You may change these settings after installation completes. The server is installed as a primary domain controller in its own domain.
Custom Setup - this mode allows you to specify the settings at the beginning of installation. If you select this mode, you must specify the server's name, the domain it will participate in, and the role in that domain.
NOTE: The installation requires a password for the administrative account. A default password of 'password' will be used, although you may elect to be prompted for a different password at the end of the installation.
If you are installing many servers it is strongly recommended that you use the default password for all installations. Be sure to change these passwords after determining that your network is operating correctly.
Do you want Express Setup [y/n]? y
5. Type y (for Express) or n (for Custom) and press ENTER.
If you select Express, the Advanced Server is installed as a primary domain controller with no additional input. Installation is complete when the system displays the following message:
Installation of Advanced Server 4.0 for UNIX Systems <asuserver> was successful.
If you select Custom, the system displays the following message:
Advanced Server for UNIX Systems provides a NETLOGON service which simplifies the administration of multiple servers. A single user accounts database can be shared by multiple servers grouped together into an administrative collection called a domain. Within a domain, each server has a designated role. A single server, called the primary domain controller, manages all changes to the user accounts database and automatically distributed those changes to other servers, called backup domain controllers, within the same domain. You may now supply a server name (the name which this server will be known on the network), the role that this server will perform in that domain (primary or backup), and a domain name.
Enter the name of the server or press Enter to select 'uname':
6. Enter the name of the server or press ENTER to accept the default name. (The default server name is the UNIX system name.) See the Before Installation for information about the server name.
The system displays the following message:
Each server must be given a role in a domain. The possible roles are:
primary domain controller:
Administration server. Distributes user accounts information to backup domain controllers. Validates network logon requests. There can be only one primary domain controller per domain.
Backup domain controller:
Receives user account information from the primary domain controller. Validates network logon requests and can be promoted to primary if the primary domain controller is not accessible.
Enter role (primary or backup):
7. Type primary or backup and press ENTER.
If you are installing a primary domain controller, the system prompts you for the name of the domain. (The default domain name is the UNIX system name.)
Enter the name of the domain or press Enter to select uname_dom
If you are installing a backup domain controller, the system prompts you for the name of the primary domain controller and an administrative account name and password:
This installation will configure the server as a backup domain controller. You will be prompted to enter the name of the primary domain controller, and an administrative account name on the primary along with its password. In order for this installation to complete successfully, the primary domain controller must be running and connected to the network.
Enter the name of the primary domain controller:
8. Enter the requested information as appropriate:
If you are installing a primary domain controller, enter the name of a domain or press ENTER to accept the default.
If you are installing a backup domain controller, enter the name of the primary domain controller.
9. Type y (to confirm) or n (to re-enter) your choices and press ENTER. The system displays the following message:
If you are installing a primary domain controller:
An administrative account 'administrator' will be created for you on this primary domain controller. This account will be used to manage the domain. It is recommended that you create another administrative account after installation completes. This account must have a password. You may either select the default password of 'password', or you may choose your own password. If you want to select your own password, you will be prompted for it at the end of the installation.
Do you want to use the default password [y/n]? y
If you are installing a backup domain controller:
Enter the name of an administrative account on the primary domain controller 'pdc_name' or press Enter to select 'administrator'"
This procedure requires the password for the administrative account on 'pdc_name'. If the password is the default ('password') created during installation, you will not need to be prompted for a password. If you have changed the password, you should allow this program to prompt for a password after the files have been installed.
Do you want to use the default password [y/n]?
10. Enter the requested information as appropriate:
If you are installing a primary domain controller, type y (to accept the default password) or n (to choose a unique password) and press ENTER.
If you are installing a backup domain controller, enter the name of an administrative account from the domain. Then, type y (to accept the default password) or n (to choose a unique password) and press ENTER.
If you selected n, the system will prompt you for a password for the Administrator at the end of the installation. It can be up to 14 characters in length. Re-enter it when prompted.
The system continues the installation process which includes creating a user accounts database, an access control list database, a share list file, and a registry.
When you see the following message, installation of the server is complete and you can add any additional packages displayed in the installation menu.
Installation of Advanced Server 4.0 for UNIX Systems <asuserver> was successful.