Everyone loves using services like Dropbox or Boxnet. It's almost 2012 - everyone has some kind of Cloud (buzz buzz) storage! Half of us do have hardware laying around that we'd love to convert into our own 'cloud server' but never came across the right software. Instead we pay $9.99 each month to places like dropbox for 50gigs.
Luckily, the people at OwnCloud.org have released their own open source software that works as a web app ready to help you store things, create bookmarks, keep a calendar, contacts, etc.. AND share it to anyone you want.. using YOUR hardware!
This should take about 10 minutes. We're starting with a new install of CentOS 5.7 on a VPS from IQnection.
Let's make sure that httpd and mysqld start each boot and that they're started now: chkconfig --levels 235 mysqld on chkconfig --levels 235 httpd on service mysqld on service httpd on
For the sake of quick articles, we're going to use the main server doc root .. cd into it and grab the latest owncloud: cd /var/www/html git clone git://gitorious.org/owncloud/owncloud.git
Get the installation ready.. chown -R apache.apache owncloud/ mkdir owncloud/data chmod 750 owncloud/data chmod 777 owncloud/config
Let's create a database and add a user: mysql -u root -p CREATE DATABSE owncloud; GRANT ALL ON owncloud.* TO 'owncloud'@'localhost' IDENTIFIED BY '733Tpass'; GRANT ALL ON owncloud.* TO 'owncloud'@'localhost.localdomain' IDENTIFIED BY '733Tpass';
Edit the httpd conf file and make sure AllowOverride is set to All so our .htaccess works: (find the following in your httpd.conf and match it up) vim /etc/httpd/conf/httpd.conf Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all
First use, you'll have to create an admin username and password, as well as give your mysql information that you created earlier. As long as you followed these instructions, you should be good to go. Leave a comment if you run into any issues - I may have missed writing something down!
You can always catch the owncloud guys on #owncloud on irc.freenode.net (and don't forget about #linuxforum.com)