8 # Allow data dir access
49 # /var/lib/mysql/ r,
50 # /var/lib/mysql/** rwk,
51 /mysqldata/ r,
52 /mysqldata/** rwk, 注意每一行后面的分号不能少了
49 # /var/lib/mysql/ r,
50 # /var/lib/mysql/** rwk,
51 /mysqldata/ r,
52 /mysqldata/** rwk, 注意每一行后面的分号不能少了
2017-12-28
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
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