首页 » linux

1.安装cifs-utils

su root
apt update
apt install cifs-utils
  1. 创建文件夹并挂载,注意替换<password>为你的密码
mkdir -p /www/wwwroot/win

mount -t cifs -o user=shenfeng,pass=<password>,dir_mode=0777,file_mode=0777 //DESKTOP-FFPK9P7/all /www/wwwroot/win

mount -t nfs 192.168.19.133:/volume3/supreme5 /www/wwwroot/data 报错:mount.nfs: access denied by server while mounting 192.168.19.133:/volume3/supreme5

解决办法,群晖上要设置允许要mount机器的ip。
mount -t nfs 192.168.19.133:/volume3/supreme5 /www/wwwroot/data   #注意133是群晖ip。不是nfs配置的ip

参考:https://blog.csdn.net/qq_44761480/article/details/120667167

manjaro archlinux 安装 sublime

curl -O https://download.sublimetext.com/sublimehq-pub.gpg && sudo pacman-key --add sublimehq-pub.gpg && sudo pacman-key --lsign-key 8A8F901A && rm sublimehq-pub.gpg

echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | sudo tee -a /etc/pacman.conf

sudo pacman -Syu sublime-text

reference :https://wiki.archlinux.org/index.php/User:Crazyh/Sublime_Text