ubuntu 11.04 安装及配置rails 开发 环境
1.install openssh-server
http://aofengblog.blog.163.com/blog/static/6317021201111415112526/sudo apt-get install openssh-serversudo /etc/init.d/ssh startsudo /etc/init.d/ssh stopsudo /etc/init.d/ssh restarteg:scp copy scp -r /home/space/music/ root@www.cumt.edu.cn:/home/root/others/ scp README dong@192.168.10.102:~/RREADME
sudo apt-get install libmysqlclient-devhttp://fantaxy025025.iteye.com/blog/1176301
gem 'execjs'gem 'therubyracer' 执行 bundle install
sudo apt-get install mysql-server
install apache2+phpmyadminsudo apt-get install apache2sudo apt-get install phpmyadmin
http://www.cnblogs.com/phoebus0501/archive/2010/12/13/1905021.html jdk 1.6http://blog.csdn.net/yang_hui1986527/article/details/6677450 jdk 1.7(1)wget -c http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-i586.tar.gz (2)sudo mkdir /usr/lib/jvm sudo tar zxvf ./jdk-7-linux-i586.tar.gz -C /usr/lib/jvm cd /usr/lib/jvm sudo mv jdk1.7.0/ java-7-sun (3)vim ~/.bashrc export JAVA_HOME=/usr/lib/jvm/java-7-sun export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH 保存退出,输入以下命令使之立即生效。source ~/.bashrc (4)配置默认jdk版本sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-7-sun/bin/java 300 sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-7-sun/bin/javac 300 (5)测试:java -version ,javac, java 6. 修改系统语言为英文修改Ubuntu的配置文件/etc/default/locale将原来的配置内容修改为LANG=”en_US.UTF-8″LANGUAGE=”en_US:en” 再在终端下运行:$ locale-gen -en_US:en
sudo apt-get install vim
sudo add-apt-repository ppa:chromium-daily/ppasudo apt-get updatesudo apt-get install chromium-browser
cd /home/dong/.ssh/id_rsa.pub.ssh-keygen -t rsahttp://www.josephj.com/article/understand-ssh-key/git checkout develop
sudo apt-get remove --purge libreoffice*.*[/size] 1 楼 pobing 2012-05-09 5. install java