0
点赞
收藏
分享

微信扫一扫

Apache服务器的下载、安装、卸载

椰果玩安卓 2022-06-07 阅读 164

下载

####1、下载地址
​​​http://httpd.apache.org/download.cgi​​

####2、Files for Microsoft Windows
Apache服务器的下载、安装、卸载_80端口

####3、选择第一项ApacheHaus,这是个第三方下载平台
Apache服务器的下载、安装、卸载_服务器_02

####4、选择一个版本,点击download下黑色按钮进行下载,上下分别是32位和64位的区别
Apache服务器的下载、安装、卸载_80端口_03

安装

####1、下载完成后,解压缩,到目录,我选择的是D:\Apache

Apache服务器的下载、安装、卸载_80端口_04

Apache服务器的下载、安装、卸载_服务器_05

####2、打开httpd.conf,修改目录位置
Apache服务器的下载、安装、卸载_apache_06

Apache服务器的下载、安装、卸载_80端口_07

####3、若你的80端口被占用(可在cmd下用命令netstat -a查看),则将80端口改为别的保存

Apache服务器的下载、安装、卸载_apache_08

####4、配置安装Apache的主服务
打开cmd窗口,输入

“D:\Apache\Apache24\bin\httpd.exe” -k install -n apache

如果出现截图所示,说明安装成功

Apache服务器的下载、安装、卸载_80端口_09

如果出现错误,请点击Installing the ‘apache’ service错误处理查看处理办法

服务启动

Apache服务器的下载、安装、卸载_80端口_10

打开浏览器输入

​​http://localhost​​

如果出现以下界面,说明Apache服务器的基本配置完毕,此时apache服务器已经可以运行,更具体的配置,可以自行百度

Apache服务器的下载、安装、卸载_80端口_11

卸载

1、首先停掉apache服务,或者右击,选择属性,然后禁用服务
Apache服务器的下载、安装、卸载_80端口_12

2、cmd命令行执行

sc delete apache

Apache服务器的下载、安装、卸载_80端口_13

举报

相关推荐

0 条评论