forpy@vm01:/var/lib$ sudo service apparmor reload
Job for apparmor.service failed because the control process exited with error code. See "systemctl status apparmor.service" and "journalctl -xe" for details.
Job for apparmor.service failed because the control process exited with error code. See "systemctl status apparmor.service" and "journalctl -xe" for details.
2017-12-28
forpy@vm01:/var/lib$ sudo service mysql start
Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
2017-12-28
forpy@vm01:/etc/apache2/sites-available$ sudo a2ensite oa.92.conf
forpy@vm01:/etc/apache2/sites-available$ sudo a2ensite video.conf
forpy@vm01:/etc/apache2/sites-available$ sudo service apache2 reload
16.04LTS下配置完虚拟主机后必须让站点生效
forpy@vm01:/etc/apache2/sites-available$ sudo a2ensite video.conf
forpy@vm01:/etc/apache2/sites-available$ sudo service apache2 reload
16.04LTS下配置完虚拟主机后必须让站点生效
2017-12-28
https://jingyan.baidu.com/article/9faa7231813da9473c28cb20.html
win10下修改hosts文件
win10下修改hosts文件
2017-12-28
sudo apt-get install php7.0-gd curl libcurl3 libcurl3-dev php7.0-curl
2017-12-10
已采纳回答 / 北溟有鹏
看提示信息,是无效的命令 serveradmi ,在/etc/apache2/sites-enabled/video 这个文件夹的第8行,语法有误,检查一下。
2017-11-10
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/AAA
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
DocumentRoot /var/www/html/AAA
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
2017-09-19
第二部配置:
<VirtualHost *:80>
ServerName AAA.com
ServerAlias www.AAA.com
<Directory /var/www/html/AAA/>
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride None
Require all granted
</Directory>
<VirtualHost *:80>
ServerName AAA.com
ServerAlias www.AAA.com
<Directory /var/www/html/AAA/>
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride None
Require all granted
</Directory>
2017-09-19