Its document management system tool

https://www.youtube.com/watch?v=pyVPnW9uxV0

Package Requirements:-

MariaDB:- 5.6 or above

Step1. Install packages

yum install epel-release
yum install mariadb mariadb-server clamav ImageMagick ImageMagick-devel gcc php-devel php-pear  clamav ghostscript  tesseract

Step2. Setup database

mysql_secure_installation

Step3. Enable and start service

systemctl enable mariadb
systemctl start mariadb

Step4. Add entries in my.cnf file

vi /etc/my.cnf
 
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
character-set-server = utf8
collation-server = utf8_bin
default-storage-engine = INNODB
symbolic-links=0
 
[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid

Step5. Download office

cd /opt/
wget http://download.documentfoundation.org/libreoffice/stable/6.1.2/rpm/x86_64/LibreOffice_6.1.2_Linux_x86-64_rpm.tar.gz

Step6. Untar file

tar -xzvf LibreOffice_6.1.2_Linux_x86-64_rpm.tar.gz
cd LibreOffice_6.1.2.1_Linux_x86-64_rpm/

Step7. Install Office

yum localinstall RPMS/*.rpm
yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/CentOS_7/
sudo rpm --import https://build.opensuse.org/projects/home:Alexander_Pozdnyakov/public_key

Step8. Download jar file

wget https://sourceforge.net/projects/openkm/files/common/OKMInstaller.jar

Step9. Download and install tesseract

https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz
./autogen.sh
./configure
make
makeinstall
ldconfig

Step10. Run jar file on GUI

java -jar  OKMInstaller.jar 

Step11. Create database

mysql -u root -p
CREATE DATABASE okmdb DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_bin;
GRANT ALL PRIVILEGES ON okmdb.* TO openkm@'localhost' identified by 'xYYQX5QvRCXs';
SELECT User FROM mysql.user;
quit

Step12. Add credentials in server.xml file

vi /opt/tomcat/conf/server.xml
<Resource name="jdbc/OpenKMDS" auth="Container" type="javax.sql.DataSource"
             maxActive="100" maxIdle="30" maxWait="10000" validationQuery="select 1"
             username="openkm" password="Redhat@123_000" driverClassName="com.mysql.jdbc.Driver"
             url="jdbc:mysql://localhost:3306/okmdb?autoReconnect=true&useUnicode=true&characterEncoding=UTF8"/>

Step13. Configure openkm.cfg file

vi /opt/tomcat/OpenKM.cfg
hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
hibernate.hbm2ddl=create

Step14. Default credentials

Default User Name : okmAdmin
Password: admin

For Live Installation you may refer below youtube link:-

https://www.youtube.com/watch?v=pyVPnW9uxV0

LEAVE A REPLY

Please enter your comment!
Please enter your name here