15 Star 42 Fork 29

Spring / init_server

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
jdk.sh 404 Bytes
Copy Edit Web IDE Raw Blame History
廖师兄 authored 2019-12-24 18:18 . update jdk.sh.
#!/usr/bin/env bash
#install_jdk
wget https://imcfile.oss-cn-beijing.aliyuncs.com/shizhan/file/liaoshixiong/jdk-8u231-linux-x64.tar.gz
tar zxvf jdk-8u231-linux-x64.tar.gz
rm -rf jdk-8u231-linux-x64.tar.gz
mv jdk1.8.0_231 /usr/local/
ln -s /usr/local/jdk1.8.0_231/bin/java /usr/bin/java
echo -e "JAVA_HOME=/usr/local/jdk1.8.0_231;\nexport PATH=\$PATH:\$JAVA_HOME/bin;" >> /etc/profile
source /etc/profile

Comment ( 0 )

Sign in for post a comment

Shell
1
https://gitee.com/liaoshixiong/init_server.git
git@gitee.com:liaoshixiong/init_server.git
liaoshixiong
init_server
init_server
master

Search