CentOS新系统工具安装

时区设置

## 查看当前时区
timedatectl | grep "Time zone"
## 查看时区列表
thiimedatectl list-timezones
## 设置时区
sudo timedatectl set-timezone  'Asia/Shanghai'

CentOS7桌面怎么校准时间?(设置时区)

安装Docker 环境

# 开机自启
systemctl enable docker

菜鸟教程-CentOS Docker 安装

ifconfig not found

 yum install net-tools

install oh-my-zsh

yum install zsh -y
chsh -s /bin/zsh root
echo $SHELL
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

zsh plugin

##下载安装
git clone --depth=1 https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-autosuggestions

##vi进去配置zsh-autosuggestions
plugins=(
    git
    # other plugins...
    zsh-autosuggestions
)

Mac/Linux配置oh-my-zsh 安装必用插件

你可能感兴趣的:(linux,服务器)