서버관리/Linux
CentOS7에 웹서버 세팅하기(Apache+PHP+MariaDB)
1. Apache와 MariaDB 설치 #yum -y install httpd mariadb mariadb-server #systemctl enable httpd //apache웹서버 자동부팅 설정 #systemctl start httpd //웹서버 실행 #systemctl enable mariadb //mariadb 자동부팅 설정 #systemctl start mariadb //디비서버 실행 2. PHP7.2 설치 /* epel 와 remi 저장소 설치 */ #yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm #yum install http://rpms.remirepo.net/enterprise/remi-..
2019. 8. 4. 13:22