Linux学习笔记-Centos7搭建owncloud私有云盘
作者:互联网
使用环境:虚拟机centos7
1、下载安装LAMP相关软件
[root@localhost yum.repos.d]# yum install httpd –y
[root@localhost yum.repos.d]# yum install mariadb mariadb-server –y
[root@localhost yum.repos.d]# yum install php php-mysql php-gd php-imap php-ldap php-pear php-xml php-xmlrpc -y
2、关闭防火墙和SELINUX,启动HTTP和mariadb
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# setenforce 0
[root@localhost ~]# systemctl start httpd
[root@localhost ~]# systemctl start mariadb
3、将owncloud源码上传至centos7
4、解压源码包并设置权限
[root@localhost html]# chown -R apache.apache owncloud
5、登录数据库,创建并配置owncloud数据库访问权限
[root@localhost ~]# mysql -u root -p
6、重启apache和mariadb服务,访问owncloud云盘系统
标签:mariadb,云盘,Centos7,owncloud,yum,php,root,localhost 来源: https://www.cnblogs.com/runt/p/12189212.html