Create a new user who performs both the RPM install and runs the platform. You need to
create this user in advance.
You need to use the following procedure on each node you're installing Jive.
Note: Installing without root access, does not install an init script or a logrotate cron task.
To perform these tasks, you need root access to run
sbin/install_init_script_and_logrotate.sh
, or equivalent.
-
Someone with root access needs to review Pre-installation requirements as root on CLI and complete the required tasks.
-
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
.
-
Initialize an RPM database as the new user in that user's home directory.
su - myjiveuser
mkdir rpmdb
rpm --initdb --dbpath /opt/apps/myjive/rpmdb
-
After downloading the Jive RPM and copying it to the node where you're installing Jive, you
need to verify that the dependencies are met, as described in RPM dependencies by operating system.
rpm -Vp --nofiles path/to/jive.rpm
-
Install the RPM as your new user.
JIVE_USER=myjiveuser JIVE_GROUP=myjivegroup JIVE_HOME=/opt/apps/myjive rpm --dbpath /opt/apps/myjive/rpmdb -Uvh --prefix=/opt/apps/myjive --nodeps path/to/jive.rpm ]
-
For the docconverter node, install the
pdf2swf
RPM.
JIVE_USER=myjiveuser JIVE_GROUP=myjivegroup JIVE_HOME=/opt/apps/myjive rpm --dbpath /opt/apps/myjive/rpmdb -Uvh --prefix=/opt/apps/myjive --replacefiles --nodeps path/to/pdf2swf.rpm
-
Source the .bash_profile that was just installed, or log out and back in again as your new user. For example,
myjiveuser
.
-
Run
jive setup
, which you can do by using the following command. For more
information, see Using jive setup.