摘要:
http{ # 第一个虚拟主机 server { listen 80; server_name aaa.domain.com; #access_log logs/host.access.log main; location / { root /usr/share/... 阅读全文
摘要:
nginx配置php老是出错,浏览器打开php脚本报File not found 错误,最后才发现是$document_root的设置问题。 location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9000... 阅读全文
摘要:
有时用yum升级一些文件时,会出现以下情况:anotherappiscurrentlyholdingtheyumlock;waitingforittoexit...可以通过强制关掉yum进程:#rm-f/var/run/yum.pid然后就可以使用yum了。 阅读全文