LAMP简易安装

 时间:2024-10-13 20:09:57

1、[root@localhost ~]# uname -a Linux localhost.localdomain 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux[root@localhost ~]# cat /etc/redhat-release CentOS release 6.8 (Final)[root@localhost ~]#

2、默认httpd已经安装,在这里我们说明下:本次实验我们采用的是yum的方式来进行安装,httpd就是Apache软件在RPM中的软件包名[root@localhost ~]# rpm -qa httpdhttpd-2.2.15-53.el6.centos.x86_64[root@localhost ~]# rpm -qa mysql*[root@localhost ~]# rpm -qa php*[root@localhost ~]#

3、yum仓库的检查

LAMP简易安装

4、yum安装LAMP[root@localhost ~]# yum -y install httpd mysql mysql-server mysql-devel php*

LAMP简易安装

5、apache初始化

LAMP简易安装

6、mysql初始化

LAMP简易安装
LAMP简易安装

7、查看经常mysql和httpd是否运行:

LAMP简易安装
LAMP简易安装

8、防火墙的相关设置

LAMP简易安装
LAMP简易安装

9、测试httpd的静态文件

LAMP简易安装
  • Linux mint系统如何关机的
  • 在VCSA6.0中怎么添加域用户作为登陆用户
  • Windows Server 2012 R2禁用组策略用户配置设置
  • 通过配置apache实现多个站点访问
  • WinServer 2008操作系统禁用系统来宾用户帐号
  • 热门搜索
    中秋手抄报图片大全 手抄报简单漂亮花边 绿色校园手抄报资料 科技与生活手抄报 防治结核病手抄报 日行一善手抄报内容 初中英语手抄报资料 森林报手抄报 圣诞节手抄报内容英文 关爱环卫工人手抄报