1. configure the rule list. In fact, the configuration of the rule list is completed in the basic system installation. However, because this step is important and requires a lot of words, it is listed separately. Absolute path to the inventory list File:/etc/pacman. d/Volume list editing method: delete or comment out...
1.1. configure the lifecycle list
In fact, the configuration of the rule list is completed in the basic system installation, but because this step is more important, there are many words to play, so it is listed separately.
Absolute path of the secure list File:/etc/pacman. d/Secure List
Edit method: delete or comment out all content in the file and add the following text to it:
Server = http://mir.archlinux.fr/?repo/ OS /i686
You can repeat the preceding content several times to automatically restart the link in special cases such as connection timeout (use the yy and p commands in vi ).
1.2 update the system
# Pacman-Syu
1.3 process system Audio
First install alsa-utils
# Pacman-S alsa-utils
Run alsaconf and set the sound card options as prompted.
Then edit/etc/rc. conf adds alsa to the system DAEMON. this step must be done. Otherwise, the audio settings made by the system will not take effect and will be in the mute state after each boot, which will be quite annoying.
1.4 Process System videos
First install xorg and mesa, where mesa is an OpenGL clone for processing 3D applications.
# Pacman-S xorg mesa
Then install the corresponding graphics driver for your graphics card. for example, if I use an intel integrated graphics card, then:
# Xf86-video-intel for pacman-S
Correspondingly, nv graphics card is installed with xf86-video-nv, ati graphics card is installed with xf86-video-ati or xf86-video-readonhd, please GOOGLE.
1.5 install fam
Before starting x, you must start fam first. Otherwise, the mouse and keyboard will become unavailable and enter an endless loop.
# Pacman-S fam
Edit/etc/rc. conf, add hal and fam to DAEMON, and pay attention to the order of the two. restart the computer. now we have a clean basic system.
1.6 install rar and other decompression tools:
# Pacman-S unrar unzip p7zip
1.7 font installation
First install the English font. Here we select ttf-dejavu. of course, you can also select your favorite English font.
# Pacman-S ttf-dejavu
Then install the Chinese font. Generally, I use to install the font manually. the installation steps are as follows:
Download the font file, for example, yahei.rar.
# Unrar x yahei
# Mkdir/usr/share/fonts/yahei
# Cp *. ttf/usr/share/fonts/yahei/
# Cd/usr/share/fonts/yahei/
# Mkfontscale
# Mkfontdir
# Fc-cache-fv
1.8 install the desktop system
Because the KDE System does not reach the office application level, we choose GNOME here:
# Pacman-S gnome
1.9 install required desktop tools
# Pacman-S gnome-terminal tpd gnome-utils evince file-roller gedit gcalctool gthumb empathy telepathy-butterfly telepathy-gabble gnome-power-manager
1.10 install audio and video tools and decoding packages
# Pacman-S smplayer flashplugin codecs
1.11 install Office tools
# Pacman-S jre openoffice-base openoffice-zh-CN
1.12 install the NTFS read/write tool
# Pacman-S NTFS-3G ntfsprogs
1.13 install the FTP server
# Pacman-S vsftpd
Modify the/etc/vsftpd. conf file:
Comment out the anonymous_enable = YES line
Uncomment
# Local_enable = YES
# Write_enable = YES
You can add vsftpd to DAEMON if you want to run it automatically.
1.14 install the sudo tool
# Pacman-S sudo
Add "chinereall = (ALL) ALL" to/etc/sudoers
Add "complete-cf sudo" to/home/USER_NAME/. bashrc
1.15 install the Bluetooth tool
# Pacman-S blueman
Modify the/etc/rc. conf file. if you need to start the file automatically, add bluetooth to the DAEMONS item.
1.16 install vim
# Pacman-S vim
For detailed configuration, please GOOGLE. the following two items should be the most basic:
Set fileencodings = ucs-bom, UTF-8, cp936, gb18030, big5, euc-jp, euc-kr, latin1
Syntax on
The previous sentence is used for encoding self-adaptation, and the last sentence is used to enable automatic code coloring. Put the preceding two sentences at the end of the/etc/vimrc file.
1.17 install the nfs service
Pacman-S nfs-utils
Add nfs-server to the daemon entry in/etc/rc. conf.
Modify/etc/exports and add:
/Home/chinstrap/workspace/test 192.168.0.0/255.255.255.0 (rw, no_root_squash, sync)
That is, the/home/chinstrap/workspace/test directory on the local computer is shared. the computer in the 192.168.0.0/255.255.255.0 network segment has the access permission, and the file execution permission is rw, no_root_squash, and sync.
Run
Mount-o rw, nolock 192.168.0.101:/home/chinstrap/workspace/test./test
Mount the home/chinamoocs/workspace/test directory on the remote host 192.168.0.101 to the./test directory.
1.18 install eclipse
Do not install eclipse from pacman. you are advised to download eclipse from eclipse.org/downloadswebsite.
Note: Because of the Chinese input method, the content assist in the eclipse Express key is control + space, which is in conflict with the system. we recommend that you change it to Alt +/and change word complete to Alt +.
Subversion Keywords:
Http://subclipse.tigris.org/update_1.6.x
Change the Monospace font to Dejavu Sans Mono. Otherwise, the indent effect will be poor.
1.19 install network-manager-applet
# Pacman-S network-manager-applet madwifi
Add networkmanager to the DAEMON entry of/etc/rc. conf.
So far, the system installation has been basically completed, and the configuration is now started
1.20 install the time management tool
# Pacman-S hamster-applet
2.21 install telnet and other network tools
# Pacman-S inetutils
2.22 install the CPU frequency adjustment tool
# Pacman-S acpid
2.23 install printer support tools
# Pacman-S cups maid IP
Part 2: Configuration
2.1 Set font
Use System-> Preference-Apperence to open the font setting page, set the font other than Mono to No. 9 of 9, and set Mono to No. 9 of Dejavu mono9. Pay attention to Mono font settings. Otherwise, it may be difficult to display the same width font of gnome-terminal or other programs.
2.2 chromium settings
I mainly install plug-ins and set fonts and home pages. The plug-ins I have installed include AdBlock, Docs PDF/PowerPoint Viewer, Google Calendar Checker, and Google Mail Checker.
2.3 Use framebuffer
Add vga = 872 to the startup parameters (my screen resolution is 1280x800). If you do not know the sub-host or screen parameters, install the lrmi tool and run vbetest to view the parameters, add 512 to the obtained value. Of course, this step is unnecessary if you do not need to program in framebuffer.
2.4 set ssd hard disk settings
Step 1: Add the following to fstab:
Tmpfs/tmpfs defaults, noatime, mode = 1777 0 0
Tmpfs/var/tmp tmpfs ULTS ults, noatime, mode = 1777 0 0
Tmpfs/var/log tmpfs ULTS ults, noatime, mode = 0755 0 0
Step 2: Go to firefox and type "about: config ".
Add the browser. cache. disk. parent_directory key and set it to the/tmp or string type. if firefox is not used, skip this step.
Step 3: add elevator = noop to the startup parameters
General Address:/boot/grub/men. lst
2.5 configure the qstardict Dictionary
Mkdir-p ~ /. Stardict/dic
Tar xzvf dictionary.tar.gz-C ~ /. Stardict/dic
2.6 add a working user to the system
# Useradd-m-G users, audio, video, wheel, lp, optical, network, storage, volumes, hal lqs-s/bin/bash
# Passwd lqs
2.7 set the automatic CPU frequency
× Add acpi-cpufreq cpufreq_ondemand cpufreq_powersave cpufreq_conservative to the startup module
* Modify/etc/conf. d/cpufreq and comment out the related content. the content is as follows:
Governor = "conservative"
Min_freq = "0.8 GHz"
Max_freq = "3 GHz"
× Execution
# Chmod + s/usr/bin/cpufreq-selector
× Add the CPU Frequency Monitor tool to the top panel
2.9 set the printer
I use the LENOVO LJ2200 printer. LENOVO is not generous, this is actually a brother HL-2140, LENOVO once again carried forward the power of the assembly company, 2140 sprayed on the LENOVO logo, and then sold to me, so the installation of the driver has to install HL-2140, because, to get me is not for LINUX driver. The following figure shows how the printer is installed, where the driver uses Foomatic/hpijs-pcl5e. Remove usblp from MODULES. Otherwise, the printer may be unavailable.
2.8 set DAEMON items
Edit the/etc/rc. conf file and add the files such as running:
DAEMONS = (netfs crond hal fam @ alsa @ sshd @ tpd @ acpid @ cpufreq @ networkmanager! Vsftpd @ cups! Bluetooth! Nfs-server)
2.9 set the MODUEL entry
Edit the/etc/rc. conf file and add fuse and other items to MODULES. What are my MODULES items? Result:
MODULES = (fuse loop! Usblp acpi-cpufreq cpufreq_ondemand cpufreq_powersave cpufreq_conservative)
2.10 set xorg. conf
If you need to use interfaces such as d-sub, dvi, and hdmi for external display, it is necessary to set the xorg. conf file:
1. stop running and exit from the graphics status of the running of the agent:
#/Etc/rc. d/TPD stop
2. Generate the xorg. conf. new file
# Xorg-configure
The generated file xorg. conf. new is located in the/root/Directory. we need to rename this file to xorg. conf and copy it to the/etc/X11 directory.
3. edit the file and add the HorizSync, VertRefresh, and Modeline items to the Monitor segment, as shown in:
The Modeline value can be obtained using the gtf command. to obtain the full-definition Modeline value, run the following command:
# Gtf 1920 1080 60
Configuration
Shortlist
Actually
Shortlist
The configuration is completed in the basic system installation, but because this step is more important and requires a lot of words, it is listed separately.
Shortlist
Absolute file path:
/Etc/pacman. d/hosts list
Edit method: delete or comment out all content in the file and add the following text to it:
Server = http://mir.archlinux.fr/?repo/ OS /i686
You can repeat the preceding content several times to automatically restart the link in special cases such as connection timeout (
Vi
Used in
Yy, p
Command ).
Author "stonebird"