After installing archlinux, you still need to configure a lot of content. By the way, you can simply record the configuration process.
After installing archlinux, you still need to configure a lot of content. By the way, you can simply record the configuration process.
Desktop Environment
- Xorg is the most basic display service and must be installed. To start X, you can install the software package xorg-xinit (which can be replaced by the logon manager ).
- Window Manager: the complete desktop environment provides a complete user interface, but usually occupies a lot of system resources. To maximize system performance, you can only install the window manager.
- Display Manager: that is, the logon manager, for example, running a command on a machine such as running a machine group running a machine.
- Desktop Environment: includes the window manager, Display Manager, and many other software.
Gnome3
- Window Manager: Mutter
- Display Manager: IBD
- Taskbar: gnome-shell
- File Manager: nautilus
View the graphics card type and install the driver. For more information, see xorg.
Gnome3
ZSH
$ lspci | egrep '3D|VGA'00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev a2)$ pacman -S nvidia
$ lspci | egrep '3D|VGA'00:02.0 VGAcompatiblecontroller: IntelCorporation 4th GenCoreProcessorIntegratedGraphicsController (rev 06)01:00.0 3D controller: NVIDIACorporationGM107M [GeForceGTX 850M] (reva2)$ pacman -S nvidia
Install the desktop environment
Gnome3
ZSH
$ pacman -S xorg xorg-server xorg-server-utils $ pacman -S gnome gnome-extra gnome-packagekit gnome-software
$ pacman -S xorgxorg-serverxorg-server-utils $ pacman -S gnomegnome-extragnome-packagekitgnome-software
Font
Fonts
Default
$ pacman -S wqy-microhei
$ pacman -S wqy-microhei
Chinese Input Method
Ibus is installed in Gnome3 by default. We will install a Chinese input method.
Input
ZSH
# Install ibus-pinyin and configure $ pacman-S ibus-pinyin using System Options
# Install ibus-pinyin and configure $ pacman-S ibus-pinyin using System Options
Scientific Internet access
Socks5, local service configuration
Config. json
JavaScript
/etc/*******/config.json{ "server":"my_server_ip", "server_port":8388, "local_address": "127.0.0.1", "local_port":1080, "password":"mypassword", "timeout":300, "method":"aes-256-cfb", "fast_open": false, "workers": 1}
/etc/*******/config.json{ "server":"my_server_ip", "server_port":8388, "local_address": "127.0.0.1", "local_port":1080, "password":"mypassword", "timeout":300, "method":"aes-256-cfb", "fast_open": false, "workers": 1}
Sslocal
ZSH
# Run $ sslocal-c/etc/**********/config directly from the shell. json # Run with systemctl. The service name is *********@. service. If the configuration file is config. the service is ********* @ config. service $ systemctl enable ********* @ config. service # start $ systemctl start/stop *********** @ config. service # start/stop a service
# Run $ sslocal-c/etc/**********/config directly from the shell. json # Run with systemctl. The service name is *********@. service. If the configuration file is config. the service is ********* @ config. service $ systemctlenable ********* @ config. service # Start $ systemctlstart/stop *********** @ config. service # start/stop a service
Http/https
You can use privoxy or delegate to convert the socks5 proxy to an http/https proxy. However, if privoxy is not successful, it may be a configuration problem. If delegate is used, we can do this:
Delegate
ZSH
$ delegated -P 10801 SERVER=http SOCKS=127.0.0.1:1080$ delegated -P 10802 SERVER=https SOCKS=127.0.0.1:1080
$ delegated -P 10801 SERVER=httpSOCKS=127.0.0.1:1080$ delegated -P 10802 SERVER=httpsSOCKS=127.0.0.1:1080
Chrome & Chromium
The difference between the two: Chromium is open-source and is updated quickly. New features will appear earlier. Chrome is based on Chromium, which is not open-source and is generally more stable than Chromium.
If you are used to Chromium, you can install it directly:
Chromium
Default
$ pacman -S chromium
$ pacman -S chromium
If you are used to Chrome, you can install it through AUR:
Chrome
Default
# Find google-chrome aur Source: https://aur.archlinux.org/packages/google-chrome/# click Download snapshot Download on the right, or directly through git clone $ cd ~ /Google-chrome $ vim PKGBUILD # because of domestic network reasons, here need scientific Internet to download to the google-chrome.deb, but we can also download deb to the local through other ways, then, use nginx to build a local server for installation and modify # source_x86_64 = ("google-chrome-$ {_ channel }_$ {pkgver} _ amd64.deb: http: // localhost/google-chrome-$ {_ channel} _ current_amd64.deb ") $ makepkg-sri #-s/-- syncdeps indicates that the pacman installation dependency is automatically executed #-r/-- rmdeps deletes unnecessary dependencies during compilation after compilation #-I/-- install install the Software Package
# Find google-chrome aur Source: https://aur.archlinux.org/packages/google-chrome/# click Download snapshot Download on the right, or directly through git clone $ cd ~ /Google-chrome $ vimPKGBUILD # because of domestic network reasons, here need scientific Internet to download to the google-chrome.deb, but we can also download deb to the local through other ways, then, use nginx to build a local server for installation and modify # source_x86_64 = ("google-chrome-$ {_ channel }_$ {pkgver} _ amd64.deb: http: // localhost/google-chrome-$ {_ channel} _ current_amd64.deb ") $ makepkg-sri #-s/-- syncdeps indicates that the pacman installation dependency is automatically executed #-r/-- rmdeps deletes unnecessary dependencies during compilation after compilation #-I/-- install install the Software PackageOpenSSH
Openssh
ZSH
$ Pacman-S openssh $ ssh-keygen-t rsa-C user @ user-pc # configure ssh config $ vim ~ /. Ssh/config
$ Pacman-S openssh $ ssh-keygen-t rsa-C user @ user-pc # configure ssh config $ vim ~ /. Ssh/config
Ssh config
Default
Host jiehua Hostname chenjiehua.me User user Port 22
Hostjiehua Hostnamechenjiehua.me Useruser Port 22
VirtualBox
Virtualbox
Default
$ pacman -S virtualbox
$ pacman -S virtualbox
Error prompted after startup
Virtualbox
Default
Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing'pacman -S virtualbox-modules'as root. If you don't use our stock kernel, install virtualbox-host-source andexecute dkms autoinstall
Kerneldrivernot installed (rc=-1908) TheVirtualBoxLinuxkerneldriver (vboxdrv) is eithernot loadedor thereis a permissionproblemwith /dev/vboxdrv. Pleasereinstallthekernelmodulebyexecuting'pacman -S virtualbox-modules'as root. If youdon't use ourstockkernel, installvirtualbox-host-sourceandexecutedkmsautoinstall
Virtualbox
Default
$ pacman -S virtualbox-modules$ modprobe vboxdrv
$ pacman -S virtualbox-modules$ modprobevboxdrv
Others
Install terminator
Other
Default
$ pacman -S terminator
$ pacman -S terminator
Install oh-my-zsh, vim-spf13, autojump, fuck