Linux搭建PHP环境(LAMP)
2021-06-19 12:05
标签:mysql mirror install art pac ldap ror ima rpc //安装Apache的命令 # yum install httpd //启动Apache的命令 # service httpd start # wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm # rpm -ivh mysql-community-release-el7-5.noarch.rpm # yum install mysql-community-server //启动MySQL的命令 # service mysqld start //设置MySQL管理员密码的命令(注:root为管理员密码) # SET PASSWORD=PASSWORD(‘root‘); //安装PHP的命令 # rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm # yum -y install php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc # yum -y install php Linux搭建PHP环境(LAMP) 标签:mysql mirror install art pac ldap ror ima rpc 原文地址:http://www.cnblogs.com/yuanwanli/p/7192485.html
//安装MySQL的命令