ubuntu vpn服务器
1. Ubuntu下使用 apt 安装 pptpd 非常方便,安装好后自动启动; $ sudo apt-get install pptpd 2. 修改 /etc/pptpd.conf,分配内部IP地址; localip 192.168.0.1 remoteip 192.168.0.234-238,192.168.0.245 3. 修改 /etc/ppp/chap-secrets,创建VPN用户和口令; username pptpd password * 注:如果 * 修改为固定内部IP地址,将会分配该用户到固定地址,从而确保该用户只能创建一个VPN连接。 4. 修改 /etc/ppp/options,支持自动分配DNS,防止DNS劫持; ms-dns 8.8.8.8 ms-dns 8.8.4.4 注:上面用的是 Google Open DNS,可以使用其他的......
vpn
http://zevince.blog.163.com/blog/static/1573648520119984338854/......
phpExcel常用方法详解【附有php导出excel加超级链接】
http://www.2cto.com/kf/201207/142456.html 开发包Tests目录有详细使用实例 支持中文,注意文件编码,文件保存为utf-8 写excel //Include class require_once(‘Classes/PHPExcel.php’); require_once(‘Classes/PHPExcel/Writer/Excel2007.php’); $objPHPExcel = new PHPExcel(); //Set properties 设置文件属性 $objPHPExcel->getProperties()->setCreator(“Maarten Balliauw”); $objPHPExcel->getProperties()->setLastModifiedBy(“Maarten Balliauw”); $objPHPExcel->getProperties()->setTitle(“Office 2007 XLSX Te......
域名查询
反向解析:http://www.lbase.net/ReverseDNS/ http://www.ipcheck.cn 域名查询:http://tool.chinaz.com/dns 反向解析:dig -x ip ......
goagent
iplist google_cn = 74.125.20.31|173.194.123.68|173.194.123.121|173.194.123.75|173.194.123.66|173.194.123.98|173.194.123.119|173.194.123.103|173.194.123.87|173.194.123.43|173.194.123.50|173.194.123.78|173.194.123.65|173.194.123.94|173.194.123.117|173.194.123.53|173.194.123.74|173.194.123.77|173.194.123.84|173.194.123.57|173.194.123.110|173.194.123.109|173.194.123.118|173.194.123.120|173.194.123.48|173.194.123.79|173.194.123.35|173.194.123.49|173.194.123.82|173.194.123.83|173.194.123.91|173.194.123.62|173.194.123.30|173.194.123.105|173.194.123.114|173.194.123.59|173.194.123.89|173.194.123.0|173.1......
PostfixAdmin Vacation/Out of Office Autoresponder
PostfixAdmin Vacation/Out of Office Autoresponder August 10, 2009· by Craig Ballinger · in linux PostfixAdmin actually comes with a perl plugin that enables a Vacation/Out of Office Autoresponder; for some reason, though, it’s not installed by default. The setup only takes a few minutes and it enables users to manage their own autoresponders, so it’s well worth the time. This setup assumes that you’ve followed this Postfix Dovecot Mailserver Walkthrough. If not, your mileage may vary. Basically, you’ll need to have PostfixAdmin setup, and be using it to manage v......
How to Extend the Magento REST API to Use Coupon Auto Generation
How to Extend the Magento REST API to Use Coupon Auto Generation Category: Configuration: Advanced Table of Contents Overview System Requirements Generating Coupon Codes Extending Magento's REST API to Include Coupon Auto-Generation Securing the Coupon AutoGen API Testing the Coupon AutoGen API Troubleshooting Suggestions Next Steps Overview Customers of traditional stores and online web stores love coupons. Typically, a merchant sends coupons to customers who input them when ......
magento api
<?xml version="1.0" encoding="UTF-8"?> <config> <api> <resources> <fly_api translate="title" module="fly_api"> <model>fly_api/api</model> <title>Fly API</title> &nb......
linux作业管理(ctrl z,fg,jobs,kill等)
linux作业管理(ctrl+z,fg,jobs,kill等) 分类: linux相关 2010-03-08 17:46 1236人阅读 评论(0) 收藏 举报 作业killjobslinuxsignal 作业管理 1.将“当前”作业放到后台“暂停”:ctrl+z 2.观察当前后台作业状态:jobs 参数: -l 除了列出作业号之外同时列出PID -r:列出仅在后台运行(run)的作业 -s:仅列出暂停的作业 3.将后台作业拿到前台处理:fg fg %jobnumber (%可有可无) 4.......
Roudcube postfix password
Roudcube postfix 密码修改插件配置 $config['password_db_dsn'] = 'mysqli://databaseusername:databasepassword@localhost/postfixdatabase'; $config['password_query'] = 'UPDATE `mailbox` SET `password` = %c, modified=now() WHERE `username` = %u LIMIT 1'; ......
- Page:6/141 1407 Blogs
周日 | 周一 | 周二 | 周三 | 周四 | 周五 | 周六 |
文章分类
- 默认(707)
- 日志(47)
- 感悟(15)
- testIT(4)
- PHP_XML(5)
- PHP(78)
- 明星(1)
- 笑话(31)
- 毕业论文(2)
- 生活(60)
- HTML(11)
- CSS(6)
- 考研(3)
- JS(21)
- 简历(6)
- svn(3)
- 音乐(1)
- 学习(7)
- jQuery(9)
- 英语口语(9)
- 书籍(2)
- magento(258)
- apache(12)
- 创意(4)
- 设计(4)
- 休闲(1)
- IT咨询(11)
- 工作(23)
- ubuntu(21)
- bysoft(1)
- zend(1)
- web(2)
- software(1)
- sql(5)
- 娱乐(5)
- photoshop(3)
- zend framework(2)
- nginx(3)
- 小说(1)
- 名言(1)
- 牛人(1)
- Mysql(6)
- vim(2)
- wordpress(8)
- drupal(1)