12 2013 档案

摘要:1、用root账户登陆服务器2、安装PPTPDapt-get install pptpd3、编辑pptpd.conf文件vi /etc/pptpd.conf取消注释下面内容option /etc/ppp/pptpd-optionslocalip 192.168.0.1remoteip 192.168.0.234-238,192.168.0.245这几句的意思是:当外部计算机通过pptp联接到vpn后所能拿到的ip地址范围和服务器的ip地址设置。4、添加用于登陆的账户vi /etc/ppp/chap-secrets格式如下:用户名 pptpd "密码" *密码需要用英文双引号 阅读全文
posted @ 2013-12-23 14:04 linksgo2011 阅读(124) 评论(0) 推荐(0)
摘要:1\卸载原来的php2、参考这个帖子的几个包更新源http://heylinux.com/archives/2361.html3、安装zendhttp://www.lampblog.net/2010/10/ubuntu-server%E4%B8%8B%E5%AE%89%E8%A3%85zend-optimizer/ 阅读全文
posted @ 2013-12-22 20:03 linksgo2011 阅读(163) 评论(0) 推荐(0)
摘要:1、注意apache 的php 位置 PHPIniDir "C:/wamp/bin/php/php5.4.3"2、注意php的文件ext目录 extension_dir = "C:\wamp\bin\php\php5.4.3\ext" 阅读全文
posted @ 2013-12-20 11:53 linksgo2011 阅读(112) 评论(0) 推荐(0)
摘要:http://6636785.blog.51cto.com/6626785/1180427参考地址 阅读全文
posted @ 2013-12-10 09:41 linksgo2011 阅读(170) 评论(0) 推荐(0)
摘要:. * * PHP Google two-factor authentication module. * * See http://www.idontplaydarts.com/2011/07/google-totp-two-factor-authentication-for-php/ * for more details * * @author Phil **/class Google2FA { const keyRegeneration = 30; // Interval between key regeneration const otpLength = 6;... 阅读全文
posted @ 2013-12-08 23:24 linksgo2011 阅读(450) 评论(0) 推荐(0)
摘要:三观尽毁 http://www.nihilogic.dk/labs/canvascompress/ 阅读全文
posted @ 2013-12-06 15:53 linksgo2011 阅读(172) 评论(0) 推荐(0)
摘要:http://cloudbbs.org/forum.php?mod=viewthread&tid=3620 阅读全文
posted @ 2013-12-04 14:20 linksgo2011 阅读(123) 评论(0) 推荐(0)
摘要:http://www.21andy.com/new/20060616/351.html 阅读全文
posted @ 2013-12-03 18:20 linksgo2011 阅读(111) 评论(0) 推荐(0)