net模式其他物理机访问方法
https://blog.csdn.net/qq_31329893/article/details/83511815
命令
ssh相关
systemctl status sshd.service
sudo netstat -atlunp | grep sshd
sdkman
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk version
sdk ls java
sdk install java 8.0.252-open
sdk default java 11.0.5.hs-adpt
java
java -version
yum list java-1.8*
yum install java-1.8.0-openjdk* -y
nohup java -jar XXX.jar > /dev/null 2>&1 &
maven
./mvnw clean install -Dmaven.test.skip=true
mvn clean install -Dmaven.test.skip=true
git
git branch
git remote update origin --prune
git pull
git checkout 分支名
docker
- 有dockerFile的的项目构建docker镜像
docker build -t docker-maven-project .
docker image rm docker-maven-project
网友评论