Linux 系统用来用去还是发现ubuntu用的最舒服,毕竟用了从14.04 一直用到了18.04 。用了三年多了。下面就直接记录下。我这边优化系统的全部命令,方便下次装机使用。
更换源
重命名源
1 | $ sudo mv /etc/apt/sources.list /etc/apt/sources.list.mv |
建立阿里源
1 | $ sudo vi /etc/apt/sources.list |
复制以下内容
1 | deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse |
更新源
1 | $ sudo apt update && sudo apt upgrade |
改目录名称
1 | $ export LANG=en_US |
下载git
1 | $ apt install git |
配置git
1 | $ git config --global user.name "ziv" |
配置SSH秘钥
1 | $ ssh-keygen -t rsa -C "abc.ziv@hotmail.com" |
安装VSCode
1 | $ wget https://vscode.cdn.azure.cn/stable/c7d83e57cd18f18026a8162d042843bda1bcf21f/code_1.35.1-1560350270_amd64.deb |
安装 搜狗拼音
1 | $ wget http://cdn2.ime.sogou.com/dl/index/1524572264/sogoupinyin_2.2.0.0108_amd64.deb |
安装搜狗拼音依赖
1 | $ sudo apt install -f |
安装谷歌浏览器
1 | $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb |
安装oh-my-zsh
1 | $ sudo apt-get install zsh |
安装shadowsocks-qt5
1 | $ sudo add-apt-repository ppa:hzwhuang/ss-qt5 |
安装百度网盘
1 | $ wget https://github.com/liuzhuoling2011/baidupcs-web/releases/download/3.6.7/BaiduPCS-Go-3.6.7-linux-amd64.zip |
安装thunderbird邮箱
1 | sudo apt install thunderbird |
安装印象笔记
1 | sudo apt install nixnote2 -y |
安装flameshot截图工具
1 | wget https://github.com/lupoDharkael/flameshot/releases/download/v0.6.0/flameshot_0.6.0_bionic_x86_64.deb |
安装rememberthemilk
1 | wget https://www.rememberthemilk.com/download/linux/debian/pool/main/r/rememberthemilk/rememberthemilk_1.1.13_amd64.deb |
WPS
1 | wget https://wdl1.cache.wps.cn/wps/download/ep/Linux2019/8392/wps-office_11.1.0.8392_amd64.deb |
Mailspring
1 | wget https://updates.getmailspring.com/download?platform=linuxDeb |