Unbuntu装机后的环境配置

更新Ubuntu的源


cd /etc/apt/

sudo cp sources.list sources.list.bak

sudo vim sources.list

阿里源

deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties

deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted

deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties

deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted

deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties

deb http://mirrors.aliyun.com/ubuntu/ xenial universe

deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe

deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse

deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse

deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties

deb http://archive.canonical.com/ubuntu xenial partner

deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted

deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties

deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe

deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse

sudo apt-get update

sudo apt-get upgrade


安装vim

sudo apt-get install vim
vim --version

vim安装以及配置


安装git

sudo apt-get install git;

安装搜狗拼音输入法

下载

去搜狗公司官网下载最新的deb文件的安装包 https://pinyin.sogou.com/linux/

下载完成之后,在终端中直接执行命令或者是直接双击在软件管理中心安装

sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb


安装chrome

下载

https://www.google.cn/chrome/

下载完成之后,在终端中直接执行命令或者是直接双击在软件管理中心安装

sudo dpkg -i google-chrome-stable_current_amd64.deb


移动 Ubuntu16.04 桌面左侧的启动器到屏幕底部

在终端中输入以下命令

gsettings set com.canonical.Unity.Launcher launcher-position Bottom

命令中最后的 Bottom 就是底部的意思。

恢复gsettings set com.canonical.Unity.Launcher launcher-position left


Android必要软件的安装:

https://source.android.com/source/initializing.html


ubunt 修改host访问google网址

在老D博客中查看最新的host地址

下载switchhost工具

可添加远程配置,实时更新

2020 hosts 最新Google hosts

工作环境配置

生成 SSH Key

ssh-keygen -t rsa -C ["[email protected]"](mailto:"[email protected]")

根据提示一直回车

ssh-add ~/.ssh/id_rsa

添加key

ls -al ~/.ssh

查看是否生成

cat ~/.ssh/id_rsa.pub

将输出的key添加到需要的gerrite上

安装repo

sudo apt install repo

安装fastboot

sudo apt-get install fastboot

安装adb

sudo apt install adb
sudo vim /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="901d", MODE="0666"
chmod 777 /etc/udev/rules.d/51-android.rules

插拔usb验证

邮箱配置

服务器/端口/邮箱类型/尾部提名格式

安装wps

官网下载:http://www.wps.cn/product/wpslinux

sudo dpkg -i wps-office_10.1.0.6757_amd64.deb

安装xmid

官网下载:https://www.xmind.net/download/xmind8/

解压

sudo ./setup.sh
cd XMind_amd64/
./XMind

安装minicom

sudo apt install minicom

安装VsCode

VSCode https://code.visualstudio.com/Download

sudo dpkg -i code_1.24.1-1528912196_amd64.deb

修改成中文

--按 ctrl+shift+p ,在上方输入框输入“language”选择Configure Display Language,设置中文

安装相关插件

Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.

--ext install ms-vscode.cpptools

--ext install esbenp.prettier-vscode

配置环境

https://www.cnblogs.com/flyinggod/p/10867530.html

你可能感兴趣的:(Unbuntu装机后的环境配置)