Changes between Version 10 and Version 11 of projects/techies-of-color/workplan/q3


Ignore:
Timestamp:
Jan 9, 2013, 9:59:23 AM (7 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • projects/techies-of-color/workplan/q3

    v10 v11  
    5151less /usr/share/doc/owncloud/README.Debian
    5252}}}
     53 * Install MySQL server:
     54  * Install the debian package
     55{{{
     56apt-get install mysql-server
     57}}}
     58  * Use pwgen to generate a root password (from your local computer):
     59{{{
     60pwgen 15 1
     61}}}
     62  * Add the password to your /root/.my.cnf file
     63   * Open the file in an editor:
     64{{{
     65nano /root/.my.cnf
     66}}}
     67   * Add the contents:
     68{{{
     69[client]
     70user=root
     71password=YOURPASSWORDHERE
     72}}}
     73   * Ensure only root can read it:
     74{{{
     75chmod 600 /root/.my.cnf
     76}}}
     77 * Log into the database via the mysql command line client:
     78{{{
     79mysql
     80}}}
     81 * Create a database for owncloud:
     82{{{
     83CREATE DATABASE owncloud;
     84}}}
     85 * Create a user with full access to it.
     86  * Generate new random password (see above)
     87  * Grant access via mysql sql statement:
     88{{{
     89GRANT ALL ON owncloud.* TO 'owncloud'@'localhost' IDENTIFIED BY 'NEWPASSWORDHERE';
     90}}}
     91 * Visit the owncloud web installer via a web browser:
     92{{{
     93http://YOURVIRTUALSERVER/owncloud
     94}}}
     95
     96