`
aaronluo
  • 浏览: 29564 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

[RoR小学生] - Build RoR on Ubuntu 12.04 LTS

 
阅读更多
1. Install Curl
     sudo apt-get install curl

2. Install Git
     sudo apt-get install git-core
     configure the Git
     git config --global user.name "aaronluo"
     git config --global user.mail kinglz2003@hotmail.com
 
3. Install RVM
     \curl -sSL https://get.rvm.io | bash -s stable
     source ~/.rvm/scripts/rvm
     rvm requirements
 
4. Install Ruby & Rails
     rvm list known
     rvm install 1.9.3
     rvm use 1.9.3 --default   
     gem update --system
     gem update
     gem install rails
 
6. Install Google Chrome
 cd /tmp
sudo dpkg -i google-chrome-stable_current_i386.deb
 
To fix "errors were encountered while processing"
sudo apt-get -f install
 
7. Install JDK 1.7
     sudo add-apt-repository ppa:webupd8team/java
     sudo apt-get update
     sudo apt-get install oracle-java7-installer
     sudo apt-get install oracle-java7-set-default
 
8. Install RubyMine 6
     Download proper installation package from www.jetbrains.com/ruby/download
     Move it to /usr folder and unpack it
     cd ./bin 
     ./rubymine.sh
 
9. Install MySQL
     sudo apt-get install mysql-server
     This command will install MySQL server, client and other dependencies. After installation, MySQL server will start automatically. To check it
     sudo netstat -tap | grep mysql
     To restart MySQL server
     sudo service mysql restart
     sudo service mysql stop
     sudo service mysql start
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics