apache

apache2配置文件缺失

Submitted by dravenk on Fri, 01/06/2017 - 02:59

完全卸载apache2后重新安装

sudo apt-get --purge remove apache2 
sudo apt-get --purge remove apache2.2-common 
sudo apt-get autoremove
sudo find  /etc -name "*apache*" -exec  rm -rf {} \;

卸载完后重新安装

sudo apt-get install apache2 
sudo /etc/init.d/apache2 restart