-
Notifications
You must be signed in to change notification settings - Fork 0
3.Software
yi-yun edited this page Jun 14, 2019
·
24 revisions
个人常用软件
打开 /etc/pacman.conf
文件修改
<!-- 还要去掉 testing 的注释 -->
[multilib]
Include = /etc/pacman.d/mirrorlist
[archlinuxcn]
SigLevel = Never
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
PS:要让 pacman
有颜色还要将 Color
取消注释
sudo pacman -Sy yay
- 安装,不要少安装一个,有可能会有问题
sudo pacman -Sy fcitx fcitx-im fcitx-configtool fcitx-sogoupinyin
- ~/.xprofile 添加
export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS="@im=fcitx"
sudo pacman -S zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
sudo pacman -S google-chrome flashplugin
sudo pacman -S shadowsocks proxychains-ng
sudo systemctl start [email protected]
sudo systemctl status [email protected]
https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt
PS:别忘记保存。
目录有点乱,反正只是给我自己看的(逃)
sudo pacman -S net-tools neofetch htop dnsutils inetutils iproute2
yay deepin-wine- # 想装哪个装哪个
sudo pacman -S teamviewer
启动后如果出现,未就绪,请检查网络连接
sudo systemctl enable --now teamviewerd
sudo pacman -S baidupcs-go-bin
sudo pacman -S pngquant jpegoptim
sudo pacman -S shutter flameshot
- 快捷键
shutter -s -e -C -o /tmp/screenshot.png && pngquant /tmp/screenshot.png -f --ext .png && xclip -selection clipoard -t 'image/png' /tmp/screenshot.png
flameshot gui
sudo pacman -S jdk8 maven intellij-idea-ultimate-edition nodejs npm mariadb dbeaver code git
ssh-keygen -t ecdsa -b 521 -C "$(yi-yun)@$([email protected])-$(date -I)"
git config --global user.name "yi-yun"
git config --global user.email "[email protected]"
git config --global core.editor vim
git config --global alias.ci "commit -a -v"
archlinux-java status #列出所有jdk
sudo archlinux-java set java-8-jdk
mvn help:system #执行该命令的过程中,会生成~/.m2文件夹,并且会从Maven官网下载必要的依赖包
cp /opt/maven/conf/settings.xml ~/.m2
-
vim ~/.m2/setting.xml
<mirrors> <mirror> <id>aliyunmaven</id> <mirrorOf>*</mirrorOf> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </mirror> </mirrors>
sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
sudo systemctl start mysqld
mysqladmin -u root password '123456' #设置root密码为123456
npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global
npm install -g something --registry=https://registry.npm.taobao.org
yarn config set registry https://registry.npm.taobao.org --global
yarn config set disturl https://npm.taobao.org/dist --global
在 .zshrc 里添加
PATH="$HOME/.node_modules/bin:$PATH"
export npm_config_prefix=~/.node_modules
- Bracket Pair
- EditorConfig
wget https://bootstrap.pypa.io/get-pip.py
ls -al /usr/bin/python*
sudo pacman -S arduino arduino-avr-core
sudo gpasswd -a $USER uucp
sudo gpasswd -a $USER lock # 添加用户
logout # 需要重启