Features:
The following are the list of features available on ownCloud.- File storage in conventional directory structures
- Cryptography
- Synchronization of data with th desktop, web client or mobile app.
- Calendar (also as CalDAV)
- Task scheduler
- Address book (also as CardDAV)
- Music streaming (through Ampache)
- User and group administration (via OpenID or LDAP)
- Sharing of content across groups or public URLs
- Online text editor with syntax highlighting and code folding
- Bookmarking
- URL shortening Suite
- Photo gallery
- PDF viewer (using pdf.js)
- Viewer for ODF Files (.odt, .odp, .ods)
- Supports uploading of avatar picture.
- Shows thumbnail of documents
- Supports web conflict dialogue box when the file already exits.
- With activity feed, you can see whats going on
- New design
- User can restore the deleted files.
- Improved sharing between two owncloud installation.
- Faster and more efficient design, suitable for mobile devices
- Store, Access and Control
Here is the small guide to setup ownCloud 7 on CentOS 7.
Prerequisites:
As mentioned earlier, it is based on PHP and database combination, database can be any of the above four. So install PHP, Apache web server and MySQL server on CentOS 7. For demo purpose i installed both SQLite and MySQL on CentOS, we will talk about reason behind later.yum install httpd php php-mysql mariadb-server mariadb sqlite php-dom php-mbstring php-gd php-pdo wget |
setsebool -P httpd_unified 1 |
firewall-cmd --permanent --zone=public --add-service=http firewall-cmd --permanent --zone=public --add-service=https firewall-cmd --reload |
systemctl start httpd.service systemctl start mariadb.service |
systemctl enable httpd.service systemctl enable mariadb.service |
Download and Setup:
Download ownCloud from official website or enter the fallowing command on terminal.wget https://download.owncloud.org/community/owncloud-7.0.0.tar.bz2 |
tar -jxvf owncloud-7.0.0.tar.bz2 -C /var/www/html/ |
chown -R apache.apache /var/www/html/owncloud/ |
Create Database:
If you are setting up a MariaDB for the first time, here is the tutorial on Securing MariaDB. MariaDB server must be started before creating the database, login to MySQL server.mysql -u root -p |
create database clouddb; |
grant all on clouddb.* to 'clouddbuser'@'localhost' identified by 'password'; |
Configure Apache server:
While configuring Apache web server, it is recommended that you to enable .htaccess to get a enhanced security features, by default .htaccess is disabled in Apache server. To enable it, open your virtual host file and make AllowOverride is set to All.For example, here i used external config file instead of modifying main file.vi /etc/httpd/conf.d/owncloud.conf |
<IfModule mod_alias.c>
Alias /owncloud /var/www/html/owncloud
</IfModule>
<Directory “/var/www/html/owncloud”>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
Remember to restart all services related to Apache server.Alias /owncloud /var/www/html/owncloud
</IfModule>
<Directory “/var/www/html/owncloud”>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
systemctl restart httpd.service |
Open up web browser, point a URL to http://your-ip-address/owncloud ( http://Your-custom-domain). Browser will automatically take you to ownCloud setup page where it must be configured before going to live. Enter admin user name, password, data folder location and database details. You can choose any one of the database from SQLite or MySQL. If you choose SQLite database, you do not require to enter database details. where as MySQL database requires database user, password and data base name.
Alternately you can download ownCloud client to upload the files.
Home page will look like this, you can start uploading the contents using upload button.
That’s All!.
0 comments:
Post a Comment