web服务器vscode

普通安装 安装 wget https://code-server.dev/install.sh bash install.sh 配置 nano ~/.config/code-server/config.yaml 运行

iohannes iohannes Published on 2025-03-17

安装驱动

intel网卡 下载网卡驱动 https://www.intel.cn/content/www/cn/zh/download/14611/15817/intel-network-adapter-driver-for-pcie-intel-gigabit-ethernet-network-connec

iohannes iohannes Published on 2025-03-17

安装NVIDIA 驱动

add-apt-repository ppa:graphics-drivers/ppa apt update apt install nvidia-driver-XXX reboot now 将XXX替换为你想要的驱动版本号

iohannes iohannes Published on 2025-03-17

国内Ubuntu安装docker

安装docker sudo apt-get update sudo apt-get install ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://mirrors.aliy

iohannes iohannes Published on 2025-03-17

更新kernel

查看当前使用内核 uname -r 查看系统已安装的所有内核 dpkg --list | grep linux-imag

iohannes iohannes Published on 2025-03-17

更改时区

显示当前时间 bash date 选择时区 bash tzselect 选择对应的时区,如选择亚洲 Asia,确认之后选择中国(China),最后选择北京(Beijing)

iohannes iohannes Published on 2025-03-17

统计有多少个文件

ls -l *.JPG |grep "^-"|wc -l

iohannes iohannes Published on 2025-03-14

系统变量设置

/etc/environment List of unique assignments. Allows references. Perfect for adding system-wide directories like /usr/local/something/bin to PATH varia

iohannes iohannes Published on 2025-03-14

重命名文件后缀

for i in `ls | grep JPG | awk -F . '{print$1}'`;do mv $i.JPG $i.png ;done

iohannes iohannes Published on 2025-03-14

add a admin user

创建 useradd -mG sudo sammy passwd sammy 测试 su sammy ls -al / 删除 userdel sammy 更改为admin

iohannes iohannes Published on 2025-03-14
Previous Next