Gmail邮箱允许异地登录

  1. smtplib.SMTPAuthenticationError: (534, '5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbv8\n5.7.14 FYVFTQsOngJ3aO15Tloi4Zj0i7wtTKx-hfno12GQatdFC44JvYt9aEq07SSlgQ_PHBHopx\n5.7.14 TGC8PqKFv1uR_jZLhREqbNQEn2c80oNlM_2nFAqqBCTq-KGfeCaCKwFumMc6yqddJBsPQO\n5.7.14 a-eImhx-xaaX06anroZYrA7D_jc1UD4JGCzy0S3bx9QjRoUI0enysHE5pkqCpzmvATY6d5\n5.7.14 U8YuumRHQwWJNfQekA6NTVCptx1R0b3wwRaNqk35WNfcaR0M1g> Please log in via\n5.7.14 your web browser and then try again.\n5.7.14  Learn more at\n5.7.14  https://support.google.com/mail/answer/78754 r8sm15707984pgr.48 - gsmtp')

1: 登录谷歌
https://accounts.google.com

2: 允许安全性较低的应用的访问权限
https://myaccount.google.com/lesssecureapps

3: 打开页面并允许登录
https://accounts.google.com/DisplayUnlockCaptcha

debian error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory

  1. root@localhost:~# phantomjs --version
  2. "/usr/lib/phantomjs/phantomjs: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory"
  3.  
  4. root@localhost:~# strip --remove-section=.note.ABI-tag /usr/lib64/libQt5Core.so.5
  5.  
  6. root@localhost:~# phantomjs --version
  7. QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
  8. qt.qpa.screen: QXcbConnection: Could not connect to display :99
  9. Could not connect to any X display.
  10.  
  11. #xvfb (short for X virtual framebuffer) 虚拟显示服务,跑在内存里
  12. #方法1:使用xvfb-run直接运行
  13. root@localhost:~# xvfb-run phantomjs --version
  14. QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
  15. QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
  16. 2.1.1
  17.  
  18. #方法2:
  19. root@localhost:~# (Xvfb :99 &) ; export DISPLAY=:99
  20.  
  21. root@localhost:~# phantomjs --version
  22. QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
  23. QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
  24. 2.1.1

dante socks5代理 多IP出口

  1. wget https://www.inet.no/dante/files/dante-1.3.2.tar.gz
  2. ./configure && make && make install
  3. /usr/local/sbin/sockd -f /your_path/danted.conf -D
  4.  
  5. #danted.conf
  6.  
  7. internal: $IP port = $port
  8. external: $IP
  9. external.rotation: same-same
  10. #method: username none #anonymous
  11. method: username #username and password with OS
  12. user.privileged: root
  13. user.notprivileged : nobody
  14. logoutput: /var/log/danted.log
  15. client pass {
  16. from: 0.0.0.0/0 to: 0.0.0.0/0
  17. log: connect disconnect
  18. }
  19. pass {
  20. from: 0.0.0.0/0 to: 0.0.0.0/0 port gt 1023
  21. command: bind
  22. log: connect disconnect
  23. }
  24. pass {
  25. from: 0.0.0.0/0 to: 0.0.0.0/0
  26. command: connect udpassociate
  27. log: connect disconnect
  28. }
  29. block {
  30. from: 0.0.0.0/0 to: 0.0.0.0/0
  31. log: connect error
  32. }

ansible ERROR! module rhevm has a documentation error formatting or is missing documentation

  1. [root@localhost ~]# ansible-doc -l
  2. [DEPRECATION WARNING]: docker is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this 
  3. rationale..
  4. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
  5.  [ERROR]: unable to parse /usr/lib/python2.6/site-packages/ansible/modules/extras/cloud/misc/rhevm.py
  6.  
  7. ERROR! module rhevm has a documentation error formatting or is missing documentation
  8.  
  9. [root@localhost ~]# sed '/^deprecation_warnings/s/True/False/' /etc/ansible/ansible.cfg -i
  10. [root@localhost ~]# mv /usr/lib/python2.6/site-packages/ansible/modules/extras/cloud/misc/rhevm.py /usr/lib/python2.6/site-packages/ansible/modules/extras/cloud/misc/rhevm.py.def

dnsmasq[28046]: Maximum number of concurrent DNS queries reached (max: 150)

  1. /usr/sbin/dnsmasq -C, --conf-file=/etc/dnsmasq.conf --dns-forward-max=15000
  2.  
  3. [root@localhost ~]# cat /etc/dnsmasq.conf
  4. resolv-file=/etc/dnsmasq.resolv.conf
  5. cache-size=150000
  6. conf-dir=/etc/dnsmasq.d
  7.  
  8. [root@localhost ~]# cat /etc/dnsmasq.resolv.conf
  9. nameserver $Your_DNS_Server