Knowledge:Cloud

From OpenKM Documentation
Revision as of 18:52, 25 January 2013 by Pavila (talk | contribs)

Jump to: navigation, search

User

 $ adduser --disabled-password okmXX

Service

 $ cp /home/openkm/skel/tomcat_okm /etc/init.d/tomcat-okmXX
 $ chmod 755 /etc/init.d/tomcat-okmXX
 $ update-rc.d tomcat-okmXX defaults

Ahora hay que estableder el id de la instancia de cloud:

 $ vim /etc/init.d/tomcat-okmXX

MySQL support

Now create databases and user:

 $ mysql -h localhost -u root -p
 mysql> CREATE USER okmXX@localhost IDENTIFIED BY '*secret*';
 mysql> CREATE DATABASE okmXX_app DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_bin;
 mysql> GRANT ALL ON okmXX_app.* TO okmXX@localhost WITH GRANT OPTION;


Backup

 $ cp /home/openkm/skel/backup_okm.sh /root/backup_okmXX.sh
 $ mkdir /root/okmXX