Difference between revisions of "Knowledge:Linux CentOS"
From OpenKM Documentation
Line 1: | Line 1: | ||
− | == | + | == User and service == |
+ | $ sudo adduser openkm | ||
+ | $ 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: | ||
+ | |||
$ yum install libreoffice* ImageMagick | $ yum install libreoffice* ImageMagick | ||
− | == Oracle JDK == | + | === Oracle JDK === |
Versión 32 bits: | Versión 32 bits: | ||
$ wget --no-check-certificate --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/7u40-b43/jdk-7u40-linux-i586.rpm" | $ wget --no-check-certificate --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/7u40-b43/jdk-7u40-linux-i586.rpm" | ||
Line 16: | Line 27: | ||
$ alternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 20000 | $ alternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 20000 | ||
− | == Compilar Cuneiform == | + | === Compilar Cuneiform === |
Si ya está instalado, desinstalar: | Si ya está instalado, desinstalar: | ||
Line 30: | Line 41: | ||
$ rpm -ivh rpmbuild/RPMS/x86_64/cuneiform-multilang-1.1.0-1.el6.x86_64.rpm | $ rpm -ivh rpmbuild/RPMS/x86_64/cuneiform-multilang-1.1.0-1.el6.x86_64.rpm | ||
+ | |||
+ | == Download and install application == | ||
+ | Descargar y descomprimir la aplicación (password eMpg8eIjY5): | ||
+ | |||
+ | $ wget http://openkm.com/download/okm/Tomcat-7.0.27.zip | ||
+ | $ wget http://openkm.com/download/okm/OpenKM-6.2.20.zip | ||
Más info: | Más info: | ||
* [http://www.ph-lwug.org/index.php?option=com_content&view=article&id=102 Document Management System using OpenKM on CentOS 6 Deployment Guide] | * [http://www.ph-lwug.org/index.php?option=com_content&view=article&id=102 Document Management System using OpenKM on CentOS 6 Deployment Guide] |
Revision as of 12:19, 17 September 2013
Contents
User and service
$ sudo adduser openkm $ 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:
$ yum install libreoffice* ImageMagick
Oracle JDK
Versión 32 bits:
$ wget --no-check-certificate --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/7u40-b43/jdk-7u40-linux-i586.rpm" $ rpm -Uvh jdk-7u40-linux-i586.rpm
Versión 64 bits:
$ wget --no-check-certificate --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/7u40-b43/jdk-7u40-linux-x64.rpm" $ rpm -Uvh jdk-7u40-linux-x64.rpm
Luego para poner este Java como por defecto:
$ alternatives --install /usr/bin/java java /usr/java/latest/bin/java 20000 $ alternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 20000
Compilar Cuneiform
Si ya está instalado, desinstalar:
$ yum remove cuneiform-multilang
Ahora instalamos los fuentes y compilamos:
$ wget http://downloads.naulinux.ru/pub/NauLinux/6.2/x86_64/sites/School/SRPMS/cuneiform-multilang-1.1.0-1.el6.src.rpm $ yum install cmake ImageMagick-c++-devel $ rpmbuild --rebuild cuneiform-multilang-1.1.0-1.el6.src.rpm
Los RPMs compilados se encontrarán en "rpmbuild/RPMS/x86_64/". Ahora instalamos el paquete:
$ rpm -ivh rpmbuild/RPMS/x86_64/cuneiform-multilang-1.1.0-1.el6.x86_64.rpm
Download and install application
Descargar y descomprimir la aplicación (password eMpg8eIjY5):
$ wget http://openkm.com/download/okm/Tomcat-7.0.27.zip $ wget http://openkm.com/download/okm/OpenKM-6.2.20.zip
Más info: