ownCloud : Install2015/07/06 |
Install ownCloud which is the Cloud Storage Server.
|
|
[1] | |
[2] | The version of PHP provided on CentOS 6 is 5.3 but ownCloud 8 needs PHP 5.4 or later, so get Remi repository and install PHP 5.4. |
[root@dlp ~]#
[root@dlp ~]# yum -y install http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/remi.repo [root@dlp ~]# yum --enablerepo=remi -y install php php-mbstring php-pear php-pear-MDB2-Driver-mysqli php-pear-Net-Curl
|
[3] | |
[4] | Install ownCloud. |
[root@dlp ~]#
wget http://download.opensuse.org/repositories/isv:ownCloud:community/CentOS_CentOS-6/isv:ownCloud:community.repo -P /etc/yum.repos.d
[root@dlp ~]#
[root@dlp ~]# yum --enablerepo=remi -y install owncloud /etc/rc.d/init.d/httpd restart
|
[5] | Add user and database for ownCloud in MySQL. |
[root@dlp ~]# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.1.73 Source distribution Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
create database owncloud; Query OK, 1 row affected (0.00 sec)
mysql>
grant all privileges on owncloud.* to owncloud@'localhost' identified by 'password'; Query OK, 0 rows affected (0.00 sec)
mysql>
mysql> flush privileges; Query OK, 0 rows affected (0.00 sec) exit Bye |
[6] | Access to the URL "http://(your hostname or IP address)/owncloud/" from a client computer with Web browser. Then following screen is shown. Add an admin account for ownCloud, and also click "MySQL/MariaDB" in database section and input username or database name for MariaDB. If it's OK all, Click "Finish Setup" to proceed. |
[7] | Welcome is shown like follows if connection info to Database is correct one. |
[8] | This is ownCloud main page. It's possible to use ownCloud as cloud storage. |
Sponsored Link |
|