相关推荐: 查看Apache版本 apache怎么启动linux apache文件服务器 apachelinux linuxapache启动 linuxapache服务器 linux开启apache服务命令 linux启动apache服务命令 linux中apache服务的配置文件 linux开启apache服务 linux开启apache2 apache如何启动 linux运行apache apache服务器配置 linux打开apache2 linux启动apache 启动apache服务命令 linuxapache2 linux中apache服务器的服务名称 linuxapache服务器配置 linux查看Apachedubbo版本的命令 linuxapache linuxapache启动命令 linux开启apache linux设置apache服务器 linuxhttp服务 apachelinux启动 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.72kd.com/fqxc/8649847004.html