CentOS 7搭建LAMP环境上线PHPMyAdmin系统
一、安装Apache服务 关于安装Apache详细配置及原理概述请参考: CentOS 7.4搭建Apache网站服务 [root@centos01 ~]# mount /dev/cdrom /mnt/ <!--挂载LAMP光盘--> [root@centos01 ~]# cp /mnt/* /usr/src/ <!--将mnt目录下的程序包拷贝到/usr/src/--> [root@centos01 ~]# mount /dev/cdrom /mnt/ <!--切换操作系统光盘--> [root@centos01 ~]# rm -rf /etc/yum.repos.d/CentOS-* <!--删除系统自动yum--> [root@centos01 ~]# tar zxvf /usr/src/httpd-2.2.17.tar.gz -C /usr/src/ <!--解压缩Apache包--> [root@centos01 ~]# cd /usr/src/httpd-2.2.17/ <!--进入Apache目录--> [root@centos01 httpd-2.2.17]# ./configure --prefix=/usr/local/httpd --enable-so --enable-rewrite --enable-charset-lite --enable-cgi <!