Install the RPM normally as root, but with an installation user and group other than
jive
, or an installation directory other than /usr/local/jive
,
or both.
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 should specify a user and group during the
RPM installation using the JIVE_USER and JIVE_GROUP environment variables. These variables
default to
jive
. For an example of how to set these variables, see Step
3.
To install and set up Jive:
-
Create a group for your user. We use
myjivegroup
in the
following example.
-
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
.
-
Log in as the root user to perform an RPM installation, so that the Jive platform is not
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.
|
-
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
-
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
information, see Using jive setup.
su - myjiveuser
jive setup