Arch Linux(Official) + XFCE Live CD 2016
http://i868.photobucket.com/albums/ab244/sro680315/arch-2016_zps2phlemcf.pngDownload
https://mega.nz/#!GM...z0YcHzUl2Ab7sdc
Installation LiveCD to your computer
for example: Installation target: sda3
Mount the partition sda3 to /mnt
$ sudo su
# mount /dev/sda3 /mnt
Extraction live CD file system To /mnt
# cd /mnt
# unsquashfs /run/archiso/bootmnt/arch/x86_64/airootfs.sfs
# mv squashfs-root/* /mnt
# rm -r squashfs-root
if UEFI
# mount /dev/sda1 /boot/EFI
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
Rebuilding Grub2 Boot loader
BIOS
# grub-install --recheck /dev/sda # BIOS/MBR
or
# grub-install --force /dev/sda # BIOS/GPT
UEFI
# pacman -S grub efibootmgr os-prober
# grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=arch --recheck
Make Grub Boot Menu
# grub-mkconfig -o /boot/grub/grub.cfg
Set the root password
# passwd
------ Create User accounts
# groupadd sudo
for example: User Name is torachiyo
# useradd -m -g users -s /bin/bash arch
# passwd torachiyo
# gpasswd -a torachiyo sudo
# gpasswd -a torachiyo wheel
------ Settings Language
Choose your language
for example: Traditional Chinese
Open another terminal
$ sudo leafpad /mnt/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
------ Display Manager
Setting the screen backlight brightness and gamma
Open another terminal
$ sudo leafpad /mnt/etc/lightdm/display_setup.sh
----------------------------------------------
xbacklight -set 80
xgamma -gamma 0.7
----------------------------------------------
Open another terminal
$ sudo chmod +x /mnt/etc/lightdm/display_setup.sh
Autologin
Open another terminal
$ sudo leafpad /mnt/etc/lightdm/lightdm.conf
----------------------------------------------
pam-service=lightdm-autologin
autologin-user=torachiyo
autologin-user-timeout=0
session-wrapper=/etc/lightdm/Xsession
display-setup-script=/etc/lightdm/display_setup.sh
----------------------------------------------
# groupadd autologin
# gpasswd -a torachiyo autologin
------ Update Initramfs
# mkinitcpio -p linux
Uninstall and EXIT
# exit
# umount /mnt/boot/EFI # if UEFI
# umount /mnt
# reboot
沒東西可下~ arch大赞 linux 初学者,ARCH再赞! nnboyqq 发表于 2016-3-13 02:10 https://www.pcbeta.com/static/image/common/back.gif
linux 初学者,ARCH再赞!
Arch Mint Style {:5_262:}
http://i.imgur.com/3vrBXmE.png 感謝分享先試試學學
页:
[1]