摘要: This script will auto install PPTP VPN on CentOS 6 32bit. Before run this script, you need to make sure PPP is enabled on your VPS/Dedicated Server. This script has been tested on OpenVZ VPS with 128mb memory.Check if PPP module is enable.cat /dev/pppIf you receive this message, PPP module is enable 阅读全文
posted @ 2013-02-02 21:56 Monn 阅读(1311) 评论(0) 推荐(0) 编辑
摘要: 最近装了个ubuntu服务器,需要创建专用的ftp用户,为了安全要禁止ftp用户登录shell。按照在freebsd的操作习惯,我把ftp用户的shell设定为/usr/bin/nologin。岂料该用户居然无法登录ftp,把shell改成/bin/bash后,ftp又能登录了。难道不能禁止登录。网上一遍,解决方法居然很多,包括禁止22端口、设置/etc/hosts.deny或者/etc/hosts.allow等。然而这些方法都有不少局限性,最后发现原因是/usr/bin/nologin不在/etc/shells列表内,ftp登录时要检查该用户的shell设定是否正确,我把shell强行改成不 阅读全文
posted @ 2013-02-02 21:00 Monn 阅读(1647) 评论(1) 推荐(1) 编辑
摘要: 使用在观看 Google I/O 2012 (官网) 视频, 网络不是很稳定, 老卡, 打算下载下来看, 并且方便可以重温.使用 FF 下载, 手动一个个下, 感觉有点二, 并且不稳定, 有时候 putty 会掉线, 失去链接.Google 了一下, 找到了youtube-dl, 代码存放在 github 上 (这里)下载 / 安装需要 python 2.7 , vps 上的python 版本是 2.4, 得先升级下,见这里.安装好 python 2.7 后, 开始安装 youtube-dl wget https://raw.github.com/rg3/youtube-dl/2012.... 阅读全文
posted @ 2013-02-02 03:34 Monn 阅读(1236) 评论(0) 推荐(0) 编辑