Jump to content
2 posts in this topic

Recommended Posts

for example: Installation Target sda1

Create a new partition
MBR

# cfdisk /dev/sda

GPT

# cgdisk /dev/sda

.

Identify the devices

# lsblk

.

.

------ BASE INSTALL

Mount the Installation Target Partition to the /mnt directory

# mount /dev/sda1 /mnt

.

Other Mount(Optional)
UEFI Mode

# mkdir -p /mnt/boot/EFI           # Create UEFI MountPoint
# mount /dev/sda1 /mnt/boot/EFI    # Mount UEFI Partition

Other

# mkdir /mnt/home                  # Create /home MountPoint
# mount /dev/sda3 /mnt/home        # Mount /home
# mkdir /mnt/boot                  # Create /boot MountPoint
# mount /dev/sda2 /mnt/boot        # Mount /home

.

Install the base system

# dhcpcd
# pacstrap -i /mnt base

.

Generate an fstab

# genfstab -U /mnt > /mnt/etc/fstab

.

Change root into the new system

# arch-chroot /mnt /bin/bash

.

Computer Name

for example: TORA-EX2510G

# echo TORA-EX2510G > /etc/hostname

.

Select a time zone

# tzselect
# ln -sf /usr/share/zoneinfo/Asia/Taipei /etc/localtime
# hwclock --systohc --localtime

.

Initramfs

# mkinitcpio -p linux

.

Install Boot loader
BIOS/MBR

# pacman -S grub os-prober
# grub-install --recheck /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg

UEFI/GPT

# pacman -S grub efibootmgr
# grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=arch --recheck
# grub-mkconfig -o /boot/grub/grub.cfg

.

Network configuration
Wired

pacman -S networkmanager
# systemctl enable NetworkManager.service
# systemctl enable dhcpcd@interface.service  #Wired Automatic connection

Wireless

# nmtui-connect  # Wifi Manual connection

.

Set the root password

# passwd

.

Exit from the chroot

# exit

.

unmount

# umount -R /mnt
# reboot

.

.

------ Create User accounts

# pacman -S sudo
# nano /etc/sudoers

---------------------
# %wheel ALL=(ALL) NOPASSWD: ALL
TO
%wheel ALL=(ALL) NOPASSWD: ALL

# %sudo ALL=(ALL) ALL
TO
%sudo ALL=(ALL) ALL

---------------------
ctrl+o ---Write File
ENTER  ---Yes
ctrl+x ---Exit
 

# groupadd sudo

for example: User Name is torachiyo

# useradd -m -g users -s /bin/bash torachiyo
# passwd torachiyo
# gpasswd -a torachiyo sudo
# gpasswd -a torachiyo wheel

.

.

------ Driver Install

# pacman -S xf86-video-vesa     # ALL
# pacman -S xf86-video-intel    # Intel
# pacman -S xf86-video-nouveau  # nvidia
# pacman -S xf86-video-ati      # AMD

Other

# pacman -S xf86-input-synaptics     # Touchpad Synaptics
# pacman -S alsa-utils               # Audio
# pacman -S blueman                  # bluetooth
# systemctl enable bluetooth.service # Enable bluetooth
# pacman -S ntfs-3g                  # NTFS File System Support
# pacman -S gvfs                     # Partition Mount Tools

.

.

------ Xorg Base Install

# pacman -S xorg-server xorg-server-utils xorg-xinit

.

.

------ Development Tools (Optional)

# pacman -S base-devel

.

.

------ Desktop Environment

 

XFCE

# pacman -S xfce4 xfce4-goodies
# startxfce4
# sudo pacman -R mousepad
# sudo pacman -R xfce4-mixer

.

Change Language

Choose your language
for example: Traditional Chinese

# sudo leafpad /etc/locale.gen

----------------------
# zh_TW.UTF-8 UTF-8
# zh_TW.BIG5

 

to

 

zh_TW.UTF-8 UTF-8
zh_TW.BIG5

----------------------

# locale-gen
# echo LANG=zh_TW.UTF-8 > /etc/locale.conf
# export LANG=zh_TW.UTF-8

.

Application

# sudo pacman -S network-manager-applet
# sudo pacman -S leafpad
# sudo pacman -S gparted
# sudo pacman -S file-roller
# sudo pacman -S simple-scan
# sudo pacman -S system-config-printer
# sudo pacman -S gucharmap
# sudo pacman -S vlc gstreamer-vaapi libvdpau-va-gl

.

Audio

# sudo pacman -S pulseaudio pavucontrol volumeicon
# sudo leafpad /etc/xdg/autostart/volumeicon.desktop

----------------------------------
[Desktop Entry]
Version=1.0
Name=volumeicon
Comment=A lightweight volume controller
Exec=volumeicon
Type=Application
Terminal=false
StartupNotify=false
NoDisplay=true

----------------------------------
.
Volumeicon Config

# sudo leafpad ~/.config/volumeicon/volumeicon

---------------------------------------
[Alsa]
card=HDA Intel PCH
channel=Master

[Notification]
show_notification=true
notification_type=1

[statusIcon]
stepsize=5
onclick=pavucontrol
theme=Default
use_panel_specific_icons=false
lmb_slider=true
mmb_mute=false

---------------------------------------
.
Firefox

# sudo pacman -S firefox

language pack for Firefox

https://www.archlinux.org/packages/?sort=&q=firefox&maintainer=&flagged=

# sudo pacman -S firefox-i18n-zh-tw

.

FlashPlayer

# sudo pacman -S flashplugin

.

Intel VA Driver (Optional)

# sudo pacman -S libva-intel-driver

.

Thunar(Root)

# sudo leafpad /usr/share/applications/RootThunar.desktop

--------------------------------------
[Desktop Entry]
Name=Thunar File Manager(Root)
Name[zh_TW]=Thunar 檔案管理員(Root)
Comment=Browse the filesystem with the file manager
Comment[zh_TW]=使用檔案管理員瀏覽檔案系統
GenericName=File Manager(Root)
GenericName[zh_TW]=檔案管理員(Root)
Exec=sudo thunar %F
Icon=Thunar
Terminal=false
StartupNotify=true
Type=Application
Categories=System;Utility;Core;GTK;FileTools;FileManager;

# vi:set encoding=UTF-8:

--------------------------------------
.

------ Input Method (Optional)
for example: fcitx

# sudo pacman -S fcitx-im fcitx-chewing fcitx-configtool

.
------ Display Manager (Optional)
for example: lightdm

base

# sudo pacman -S lightdm-gtk-greeter

Settings editor (Optional)

# sudo pacman -S lightdm-gtk-greeter-settings

Automatic startup

# systemctl enable lightdm.service

Autologin

# sudo leafpad /etc/lightdm/lightdm.conf

addon
----------------------------------------------
[seatDefaults]
pam-service=lightdm-autologin
autologin-user=torachiyo
autologin-user-timeout=0
session-wrapper=/etc/lightdm/Xsession

----------------------------------------------

# groupadd autologin
# gpasswd -a torachiyo autologin

.

------ Font installation

base font

# pacman -S wqy-microhei ttf-dejavu ttf-droid cantarell-fonts

.

  • Like 1
Link to comment
https://www.insanelymac.com/forum/topic/308329-arch-linux-install-note/
Share on other sites

Custom Style
.

xfce4-config
Replace Path: /etc/xdg/xfce4/
.

arch-menu-logo
Path: /usr/share/pixmaps/
.

ttf-mac-font
Install Path: /usr/share/fonts/TTF/
.

mint-themes
icons Pach: /usr/share/icons
themes Path /usr/share/themes
.

 

Xubuntu themes
arch-20150901-i686_zps5jinrxyb.png

Linux Mint themes
arch20151001_zpsz3ss7acq.png

arch-menu-logo.zip

xfce4-config.tar.gz

ttf-mac-font.tar.gz

mint-themes.tar.gz

×
×
  • Create New...