Ubuntu 10.04 LTS 64bit搭建Rails3+MongoDB环境_Ruby_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > Ruby > Ubuntu 10.04 LTS 64bit搭建Rails3+MongoDB环境

Ubuntu 10.04 LTS 64bit搭建Rails3+MongoDB环境

 2010/12/30 8:05:58  hideto  http://hideto.javaeye.com  我要评论(0)
  • 摘要:scp~/.ssh/id_rsa.pubroot@xx.xx.xx.xx:~/.ssh/catid_rsa.pub>>authorized_keyscd/optwgethttp://fastdl.mongodb.org/linux/mongodb-linux-x86_64-1.6.5.tgztarxzfmongodb-linux-x86_64-1.6.5.tgzln-smongodb-linux-x86_64-1.6
  • 标签:Ubuntu rails rails3 rails3+ MongoDB
scp ~/.ssh/id_rsa.pub root@xx.xx.xx.xx:~/.ssh/
cat id_rsa.pub >> authorized_keys
cd /opt
wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-1.6.5.tgz
tar xzf mongodb-linux-x86_64-1.6.5.tgz
ln -s mongodb-linux-x86_64-1.6.5 mongodb
export PATH=/opt/mongodb/bin:$PATH
mkdir /data
mkdir /data/db
mongod
alias psg='ps aux|grep'
alias top='top -d 1'
apt-get install git-core
apt-get install ruby
apt-get install ruby-dev
apt-get install libopenssl-ruby
apt-get install irb
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz
tar xzf rubygems-1.3.7.tgz
ruby setup.rb
gem install rails
gem install mongo_mapper
gem install bson_ext
gem install rdiscount
bundle install
git clone git://github.com/hideto/xxx.git
rails server -e production -p 80
发表评论
用户名: 匿名