Install as a non-root user
On the AIX and Linux operating systems, we can permit non-root users to install the product by changing their permissions to access certain data directories.The user must be the same user who installed IBM WebSphere Application Server.
To grant the necessary permissions to a non-root user:
- Complete pre-install tasks
- Create the non-root user account
- Create a home directory for the user.
- Edit...
IBM_Connections/IM/aix/install.ini
- In the second line of the file, change admin to nonadmin.
- Save and close the file.
- Grant permissions...
Directory Commands app_server_root chgrp -R non-root_user_group app_server_root
chmod -R g+wrx app_server_root
chown -R non-root_ID:group app_server_rootIBM_ Connections set-up directory chgrp -R non-root_user_group IBM_Connections_set-up_directory
chmod -R g+wrx IBM_Connections_set-up_directory
chown -R non-root_ID:group IBM_connections_set-up_directoryconnections_root chgrp -R non-root_user_group connections_root
chmod -R g+wrx connections_root
chown -R non-root_ID:group connections_rootIM_root chgrp -R non-root_user_group IM_root
chmod -R g+wrx IM_root
chown -R non-root_ID:group IM_rootshared_resources_root chgrp -R non-root_user_group shared_resources_root
chmod -R g+wrx shared_resources_root
chown -R non-root_ID:group shared_resources_root/var/ibm/InstallationManager chmod -R ugo+rwx /var/ibm/InstallationManager
chown -R non-root_ID:group /var/ibm/InstallationManagerGrant permissions this folder only if the root user installed Installation Manager.
- Install Connections using either the wizard, the console, or a silent installation method.
Example
Grant permissions to a non-root user who wants to install an IBM Connections deployment on Linux.
Assumptions:
- The app_server_root directory is...
/opt/IBM/Websphere/Appserver
- The IBM_Connections_set-up_directory directory is...
/opt/ConnectionsSetup
- The connections_root, IM_root, and shared_resources_root directories are subdirectories of...
/opt/ConnectionsInstallation
- The non-root user account is a member of the ConnectionsInstallers group.
Procedure:
- Create a non-root user account called ConnectionsInstaller.
- Create a home directory for the new user account.
- Add the new user account to the ConnectionsInstallers group.
- Open a command prompt and run...
chgrp -R ConnectionsInstallers /opt/IBM/Websphere/Appserver
chmod -R g+wrx /opt/IBM/Websphere/Appserver
chown -R ConnectionInstaller:ConnectionsInstallers /opt/IBM/Websphere/Appserver
chgrp -R ConnectionsInstallers /opt/ConnectionsSetup
chmod -R g+wrx /opt/ConnectionsSetup
chown -R ConnectionInstaller:ConnectionsInstallers /opt/IBM/Websphere/Appserver
chgrp -R ConnectionsInstallers /opt/ConnectionsInstallation
chmod -R g+wrx /opt/ConnectionsInstallation
chown -R ConnectionInstaller:ConnectionsInstallers /opt/IBM/Websphere/Appserver
Parent topic:
Install Connections