相关推荐: linux中apache服务器的服务名称 linux开启apache2 linuxapache服务 linux运行apache apachelinux linuxapache服务器配置 apache怎么启动linux apachelinux启动 linux开启apache服务 linux启动apache linuxapache启动命令 linuxapache启动 linux中apache服务的配置文件 linux打开apache2 linux设置apache服务器 linux开启apache服务命令 linux中apache配置 linux开启apache linuxapache linuxapache2 linuxapache服务器 linux启动apache服务命令
这里小白简要介绍下Linux环境中Apache也就是httpd服务的启动,查看版本等操作,详细如下。
Linux中的Apache服务查看和启动的方法
打开terminal
切换到root用户
cd到/etc/rc.d/init.d/目录,并列出该目录下的所有文件,看看是否有httpd
使用httpd -v查看已经安装的httpd的版本
使用rpm -qa | grep httpd查看是否已经安装了httpd
使用ps -ef | grep httpd查看httpd的进程
请关闭浏览器的畅读模式或者取消屏蔽JavaScript的正常运行,避免出现内容显示不全或者段落错乱。
原网页地址:https://www.zhifashicai.com/fqxc/113559753.html