首页 > 系统相关 >linux 常用操作

linux 常用操作

时间:2022-12-24 13:44:25浏览次数:47  
标签:bin 常用 compose M2 export linux 操作 docker HOME

maven 环境变量

export M2_HOME=/data/maven/apache-maven-3.6.3

export CLASSPATH=$CLASSPATH:$M2_HOME/lib

export PATH=$PATH:$M2_HOME/bin

 jdk

apt install openjdk-8-jdk-headless

 docker提权

chmod -R 777 /var/run/docker.sock

docker-compose

curl -L https://get.daocloud.io/docker/compose/releases/download/1.29.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

chmod +x /usr/local/bin/docker-compose

  

 

标签:bin,常用,compose,M2,export,linux,操作,docker,HOME
From: https://www.cnblogs.com/tianyamoon/p/17002803.html

相关文章