http://zero-gravity.tistory.com/278
* 메모리 참고.
total used free shared buff/cache available
Mem: 1829 605 236 106 987 923
Swap: 3327 0 3327
# cd /etc/yum.repos.d/
# yum -y install owncloud
-----------------------
# vi /etc/httpd/conf.d/owncloud.conf
Alias /owncloud "/var/www/html/owncloud/"
<Directory "/var/www/html/owncloud">
Options +FollowSymLinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/html/owncloud
SetEnv HTTP_HOME /var/www/html/owncloud
</Directory>
<Directory "/var/www/html/owncloud/data/">
# just in case if .htaccess gets disabled
Require all denied
</Directory>
--------------------
---------------------
데이터 폴더 경로를 다른 경로로 할 경우,
# chown -R apache:apache [폴더 경로]
--------------------
# chmod -R 0770 [폴더 경로]
--------------------
# systemctl restart httpd.service