那些坑了我N多时间的问题(持续更新)

【2015-11-29】
1.版本小于1.7的nginx不支持syslog功能。
2.nginx 1.8版本的conf文件有较大变动,site-enble及site-available目录都已被取消。固从低版本升级到1.8版本首先要备份原conf配置文件,使用apt-get purge nginx在卸载nginx的同时删除配置文件。
3.rsyslog的Properties参考:
http://www.rsyslog.com/doc/master/configuration/properties.html
rsyslog的filter参考:
http://www.rsyslog.com/doc/v8-stable/configuration/filters.html

【2015-12-3】
某些意外关机或断电的情况下,windows10在再次启动时会卡在recovery上。
windows10禁止启用Recovery:
bcdedit /set {current} bootstatuspolicy displayallfailures
bcdedit /set {current} bootstatuspolicy ignoreallfailures
bcdedit /set {current} recoveryenabled No

【2015-12-11】
windows 10 家庭版可用激活码: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99

【2015-12-28】
uwsgi 重启失败日志:
unlink(): Operation not permitted [core/socket.c line 135]
bind(): Address already in use [core/socket.c line 185]
解决方法:删除uwsgi manage.uwsgi.sock 文件 重启uwsgi

【2016-1-5】
超级蛋疼的urllib2设置proxy代理问题,最终原因是我设置的是http代理,但访问的是https网站,导致设置的代理总是无效。
解决方法:urllib2.ProxyHandler中设置https代理。

【2016-1-6】
用Python写了一个通过smtp.gmail.com发送邮件的模块,账号密码总是无法通过验证提示:
Please log in via your web browser and\n5.7.14 then try again.\n5.7.14 Learn more at\n5.7.14 https://support.google.com/mail/answer/78754 dg1sm138134795pad.18 - gsmtp’)
解决方法:访问https://www.google.com/settings/security/lesssecureapps
设置为Turn on

【2016-1-8】
AWS创建NAT-gateway后private-subnet总是无法访问外部网络。
原因:创建NAT-gateway时将其创建到了private-subnet,导致其本身无法有向internet的route。
参考AWS Troubleshooting NAT Gateways
The NAT gateway must be in a public subnet with a route table that routes Internet traffic to an Internet gateway.
解决方法:删除原先NAT-gateway,将新的nat-gateway创建到public-subnet中即可。
PS: AWS 删除VPC的操作要先删除该VPC中的internet gateway.

【2016-1-17】
windows 10 32位专业版 intel Atom Z3735F 芯片 PCI 加密/解密驱动无法安装。
解决方法:使用“鲁大师”安装驱动。(给鲁大师100个赞)

你可能感兴趣的:(工作,日志,持续更新)