CentOS新系统工具安装

2023-12-16 17:53:43

时区设置

## 查看当前时区
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 安装必用插件

文章来源:https://blog.csdn.net/liang520521/article/details/135032411
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。