Arch Linux Installation Guide
 
timedatectl set-ntp true
 
sed -i '/Score/{/China/!{n;s/^/#/}}' /etc/pacman.d/mirrorlist
pacman -Syy
 
 
启动模式检查
 
检查启动模式是否支持UEFI,这将决定在安装 Bootloader 阶段的步骤:
ls /sys/firmware/efi/efivars
--如果如上文件存在,就说明为UEFI,否则为legacy BIOS
 
lsblk
parted /dev/sda
 
# GPT partition
(parted) mklabel gpt
 
# MBR partition
#(parted) mklabel msdos
 
# below is for MBR partition:
#(parted) mkpart primary ext4 1M 513M
 
# for UEFI, we need a efi boot patition
(parted) mkpart ESP fat32 1M 513M
 
(parted) set 1 boot on
(parted) mkpart primary ext4 513M 10G
(parted) mkpart primary linux-swap 10G 11G
(parted) mkpart primary ext4 11G 100%
 
(parted) p  #print 打印分区信息
(parted) q  # quit 退出
 
---以下切记 mkfsxxxx 都是在shell中而非parted中进行的,而且以下格式化分区命令parted, cfdisk, xxx等都通用:

# for boot partition on UEFI
mkfs.vfat -F32 /dev/sda1

# for boot patition on BIOS
# mkfs.ext4 /dev/sda1

mkfs.ext4 /dev/sda2
mkfs.ext4 /dev/sda4
mkswap /dev/sda3

 
mkdir /mnt/{boot,home}
mount /dev/sda2 /mnt  #必须先挂载根分区
 
# mount for boot partition on BIOS
# mount /dev/sda1 /mnt/boot
 
# mount for boot partition on UEFI
mkdir -p /mnt/boot/efi
mount /dev/sda1 /mnt/boot/efi
 
mount /dev/sda4 /mnt/home
swapon /dev/sda3
 
pacstrap /mnt base base-devel
 
genfstab -p /mnt > /mnt/etc/fstab
 
arch-chroot /mnt  /bin/bash
 
hwclock --systohc --utc
 
echo LANG="en_US.UTF-8" > /etc/locale.conf
 
mkinitcpio -p linux
 
passwd root

 ----------------------------
# for legacy BIOS
pacman -S grub
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
 ----------------------------
 
# for UEFI BIOS
pacman -S dosfstools grub efibootmgr
pacman -S os-prober
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck
//grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
 ----------------------------
 

echo ArchLinux > /etc/hostname

nano /etc/hosts

#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost ArchLinux
::1 localhost.localdomain localhost ArchLinux

#打开有线网的dhcp服务,如果不打开,重启系统就上不了网!
# systemctl start dhcpcd@设备名 -- 这里@后面的设备名为linux系统中本机网卡名
systemctl enable dhcpcd.service

# 无线&管理
pacman -S wpa_supplicant dialog

exit
exit

umount -R /mnt
reboot

useradd cmm
passwd cmm

#安装 sudo,并把修改sudoers配置文件,把用户加入root管理组
pacman -S sudo

打开 /etc/sudoers 文件,找到 root ALL=(ALL) ALL 并依葫芦画瓢添加 cmm ALL=(ALL) ALL 即可。

 

网络连接:dhcpcd(有线连接)

无线连接:
# wifi-menu

ADSL 宽带连接:
# pppoe-setup # 配置
# systemctl start adsl # 连接

--- 网络
--- ---------------------------
有线连接:
# systemctl start dhcpcd # 连接
# # systemctl enable dhcpcd 以自动连接

无线连接:
# pacman -S iw wpa_supplicant dialog
# wifi-menu # 连接

ADSL 宽带连接:
# pacman -S rp-pppoe
# pppoe-setup # 配置
# systemctl start adsl # 连接
# # systemctl enable adsl 以自动连接

Network configuration (简体中文) - ArchWiki
https://wiki.archlinux.org/index.php/Network_configuration_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)


 
---到此基本系统就启动好了,然后就是系统xwindow图形界面等的安装了,这个可以参考如下的链接进行安装,比较常用的桌面有:
Gnome, KDE5, lxde, xfce4, deepin, 还有eos的那套图标主题也可以借过来用,
 
QQ  -- 用的是deepin的定做的国际版QQ
 
下载地址如下:

Index of /deepin/pool/non-free/d/deepinwine-qq/

https://packages.linuxdeepin.com/deepin/pool/non-free/d/

以下软件都很好用,可以在文章中搜索安装方法:

一些很好的win+linux通用软件值得一提:
wps, qq, 有道词典,搜狗输入法,网易云音乐,chrome, steam,深度终端,深度日历
wiz, Maxthon,
wineqq, 农历,天气

 
 
参考:
Arch Linux 安装、配置、美化和优化 - petercao - 博客园
http://www.cnblogs.com/bluestorm/p/5929172.html
 

Virtualbox上面UEFI/GPT安装Archlinux20160222 - 哲学的尽头 - 51CTO技术博客
http://lucien1970.blog.51cto.com/10670905/1744202

 
Arch Linux 安装指南[2016.01] / 安装问题 / Arch Linux 中文论坛
https://bbs.archlinuxcn.org/viewtopic.php?id=1037
 
ArchLinux 安装笔记 | 雾里看花
https://blog.ikke.moe/posts/archlinux-installation-notes/
 
ArchLinux 安装笔记:续 | 雾里看花
https://blog.ikke.moe/posts/after-installation-of-archlinux/
 
GRUB/EFI examples (简体中文) - ArchWiki
https://wiki.archlinux.org/index.php/GRUB/EFI_examples_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
 
Partitioning (简体中文) - ArchWiki
https://wiki.archlinux.org/index.php/Partitioning_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
 
EFI System Partition (简体中文) - ArchWiki
https://wiki.archlinux.org/index.php/EFI_System_Partition_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
 
GNU Parted - ArchWiki
https://wiki.archlinux.org/index.php/GNU_Parted
 
 
Deepin 桌面安装:
pacman -S deepin deepin-extra lightdm
 
#软件
pacman -S file-roller evince gedit thunderbird gpicview
pacman -S unrar unzip p7zip
 
 
 

Arch Linux Installation Guide的更多相关文章

  1. Arch Linux 安装简明流程

    Arch Linux 安装简明流程 这是一篇为 GPT/EFI 引导 的电脑安装 Arch Linux(双系统)的中文简明流程,尽可能省略了可以省略的流程与文字以使得篇幅尽量短小,基本上基于 Arch ...

  2. arch linux 安装指南

    (如果不想折腾arch linux,推荐直接使用 manjaro:  https://manjaro.org/ ) 1.安装准备 Arch Linux 能在任何内存空间不小于 512MB 的 x86_ ...

  3. 在VMWare上安装Arch Linux

    1.为什么选择Arch Linux Arch Linux 是通用 x86-64 GNU/Linux 发行版.Arch采用滚动升级模式,尽全力提供最新的稳定版软件.初始安装的Arch只是一个基本系统,随 ...

  4. 小米Air 13.3 安装Arch Linux

    0. 前言 最近新买了一台小米Air 13.3,除了但键盘手感外都比较满意.我比较喜欢折腾Linux,但又不想放弃原有的Windows 10 Home,于是在原有的windows 10基础上再安装了A ...

  5. Linux Hardening Guide

    文章转载自:https://madaidans-insecurities.github.io/guides/linux-hardening.html 1. Choosing the right Lin ...

  6. P6 EPPM Manual Installation Guide (Oracle Database)

    P6 EPPM Manual Installation Guide (Oracle Database) P6 EPPM Manual Installation Guide (Oracle Databa ...

  7. 【英文文档】Solidifier for Windows Installation Guide

    Page 1Solidifier for Windows  Installation Guide Page 2McAfee, Inc.McAfee® Solidifier for Windows In ...

  8. arch Linux(一)

    制作启动盘 将U盘插入待装主机,设置U盘启动,重启进入系统安装界面 设置root密码 root@archiso~ # passwd 启动允许远程连接 root@archiso~ # systemctl ...

  9. windows10+arch linux双系统 uefi启动

    安装前的准备Archlinux 安装ISO镜像,下载:http://mirrors.163.com/archlinux/iso/2013.05.01/U盘一个,最好1G以上,格式化成FAT32.把下载 ...

随机推荐

  1. 剑指Offer 二维数组中的查找

    题目描述 在一个二维数组中,每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序.请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否含有该整数. 思路法一: * 矩阵是 ...

  2. 怎样将runlmbench 获取的数值传给上层app

    前面那个随笔 , 已经成功将runlmbench 移植到了Android , 并成功的运行. 今天就写一下将runlmbench 获取的那些性能值传给上层 App 进行人机交互. 一开始 , 我是想直 ...

  3. PyQt4自定义事件

    listview控件与updateText 相关联 self.listview.updateText.connect(self.viewlist)   updateText = QtCore.pyqt ...

  4. ios – 使用UINib加载xib文件实现UITableViewCell

    xib文件的实质是xml,描述界面对象,每个对象都有一个很重要的属性,identity inspector面板中class属性,加载xib文件的时候实际上是实例化界面对象相对应的这些class. xi ...

  5. 【SpringBoot】SpringBoot 入门示例

    参考资料: http://www.tuicool.com/articles/mqeee2A http://www.cnblogs.com/suncj/p/4065589.html http://spr ...

  6. TCP的几个状态

    转自: TCP的几个状态 (SYN, FIN, ACK, PSH, RST, URG)     http://www.cnblogs.com/lidabo/p/5713569.html

  7. ocket.chat 使用 Meteor 开发的实时协作工具,类似 丁丁。

    ocket.chat  使用 Meteor 开发的实时协作工具,类似 丁丁. https://rocket.chat/

  8. Java集合中Set的常见问题及用法

    在这里演示的案例是衔接Java集合中的List(点击查看)那篇博文的,本节我们学习的Set的用法. Set是Collection的一个重要的子接口,Set中的元素是无序排列的,并且元素不可以重复,被称 ...

  9. Make My GitHub Pages

    https://git-scm.com/ https://pages.github.com/ 1.建立repository. 2.settings 3.选模板 4.Publish http://use ...

  10. LayoutInflater的inflate函数用法详解

    LayoutInflater作用是将layout的xml布局文件实例化为View类对象. 获取LayoutInflater的方法有如下三种: LayoutInflater inflater=(Layo ...