1. Change the source
input the command
sudo pacman-mirrors -i -c China -m rank
Edit /etc/pacman.conf, add at the end of the article
[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
Save and exit, then update
sudo pacman -Syy
2 install input method
Install yay, and Sogou input method
sudo pacman -S yay
yay -S fcitx-im fcitx-configtool
yay -S base-devel
yay -S fcitx-sogoupinyin
3. Set up a transparent terminal
3.1 Install gnome-terminal-transparency required for transparency
yay -S gnome-terminal-transparency
3.2
Open the terminal, click the settings (three dots) in the upper right corner,
click the profile preferences,
click unnamed, click the color, and
check Transparent background
4. Install qq music
yay -S qqmusic-bin
5. Install mysql
5.1 Installation
yay -S mysql
5.2 Initialization
sudo mysqld --initialize --user=mysql --basedir=/usr --datadir=/var/lib/mysql
Copy the displayed password behind root@localhost to the generated password, which will be used later in
5.3 to start mysql
sudo systemctl restart mysqld
5.4 Log in to mysql
mysql -u root -p
Enter the copied password
5.5 Change password
ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY '你将要使用的密码';
5.6 Set boot up
sudo systemctl enable mysqld.service
5.7 Add environment variable
sudo nano /etc/profile
export MYSQL_HOME=/usr/local/mysql
export PATH=$PATH:$MYSQL_HOME/bin
Press ctrl+x and enter y to save the modification