Installing and Configuring ownCloud on Debian 7
Traducciones al EspañolEstamos traduciendo nuestros guías y tutoriales al Español. Es posible que usted esté viendo una traducción generada automáticamente. Estamos trabajando con traductores profesionales para verificar las traducciones de nuestro sitio web. Este proyecto es un trabajo en curso.
This guide has been deprecated and is no longer being maintained.
ownCloud is an open source platform that allows easy access to files from multiple locations and platforms. It’s compatible with most major operating systems and mobile devices. With ownCloud you can store files on your Linode and then access them wherever you go.
Installing ownCloud on your Linode is very simple. The steps outlined below will get you up and running with a drag and drop GUI interface. An ownCloud server could benefit from large amounts of disk space, so consider using our Block Storage service with this setup.
Before you can use your Linode with ownCloud you will need to have a working LAMP (Linux, Apache, MySQL, and PHP) stack. For more information on how to create a LAMP stack on your Linode consult our LAMP Guides.
This guide is written for a non-root user. Commands that require elevated privileges are prefixed with
sudo. If you’re not familiar with the
sudo command, you can check our
Users and Groups guide.
To obtain the most recent and stable application release, add the ownCloud repository to the apt source list. Begin by creating the new list file:
sudo touch /etc/apt/sources.list.d/owncloud.list
Enter the following path into the file:
deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/ /
Download the key associated with ownCloud:
Add the key so apt may validate the files:
sudo apt-key add - < Release.key
Update your package lists:
sudo apt-get update
sudo apt-get install owncloud
sudo a2enmod ssl
To use the certificate and key generated by the ssl-cert package, use the command:
sudo a2ensite default-ssl
Restart the Apache service:
sudo service apache2 reload
Since the LAMP stack utilizes MySQL, ownCloud can be configured to use this database instead of SQLite. However, you will need to create a database for ownCloud to use.
Login to MySQL:
mysql -u root -p
Create a MySQL database:
CREATE DATABASE owncloud;
For this example owncloud is the name of the database. You can use whatever name you choose.
Assign privileges to the newly created database:
GRANT ALL ON owncloud.* to 'owncloud'@'localhost' IDENTIFIED BY 'password';
passwordis a variable, so you may make it what you choose.
Exit MySQL with either:
Connect to ownCloud in a browser using the Linode’s IP address:
Create an ownCloud account by entering a user name and password.
Click on Advanced, select MySQL and enter the following information:
- User name
- Database Name
Click on the Finish Setup button.
You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.
This page was originally published on