重启apache后报错
AH00558: apache2: could not reliably determine the server's fully qualified domain name,using x.x.x.x set th 'ServerName' directive globally to suppress this message
处理方法
vi /etc/apache2/apache2.conf
加入ServerName IP
AH00558: apache2: could not reliably determine the server's fully qualified domain name,using x.x.x.x set th 'ServerName' directive globally to suppress this message
处理方法
vi /etc/apache2/apache2.conf
加入ServerName IP
crontab默认最小执行单位是每分钟昨天想到设置每30秒执行一次,操作如下* * * * * /backups/nihaoa.sh*/1 * * * * sleep 30 && /b...
29号换了vps服务器环境,发现原来的博客在新环境,打不开伪静态网页的处理方法。在网上查了各种方法,都未能解决。找到一篇的方法,正好能解决到,真心表示感谢!如下:在终端中执行 sudo a2enmod...
在Ubuntu系统里,进入数据库。(root是用户名,密码password是设定的密码)mysql -uroot -ppassword 创建数据库,nihaoa是新建的数据库名。 CREATE DAT...
原在virmach上的博客vps服务器在美国法布罗(Buffllo),ping值均的250ms。上次听勇哥说洛杉矶(Los Angeles)的vps服务器ping值约170ms。28号选了一个月试用周...
ubuntu多条命令一起执行,中间用;号格开例如:mkdir -p /var/www/你的网站/html/; chmod -R 777 /var/www/你的网站/html/以上可以提高效...
重命名目录old为nihaoa [第一位为原文件 第二位为新文件]mv old nihaoa...