Page 1 of 1

Struggling With CentOS Installation Instructions - Commands Not Working

PostPosted:Wed Apr 18, 2018 7:53 am
by FazzaGBR
I'm new to Linux so I'm following the step-by-step instructions on the OpenKM website. I'm literally copying and pasting the commands in to my CentOS 7 command prompt to avoid any errors but so far some of the commands are simply not working and I'm not sure if I'm doing something wrong or if the instructions are slightly out of date.

This command didn't work:
Code: Select all
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u121-b13/jdk-8u121-linux-x64.rpm -O jdk-8u121-linux-x64.rpm
So after around 60 minutes trying all sorts of things I found on Google, I finally found a different command that did work:

sudo yum install java-1.8.0-openjdk-devel

Hopefully this is OK?


I've managed to progress a bit further and have now run the "unzip openkm-6.3.2-community-tomcat-bundle.zip" and I'm getting an error saying that it cannot find or open the file - this is on surprise as at no point in the instructions is there a command to download this file so I'm at a loss at what to do now :(

Re: Struggling With CentOS Installation Instructions - Commands Not Working

PostPosted:Wed Apr 18, 2018 8:03 pm
by jllort
Oracle does upgrades periodically and older version cannot be longer downloaded, Now the actual oracle what you will be able for download is version jdk-8u171, if you go to Oracle download section http://www.oracle.com/technetwork/java/ ... index.html you can see it.

If you go to the official download page you will see what is the present file
http://www.oracle.com/technetwork/java/ ... 33151.html

Then, actual command line should be:
Code: Select all
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u171-b11/512cd62ec5174c3487ac17c61aaa89e8/jdk-8u171-linux-x64.rpm" -O jdk-8u171-linux-x64.rpm
Finally in our download section you have two videos what explain how installing the application with the OpenKM installation wizard. https://www.openkm.com/en/download.html I suggest you take a look on it https://www.youtube.com/watch?v=WJrkD2BdAJo