Javiertury (talk | contribs) No edit summary |
Javiertury (talk | contribs) |
||
Line 17: | Line 17: | ||
A web server | A web server | ||
* [[Apache HTTP Server]] | * [[Apache HTTP Server]] | ||
=== Install owncloud === | |||
<pre>$ su root | <pre>$ su root | ||
$ yum install owncloud owncloud-mysql owncloud-httpd</pre> | $ yum install owncloud owncloud-mysql owncloud-httpd</pre> | ||
Start [[MariaDB]] and [[Apache]] if they weren't already | Start [[MariaDB]] and [[Apache HTTP Server]] if they weren't already | ||
<pre>$ systemctl start httpd | <pre>$ systemctl start httpd | ||
$ systemctl start mariadb</pre> | $ systemctl start mariadb</pre> |
Revision as of 19:31, 1 May 2014
ownCloud is a AGPLv3 private file server
Features
- Online file storage
- Android compatibility
- Contacts(CarDAV) and calendar (CalDAV) synchronization
- Music streaming
- Many more
Installation
Requirements
A database
A web server
Install owncloud
$ su root $ yum install owncloud owncloud-mysql owncloud-httpd
Start MariaDB and Apache HTTP Server if they weren't already
$ systemctl start httpd $ systemctl start mariadb
Create a database
Log in as root
mysql -u root -p
Create a new databse
CREATE DATABASE IF NOT EXISTS owncloud;
Create a new user and grant him privileges
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON owncloud.* TO 'username'@'localhost' IDENTIFIED BY 'password';
Reload privileges and quit
FLUSH PRIVILEGES; quit
Setup owncloud
Open localhost/owncloud
in your browser and create the admin account. Also configure owncloud database parameters set previously.
Troubleshooting
Dynamic IP adress
If you have a dynamic IP address you can configure a dynamic DNS client, for example install inadyn-mt