sudo apt install ca-certificates sudo apt-get update
https://blog.csdn.net/sinat_38800908/article/details/102839087
lsblk
sudo mkfs.xfs /dev/vdb
3.进行挂载
sudo mount /dev/vdb /data
4.查看是否挂载成功
df -h
5.查看UUID
lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT sr0 iso9660 config-2 2021-12-23-15-00-00-00 vda ├─vda1 └─vda2 ext4 b986dc3b-6b82-44d5-acb8-6cbad5e357d5 42.9G 9% / vdb ext4 0a3f332c-78d4-46dc-9843-c953447d048f 933.2G 0% /data
6.通过修改/etc/fstab实现自动挂载,添加如下配置即可
sudo vi /etc/fstab
UUID=0a3f332c-78d4-46dc-9843-c953447d048f /data ext4 defaults 0 0
添加完成后,执行sudo mount -a 即可生效
sudo mount -a
https://www.cnblogs.com/logBlog/p/11981761.html https://blog.51cto.com/u_12348890/2092339
https://github.com/emicklei/go-restful https://github.com/emicklei/go-restful-openapi https://blog.csdn.net/whatday/article/details/109278845
https://www.macwk.com/article/jetbrains-crack https://macwk.com/soft/goland
仅供学习推荐
go env -w GO111MODULE=auto