Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Archlinux installation tutorial     - Linux Basics Tutorial: Combining awk delete data before the specified date hdfs (Linux)

- sed and awk in shell usage and some examples (Linux)

- Hanoi problem Java Solution (Programming)

- Ubuntu rights management common commands (Linux)

- How do I switch from NetworkManager to systemd-network on Linux (Linux)

- OpenNMS separate database (Server)

- Ubuntu 15.04 installed JDK and configured as the default JDK (Linux)

- You need to know 12 Git High Command (Linux)

- CentOS installation of the ftp (Linux)

- swap space is insufficient cause OOM kill MySQL Case (Database)

- Android memory optimization of the optimal load Bitmap (Linux)

- Linux Proc File System Experiment (Linux)

- Linux System Getting Started Learning: Linux command in w (Linux)

- CentOS 7 Test Marathon start Docker container (Server)

- How to install with JSON support in Ubuntu 15.04 SQLite 3.9.1 (Database)

- How do you temporarily emptied Bash environment variable before running the command on Linux (Linux)

- Java reflection by calling the class method (Programming)

- Between the two to achieve the main MySQL database synchronization from (Database)

- C # asynchronous delegates (Programming)

- Linux system started to learn: how to solve the xxx is not in the sudoers file error (Linux)

  Archlinux installation tutorial
  Add Date : 2018-11-21      
  Arch Linux installation process is simple notes.

Step 1 disk mirroring to write u

u disk has never been the only option, but most people might like to do.

I was operating in OS X (Yosemite), if you are using Windows, you may be able to use U disk to install Linux Burn Tool: USBWriter or UltraISO.

So, not to mention net booting, you may need a iso ...
https://www.archlinux.org/download/ there for you to download.

You may want to use ddDisk Duplicator (destroyer) will write the iso u disk.
Prior to this, if you want to, iso into .img, you can open a terminal and execute the following command:

hdiutil convert -format UDRW -o /path/to/target.img /path/to/arch.iso
OS X will automatically give you add .dmg, I believe this will not cause you trouble.

Executive diskutil list, find your u disk, and unmount:

diskutil unmountDisk / dev / diskN

Well, we can dd a

sudo dd if = / path / to / arch.img of = / dev / diskN bs = 1m
If prompted dd / dev / diskN busy, you need to make sure the device has unmount, note that not eject.

If all goes well, u can now eject the disc.

diskutil eject / dev / diskN

Step 2 before you install ...

Well, I hope you've seen this interface.

But before installation, we need to do some preparation work.

1. The establishment of partitioning and formatting

We can use cfdisk or fdisk to partition the drive.
If you feel unable to start fdisk, cfdisk is probably a better choice.

First, we can execute fdisk -l to see which device has.
Execute fdisk / dev / sda, appears Command (m or help)

Enter p View the current partition
Enter n can create a new partition, then there will be prompted to select the partition type, default primary partition.
Enter w to write

You can use the mkfs * formatting commands, such as:

mkfs.ext4 / dev / sda1
Then mount it, such as:

mount / dev / sda / mnt

2. Select the mirror

Some people skip this step, it is recommended careful selection, a little change can save you a lot of time.
In fact, just modify /etc/pacman.d/mirrorlist, like my own example of this is in addition to China all removed or watching, Fortunately, this step can use vim, so that step a lot simpler.


Step 3 Installation and Configuration

First, install the basic package

pacstrap / mnt base
If you need to use wifi, wifi-menu may help you

Generating fstab, mount the system configuration information in accordance with fstab

genfstab -U -p / mnt >> / mnt / etc / fstab
In the new system

arch-chroot / mnt

Then we need to do some configuration

Modify /etc/locale.gen, comment area will be used to remove, save the file and execute the locale-gen
Set the time

ln -sf / usr / share / zoneinfo / zone / subzone / etc / localtime
The area is written in locale.conf

echo LANG = your_locale> /etc/locale.conf
Set the name and password

echo computer_name> / etc / hostname
Some things can reboot after slowly, and some things you need in advance to prepare, such as boot loader and a number of dependencies.

We can use pacman to install GRUB

pacman -S grub
grub-install --recheck / dev / sda
grub-mkconfig -o /boot/grub/grub.cfg
A lot of people can not use occurred after the restart wifi-menu, prompt please install dialog to use wifi-menu.
If you intend to resolve this problem after the restart estimation lot of trouble, you need to use pacman to back you install dialog, but you can not use wifi, and execute the following command in advance to make a lot of simple things:

pacman -S dialog wpa_actiond ifplugd wpa_suppicant sudo zsh net-tools

Well, quit and restart!

umount / mnt

At last

After the restart with pacman to install some networking tool but found it impossible, so after execution wifi-menu select the connection tips:

Job for netctl@****.service failed. See 'systemctl status netctl@****.service' and 'journalctl -xn' for details.

It seems that many people have encountered this problem, like in my case directly to delete / etc / netctl / **** and re-run wifi-menu.
Another case is resolved by the following command:

echo 'TimeoutDHCP = 20' >> / etc / netctl /
- Linux iostat command example explanation (Linux)
- Oracle table space rename and delete table space (Database)
- CentOS 6.4 under PXE + Kickstart unattended operating system installation (Programming)
- ORA-12537: TNS: connection closed error process (Database)
- Java Database Programming JDBC configuration (Programming)
- C language function pointer and a callback function (Programming)
- CentOS7 minimized installation can not find the 'ifconfig' command - Repair Tips (Linux)
- Nginx-1.9.7 TCP reverse proxy (Server)
- Use smem visual display Linux memory usage (Linux)
- Linux C programming and Shell Programming in the development of practical tools similarities summary (Programming)
- Docker in the development and practice of IFTTT (Server)
- Linux kernel IPv6 protocol closed manner (Linux)
- Linux system Iptables Firewall User Manual (Linux)
- Python kills corresponding process according to pid (Programming)
- Ansible module Know (Linux)
- The difference between IPython and Python (Linux)
- Define and modify strings principle in Python (Programming)
- Build your own CA services: OpenSSL command line CA Quick Guide (Server)
- CentOS installation Percona Server 5.5.42 compiling problem solve one case (Linux)
- To record command input under Linux (Linux)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.