Friday, June 8, 2012

Run you OWNCLOUD on CentOS/REDHAT/FEDORA

  1. Install the following packages:    yum -y install httpd php php-mysql php-mbstring php-devel mysql mysql-server zlib zlib-devel pcre-devel phpmyadmin 
  2. Download ownCloud3 sources from here
  3. Extract and copy the resultant owncloud/ directory to /var/www/html
  4. ‘cd’ to /var/www/html and set appropriate permission to owncloud directory so that apache can read/write from/to it: $sudo  chown -R apache:apache owncloud/
  5. Start Apache server: $ sudo service httpd start
  6. Start MySQL server: $ sudo service mysql start and change the root password using $mysqladmin -u root password PASSWORD
  7. Create a MySQL database that you want ownCloud to use by going to: http://localhost/phpmyadmin
  8. Start ownCloud: http://localhost/owncloud and setup other users or simply start using for storing files
  9. Use PageKite to make your cloud publicly accessible as detailed here