摘要: 0 前言0.1 为什么需要VPN?国内的VPN不是必须,但是国外的VPN是很有用的。连接到国外的VPN服务器之后就可以访问Google,Facebook, Youtube等网站,没有Google的情况下想搜索点资料真是艰难呀0.2 为什么用AWS?Amazon AWS对新用户提供一年的免费服务1 在... 阅读全文
posted @ 2015-10-24 18:46 pangyujie 阅读(636) 评论(0) 推荐(0) 编辑
摘要: 在AWS上登录如果没有账号的话先注册,参考 http://blog.banban.me/blog/2014/06/09/li-yong-awsmian-fei-zhang-hu-da-jian-vpn/点击"EC2",创建EC2实例在页面右上方选择区域,位于东京的实例对于国内的的用户来说速度和稳定性... 阅读全文
posted @ 2015-10-24 17:11 pangyujie 阅读(759) 评论(0) 推荐(0) 编辑
摘要: 0. Environment:Server machine: CentOS 6.3 x86Client machine: Windows 10 Pro x86_641. Install ssh server[server machine shell]#yum install openssh open... 阅读全文
posted @ 2015-10-18 17:22 pangyujie 阅读(406) 评论(0) 推荐(0) 编辑
摘要: For some reason, I need to use Ubuntu to develop Ruby on Rails. After installing ruby through rvm, I use command 'gem sources -a http://ruby.taobao.org/' to add source, but I got an error 'cannot load such file -- zlib....'. The reason is that I haven't install required packages, 阅读全文
posted @ 2012-10-09 14:08 pangyujie 阅读(1066) 评论(0) 推荐(0) 编辑
摘要: 最近在windows下写了些rails小程序,问题一个接一个,到最后终于坚信了那句话“windows不适合用于ruby on rails开发”。于是找了另外一台已经装了Fedora 16的电脑(系统不是我安装,也不方便重装,只好用着了,本来想用CentOS 6.3的),把RoR装上,用得还挺顺手,所以把安装过程记录一下。在Linux下安装RoR可以用源码、rvm方式安装。用源码安装的话需要自己去解决依赖关系,偏偏我用的这个系统好多库都没安装,于是选择了rvm的安装方式。1.安装rvm$curl -L get.rvm.io | bash -s stable2.使rvm命令生效$source ~/ 阅读全文
posted @ 2012-09-29 10:30 pangyujie 阅读(1155) 评论(0) 推荐(0) 编辑
摘要: #WIN7下的安装Linux方案#硬盘安装fedora13 / 14#-------------------------------------------------------------------------------1. 在FAT32格式的分区(假设为F:)中新建一个目录“fedora13”2. 把fedora 13的光盘镜像文件放入fedora13目录中3. 解开feodra 13的光盘镜像(用WinRAR打开或用虚拟光驱加载),将里面的images,isolinux两个目录复制到fedora13目录中。4. 安装并运行easyBCD,依次点击Add/remove a Entry 阅读全文
posted @ 2011-12-21 19:10 pangyujie 阅读(1045) 评论(0) 推荐(0) 编辑
摘要: p{ margin:0; //删除段落之间的空行 text-indent: 2em; text-align: left; font-size: 18px;} 阅读全文
posted @ 2011-11-12 14:29 pangyujie 阅读(237) 评论(0) 推荐(0) 编辑
摘要: .image { max-width:600px; height:auto; cursor:pointer; //border:1px dashed #4E6973; //padding: 3px; zoom:expression( function(elm) { if (elm.width>360) { var oldVW = elm.width; elm.width=360; elm.height = elm.height*(360 /oldVW); } ... 阅读全文
posted @ 2011-11-12 14:27 pangyujie 阅读(1575) 评论(0) 推荐(0) 编辑