阿里云轻量服务器环境配置

阿里云轻量服务器环境配置

docker 及 docker-composep安装、oh-my-zsh 安装配置

查看linux系统发行版本

lsb_release

安装 Docker Compose

curl -L https://get.daocloud.io/docker/compose/releases/download/v2.16.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

centOS 安装 zsh

yum installl zsh -y

chsh -s /bin/zsh root

yum install wget git -y
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh

/bin/cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
source ~/.zshrc

配置安装Ohmyzsh插件

版权所有,转载请注明出处 luowei.github.io.