OpenKM + JBOSS installation in CentOS 5.4 on Ubuntu 8.04
OpenKM + JBOSS installation in centos 5.4
installed the java, we downloaded from: http://java.sun. com / JavaSE / downloads / index.jsp
Using
wget # cd / usr / local
# wget http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/ CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u17-linux-i586.bin? BundledLineItemUUID = fedIBe.oNdYAAAElkAwxazI9 & OrderID = M49IBe.o0kkAAAElgwwxazI9 & ProductID = lBFIBe.oSOMAAAEkGehn5G0y & FileName = / jdk-6u17 -linux-i586.bin
# mv http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u17-linux-i586.bin? BundledLineItemUUID = fedIBe.oNdYAAAElkAwxazI9 & OrderID = M49IBe.o0kkAAAElgwwxazI9 & ProductID = lBFIBe.oSOMAAAEkGehn5G0y & FileName = / jdk-6u17-linux-jdk-6u17 i586.bin-linux-i586.bin
# chmod + x jdk-6u17 -linux-i586.bin
# ./jdk-6u17-linux-i586.bin
Accept the license and we hope to complete the download.
create a symbolic link
# ln-s jdk1.6.0_17 java
on file Edit / etc / profile to create variables add the following line
# vim / etc / profile
########################### ############################
export JAVA_HOME = / usr / local / java JBOSS_HOME = / usr / local / jboss
############################################### ##########
update
variables # source / etc / profile
Project page: http://www.openkm.com/
download the software it already comes with the JBOSS
# cd / usr / local
# wget http://downloads.sourceforge.net/project/ openkm/openkm/3.0/OpenKM-3.0_JBoss-4.2.2.GA.zip? use_mirror = UFPR
Unzip the
OpenKM
# unzip-3.0_JBoss-4.2.2.GA.zip OpenKM
#
mv-3.0_JBoss-4.2.2.GA OpenKM OpenKM
# ln-s jboss OpenKM
Create the
jboss user and group # groupadd jboss
# useradd-d / usr / local / jboss-g jboss jboss changed
permissions # chown jboss: jboss-R / usr / local / OpenKM
Copy the startup script
# cp / usr / local / jboss / bin / jboss_init_redhat.sh / etc / init.d / jboss
create a link to load the start
# ln-s / etc / init.d / jboss / etc/rc3.d/S96jboss
modified the file / etc / init.d / jboss
# vim / etc / init.d / jboss
add
JBOSS_HOST = 0.0.0.0
change
JAVAPTH = $ {JAVAPTH: - "/ usr / local / jdk / bin" }
by
JAVAPTH = $ {JAVAPTH: - "/ usr / local / java / bin"}
and ready we can raise hell with
# / etc / init.d / jboss start
can see:
http:localhost:8080/OpenKM/
use the username: admin passwd: admin
To see it from outside. if you have a firewall with iptables:
-A PREROUTING-d ip_publica-p tcp - dport 8080-i eth0-j DNAT - to ip_interna: 8080
to view with: http://ip_publica:8080 / OpenKM
or
-A PREROUTING-d ip_publica-p tcp - dport 80-i eth0-j DNAT - to ip_interna: 8080
to view it with: http://ip_publica/OpenKM
if we want to go in front by ip_publica, you just have to modify the index found in / usr / local / OpenKM / server / all / deploy / jboss-web.deployer/ROOT.war/index.html
NOTE: This also serves to install JBOSS server
0 comments:
Post a Comment