Difference between revisions of "Knowledge:Cloud"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '== User and service == $ sudo adduser --disabled-password okm16 $ sudo vim /etc/init.d/tomcat == MySQL support == Now create databases and user: $ mysql -h localhost -u r…')
 
Line 1: Line 1:
 
== User and service ==
 
== User and service ==
 
   $ sudo adduser --disabled-password okm16
 
   $ sudo adduser --disabled-password okm16
   $ sudo vim /etc/init.d/tomcat
+
   $ cp /home/openkm/skel/tomcat /etc/init.d/tomcat-okm16
 +
  $ vim /etc/init.d/tomcat-okm16
  
 
== MySQL support ==
 
== MySQL support ==

Revision as of 17:00, 25 January 2013

User and service

 $ sudo adduser --disabled-password okm16
 $ cp /home/openkm/skel/tomcat /etc/init.d/tomcat-okm16
 $ vim /etc/init.d/tomcat-okm16

MySQL support

Now create databases and user:

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