Skip to content
다크 모드

How To Install Apache PHP MriaDB 기록

조회 수
1,404
추천 수
1
등록일

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 14.04


How To Find your Server's Public IP Address

ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//'


rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm

rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm


yum update -y

yum install mariadb-server mariadb libaio

systemctl start mariadb.service

systemctl enable mariadb.service

mysql_secure_installation


yum -y install httpd

systemctl start httpd.service

systemctl enable httpd.service


yum --enablerepo=remi,remi-php55 install php55w php55w-opcache php55w-mysql php55w-pecl-memcache php55w-pecl-igbinary php55w-gd php55w-ldap php55w-odbc php55w-pear php55w-xml php55w-xmlrpc php55w-mbstring php55w-snmp php55w-soap curl curl-devel


systemctl restart httpd.service


vi /var/www/html/info.php

 

systemctl restart httpd.service


/etc/php.d/opcache.ini

opcache.max_accelerated_files=20000

opcache.save_comments=0
opcache.load_comments=0
opcache.enable_file_override=1



옛날 자료:

CentOS 6 - MySQL 5.5 설치

자동 백업 / 삭제 (data + mysql)


가입인사 작성 후 다운로드, 게시글/댓글 등록이 가능합니다.
가입인사 게시판에 작성한 내용은 자기소개글로 자동 등록됩니다.
댓글 6
권한이 없습니다.
다크 모드