CentOS 7에 Apache2, php7.3, MariaDB 설치하기
2019.09.02 06:35
원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어
Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
1. set repositories
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
# yum install epel-release
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
2. install mariadb
# yum install mariadb-server mariadb
# mysql_secure_installation
3. install httpd
# yum install httpd
4. install php
# yum install yum-utils
# subscription-manager repos --enable=rhel-7-server-optional-rpms
# yum-config-manager --enable remi-php73
# yum update
# yum search php73 | more
# yum install php73 php73-php-fpm php73-php-gd php73-php-json php73-php-mbstring php73-php-mysqlnd php73-php-xml php73-php-xmlrpc php73-php-opcache curl curl-devel
5. install php-mysqlnd
# yum install php-mysqlnd php-pdo
6. install phpMyAdmin
# yum install phpMyAdmin