# java -jar /software/OKMInstaller.jar
Running in Linux: 0.9.1-CE (build: 445bef5)
Linux distro: rhel (Red Hat Enterprise Linux Server - 7.2)
Local host: openkmtest (10.10.12.253)
Java version: 1.8.0_131
Free disk size: 34.7 GB
RAM size: 3.7 GB
CPU cores: 4
Current directory: /openkm Database [h2]: mysql
Database host [localhost]:
Database name [okmdb]: okmdb
Database user [openkm]: openkm
Database password [vTpSO0sTdcwB]: openkm
---------------------------
- Database: mysql
- Database host: localhost
- Database name: okmdb
- Database user: openkm
- Database password: openkm
- Install version: 6.3.4
---------------------------
Start install process? [y/N]: y - Downloading Tomcat: 7.0.61
....*.... 10% ....*.... 20% ....*.... 30% ....*.... 40% ....*.... 50% ....*.... 60% ....*.... 70% ....*.... 80% ....*.... 90% ....*.... 100%
- Unzipping archive... Done!
- Fix permissions... Done!
- Downloading OpenKM: 6.3.4
....*.... 10% ....*.... 20% ....*.... 30% ....*.... 40% ....*.... 50% ....*.... 60% ....*.... 70% ....*.... 80% ....*.... 90% ....*.... 100%
- Unzipping archive... Done!
- Check archive integrity... Done!
- Copy OpenKM
- Configure OpenKM
- Configure service
- Install dependencies
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Package pciutils-3.2.1-4.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick.x86_64 0:6.7.8.9-10.el7 will be installed
--> Processing Dependency: libwmflite-0.2.so.7()(64bit) for package: ImageMagick-6.7.8.9-10.el7.x86_64
--> Processing Dependency: libImath.so.6()(64bit) for package: ImageMagick-6.7.8.9-10.el7.x86_64
--> Processing Dependency: libIlmThread.so.6()(64bit) for package: ImageMagick-6.7.8.9-10.el7.x86_64
--> Processing Dependency: libIlmImf.so.7()(64bit) for package: ImageMagick-6.7.8.9-10.el7.x86_64
--> Processing Dependency: libIexMath.so.6()(64bit) for package: ImageMagick-6.7.8.9-10.el7.x86_64
--> Processing Dependency: libIex.so.6()(64bit) for package: ImageMagick-6.7.8.9-10.el7.x86_64
--> Processing Dependency: libHalf.so.6()(64bit) for package: ImageMagick-6.7.8.9-10.el7.x86_64
--> Running transaction check
---> Package OpenEXR-libs.x86_64 0:1.7.1-7.el7 will be installed
---> Package ilmbase.x86_64 0:1.0.3-7.el7 will be installed
---> Package libwmf-lite.x86_64 0:0.2.8.4-41.el7_1 will be installed
--> Finished Dependency Resolution Dependencies Resolved =================================================================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================================================================
Installing:
ImageMagick x86_64 6.7.8.9-10.el7 rhel-source 2.1 M
Installing for dependencies:
OpenEXR-libs x86_64 1.7.1-7.el7 rhel-source 217 k
ilmbase x86_64 1.0.3-7.el7 rhel-source 100 k
libwmf-lite x86_64 0.2.8.4-41.el7_1 rhel-source 66 k Transaction Summary
=================================================================================================================================================================================
Install 1 Package (+3 Dependent packages) Total download size: 2.5 M
Installed size: 9.1 M
Downloading packages:
(1/4): OpenEXR-libs-1.7.1-7.el7.x86_64.rpm | 217 kB 00:00:00
(2/4): ilmbase-1.0.3-7.el7.x86_64.rpm | 100 kB 00:00:00
(3/4): libwmf-lite-0.2.8.4-41.el7_1.x86_64.rpm | 66 kB 00:00:00
(4/4): ImageMagick-6.7.8.9-10.el7.x86_64.rpm | 2.1 MB 00:00:00
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 14 MB/s | 2.5 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : ilmbase-1.0.3-7.el7.x86_64 1/4
Installing : OpenEXR-libs-1.7.1-7.el7.x86_64 2/4
Installing : libwmf-lite-0.2.8.4-41.el7_1.x86_64 3/4
Installing : ImageMagick-6.7.8.9-10.el7.x86_64 4/4
Verifying : ilmbase-1.0.3-7.el7.x86_64 1/4
Verifying : ImageMagick-6.7.8.9-10.el7.x86_64 2/4
Verifying : OpenEXR-libs-1.7.1-7.el7.x86_64 3/4
Verifying : libwmf-lite-0.2.8.4-41.el7_1.x86_64 4/4 Installed:
ImageMagick.x86_64 0:6.7.8.9-10.el7 Dependency Installed:
OpenEXR-libs.x86_64 0:1.7.1-7.el7 ilmbase.x86_64 0:1.0.3-7.el7 libwmf-lite.x86_64 0:0.2.8.4-41.el7_1 Complete! Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Package 2:vim-enhanced-7.4.160-1.el7.x86_64 already installed and latest version
Nothing to do
- Set default JDK
- Fix permissions...
- Directory cleanup
- Don't forget to create the database
CREATE DATABASE okmdb DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_bin;
CREATE USER openkm@localhost IDENTIFIED BY 'openkm';
GRANT ALL ON okmdb.* TO openkm@localhost WITH GRANT OPTION; create database okmdb default character set utf8 default collate utf8_bin;
create user openkm@'%' identified by 'openkm';
grant all on okmdb.* to openkm@'%' with grant option;

  

05-13 20:55