Ubuntu 安装

Ubuntut 安装

软件仓库:华为镜像

sudo cp -a /etc/apt/sources.list /etc/apt/sources.list.bak
sudo sed -i "s@http://.*archive.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list
sudo sed -i "s@http://.*security.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list
sudo apt-get update

输入法:搜狗输入法

sudo apt update
sudo apt-get install fcitx

# language support - add/remove language - chinese sc
# keyword input system: fcitx

sudo cp /usr/share/applications/fcitx.desktop /etc/xdg/autostart/

sudo apt purge ibus
 
sudo dpkg -i sogoupinyin_版本号_amd64.deb
# sudo apt -f install

sudo apt install libqt5qml5 libqt5quick5 libqt5quickwidgets5 qml-module-qtquick2
sudo apt install libgsettings-qt1

# reboot
# fcitx config - + - sogoupinyin

字体:思源宋体

浏览器:chrome

浏览器插件:adblock, switchyomega

开发:jdk8, maven, IDEA, vs code, clash

.bashrc

sudo apt install -y vim
vim ~/.bashrc
export JAVA_HOME=/home/liaozibo/app/jdk1.8.0_341
export MAVEN_HOME=/home/liaozibo/app/maven
export PATH=$PATH:/home/liaozibo/app/jdk1.8.0_341/bin
export PATH=$PATH:/home/liaozibo/app/maven/bin
export PATH=$PATH:/home/liaozibo/app/idea/bin
# export http_proxy=http://127.0.0.1:7890
# export https_proxy=http://127.0.0.1:7890
source ~/.bashrc

maven:

<localRepository>/home/liaozibo/app/maven/repo</localRepository>

<mirror>
    <id>huaweicloud</id>
    <mirrorOf>*</mirrorOf>
    <url>https://repo.huaweicloud.com/repository/maven/</url>
</mirror>
posted @ 2022-09-03 21:31  廖子博  阅读(33)  评论(0编辑  收藏  举报