Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
{"id":2558,"date":"2019-12-06T14:24:09","date_gmt":"2019-12-06T14:24:09","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2558"},"modified":"2019-12-06T19:07:45","modified_gmt":"2019-12-06T19:07:45","slug":"installing-owncloud-6-on-centos-6","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/installing-owncloud-6-on-centos-6\/","title":{"rendered":"Installing ownCloud 6 on CentOS 6"},"content":{"rendered":"

It\u00a0provides universal access<\/strong>\u00a0to your files via the web,\u00a0your computer or your mobile devices<\/strong>\u00a0\u2014 wherever you are. It also provides a platform to easily view and sync your contacts, calendars and bookmarks across all your devices and enables basic editing right on the web.<\/p>\n

The steps on this tutorial will help you to\u00a0install ownCloud on your CentOS-powered<\/strong>\u00a0virtual server using\u00a0Apache, PHP and SQLite<\/strong>. You can use\u00a0MySQL instead<\/strong>, but it\u2019s easier with SQLite.<\/p>\n

Keep on account that you will need root privileges for issuing some of the commands below. If you don\u2019t know what I mean, there is a great tutorial from the community here.<\/p>\n

Step 1 \u2014 Installing dependencies<\/strong><\/h3>\n

Let’s get started with some\u00a0basic commands to run Apache with PHP<\/strong>\u00a0(and some necessary modules) on our virtual server. Log into your\u00a0SSH console as root<\/strong>\u00a0and issue the following command.<\/p>\n

yum -y install httpd php php-gd php-intl php-sqlite php-xml-parser sqlite\r\n<\/code><\/pre>\n

Once installed, you will be able to start Apache.<\/strong><\/p>\n

service httpd start\r\n<\/code><\/pre>\n

It’s highly recommended to\u00a0config your system to run Apache<\/strong>\u00a0whenever your virtual server boots up. This can be done using a simple command.<\/p>\n

chkconfig httpd on\r\n<\/code><\/pre>\n

That\u2019s all! Go ahead and type your server\u2019s address<\/strong>\u00a0into your favorite browser to check that Apache is working fine.<\/p>\n

Step 2 \u2014 Downloading ownCloud<\/strong><\/h3>\n

We need to use the\u00a0wget<\/code>\u00a0command for\u00a0downloading ownCloud<\/strong>. Install\u00a0wget<\/code>\u00a0by issuing the following command.<\/p>\n

yum -y install wget\r\n<\/code><\/pre>\n

Now that we have\u00a0wget<\/code>\u00a0installed we can use it for\u00a0downloading the installation files from ownCloud\u2019s website<\/strong>. You can find the latest version of this file by visiting the official site.<\/p>\n

wget http:\/\/download.owncloud.com\/community\/owncloud-6.0.0a.tar.bz2\r\n<\/code><\/pre>\n

You almost got it!<\/strong>\u00a0Let\u2019s try\u00a0uncompressing<\/strong>\u00a0it with the\u00a0tar<\/code>\u00a0utility.<\/p>\n

tar -xjf owncloud-6.0.0a.tar.bz2\r\n<\/code><\/pre>\n

Remember to change the version if you have downloaded a newer version during the previous step.<\/p>\n

Step 3 \u2014 Moving to public<\/strong><\/h3>\n

You can move the\u00a0ownCloud files<\/strong>\u00a0to your public folder by running a simple command.<\/p>\n

mv owncloud \/var\/www\/html\r\n<\/code><\/pre>\n

The\u00a0\/var\/www\/html<\/code>\u00a0path is the main directory of your web server, so the\u00a0ownCloud installation<\/strong>\u00a0will be accessible from\u00a0http:\/\/yourdomain.com\/owncloud<\/code>. You can change it, it doesn\u2019t matter.<\/p>\n

Now we need to set the\u00a0correct permissions for Apache\u2019s user<\/strong>. This can be done running these\u00a0three commands<\/strong>.<\/p>\n

chown -R apache:apache \/var\/www\/html\/owncloud\/apps\r\nchown -R apache:apache \/var\/www\/html\/owncloud\/config\r\nchown -R apache:apache \/var\/www\/html\/owncloud\/data\r\n<\/code><\/pre>\n

Almost done!<\/strong>\u00a0The final step will be easy, I promise.<\/p>\n

Step 4 \u2014 Creating your user<\/strong><\/h3>\n

If you\u2019ve ran all these commands, your\u00a0ownCloud installation<\/strong>\u00a0should be ready to go. Open\u00a0http:\/\/yourdomain.com\/owncloud<\/code>\u00a0on your browser and fill the registration form. You\u2019re done!<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[109,231,242],"manual_kb_tag":[349],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2558"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=2558"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2558\/revisions"}],"predecessor-version":[{"id":2559,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2558\/revisions\/2559"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2558"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2558"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}