How VPS - How to use/setup VPS
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System Debian

Installing ownCloud 7 on Debian 7

How VPS by How VPS
November 1, 2019
in Debian
0
0
SHARES
6
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Method 1: Using Apt Packages
    1. Add the repository to your sources list
    2. Install ownCloud
  2. Method 2: Manual Configuration
    1. Install dependencies
    2. Download ownCloud
    3. Unzip and move
    4. Configure Apache
  3. Want to contribute?


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

This guide assumes you have a brand-new Debian 7 VPS from Vultr, and that you’re logged in as root. If you are not logged in as root, type:

su -

… then enter your root password. You will now be logged in as the root user.

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.

Method 1: Using Apt Packages

This is the easier solution.

Add the repository to your sources list

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

echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/ /' >> /etc/apt/sources.list.d/owncloud.list

Once you have done that, simply do an apt update to make sure that all the packages are available and ready:

apt-get update

Install ownCloud

Install ownCloud through apt with this command:

apt-get install ownCloud

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).

And that’s it! You’re done. Continue setting up ownCloud by navigating to https://yourdomain.com/owncloud in your browser, and following the setup steps.

Method 2: Manual Configuration

This is the more difficult solution.

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.

Install dependencies

First off, we have to install the dependencies required by ownCloud to work.

apt-get install apache2 libapache2-mod-php5 php5-gd php5-common php5-sqlite php5-curl php5-intl php5-mcrypt php5-imagick

Download ownCloud

wget https://download.owncloud.org/community/owncloud-7.0.3.tar.bz2

Unzip and move

Unzip the ownCloud archive:

tar -xjf owncloud-7.0.3.tar.bz2

Delete the leftover tar file:

rm owncloud-7.0.3.tar.bz2

Move the extracted folder it to your web directory, by default located at /var/www:

mv owncloud /var/www/

Configure Apache

You will need to give your apache user full access to that directory:

chown -R www-data:www-data /var/www/

Make some modifications to our Apache config file:

nano /etc/apache2/sites-enabled/000-default

Change this block:

<Directory /var/www/>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride none
            Order allow,deny
            allow from all
</Directory>

… to the following:

<Directory /var/www/>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride All
            Order allow,deny
            allow from all
</Directory>

Save the file by typing CTRL + X, then Y, followed by ENTER.

Our last step is to enable an Apache mod, then restart Apache:

a2enmod rewrite
service apache2 restart

And you’re good to go! Continue setting up ownCloud by navigating to https://yourdomain.com/owncloud in your browser, and following the setup steps.

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
How VPS

How VPS

Related Posts

Debian

How to Install WonderCMS on Debian 9

November 1, 2019
Debian

Using MySQL Views on Debian 7

November 1, 2019
Debian

How to Install and Configure TaskBoard on Debian 9

November 1, 2019
Next Post

Setup a Call of Duty 4 Server on Debian 7 x64

How to Install Subrion 4.1 CMS on a Debian 9 LAMP VPS

Install HTMLDoc on Debian 9

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Follow Us

  • 121 Followers
  • 87.2k Followers

Recommended

How to Fix “failed to mount /etc/fstab” Error in Linux

4 years ago
Install BigTree CMS on a CentOS 7

How to Install BigTree CMS 4.2 on a CentOS 7 LAMP VPS

3 years ago

Installing Microweber on FreeBSD 12

4 years ago

How to Install Invoice Ninja on Ubuntu 16.04

3 years ago

Instagram

    Please install/update and activate JNews Instagram plugin.

Categories

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel

Topics

Apache Web Server Bluehost Review 2019 Bluehost Review 2020 Bluehost Review 2021 Centmin Mod CentminMod centos install htop fsck htop install HTTP DoS attack Install Snort on an Ubuntu install Zabbix on CentOS install Zabbix on CentOS 7 Linux Commands linux guide linux install htop linux vps setup guide MariaDB MariaDB Error Mysql mysqld error optimize MariaDB optimize Mysql snort Ubuntu
No Result
View All Result

Highlights

Top Free Web Hosting Control Panels To Manage VPS/Dedicated Servers

Webmin Reviews

Virtualmin Reviews

CentOS Web Panel Reviews

Ajenti Reviews

ISPConfig Reviews

Trending

Failed to download metadata for repo 'appstream' on Centos 8
CentOS

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

by How VPS
February 25, 2022
0

I tried to update some extensions by use yum on centOs which I specified in Dockerfile. After...

How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020
Top Free Web Hosting Control Panels To Manage VPS/Dedicated Servers

Top Free Web Hosting Control Panels To Manage VPS/Dedicated Servers

February 17, 2020
Webmin Reviews

Webmin Reviews

February 17, 2020
How VPS – How to use/setup VPS

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc. Visit our landing page to see all features & demos.
LEARN MORE »

Recent News

  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8 February 25, 2022
  • How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”? November 17, 2020
  • How to optimize Mysql or MariaDB November 3, 2020

Categories

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel

[mc4wp_form]

© 2018 JNews - City News Magazine WordPress theme. All rights belong to their respective owners.
JNews is a top selling 2018 WordPress News, Blog, Newspaper & Magazine Theme.

No Result
View All Result
  • Home

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.