How to Install OwnCloud 9.0.2 on CentOS 7 / RHEL 7

ownCloud is based on PHP and a SQLite, MySQL, Oracle or PostgreSQL database, so it can run on all platforms that meet these requirements. It provides almost all possibility of functions that are available on commercial suites; it is released under AGPLv3 license, so you can setup own cloud storage server without any additional cost.

Commercial version of ownCloud is also available.
Features:

What’s new in ownCloud 9:

It is now easier to keep ownCloud updated with the channel of your choice via the built-in Updater app and our package repositories.
ownCloud Server  brings much improved performance in the areas of syncing, file operations and dealing with parallel requests.
To make ownCloud easier to use, documentation has been massively improved and integrated in the interface.

The following are the list of features available on ownCloud.

Mobile and Desktop Syncing
Share With Anybody
External Storage
Encryption and Security
Versioning and Undelete
Activity Feed
Calendars and Contacts
Collaborative Editing
Galleries
Play Music, Watch Movies, Store Passwords

Download and Setup:

Run the following shell commands as root to trust the repository.

rpm --import https://download.owncloud.org/download/repositories/stable/CentOS_7/repodata/repomd.xml.key

Run the following shell commands as root to add the repository and install from there.

wget http://download.owncloud.org/download/repositories/stable/CentOS_7/ce:stable.repo -O /etc/yum.repos.d/ce:stable.repo
yum clean expire-cache
yum install owncloud-files

Allow apache in firewall.

firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload

Allow the web server to read and write the files on ownCloud directory.

chown -R apache.apache /var/www/html/owncloud/

Start Apache .

systemctl start httpd.service

Auto start the service at system start-up.

systemctl enable httpd.service

SELinux:

Set SELinux to allow OwnCloud to write the data.

semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/owncloud/data'
restorecon '/var/www/html/owncloud/data'
semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/owncloud/config'
restorecon '/var/www/html/owncloud/config'
semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/owncloud/apps'
restorecon '/var/www/html/owncloud/apps'

Extra’s:

The default maximum file size for uploads is 512MB. You can increase this limit by editing .htaccess file.

vi /var/www/html/owncloud/.htaccess

Modify the below entries.

php_value upload_max_filesize 513M
php_value post_max_size 513M

Untitled

My OwnCloud

That’s All!.

You may also like

24 Comentários

  1. Hey! This is my 1st comment here so I just wanted to
    give a quick shout out and say I really enjoy reading through your posts.
    Can you recommend any other blogs/websites/forums that go over the same topics?

    Appreciate it!

  2. I feel tnat is among the most vital info for me. And i’m happy reading your article.
    However should statemet on some basic issues, The web site taste is
    great, the articls is truly great : D. Goodd task, cheers

  3. Howdy! I ϲould have sworn Ι’ve been to thiѕ web
    site before ƅut fter llooking ɑt some ߋf the posts I realjzed it’s new
    to me. Ⲛonetheless, Ӏ’m definiteⅼy happy I discovered іt and
    І’ll be book-marking іt and checking Ьack regularly!

  4. I knoᴡ this if off topic but I’m looking into ѕtarting my οwn blog and was curious what
    all is rеquired to get set up? I’m assuming having a blog like yours
    would cost a pretty penny? I’m not very web
    smart so I’m not 100% positive. Any tips or advice woᥙld be greatly appreciated.
    Thank you

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *