Documente Academic
Documente Profesional
Documente Cultură
1. Hadware Requirement
The below requirement need to install OpenKM on a virtualized server with Less than 50
users, repository size 20-50GB.
1GB RAM
Due Core 2 ( 1.86 GHz )
80-100 SATA hard disk.
2. Installation Proses
c. Install Swftools
d. Install OpenKM
Download OpenKM 4.0 + JBoss 4.2.3.GA bundle and uncompress on your file system
disk under /opt/).
Execute on terminal the command
$ tar -xvf OpenKM-4.0-JBoss-4.2.3.GA.zip
3. Back up
4. Recovery
Attachment OO.sh
#!/bin/bash
#openoffice.org headless server script
#
# chkconfig: 2345 80 30
# description: headless openoffice server script
# processname: openoffice
#
#
OOo_HOME=/usr/lib/openoffice/program
SOFFICE_PATH=$OOo_HOME/soffice
PIDFILE=/var/run/openoffice-server.pid
set -e
case "$1" in
start)
if [ -f $PIDFILE ]; then
echo "OpenOffice headless server has already started."
sleep 5
exit
fi
echo "Starting OpenOffice headless server"
$SOFFICE_PATH -headless -nologo -nofirststartwizard
-accept="socket,host=127.0.0.1,port=8100;urp" & > /dev/null 2>&1
touch $PIDFILE
;;
stop)
if [ -f $PIDFILE ]; then
echo "Stopping OpenOffice headless server."
killall -9 soffice && killall -9 soffice.bin
rm -f $PIDFILE
exit
fi
echo "Openoffice headless server is not running."
exit
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
Attachment jboss
#define where jboss is - this is the directory containing directories log, bin,
conf etc
JBOSS_HOME=${JBOSS_HOME:-"/opt/jboss-4.2.3.GA"}
#define the user under which jboss will run, or use 'RUNASIS' to run as the
current user
JBOSS_USER=${JBOSS_USER:-"RUNASIS"}
if [ ! -d "$JBOSS_HOME" ]; then
echo JBOSS_HOME does not exist as a valid directory : $JBOSS_HOME
exit 1
fi
case "$1" in
start)
cd $JBOSS_HOME/bin
if [ -z "$SUBIT" ]; then
eval $JBOSS_CMD_START >${JBOSS_CONSOLE} 2>&1 &
else
$SUBIT "$JBOSS_CMD_START >${JBOSS_CONSOLE} 2>&1 &"
fi
;;
stop)
if [ -z "$SUBIT" ]; then
$JBOSS_CMD_STOP
else
$SUBIT "$JBOSS_CMD_STOP"
fi
;;
restart)
$0 stop
$0 start
;;
*)
echo "usage: $0 (start|stop|restart|help)"
esac
Notes:
To enable javascript Copy to Clipboard buttons on Firefox and Mozilla, enter the
following line into browser address bar: \"about:config\"
The list of preferences should open in browser window. Click right mouse button
somewhere in active part of preference list window and choose New > Boolean option
from context menu. Paste the following Preference name into the New boolean value
window input box: \"signed.applets.codebase_principal_support\"