Arranged after the installation is complete ArcoLinux
The first chapter Arcolinux whole network installation tutorial By kainhuck
1. Change source
modify/etc/pacman.d/mirrorlist
In most head increase Tsinghua source
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
after edited/etc/pacman.d/mirrorlist
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################
# With: reflector -f 30 -l 30 --number 10 --save /etc/pacman.d/mirrorlist
# When: 2019-11-28 07:17:25 UTC
# From: https://www.archlinux.org/mirrors/status/json/
# Retrieved: 2019-11-28 07:17:18 UTC
# Last Check: 2019-11-28 06:44:04 UTC
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
Server = https://ger.mirror.pkgbuild.com/$repo/os/$arch
Server = https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
Server = https://ftp.sh.cvut.cz/arch/$repo/os/$arch
Server = http://mirror.pseudoform.org/$repo/os/$arch
Server = https://mirror.pseudoform.org/$repo/os/$arch
Server = https://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch
Server = http://mirrors.atviras.lt/archlinux/$repo/os/$arch
Server = https://mirrors.atviras.lt/archlinux/$repo/os/$arch
Server = http://ftp.sh.cvut.cz/arch/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch
modify/etc/pacman.conf
I chose to comment out the last plane to arcolinux
the beginning of the four warehouses, and increase the USTC archlinuxcn
warehouse
This is my modified/etc/pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
TotalDownload
#CheckSpace
VerbosePkgLists
ILoveCandy
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
#[arcolinux_repo_testing]
#SigLevel = Required DatabaseOptional
#Include = /etc/pacman.d/arcolinux-mirrorlist
#[arcolinux_repo]
#SigLevel = Required DatabaseOptional
#Include = /etc/pacman.d/arcolinux-mirrorlist
#[arcolinux_repo_3party]
#SigLevel = Required DatabaseOptional
#Include = /etc/pacman.d/arcolinux-mirrorlist
#[arcolinux_repo_xlarge]
#SigLevel = Required DatabaseOptional
#Include = /etc/pacman.d/arcolinux-mirrorlist
[archlinuxcn]
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
Then installarchlinuxcn-keyring
This step is very important, you must do before you install subsequent software
Execute the following command
$ sudo pacman -Syu
$ sudo pacman -S archlinuxcn-keyring
2. Install Chinese Input Method
Recommended use Google Pinyin is not recommended for use search dogs (baffling problem occurs)
$ sudo pacman -S fcitx-im
$ sudo pacman -S fcitx-cofigtool
$ sudo pacman -S googlepinyin
Create a home directory under .xprofile
the file and writes the following
export XIM=fcitx
export XIM_PROGRAM=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
Restart, find the name in the Start menu in Fcitx 配置
the application to select an input method.
3. Install WPS
$ sudo pacman -S wps-office ttf-wps-fonts
For the first time after the installation is complete, open an error will be reported
Unable to open URI "file: /// messagepush% ....
It is because of this error is an adware shells do not come out, anyway, ignoring him just fine, does not affect the use, anyway, only the first time you open this error will be reported
4. install other commonly used software
$ sudo pacman -S qq-linux
VScode
$ sudo pacman -S code
typora
$ sudo pacman -S typora
Baidu network disk
$ sudo pacman -S baidunetdisk-bin
virtualbox
$ sudo pacman -S virtualbox
I chose herevirtualbox-host-dkms
$ sudo pacman -S linux-headers
The current users to join vboxusers
group
$ sudo gpasswd -a $USER vboxusers
other
$ sudo pacman -S virtualbox-guest-dkms
$ sudo pacman -S virtualbox-guest-iso
$ sudo pacman -S virtualbox-guest-utils
5. Terminal landscaping
Although arcolinux default bash has been nice enough, although the fish are nice, but I still like zsh
1. Switch shell
arcolinux zsh comes with no additional installation
$ sudo chsh -s /bin/zsh
Restart
2. Installation oh-my-zsh
URL https://ohmyz.sh
$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
3. Configure Plug
ohmyzsh plug-in~/.oh-my-zsh/plugins
History (autocomplete) plug-in
$ cd ~/.oh-my-zsh/plugins
$ git clone git://github.com/zsh-users/zsh-autosuggestions.git
Grammar check-ins
$ cd ~/.oh-my-zsh/plugins
$ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
Once you have downloaded the ~/.zsrc
added file
$ vim ~/.zshrc
Find plugins=(git)
, read as follows
plugins=(
git
sudo
zsh-syntax-highlighting
zsh-autosuggestions
)
Become effective~/.zshrc
$ source ~/.zshrc
Root user to install ohmyzsh
Switch User
$ su root
Here note To clear ZSH
the environment variable, otherwise it will prompt ohmyzsh already installed, because by su switch user environment variables are not changed
$ ZSH=
Other steps above