How To Install Apache PHP MriaDB 기록
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=0opcache.load_comments=0opcache.enable_file_override=1
옛날 자료:

