1.sudo apt-get install apache22.vi /etc/apache2/apache2.conf ,去掉设置默认字符为UTF-8的命令的注释3./usr/sbin/apache2ctl start