Ubuntu 10.04 LTS 64bit搭建Rails3+MongoDB环境
程序员文章站
2022-03-14 18:41:45
...
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
推荐阅读
-
Ubuntu18.04 LTS搭建GO语言开发环境过程解析
-
ubuntu 10.04上搭建php网站运行环境
-
深度学习环境 Ubuntu16.04 LTS + GTX750Ti + CUDA9.0 + cudnn7.0 + python3.6.5 + tensorflow1.6搭建
-
Ubuntu 10.04下的搭建SUN JAVA开发环境
-
ubuntu 10.04上搭建php网站运行环境
-
Ubuntu 10.04下的搭建SUN JAVA开发环境
-
Ubuntu18.04 LTS搭建GO语言开发环境过程解析
-
Ubuntu 10.04 LTS 64bit搭建Rails3+MongoDB环境
-
Ubuntu 10.04 LTS 64bit搭建Rails3+MongoDB环境