[英]how to uninstall apache web server from AWS ec2 instance?
I have tried different commands but still unable to uninstall/remove apache server.我尝试了不同的命令,但仍然无法卸载/删除 apache 服务器。 here are few command which i have tried:
这是我尝试过的几个命令:
sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common
sudo apt-get autoremove
I have also tried this command:我也试过这个命令:
httpd -k uninstall
sudo apt remove --purge apache2
Should uninstall apache.应卸载 apache。 Next you could do an autoremove to remove not used packages.
接下来,您可以执行自动删除以删除未使用的软件包。
If you have already tried the below command, i suggest you to check if there is any configuration file exist related to apache如果您已经尝试过以下命令,建议您检查是否存在与 apache 相关的配置文件
sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common
sudo apt-get autoremove sudo apt-get 自动删除
try using the below command尝试使用以下命令
** whereis apache2** ** 哪里是 apache2 **
Incase if you find any directory belongs to apache..remove it manually如果您发现任何目录属于 apache..手动删除它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.