+

Search Tips   |   Advanced Search

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:

  1. Complete pre-install tasks

  2. Create the non-root user account

  3. Create a home directory for the user.

  4. Edit...

      IBM_Connections/IM/aix/install.ini

  5. In the second line of the file, change admin to nonadmin.

  6. Save and close the file.

  7. 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_root
    IBM_ 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_directory
    connections_root chgrp -R non-root_user_group connections_root
    chmod -R g+wrx connections_root
    chown -R non-root_ID:group connections_root
    IM_root chgrp -R non-root_user_group IM_root
    chmod -R g+wrx IM_root
    chown -R non-root_ID:group IM_root
    shared_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/InstallationManager

    Grant permissions this folder only if the root user installed Installation Manager.

  8. 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:

Procedure:

  1. Create a non-root user account called ConnectionsInstaller.

  2. Create a home directory for the new user account.

  3. Add the new user account to the ConnectionsInstallers group.

  4. 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


Related:
Deployment options
Before installing for migration