Installing in a Different Directory With a Different User

Install the RPM normally as root, but with an installation user and group other than "jive", and/or an installation directory other than "/usr/local/jive".

With root access, you can install Jive and create a non-default user to run the platform. You can skip Steps 1 and 2 if you don't need to create your user ahead of time.

Note: If you are not creating a user in advance, you will specify a user and group during the RPM installation using the JIVE_USER and JIVE_GROUP environment variables. These variables default to "jive" and "jive". For an example of how to set these variables, see Step 3

To install and set up Jive:

  1. Create a group for your user. We use myjivegroup in the following example.
    groupadd myjivegroup
  2. Create the user and add it to the group you created in the previous step.
    useradd -g myjivegroup -c "My Jive Community Service Account" -d /opt/apps/myjive -m -s /bin/bash myjiveuser
    Note:
    • Make sure this user has /bin/bash as shell.
    • You must install Jive in the user's home directory. In this example, the installation directory is /opt/apps/myjive.
  3. Log in as the root user to perform an RPM installation, so that the Jive platform will be runnable by the new user and installed in the new user's home directory In the following example, we use "myjiveuser","myjivegroup" and "/opt/apps/myjive" as the user, group and installation directory.
    JIVE_USER=myjiveuser JIVE_GROUP=myjivegroup JIVE_HOME=/opt/apps/myjive rpm -Uvh --prefix=/opt/apps/myjive path/to/jive.rpm
    Parameters Description
    JIVE_USER=myjiveuser
    JIVE_GROUP=myjivegroup
    Uses these parameters to specify the non-default user that will run the platform. If you don't use these parameters, the values default to "jive" and "jive". The RPM installer creates this user and group if it does not exist.
    JIVE_HOME=/opt/apps/myjive
    --prefix=/opt/apps/myjive
    Use JIVE_HOME and the "--prefix" flag to install Jive in an alternate location. Installing the RPM without using these parameters installs in the default location, which is /usr/local/jive.
    Note: You can change the installation directory even if you are using the default "jive" user.
  4. For the docconverter node, log in as the root user to install pdf2swf RPM.
    JIVE_USER=myjiveuser JIVE_GROUP=myjivegroup JIVE_HOME=/opt/apps/myjive rpm -Uvh --prefix=/opt/apps/myjive --replacefiles path/to/pdf2swf.rpm
  5. When the installation finishes, become the user you created during the install and run jive setup, which you can do by using the following command. For more on this, see Using jive setup.
    su - myjiveuser
    jive setup