安装ownCloud私有云存储软件

ownCloud是一套open source的云端存储套件,可以安装在多种环境下,实现类似网盘的功能。

官方网站: www.owncloud.org


开始之前,先构建LAMP环境。

Installing Apache2 With PHP5 And MySQL Support On CentOS 6.4 (LAMP)


官方网站http://doc.owncloud.org/server/6.0/admin_manual/installation/index.html提供了多种环境下的多种安装方法,安装非常的简单当然是Linux Distributions


cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/isv:ownCloud:community/CentOS_CentOS-6/isv:ownCloud:community.repo
yum install owncloud


我在安装过程中出现了Error:


Error: Package: owncloud-5.0.7-4.1.noarch (isv_ownCloud_community)
           Requires: php-pear-Net-Curl
Error: Package: owncloud-5.0.7-4.1.noarch (isv_ownCloud_community)
           Requires: php-pear-MDB2-Driver-mysqli
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


通过Google,还需要 install missing repo:


rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install owncloud


打开Port 80 (HTTP Web Server Port)


# vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
## Open 443 port i.e. HTTPS
-A INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT


Save and close the file. Restart iptables service, enter:

# /etc/init.d/iptables restart


http://your_ip/owncloud



你可能感兴趣的:(owncloud,私有云存储)