RHEL7.0下安装owncloud8.8

1.安装工具

# yum install wget

2.获取mysql-server的网络yum源

#wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm

3.安装网络yum源

#rpm -ivh mysql-community-release-el7-5.noarch.rpm

4.安装mysql                           

#yum install mysql-server

5.修复mysql登陆时拒绝root@localhost的情况

#mysqld_safe --user=mysql --skip-grant-tables --skip-networking &

6.为owncloud创建一个cloud数据库

#mysql -u root -p     /*输入root的密码*/

mysql> exit

7.安装依赖包

#yum install php-mysql php-json php-xml php-mbstring php-zip php-gd curl php-curl php-pdo vsftp http

8.配置Apache服务

配置如下:

8.下载owncloud

9.配置owncloud

#chown -R apache:apache owncloud/

#chmod 777 owncloud/config/

10.重启服务

#systemctl restart mysqld.service
#systemctl restart httpd.service
#systemctl restart vsftpd.service 

11.关闭火墙

#iptables -F

#setenfoce 0

Complete!!!






你可能感兴趣的:(owncloud,rhel7.0,rhel7.0)