Ubuntu16(虛擬機器)python工作環境配置

2021-10-06 03:36:59 字數 2853 閱讀 3758

cp vmware-tools ~/downloads

tar -xf vmware-tools

sudo ./install.pl

備份原始檔

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
修改原始檔許可權

sudo chmod 777 /etc/apt/sources.list
deb  xenial main restricted universe multiverse

deb xenial-security main restricted universe multiverse

deb xenial-updates main restricted universe multiverse

deb xenial-proposed main restricted universe multiverse

deb xenial-backports main restricted universe multiverse

deb-src xenial main restricted universe multiverse

deb-src xenial-security main restricted universe multiverse

deb-src xenial-updates main restricted universe multiverse

deb-src xenial-proposed main restricted universe multiverse

deb-src xenial-backports main restricted universe multiverse

deb bionic main restricted universe multiverse

deb-src bionic main restricted universe multiverse

deb bionic-updates main restricted universe multiverse

deb-src bionic-updates main restricted universe multiverse

deb bionic-backports main restricted universe multiverse

deb-src bionic-backports main restricted universe multiverse

deb bionic-security main restricted universe multiverse

deb-src bionic-security main restricted universe multiverse

deb bionic-proposed main restricted universe multiverse

deb-src bionic-proposed main restricted universe multiverse

更新源

sudo apt update
sudo add-apt-repository ppa:dawidd0811/neofetch

sudo apt install neofetch

sudo apt install zsh

sudo apt install git

sudo apt install vim

sudo apt install vim-gtk

sudo apt install tmux

sudo apt install ranger

科學上網

sh -c "$(wget -o- "
非科學上網,離線安裝

git clone

安裝外掛程式:

git clone git: $zsh_custom/plugins/zsh-autosuggestions

git clone $/plugins/zsh-syntax-highlighting

修改.zshrc檔案管理外掛程式

git extract z sublime zsh-autosuggestions zsh-syntax-highlighting

使用使用zsh代替bash

cat /etc/shells

chsh -s /bin/zsh

個人的配置檔案,先簡單配置一下vim, tmux

git clone

cp .vimrc ~/

cp .tmux.conf ~/

.zshrc 新增neofetch

1. wget miniconda3-4.7.12.1-linux-x86_64.sh

2. sh miniconda3-4.7.12.1-linux-x86_64.sh

3. export path=/home/lee/conda/bin:$path

4. 換源

Ubuntu16 雙系統 虛擬機器 安裝

若在後面卡頓,請安裝雙系統 執行速度更快 主要是設定分割槽的問題,目前主流雙硬碟,系統固態盤 機械硬碟 雙硬碟,在系統盤所在硬碟分割槽500mb給引導分割槽boot,在另外一塊硬碟分出85g空閒,根據自己需求調整主分割槽 和 home a.邏輯分割槽,500m,起始,ext4日誌檔案系統,boot ...

虛擬機器 Ubuntu

1.安裝 2.安裝tools,可以複製檔案 參考 快捷鍵 ctrl alt t 命令列 ctrl alt l 鎖屏 更改 etc apt sources.list 阿里源 deb src xenial main restricted added by software properties deb ...

ubuntu 虛擬機器網絡卡

安裝的ubuntu16.04,完成之後ip是動態獲取的,於是項配置乙個靜態的ip,ubuntu16的物理網絡卡名字是ens33,和以前的eth0 之類的不一樣,不知道從什麼版本開始改的。直接修改 etc network inte ces檔案。新增如下幾行 iface ens33 inet stati...