相关推荐: linux设置apache服务器 linux开启apache2 linuxapache启动 linuxapache linux打开apache2 linux开启apache服务命令 linux中apache配置 linux中apache服务的配置文件 linuxapache启动命令 linuxapache服务器配置 apachelinux启动 linux运行apache linux启动apache linux开启apache服务 apachelinux linux中apache服务器的服务名称 linux启动apache服务命令 linuxapache服务器 linux开启apache linuxapache2 linuxapache服务 apache怎么启动linux
这里小白简要介绍下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/45409650.html