ubuntu
80pei
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ubuntu下开发ror简易入门系列:Rvm in ubuntu
桌面版的ubuntu 11.10 1.先检查是否安装了ruby : $ which ruby 2.安装依赖的包:$ sudo apt-get install curl git-core ruby 3.安装rvm 按照说明 :http://rvm.beginrescueend.com/rvm/install/ 安装rvm参考:http://www.christoph...2012-05-13 15:37:57 · 129 阅读 · 0 评论 -
Capistrano deploy ** Host key verification failed
Known Hosts bugIf you are not using agent forwarding, the first time you deploy may fail due to Capistrano not prompting with this message:# The authenticity of host 'github.com (207.97.227.23...原创 2012-07-13 20:44:03 · 155 阅读 · 0 评论 -
ubuntu安装nokogiri错误
gem install nokogiri 提示错误,冒失一些 依赖的包没有找到....libxslt is missing....让去 http://nokogiri.org/tutorials/installing_nokogiri.html 查看,打不开呀。好像:这样就可以搞定sudo apt-get install libxslt-dev libxml...原创 2012-05-30 19:34:48 · 292 阅读 · 0 评论 -
mysql2安装失败in ubuntu
> gem install mysql2Building native extensions. This could take a while...ERROR: Error installing mysql2: ERROR: Failed to build gem native extension.============8sudo apt-get install...原创 2012-05-27 16:39:12 · 130 阅读 · 0 评论 -
Adding users to sudoers through shell script
You could simply echo (with elevated privileges, of course) directly to the /etc/sudoers file:nickw444@laptop ~ $ sudo -inickw444@laptop ~ $ echo 'nickw444 ALL=(ALL:ALL) ALL' >> /etc/sudoers(...原创 2012-05-27 15:24:48 · 121 阅读 · 0 评论 -
ubuntu安装mysql-server
[size=large]一。mysql安装[/size]>sudo apt-get install mysql-server安装过程中 设定 root 的 密码。。输入两次。。[size=large]二。mysql的配置[/size]vim /etc/mysql/my.cnf去掉注释的 最大连接60,改为:max_connections=1024[client]...原创 2012-05-26 15:46:20 · 112 阅读 · 0 评论 -
phusion passenger standalone
为了测试这个 passenger 先 放个项目 上去。。。建了个项目,配置了 capistrano 的 deploy.rbcap deploy:setupcap deploy:cold在项目目录下 运行: passenger start 提示安装: apt-get install libcrul4-openssl-dev or 。。。安装...原创 2012-05-26 13:04:15 · 180 阅读 · 0 评论 -
Ubuntu putty 的复制与粘贴
在Ubuntu下经常用putty,老是为这个复制粘贴的事情搞得很郁闷,今天有空,网上搜了一下,原来gnome还有这种贴心的功能: Linux users: In Gnome, you can paste text without previously copying it to the clipboard. How does this work? First, high...原创 2012-05-26 12:48:31 · 477 阅读 · 0 评论 -
ubuntu下普通用户app 下的rvm安装
[size=x-large]准备:[/size]安装 curl :[i]sudo apt-get install curl[/i][size=x-large]开始安装[/size]curl -L get.rvm.io | bash -s stable[size=x-large]配置[/size][i]source ~/.bashrc[/i]...原创 2012-05-26 11:01:32 · 165 阅读 · 0 评论 -
ubuntu下root用户下的rvm安装
[b]声明:我是使用root 帐户安装的。。安装的是 多用户,所以直接安装在 /usr/local/rvm下面[/b]Ubuntu 的 Shell语言用的是Bash Shell[size=x-large]1.参考:rvm.io 官网[/size]直接使用 curl -L get.rvm.io | bash -s stable 命令 是不行的。来自: https://r...原创 2012-05-26 10:49:38 · 293 阅读 · 0 评论 -
使用Unicorn替代Mongrel作为Ruby on Rails的服务器
先前的开发的Ruby on Rails网站使用的服务程序是Mongrel + Nginx, 现在用了Rails 3, 发现Mongrel对它有兼容问题, 所以要换一个。 虽然现在Phusion Passenger大行其道, 但使用前要重新编译Nginx。 为了避免重新安装nginx,我找到mongrel的替代品Unicorn。 没想到unicorn的设置非常方便。 我记录在这里供大家参考:...原创 2012-05-25 22:13:42 · 245 阅读 · 0 评论 -
sqlite3-ruby gem can't find sqlite3.h on ubuntu
sqlite3-ruby gem can't find sqlite3.h on ubuntuIn my case I had to install libsqlite3-devsudo apt-get install libsqlite3-dev原创 2012-05-25 18:34:43 · 131 阅读 · 0 评论 -
ImageMagick in ubuntu
ImageMagick is a powerful suite of tools in Ubuntu for scripting batch manipulations of images. Conversion between formats, resizing and hundreds of sophisticated filters can all be automated with onl...原创 2012-05-23 15:04:30 · 167 阅读 · 0 评论 -
【Vim编程】如何去掉 修改文件后系统会自动生成的一个带~的备份文件
怎么让Vim不自动生成这些备份文件呢? 1. 找到你的Vim安装目录,如果是在Windows下默认路径安装的,应该是在C:\Program Files\Vim\ 2. 找到这个文件:vimrc_example.vim ,我的这个文件是在vim70文件夹下,具体还要看你安装的是什么版本的。 3. 找到后打开,找到这一句:if has("vms") 把这个判断里的if部分保留,else...原创 2012-05-20 16:20:55 · 582 阅读 · 0 评论 -
Rails server Error:Address already in use
Hi,For some reason I cannot get WEBrick to boot anymore. I installed and used Eclipse yesterday and all was working fine but today I m getting this: $ ruby script/server=> Bo...原创 2012-05-17 19:21:42 · 164 阅读 · 0 评论 -
Redis配置和启动【转】
启动redis时候提示: ARE YOU SURE YOU WANT TO USE VM?Redis Virtual Memory is going to be deprecated soon,we think you should NOT use it, but use Redis only ifyour data is suitable for an in-me...原创 2012-05-17 17:17:38 · 118 阅读 · 0 评论 -
【转】UBuntu上安装MongoDB server
http://www.mongodb.org/downloads From: http://blog.youkuaiyun.com/sheismylife/article/details/6737127 =================获取最新版本 wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.0.2.tg...原创 2012-05-17 16:41:04 · 130 阅读 · 0 评论 -
Git使用分支协作开发
(修改05.29) 大致思路: 1.获取 版本 git pull origin master2.新建分支 (默认是master) git branch local3.切换到 新的版本上去 git checkout local (do something ......做今天该做的事情吧。。。) 4.完成工作后,切换到master...2012-05-16 12:42:14 · 128 阅读 · 0 评论 -
mysql2安装错误
administrator@ubuntu:~/store$ gem install mysql2 Fetching: mysql2-0.3.13.gem (100%)Building native extensions. This could take a while...ERROR: Error installing mysql2: ERROR: Failed to b...原创 2013-08-08 13:22:49 · 349 阅读 · 0 评论
分享