{"id":996,"date":"2012-05-28T12:45:47","date_gmt":"2012-05-28T16:45:47","guid":{"rendered":"http:\/\/www.eyoungwon.com\/journal\/?p=996"},"modified":"2012-05-28T14:17:00","modified_gmt":"2012-05-28T18:17:00","slug":"howto-create-your-own-cloud-server-in-10-minutes","status":"publish","type":"post","link":"https:\/\/eyoungwon.com\/journal\/howto-create-your-own-cloud-server-in-10-minutes\/","title":{"rendered":"HOWTO create your own cloud server in 10 minutes"},"content":{"rendered":"<p>Find a sponsor for your web site. <a href=\"http:\/\/www.shareasale.com\/r.cfm?b=44&amp;u=57463&amp;m=47&amp;urllink=&amp;afftrack=\">Get paid<\/a> for your great content. shareasale.com.<br \/>\n<a href=\"http:\/\/www.shareasale.com\/r.cfm?b=40&amp;u=57463&amp;m=47&amp;urllink=&amp;afftrack=\" target=\"_blank\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/www.shareasale.com\/image\/ani-go2net-email.gif\" alt=\"\" border=\"0\" \/><\/a><br \/>\nEyveryone loves using services like Dropbox or Boxnet. It&#8217;s almost 2012 &#8211; everyone has some kind of Cloud (buzz buzz) storage! Half of us do have hardware laying around that we&#8217;d love to convert into our own &#8216;cloud server&#8217; but never came across the right software. Instead we pay $9.99 each month to places like dropbox for 50gigs.<\/p>\n<p>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!<\/p>\n<p>This should take about 10 minutes. We&#8217;re starting with a new install of CentOS 5.7 on a VPS from\u00a0<a href=\"http:\/\/www.iqnection.com\/\" target=\"_blank\">IQnection<\/a>.<\/p>\n<p>First, install the webtatic repo:<\/p>\n<div>\n<div>Code:<\/div>\n<pre>rpm -Uvh http:\/\/repo.webtatic.com\/yum\/centos\/5\/latest.rpm<\/pre>\n<\/div>\n<p>Next, install the things needed for OwnCloud:<\/p>\n<div>\n<div id=\"highlighter_665976\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>\n<div>1<\/div>\n<\/td>\n<td>\n<div>\n<div><code>yum -y <\/code><code>install<\/code> <code>--enablerepo=webtatic git-all mysql mysql-server httpd php php-pecl-zip php-mysql php-mbstring<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Let&#8217;s make sure that httpd and mysqld start each boot and that they&#8217;re started now:<\/p>\n<div>\n<div id=\"highlighter_24769\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>\n<div>1<\/div>\n<div>2<\/div>\n<div>3<\/div>\n<div>4<\/div>\n<div>5<\/div>\n<\/td>\n<td>\n<div>\n<div><code>chkconfig --levels 235 mysqld on<\/code><\/div>\n<div><code>chkconfig --levels 235 httpd on<\/code><\/div>\n<div><code>service mysqld on<\/code><\/div>\n<div><code>service httpd on<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>For the sake of quick articles, we&#8217;re going to use the main server doc root .. cd into it and grab the latest owncloud:<\/p>\n<div>\n<div id=\"highlighter_228852\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>\n<div>1<\/div>\n<div>2<\/div>\n<div>3<\/div>\n<\/td>\n<td>\n<div>\n<div><code>cd<\/code> <code>\/var\/www\/html<\/code><\/div>\n<div><code>git clone git:<\/code><code>\/\/gitorious<\/code><code>.org<\/code><code>\/owncloud\/owncloud<\/code><code>.git<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Get the installation ready..<\/p>\n<div>\n<div id=\"highlighter_737342\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>\n<div>1<\/div>\n<div>2<\/div>\n<div>3<\/div>\n<div>4<\/div>\n<div>5<\/div>\n<\/td>\n<td>\n<div>\n<div><code>chown<\/code> <code>-R apache.apache owncloud\/<\/code><\/div>\n<div><code>mkdir<\/code> <code>owncloud<\/code><code>\/data<\/code><\/div>\n<div><code>chmod<\/code> <code>750 owncloud<\/code><code>\/data<\/code><\/div>\n<div><code>chmod<\/code> <code>777 owncloud<\/code><code>\/config<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Let&#8217;s create a database and add a user:<\/p>\n<div>\n<div id=\"highlighter_820358\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>\n<div>1<\/div>\n<div>2<\/div>\n<div>3<\/div>\n<div>4<\/div>\n<div>5<\/div>\n<\/td>\n<td>\n<div>\n<div><code>mysql -u root -p<\/code><\/div>\n<div><code>CREATE DATABSE owncloud;<\/code><\/div>\n<div><code>GRANT ALL ON owncloud.* TO <\/code><code>'owncloud'<\/code><code>@<\/code><code>'localhost'<\/code> <code>IDENTIFIED BY <\/code><code>'733Tpass'<\/code><code>;<\/code><\/div>\n<div><code>GRANT ALL ON owncloud.* TO <\/code><code>'owncloud'<\/code><code>@<\/code><code>'localhost.localdomain'<\/code> <code>IDENTIFIED BY <\/code><code>'733Tpass'<\/code><code>;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Edit the httpd conf file and make sure AllowOverride is set to All so our .htaccess works:<br \/>\n(find the following in your httpd.conf and match it up)<\/p>\n<div>\n<div id=\"highlighter_677388\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td>\n<div>1<\/div>\n<div>2<\/div>\n<div>3<\/div>\n<div>4<\/div>\n<div>5<\/div>\n<div>6<\/div>\n<div>7<\/div>\n<div>8<\/div>\n<\/td>\n<td>\n<div>\n<div><code>vim <\/code><code>\/etc\/httpd\/conf\/httpd<\/code><code>.conf<\/code><\/div>\n<div><code>&lt;Directory <\/code><code>\"\/var\/www\/html\"<\/code><code>&gt;<\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0\u00a0<\/code><code>Options Indexes FollowSymLinks<\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0\u00a0<\/code><code>AllowOverride All<\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0\u00a0<\/code><code>Order allow,deny<\/code><\/div>\n<div><code>\u00a0\u00a0\u00a0\u00a0<\/code><code>Allow from all<\/code><\/div>\n<div><code>&lt;<\/code><code>\/Directory<\/code><code>&gt;<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Now, point your favorite web browser at your new installation ( something like:\u00a0<a href=\"http:\/\/192.168.0.40\/owncloud\/\" target=\"_blank\">http:\/\/192.168.0.40\/owncloud\/<\/a>\u00a0) and have fun!<\/p>\n<p>First use, you&#8217;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.<\/p>\n<p>Posted by Rob<br \/>\n<a href=\"http:\/\/www.linuxforum.com\/threads\/1260-HOWTO-create-your-own-cloud-server-in-10-minutes\" target=\"_blank\">http:\/\/www.linuxforum.com<\/a><\/p>\n<p>Find a sponsor for your web site. <a href=\"http:\/\/www.shareasale.com\/r.cfm?b=44&amp;u=57463&amp;m=47&amp;urllink=&amp;afftrack=\">Get paid<\/a> for your great content. shareasale.com.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Find a sponsor for your web site. Get paid for your great content. shareasale.com. Eyveryone loves using services like Dropbox or Boxnet. It&#8217;s almost 2012 &#8211; everyone has some kind of Cloud (buzz buzz) storage! Half of us do have hardware laying around that we&#8217;d love to convert into our own &#8216;cloud server&#8217; but never [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[394,39],"tags":[407,408,409,406,405,810,410],"class_list":["post-996","post","type-post","status-publish","format-standard","hentry","category-vps","category-web-hosting","tag-boxnet","tag-cloud-server","tag-cloud-server-tutorial","tag-dropbox","tag-owncloud-org","tag-vps","tag-vps-tuts"],"_links":{"self":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts\/996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/comments?post=996"}],"version-history":[{"count":5,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts\/996\/revisions"}],"predecessor-version":[{"id":998,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/posts\/996\/revisions\/998"}],"wp:attachment":[{"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/media?parent=996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/categories?post=996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eyoungwon.com\/journal\/wp-json\/wp\/v2\/tags?post=996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}