LAMP (Linux, Apache, MariaDB, PHP)[edit]
for PHP[edit]
600 yum install epel-release
601 rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
605 yum remove php-*
606 yum install --enablerepo=remi,remi-php71 php php-devel php-mbstring php-pdo php-gd php-xml php-mcrypt
607 vi /etc/httpd/conf/httpd.conf
608 yum update
609 php --version
626 yum install --enablerepo=remi,remi-php71 php php-mysqli
633 yum install --enablerepo=remi,remi-php71 php php-zip
for MariaDB[edit]
251 rpm -qa|grep mysql
252 rpm -Uvh http://dev.mysql.com/get/mysql57-community-release-el6-7.noarch.rpm
253 yum info mysql-community-server
254 yum install mysql-community-server
255 /etc/init.d/mysql restart
- mysqld --user=mysql --initialize
- 初期 root パスワードは /var/log/mysql/mysqld.log
- > set password for root@localhost=password('root');