When using the IBM HTTP Server administration server, the setupadm
script establishes permissions for configuration file updates.
Antes de Começar
You must run the setupadm command if you are installing IHS as a non-root
user. The setupadm command is run in the <IHS_HOME>/bin directory so that
you can properly use the administrative server with the WebSphere Application
Server. The format for the command is as follows:
setupadm -usr <userName> -grp <groupName> -cfg <IHS Web server configuration file> -adm <IHS admistrative server configuration file> -plg <plug-in configuration file>
Sobre Esta Tarefa
When using the administration server, you cannot update the configuration
files after a default server installation, unless you run the setupadm script,
or you set
permissions manually.
Procedimento
The setupadm script prompts you for the following input:
- User ID - The user ID that you use to log on to the administration
server. The script creates this user ID.
- Group name - The administration server accesses the configuration
files and authentication files through group file permissions. The script
creates the specified group through this script.
- Directory - The directory where you can find configuration files
and authentication files.
- File name - The following file groups and file permissions change:
- Single file name
- File name with wildcard
- All (default) - All of the files in the specific directory
- Processing - The setupadm script changes the group and file permissions
of the configuration files and authentication files.
O Que Fazer Depois
The administration server requires read and write access to configuration
files and authentication files to perform Web server configuration data administration.
In addition to the Web server files, you must change the permissions to the
targeted plug-in configuration files. See Setting permissions manually for instructions.
The
administration server has to invoke apachectl restart as root to perform
successful restarts of the IBM HTTP Server.