linux 查看服务器版本

版权声明:哈哈哈 https://blog.csdn.net/qq_39454048/article/details/82983867

查看Apache版本信息:     apachectl -v              httpd -v

cd到/etc/rc.d/init.d/目录,并列出该目录下的所有文件,看看是否有httpd

使用httpd -v查看已经安装的httpd的版本

使用service httpd status查看httpd的运行状态

使用service httpd stop可以停止httpd

使用service httpd start 可以启动httpd

猜你喜欢

转载自blog.csdn.net/qq_39454048/article/details/82983867