• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Tuesday, May 13, 2025
How VPS - How to use/setup VPS
  • Login
  • 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
11
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
Previous Post

How To Change Your Hostname on Debian

Next Post

Setup a Call of Duty 4 Server on Debian 7 x64

Next Post

Setup a Call of Duty 4 Server on Debian 7 x64

Leave a Reply Cancel reply

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

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

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"?

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

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • 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
  • About
  • Advertise
  • Careers
  • Contact

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

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

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

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet