Knowledge:Linux Debian
From OpenKM Documentation
User and service
$ sudo adduser --disabled-password openkm $ sudo adduser openkm admin $ sudo vim /etc/init.d/tomcat
Script from http://wiki.openkm.com/index.php/Configure_Tomcat_service
$ sudo chmod 755 /etc/init.d/tomcat $ sudo update-rc.d tomcat defaults
Required packages
Install basic packages:
$ sudo aptitude install apache2 rdiff-backup ghostscript msttcorefonts imagemagick $ sudo aptitude install libreoffice clamav unzip python-software-properties
Install Java JDK (Ubuntu 12.04 - Precise Pangolin):
$ sudo vim /etc/apt/sources.list.d/sun-jdk.list
Add this entry:
deb http://openkm.com/download/okm/jdk/deb /
And now update and install:
$ sudo apt-get update $ sudo apt-get install sun-java6-jdk sun-java6-fonts
Uninstall OpenJDK packages:
$ dpkg -l | grep openjdk $ dpkg -l | grep icedtea $ sudo apt-get purge icedtea-netx icedtea-6-jre-jamvm icedtea-6-jre-cacao openjdk-6-jre openjdk-6-jre-lib openjdk-6-jre-headless $ sudo apt-get autoremove