first, base installation
Partition
Cfdisk, the simplest partition is divided into a single zone/dev/sda1 and set to boot
Formatting
Mkfs.ext4/dev/sda1
Mount partitions, edit mirrors, install systems
Mount/dev/sda1/mntecho >/etc/pacman.d/mirrorlistNano/etc/pacman.d/mirrorlist
Server = Http://mirrors.ustc.edu.cn/archlinux/repo/os/repo/os/arch (USTC source)Pacstrap-i/MNT Base
Generate Fstab
Genfstab-u-p/mnt >>/mnt/etc/fstabCat/mnt/etc/fstab (view the generated content)
Configuring the System
We ne
perform a check. Need not error.Grub-install--target=x86_64-efi--efi-directory=/boot/efi--recheck、To generate a boot configuration fileGrub-mkconfig-o/boot/grub/grub.cfg9. User settingsSet Root passwordpasswdGenerate a new userUseradd-m-G users-s/bin/bash user nameSet a new user passwordpasswd User NameAdd sudo permissions to new usersNano/etc/sudoersUnder Root all= (All), add the followingUser name all= (all) all11. Exit the installation environment and restartExitReboot12. Restart the network
Using a Linux system is always free of contact with package management tools. For example, Debian/Ubuntu apt, opensuse zypp, fedora yum, mandriva urpmi, slackware slackpkg, archlinux pacman, Gentoo emerge, foresight conary, pardus pisi, and so on. Distrowatch summarizes the main usage of the above Package Manager and has a good reference for Linux users. There are still a few shortcomings in this summary. I will organize a more comprehensive version f
1. Partitioning (MBR)# Cfdisk semi-graphical interface, divided into three zones: sda1 20g,sda2 80g,sda3 4G.2. Creating a File system# MKFS.EXT4/DEV/SDA1# Mkfs.ext4/dev/sda2# Mkswap/dev/sda3#swapon/dev/sda3 Enable swap partitions3. Mounting# MOUNT/DEV/SDA1/MNT Mount/# Mkdir/mnt/home Create/home mount point# Mount/dev/sda2/mnt/home Mount/Home# LSBLK Check partition and Mount condition3. Modify the list of mirror sources# nano/etc/pacman.d/mirrorlist Move the China mirror to the front(Nano usage:
Archlinux tossing records and feelings (in)Archlinux tossing records and feelings (in)
I was very excited when I saw Arch boot from a local hard disk and connected to wifi.
However, this is just the beginning.
Next, you need to configure the basic graphic interface, browser, Font, input method, Window Manager, file manager... Customizes your own lightweight operating system.Basic System Configuration
Create a daily desktop user, add root permissions to the user, and use zsh as the terminal
#
Phaser programming skills and phaser programming skills
February 6, 2015Welcome!
After discussing the platform jump game mechanism for several weeks in a row, we should take a break. Therefore, this week's tutorial will be based on the features that we often talk about on the Forum: Grid movement, or a more specific point: how to be like Pacman (Note: Eating beans or genie on a red-white machine) in this way, move in the grid.
The code we discussed th
209715199 89127936 Linux
Then write these changes to the disk:
Command (M for help): Enter W and press ENTER
If everything goes well without errors the Fdisk program will display the following information:
The partition table has been altered!
Calling IOCTL () to re-read partition table.
Syncing disks.
Only the root partitions and/home are divided here
Next, create the file system, taking the Ext4 file system as an example.
# MKFS.EXT4/DEV/SDA1
# Mkfs.ext4/dev/sda2
Mount Partition
Before yo
need to configure the network: Ping temporary failure in name resolution, the solution is to archlinux Install Graphics tutorial 11th section Configuration network;Note: with the above method sometimes there will be the source does not install the failure of the situation, I from the ArchLinux installation graphics tutorial found the need to replace the Chinese source, and then install, update the source of the method see: "For the ArchLinux Select the domestic mirror", China's source speed is
the default Zhong Ke Mirror station (it is a Chinese mirror station), and then the first line of the US mirror station using # comment out, save. OK, after setting up the download source, let's continue to look at the wiki description, use the Pacstrap script to install the base package group: # pacstrap/mnt Base This GR OUP does not include any tools from the live installation, such as btrfs-progs or specific wireless firmware; See Packages.both for comparison. To install packages and other
there is no comment• Update source• installing the base system#pacstrap/mnt Base Base-develThen wait patiently ...• Generate Fstab#genfstab-u-p/mnt >>/mnt/etc/fstab• Go back to the home directory and you'll see that the prompt changes#arch-chroot/mnt/bin/bash• Set the locale (optional)Add a row of Lang=en_us #vi/etc/locale.conf . UTF-8#vi/etc/locale.gen the en_US. UTF-8 UTF-8,ZH_CN. GBK GBK,ZH_CN. UTF-8 UTF-8,ZH_CN GB2312 in front of the comments removed#locale-gen Update your language environm
, you need to download 158.37M content, installation is completed after 507.09M. Install Grub: # arch-chroot/mnt Pacman-s Grub. Generate Fstab: # genfstab-p-u/mnt gt;gt;/mnt/etc/fstab, and then change fstab (System defaults are generally better, not optimized also line): Use Relatime to mount parameters. Previously, it was recommended to increase the Noatime mount parameters, not to record the file read time, but this would result in errors in softwar
Overview
The first article provides the uniied version of the emoji code table, and introduces how to send emoji in the public account development mode. At the end of the article, I sold a token: "Some symbolic expressions used in the Q robot cannot be found in the selection column of the symbolic emoticons, and the symbolic emoticons code table provided in the previous article (for the uniied Version) no.
After the basic operating system is installed, the next step is to beautify it! I believe that the effects of Ubuntu and opensuse can be achieved by arch, but have you made any effort! Okay. Check the configuration.
I. Interface
1. fonts and patches, some dependencies cannot be met, libgl and NVIDIA, and some packages won't work! Setting the font to dejavu is pretty good.
Sudo Pacman-s TTF-dejavu TTF-Ubuntu-font-familySudo yaourt-s wqy-microh
tool and all operating systems.NPM Install--save-dev JshintYou are not only restricting the use of CLI tools. In fact, NPM can run any shell script. Let's dig! Using shell scripts in NPMThe following is a script that runs in node and displays a random emoji string (emoji-random). The first line specifies the run environment, which is based on node.#!/usr/bin/env Nodevar
Set up a GTK development environment under Archlinux-Linux general technology-Linux programming and kernel information. The following is a detailed description. I think most people like me have fallen in love with this tough Linux release since I first saw archlinux. I was the latest version of archlinux2008.06 installed on hard disks last month, despite a few small episodes, the installation was successful and gnome was installed. The simple and beautiful interface attracted my attention, so I
I write down the software I usedCurrent directory:The purpose of the essay: To describe why I was writing this thing.Updated records: Describe what I have added to the day.Installation process: Log the approximate command of the installation processCommon software: Record some software that solves my problemInstallation process:Reference pages:https://bbs.archlinuxcn.org/viewtopic.php?id=1037I recorded the commands I would normally use: refer to the various web pages.Sync Time:# Timedatectl SET
10 minutes to understand character set and character encoding
What is a character set
What is character encoding
The relationship between UTF-8 and Unicode
Introduction to UTF-8 Coding
Why do garbled characters occur?
How to identify garbled text that you want to express
The emoji of common problem handling
This article will briefly describe the concept of character set and character encoding. And some c
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.