參考阿裡ubuntu鏡像源修改
阿裡ubuntu鏡像
修改鏡像源lzd@ubuntu:~$ cd /etc/aptlzd@ubuntu:/etc/apt$ lsapt.conf.d sources.bak sources.list.d trusted.gpg.dpreferences.d sources.list trusted.gpg
lzd@ubuntu:/etc/apt$ sudo cp sources.list sources.list.bak
lzd@ubuntu:/etc/apt$ sudo gedit sources.list
更新軟件
lzd@ubuntu:/etc/apt$ sudo apt update
lzd@ubuntu:/etc/apt$ sudo apt upgrade
VMwareTools安裝及使用
sudo vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other
2.2. 自動挂載
修改/etc/fstab,加入如下内容
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other,defaults 0 0
@ubuntu:/mnt/hgfs/03-share$ touch 1.clzd@ubuntu:/mnt/hgfs/03-share$ echo helloworld >> 1.c
vimconfig配置及使用
lzd@ubuntu:/mnt/hgfs/03-share$ sudo apt-get install vim
3.安裝vimconfig
lzd@ubuntu:/mnt/hgfs/03-share/03-vimconfig/vimconfig$ ./config.sh Bakup your vimconfig file...cp: cannot stat '/home/lzd/.vim': No such file or directorycp: cannot stat '/home/lzd/.vimrc': No such file or directoryConfig your vim now !Make tags in /usr/includesudo: unable to execute /bin/ctags: No such file or directory./config.sh: line 19: 2858 Hangup sudo ctags -I __THROW -I __THROWNL -I __nonnull -R --c-kinds= p --fields= iaS --extra= q
vscode 安裝及使用
lzd@ubuntu:/mnt/hgfs/03-share$ code 1.c
安裝搜狗輸入法
更多精彩资讯请关注tft每日頭條,我们将持续为您更新最新资讯!