2016年12月的内容
nginx配置vhost,访问顺序
nginx配置vhost时候,如果是ip的话,则会默认访问第一个配置,所以最好是域名形势 cd /usr/local/nginx/conf/vhost/ /usr/local/nginx/sbin/nginx -t /usr/local/nginx/sbin/nginx -s reload ……
Linux域名解析问题,换dns
[root@iZ23vt3rqiuZ]# cat /etc/resolv.conf # Generated by NetworkManager # No name……
SmartGit破解
Changing SmartGit Free Trial License to Non-Commercial By weuo On March 16, 2013 · Add Comment To alter the license. First, go to Windows: %AP……
ubuntu解决firefox乱码问题
<span style="font-size:18px;">sudo apt-get install ttf-wqy-microhei #文泉驿-微米黑</span> 1 <spa……
ubuntu下chkconfig的代替工具–sysv-rc-conf
今天早上在配置新安装的ubuntu14.04时,使用chkconfig时发现系统提示找不到指定的指令,在centos下一直都是这么做的,难道还需要安装工具吗?google一番以后,发现原来ubuntu在12.10以后不再支持chkconfig这个工具,其替代工具是sysv-rc-conf. 安装sysv-rc-conf 帮助 D……