CentOS

1.安装vscode

  • 去vscode官网下载deb包。
  • 在包的文件夹打开终端,输入命令sudo apt-get install -f ./包名
  • 如果没能执行成功就通过su命令切换为root用户重新安装
  • 使用exit退出root用户(如果使用了root用户),输入命令code打开vscode

2.将用户添加进sudo组

usermod -aG wheel changchang

3.查看时区

timedatectl

4.查看端口占用

sudo netstat -tulnp | grep 80

5.unzip压缩与解压

需要先下载

sudo yum install -y unzip
posted @ 2026-07-02 17:48  畅畅c  阅读(2)  评论(0)    收藏  举报