tft每日頭條

 > 科技

 > ubuntu系統完整安裝

ubuntu系統完整安裝

科技 更新时间:2024-07-24 01:16:35
ubuntu鏡像源修改及使用

參考阿裡ubuntu鏡像源修改

阿裡ubuntu鏡像

修改鏡像源
  1. 找到source.list文件

lzd@ubuntu:~$ cd /etc/aptlzd@ubuntu:/etc/apt$ lsapt.conf.d sources.bak sources.list.d trusted.gpg.dpreferences.d sources.list trusted.gpg

  1. 備份source.list文件

lzd@ubuntu:/etc/apt$ sudo cp sources.list sources.list.bak

  1. gedit打開source.list進行修改

lzd@ubuntu:/etc/apt$ sudo gedit sources.list

ubuntu系統完整安裝(ubuntu安裝下)1

更新軟件
  1. 更新軟件源列表

lzd@ubuntu:/etc/apt$ sudo apt update

  1. 更新所有應用為最新軟件

lzd@ubuntu:/etc/apt$ sudo apt upgrade

ubuntu系統完整安裝(ubuntu安裝下)2

VMwareTools安裝及使用
  1. 配置共享文件夾

ubuntu系統完整安裝(ubuntu安裝下)3

  1. 挂載共享文件夾
  • 2.1. 手動挂載---- 不能再共享目錄下操作

sudo vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other

2.2. 自動挂載

修改/etc/fstab,加入如下内容

.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other,defaults 0 0

  1. 驗證共享文件夾

@ubuntu:/mnt/hgfs/03-share$ touch 1.clzd@ubuntu:/mnt/hgfs/03-share$ echo helloworld >> 1.c

ubuntu系統完整安裝(ubuntu安裝下)4

vimconfig配置及使用
  1. 安裝vim

lzd@ubuntu:/mnt/hgfs/03-share$ sudo apt-get install vim

  1. 拷貝vim

ubuntu系統完整安裝(ubuntu安裝下)5

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 安裝及使用
  1. 打開火狐浏覽器,進入vscode官網

ubuntu系統完整安裝(ubuntu安裝下)6

  1. 下載完畢後進行安裝

ubuntu系統完整安裝(ubuntu安裝下)7

ubuntu系統完整安裝(ubuntu安裝下)8

  1. 驗證安裝

lzd@ubuntu:/mnt/hgfs/03-share$ code 1.c

  1. 下載vscode開發所需插件
  • C/C

ubuntu系統完整安裝(ubuntu安裝下)9

  • 中文語言包

ubuntu系統完整安裝(ubuntu安裝下)10

安裝搜狗輸入法
  1. 打開火狐浏覽器,進入搜狗官網

ubuntu系統完整安裝(ubuntu安裝下)11

ubuntu系統完整安裝(ubuntu安裝下)12

  1. 下載完畢後進行安裝
  2. 配置鍵盤輸入模式
  1. 退出系統重新登錄
,

更多精彩资讯请关注tft每日頭條,我们将持续为您更新最新资讯!

查看全部

相关科技资讯推荐

热门科技资讯推荐

网友关注

Copyright 2023-2024 - www.tftnews.com All Rights Reserved