owncloud
インストール [#fc42a5a1]
# yum install php-common php-mbstring php-mysql php-gd
owncloud download & unarchive [#kda649d9]
# cd /usr/local/src/
# wget https://download.owncloud.org/community/owncloud-7.0.1.tar.bz2 --no-check-certificate
# owncloud-7.0.1.tar.bz2
# tar xfv owncloud-7.0.1.tar
# mv owncloud /var/www/
Configure Apache [#qa9ab109]
# cd /etc/httpd/conf.d/
# vi owncloud.conf
<VirtualHost *:80>
ServerName owc.test.com
DocumentRoot /var/www/owncloud
<Directory "/var/www/owncloud">
AllowOverride All
</Directory>
</Virtualhost>
Configure MySQL [#i1aa2892]
# mysql -u root -p
mysql> create database owncloud;
Query OK, 1 row affected (0.27 sec)
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| owncloud |
+--------------------+
4 rows in set (0.00 sec)
mysql> grant all privileges on owncloud.* to DBユーザー@localhost identified by 'パスワード';
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
Setup [#jad880b6]
01.ブラウザでサーバーへアクセス
02.必要情報の入力
03.[セットアップを完了します]をクリック