install archlinux LOG
来源:互联网 发布:湖北大数据交易中心 编辑:程序博客网 时间:2024/06/05 07:31
1. create a bridge arch system bootable usb stick, download pacstrap script (https://projects.archlinux.org/arch-install-scripts.git/); mirrorlist could be backuped.
2. boot, tty1, live login campus network; tty2, root login
3. install pure arch
# ip addr
# ping -c 3 8.8.8.8
# cp /run/archiso/bootmnt/arch/mirrorlist /etc/pacman.d/mirrorlist #or vi
# cp /run/archiso/bootmnt/arch/arch-install-scripts-xxx.tar.gz ~/
# tar xvf arch-install-scripts-xxx.tar.gz
# cd arch-install-scripts
# make install
# lsblk /dev/sda
# cfdisk
# mkfs.ext4 /dev/sda1
# mkswap /dev/sda6 #keep sda5 for home directory
# swapon /dev/sda6
# mount /dev/sda1 /mnt
# mkdir /mnt/home
# mount /dev/sda5 /mnt/home
# pacstrap -i /mnt base base-devel
# genfstab -U -p /mnt >> /mnt/etc/fstab
# vi /mnt/etc/fstab # check is necce
# arch-chroot /mnt /bin/bash
# vi /etc/locale.gen
en_US.UTF-8 UTF-8
zh_CN.GB18030 GB18030
zh_CN.GBK GBK
zh_CN.UTF-8 UTF-8
zh_CN.GB2312 GB2312
# locale-gen
# ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
# echo LANG=en_US.UTF-8 > /etc/locale.conf
# hwclock --systohc --utc
# echo myhostname > /etc/hostname
# systemctl enable dhcpcd.service
# passwd
# pacman -S alsa-utils xorg-server xorg-xinit xorg-utils xorg-server-utils mesa
# lspci | grep VGA
# pacman -Ss xf86-video | grep intel
# pacman -S xf86-video-vesa
# pacman -S xf86-video-intel
# pacman -S ttf-dejavu wqy-zenhei wqy-microhei wqy-bitmapfont
# useradd -m -g users -G lp,optical,storage,video,wheel,games,power -s /bin/bash username
# passwd username
# pacman -S gnome gnome-extra gdm
# pacman -S chromium
# systemctl enable gdm.service
$ cat .xinitrc
#!/bin/bash
exec gnome-session
# visudo
username ALL=(ALL) ALL
# pacman -S bash-completion
# mkinitcpio -p linux
# pacman -S grub-bios
# grub-install /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
(
# pacman -S syslinux
# syslinux-install_update -i -a -m
# vi /boot/syslinux/syslinux.cfg
)
# exit
# umount
# reboot
# vi /etc/pacman.conf
uncomment multilib
[archlinuxcn]
#The Chinese Arch Linux communities packages.
SigLevel = Optional TrustAll
Server = http://repo.archlinuxcn.org/$arch
# pacman -Syu yaourt
4. Goagent (https://wiki.archlinux.org/index.php/Goagent_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87))
# pacman -S goagent
# vi /usr/share/goagent/local/proxy.ini
# python2 /usr/share/goagent/server/uploader.zip
# systemctl start goagent
# systemctl enable goagent
5. Find tools
# pacman -S mlocate
# updatedb
6. fcitx (https://wiki.archlinux.org/index.php/Fcitx_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87))
7. Tools
# pacman -S pcmanfm gvfs gvfs-smb ntfs-3g gvfs-afp flashplugin jre7-openjdk thunderbird vlc audacious rhythmbox clipitbv
# yaourt -S qterm freerdp remmina
# yaourt iptux
return 1
}
package(){
make DESTDIR="$pkgdir/" install
$ sudo pacman -S expat fontconfig freetype2 glibc gtk2 libcanberra libpng libpng12 libice libsm util-linux ncurses tcl tcllib zlib libx11 libxau libxdmcp libxext libxft libxrender libxt libxtst
$ sudo pacman -S lib32-expat lib32-fontconfig lib32-freetype2 lib32-glibc lib32-gtk2 lib32-libcanberra lib32-libpng lib32-libpng12 lib32-libice lib32-libsm lib32-util-linux lib32-ncurses lib32-zlib lib32-libx11 lib32-libxau lib32-libxdmcp lib32-libxext lib32-libxft lib32-libxrender lib32-libxt lib32-libxtst
9. vmware (https://wiki.archlinux.org/index.php/VMware)
# mkdir /etc/init.d
# ./VMware-edition-version.release.architecture.bundle --console
# yaourt vmware-patch
# system enable vmware
# vmware-modconfig --console --install-all
# pacman -S dkms
# mkdir /usr/src/vmware-modules-10/
# dkms -m vmware-modules -v 10 -k $(uname -r) add
# vmware-patch
# dkms -m vmware-modules -v 10 -k $(uname -r) build
# dkms -m vmware-modules -v 10 -k $(uname -r) install
$ lsmod | grep vmci
# modprobe vmci #in case vmci does not exist
10. quartus
# cat /sys/class/net/device_name/address
# vi /etc/udev/rules.d/10-network.rules
11. questa
# vi /etc/hosts
127.0.0.1 localhost.localdomain arch
# vi ~/.profile
- install archlinux LOG
- install archlinux
- install Archlinux
- archlinux install tigervnc
- op2-Install ArchLinux
- VMware 12 Install Archlinux
- ArchLinux install AAA by wine
- Install Android Studio On Archlinux
- raspberry Pi on Archlinux, Install wiringPi , GPIO
- packstack allinone install log
- ArchLinux
- install mpd (music player daemon) mpc --backup--archlinux
- Install Archlinux on Raspberry Pi as you wish!
- Archlinux MySQL PHP phpmyadmin Apache PHP-Apache Install
- ubuntu precise install wireshark log
- RoR开发环境搭建 RAILS install log
- Could not Open Install.Log File解决方法
- ArchLinux install virtualbox error libQtCore.so.4: cannot open shared object file: No such file..
- 【java】判断一个数是否为梅森数
- imageView从网LOAD图片到SD卡并展示出来
- 使用libcurl进行邮件的下载与转发
- webapp系列开发之二番外篇:Dreamweaver破解
- [DNS]常见资源记录定义(Resource Record)
- install archlinux LOG
- Chapter 1 A Quick Tour
- How do we make the Arduino code starts automatically after reboot
- Codeforces Round #230 (Div. 2)
- 请问有没有什么开源的好点的汇编引擎?
- 在WebView中调用js代码
- 关于Java浮点数运算精度丢失问题
- C++写的堆栈Stack操作函数
- super.getClass()方法调用返回结果的原因