Professional Documents
Culture Documents
How To Install OpenKM CentOS 7 For PROD Server
How To Install OpenKM CentOS 7 For PROD Server
Note: If facing any issue during installation, Please follow online YouTube article.
Prerequisite-:
Mariadb server must install
Prepare tomcat with below jar file
Note: Java must install on your server
Download link-:
#cd /opt/
#wget
https://sourceforge.net/projects/openkm/files/common/OKMInstaller.jar
Procedure-:
Part1
cd /opt
java -jar OKMInstaller.jar
Note: Fill below required information
Database [h2]: mariadb
Database host [localhost]:
Database name [okmdb]:
Database user [openkm]:
Database password [xYYQX5QvRCXs]:
Note: Note: Here is the concern that if you don't have internet access on your
server just prepare this tomcat on another server using above command and
copy via winscp on Production server
This activity will take some time, so wait till completed.
cat /opt/tomcat/conf/server.xml
url="jdbc:mysql://localhost:3306/okmdb?autoReconnect=true&useUnicode=true&am
p;characterEncoding=UTF8"/>
vi /opt/tomcat/OpenKM.cfg
hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
hibernate.hbm2ddl=create