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":2781,"date":"2019-12-14T19:28:04","date_gmt":"2019-12-14T19:28:04","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2781"},"modified":"2019-12-22T00:57:10","modified_gmt":"2019-12-22T00:57:10","slug":"installing-owncloud-7-on-debian-7","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/installing-owncloud-7-on-debian-7\/","title":{"rendered":"Installing ownCloud 7 on Debian 7"},"content":{"rendered":"

ownCloud is a Dropbox-like service that runs on your own VPS. It gives you full control over space, users, and various other features.<\/p>\n

This guide assumes you have a brand-new Debian 7 VPS from AKLWEB HOST<\/strong>, and that you’re logged in as root. If you are not logged in as root, type:<\/p>\n

su -\r\n<\/code><\/pre>\n

… then enter your root password. You will now be logged in as the root user.<\/p>\n

There are two ways to install ownCloud. The first way will use their apt package, and it will automatically install itself. The other is using the manual installation, which gives you more flexibility as well as the outside input of a web server like Nginx or Apache. We will be using Apache with the manual instructions.<\/p>\n

Method 1: Using Apt Packages<\/h3>\n

This is the easier solution.<\/p>\n

Add the repository to your sources list<\/h4>\n

Let’s start by adding the repository that includes ownCloud to your sources list. This can be done easily by using this command:<\/p>\n

echo 'deb http:\/\/download.opensuse.org\/repositories\/isv:\/ownCloud:\/community\/Debian_7.0\/ \/' >> \/etc\/apt\/sources.list.d\/owncloud.list\r\n<\/code><\/pre>\n

Once you have done that, simply do an apt update to make sure that all the packages are available and ready:<\/p>\n

apt-get update\r\n<\/code><\/pre>\n

Install ownCloud<\/h4>\n

Install ownCloud through apt with this command:<\/p>\n

apt-get install ownCloud\r\n<\/code><\/pre>\n

It will warn you regarding verification of the package – just type “y” to continue. This is a precaution done by Debian to ensure that you are fully aware of what you are installing and where it is being installed from (which we are).<\/p>\n

And that’s it! You’re done. Continue setting up ownCloud by navigating to\u00a0https:\/\/yourdomain.com\/owncloud<\/code>\u00a0in your browser, and following the setup steps.<\/p>\n

Method 2: Manual Configuration<\/h3>\n

This is the more difficult solution.<\/p>\n

If you have an existing VPS that already has a web server on it, follow this method for a bit more flexibility along the way.<\/p>\n

Install dependencies<\/h4>\n

First off, we have to install the dependencies required by ownCloud to work.<\/p>\n

apt-get install apache2 libapache2-mod-php5 php5-gd php5-common php5-sqlite php5-curl php5-intl php5-mcrypt php5-imagick\r\n<\/code><\/pre>\n

Download ownCloud<\/h4>\n
wget https:\/\/download.owncloud.org\/community\/owncloud-7.0.3.tar.bz2\r\n<\/code><\/pre>\n

Unzip and move<\/h4>\n

Unzip the ownCloud archive:<\/p>\n

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

Delete the leftover tar file:<\/p>\n

rm owncloud-7.0.3.tar.bz2\r\n<\/code><\/pre>\n

Move the extracted folder it to your web directory, by default located at\u00a0\/var\/www<\/code>:<\/p>\n

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

Configure Apache<\/h4>\n

You will need to give your\u00a0apache<\/code>\u00a0user full access to that directory:<\/p>\n

chown -R www-data:www-data \/var\/www\/\r\n<\/code><\/pre>\n

Make some modifications to our Apache config file:<\/p>\n

nano \/etc\/apache2\/sites-enabled\/000-default\r\n<\/code><\/pre>\n

Change this block:<\/p>\n

<Directory \/var\/www\/>\r\n            Options Indexes FollowSymLinks MultiViews\r\n            AllowOverride none\r\n            Order allow,deny\r\n            allow from all\r\n<\/Directory>\r\n<\/code><\/pre>\n

… to the following:<\/p>\n

<Directory \/var\/www\/>\r\n            Options Indexes FollowSymLinks MultiViews\r\n            AllowOverride All\r\n            Order allow,deny\r\n            allow from all\r\n<\/Directory>\r\n<\/code><\/pre>\n

Save the file by typing\u00a0CTRL<\/strong>\u00a0+\u00a0X<\/strong>, then\u00a0Y<\/strong>, followed by\u00a0ENTER<\/strong>.<\/p>\n

Our last step is to enable an Apache mod, then restart Apache:<\/p>\n

a2enmod rewrite\r\nservice apache2 restart\r\n<\/code><\/pre>\n

And you’re good to go! Continue setting up ownCloud by navigating to\u00a0https:\/\/yourdomain.com\/owncloud<\/code>\u00a0in your browser, and following the setup steps.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[233,242],"manual_kb_tag":[429],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2781"}],"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=2781"}],"version-history":[{"count":2,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2781\/revisions"}],"predecessor-version":[{"id":2839,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2781\/revisions\/2839"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2781"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2781"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}