Ubuntu 版本 14.04LTS 安装于虚拟机VMWare之中
01. Jdk1.7+ 安装&版本切换等
https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get
1.7安装 或者1.8 推荐
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer 会出现图形化界面确认项
sudo apt-get install gedit
sudo gedit ~/.profile
export JAVA_HOME=/usr/lib/jvm/java-7-oracle
export JRE_HOME=$JAVA_HOME/jre
export PATH=$PATH:$JAVA_HOME/bin
source ~/.profile
echo $JAVA_HOME
JDK 1.7 升级 到 1.8
下载 jdk 手动存放到对应路径
sudo gedit ~/.profile
export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_73
export JRE_HOME=$JAVA_HOME/jre
export PATH=$PATH:$JAVA_HOME/bin
source ~/.profile
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.8.0_73/bin/java" 1
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.8.0_73/bin/javac" 1
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.8.0_73/bin/javaws" 1
sudo update-alternatives --set java /usr/lib/jvm/jdk1.8.0_73/bin/java
sudo update-alternatives --set javac /usr/lib/jvm/jdk1.8.0_73/bin/javac
sudo update-alternatives --set javaws /usr/lib/jvm/jdk1.8.0_73/bin/javaws
02. Gradle 2.8 安装 (管理远程)
VMware下使用Ubuntu, 由于系统默认的Gradle版本实在太低
curl -s http://get.sdkman.io | bash
source /home/wdxxl/.sdkman/bin/sdkman-init.sh
sdk version
安装Gradle 2.8
sdk install gradle
gradle -v
03. Maven 安装 (管理本地)
sudo apt-get install maven
04. Git 安装 方便管理测试代码
sudo apt-get update
sudo apt-get install git
git --version
05. Github ssh 设置
Ubuntu:
ssh-keygen
cd ~/.ssh/
gedit id_rsa.pub
Github.com
https://github.com/settings/ssh
Ubuntu
git clone 测试