Useful Linux Commands for LiveCycle Installation and Configuration

Installing LiveCycle on Linux usually requires you to run several Linux shell commands. Here are most of them – these have been tested with Novell SUSE Linux Enterprise Server (SLES):

Display Linux version
uname -a

Report on filesystem space
df -h

Run filesystem check on all filesystems
fsck

Report memory usage
free -tom

Report total system RAM
grep MemTotal /proc/meminfo

Report Swapped Memory
grep SwapTotal /proc/meminfo

Display information about the server’s CPU
cat /proc/cpuinfo

Display information about the network card eth0
ip addr show dev eth0

Display system limits
ulimit -a

Display current system date and time
date

Set system clock (usually UTC) to October 10, 2009 6:10:05 PM
date -s “10 OCT 2009 18:10:05”

Find all files on the server with extension .cnf
find / -name *.cnf

Change directory to /var/lib/mysql
cd /var/lib/mysql

substitute user to ‘root’ (will be prompted for root’s password)
su root

Stop being user ‘root’
exit

Create a directory adobe in /opt
mkdir adobe

Change ownership of folder /adobe and all its sub-directories to user ‘jboss’ belonging to the group ‘users’
chown -R jboss:users /opt/adobe

Unzip a *.tar.gz file
gunzip livecycleserver_9001_jboss_wwefdj_unix.tar.gz

Untar the resulting *.tar file
tar -xvf livecycleserver_9001_jboss_wwefdj_unix.tar

List all executable shell scripts in the current folder
ls -al | grep .sh

Make a shell script executable by the owner user
chmod u+x lces2_sp_install.bin

Find all folders in /opt that has the word ‘manager” in it
find /opt -name *manager*

Create a Tape Archive (tar) of a folder and its contents
tar -cvf jboss-4.2.0.tar /home/livecycle/jboss-4.2.0/*

Compress a Tape Archive (tar) file
gzip jboss-4.2.0.tar

Create and set the value of the environment variable JAVA_HOME
export JAVA_HOME=/opt/java64/jdk1.6.0_09

Append the JDK’s /bin folder to the existing environment variable PATH
export PATH=$JAVA_HOME/bin:$PATH

Display the current value of the environment variable JAVA_HOME
echo $JAVA_HOME

Display the full path to the executable java
which java

Display the version of the java executable
java -version

Display all running java processes
ps -ef | grep java

Here’s a blog entry on some monitoring commands.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 8.0/10 (1 vote cast)
Useful Linux Commands for LiveCycle Installation and Configuration, 8.0 out of 10 based on 1 rating
This entry was posted in General Interest and tagged . Bookmark the permalink.

Comments are closed.