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