Centos使用

date
Sep 12, 2021
slug
cybtcfuz
status
Published
tags
Linux
summary
type
Post
 

安装 zsh

为啥安装 zsh?,安装命令:
yum install zsh
安装Oh My Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

启用 cockpit

Cockpit是一个 Web 端的系统管理工具,只用鼠标点点就能管理系统,事实上也确实如此,我实际使用来说,启动 Cockpit 服务之后,只需要鼠标点点点就能完成系统很多基础操作,比如查看系统信息,启动/停止服务,新增或者更改账户,系统更新,Web 终端及查看网络流量等功能。
$ ll /etc/motd.d/总用量 0lrwxrwxrwx. 1 root root 17 424 2020 cockpit -> /run/cockpit/motd$ cat /etc/motd.d/cockpitActivate the web console with: systemctl enable --now cockpit.socket$ rm /etc/motd.d/cockpit  # 删除改文件即可取消提示
想对于我这种 Linux 菜鸡来说,Cockpit (默认端口 9090)应该有很大帮助的,不用再去查找各种命令。
$ systemctl start cockpit.socket   # 运行Cockpit服务$ systemctl enable –now cockpit.socket  # 启动该服务,随系统启动一同启动$ systemctl status cockpit.socket

© 刘德华 2020 - 2023