java8
sudo vim /etc/profile
JAVA_HOME=/home/ding/environment/jdk1.8.0_311 CLASSPATH=.:$JAVA_HOME/bin.tools.jar PATH=$JAVA_HOME/bin:$PATH export JAVA_HOME CLASSPATH PATH
source /etc/profile
java -version
sudo vim /etc/bash.bashrc
source /etc/bash.bashrc
sudo apt-get update sudo apt-get install git
git config --global user.name "ding" git config --global user.email "13035070219@163.com"
ssh-keygen -t rsa -C "13035070219@163.com" 测试链接 ssh -T git@github.com
maven
export MAVEN_HOME=/home/ding/environment/apache-maven-3.8.4 export PATH=$PATH:$MAVEN_HOME/bin source /etc/profile mvn -version
和java一样,将maven环境变量加入bash
sudo vim /etc/bash.bashrc source /etc/bash.bashrc
sudo apt-get install nodejs
sudo apt-get install npm