git
yum install git
git config --global credential.helper store
node js
sudo yum install epel-release
sudo yum install nodejs
sudo npm install -g n
n 10.3.0 stable
reboot
yarn
直接看这里: install
路径需要注意,linux上js引入的路径是区分大小写的,编码的时候需要注意(属于nodejs的常见问题)。
java
参考地址, 选择需要的版本即可。
The following command will return a list of all packages directly related to Java. They will be in the format of java-<version>
.
$ yum search java | grep 'java-'
If there are no available packages, then you may need to download a new repository to search through. I suggest taking a look at Dag Wieers' repo. After downloading it, try the above command again.
You will see at least one version of Java packages available for download. Depending on when you read this, the lastest available version may be different.
java-1.7.0-openjdk.x86_64
The above package alone will only install JRE. To also install javac and JDK, the following command will do the trick:
$ yum install java-1.7.0-openjdk*
These packages will be installing (as well as their dependencies):
java-1.7.0-openjdk.x86_64
java-1.7.0-openjdk-accessibility.x86_64
java-1.7.0-openjdk-demo.x86_64
java-1.7.0-openjdk-devel.x86_64
java-1.7.0-openjdk-headless.x86_64
java-1.7.0-openjdk-javadoc.noarch
java-1.7.0-openjdk-src.x86_64
maven
sudo yum install maven
mvn -version
版本是3.x,够用。