為Archlinux安裝案頭和一些必要軟體

來源:互聯網
上載者:User

Author: 晴天(Potter)

Essay Address: http://blog.csdn.net/sunnypotter/article/details/23201191

接著 將ArchLinux安裝到隨身碟上(特地買了16G3.0隨身碟)

現在要給Archlinux安裝xorg-server,和DE(案頭環境):

# 1、關閉PC小喇叭
# vim /etc/modprobe.d/nopcspkr.conf
blacklist pcspkr

# 2.1、建立使用者:
useradd -m -g users -s /bin/bash sunny
# 2.1.1 locale
vim /etc/locale.gen
+ en_US.UTF-8 UTf-8
+ zh_CN.GBK GBK
+ zh_CN.UTF-8 UTF-8
+ zh_CN GB2312
locale-gen

# 2.2、安裝 X:
pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils mesa

# 2.3、顯卡驅動
pacman -S xf86-video-vesa # 通用顯卡驅動,不提供任何2D和3D加速功能
pacman -S xf86-video-intel # Intel
pacman -S xf86-video-nouveau # Nvidia
pacman -S nouveau-dri
# pacman -S xf86-video-ati # Ati
#
# 虛擬機器: pcaman -S xf86-video-vesa

# 2.4、筆記本觸摸板支援
pacman -S xf86-input-synaptics

# 2.5、測試X工作是否正常
pacman -S xorg-twm xorg-xclock xterm

# 2.6、現在可以用startx啟動X看到簡陋的圖形介面.
startx

# 3、安裝案頭(xfce4 kde lxde gnome):
# pacman -S gnome # gnome-session
pacman -S kde # kde
cp /etc/skel/.xinitrc $HOME/.xinitrc
vim .xinitrc
# + xrandr -s 1366x768 # 制定螢幕解析度
+ exec startkde # kde
# + exec gnome-session # gnome

# 4、安裝fcitxIME
pcaman -S fcitx
pcaman -S kcm-fcitx # For kde
pacman -S fcitx-googlepinyin # Google拼音
# 配置中文IME:
fcitx-configtool
# 在Input Method -> 去掉Only Show Currentt Language勾 -> 搜尋Chinese -> Google Pinyin
# 在$HOME/.xinitrc裡添加:
vim $HOME/.xinitrc
+ export GTK_IM_MODULE=fcitx
+ export QT_IM_IMDULE=fcitx
+ export XMODIFIERS="@im=fcitx"

# 5、KDM: KDE Display Manager : pacman -S kdm
# GDM: pacman -s gdm

# 6.Firefox flashplugin
pacman -S firefox flashplugin

# 7. yaourt
vim /etc/pacman.conf
+ [archlinuxfr]
+ SigLevel = Never
+ Server = http://repo.archlinux.fr/$arch

pacman -S yaourt

# 7.1 aur: google-chrome
pacman -S google-chrome

# 8.Some softwares
pacman -S openssh # sshd
pacman -S git # git
pacman -S subversion
pacman -S wget # wget
pacman -S net-tools # ifconfig
pacman -S dnsutils # nslookup

# 9.njit-client
mkdir build && cd build
wget https://github.com/linzsummer/njit8021xclient_for_swufe/archive/master.zip
unzip master.zip
pacman -S automake autoconf libpcap pkg-config
# pacman -S libssl
./configure
make
make install
cd .. && rm -rf build

# 10. wps: becauselibreoffice is too large, so instead of wps
vim /etc/pacman.conf
+ [multilib]
+ SigLevel = PackageRequired
+ Include = /etc/pacman.d/mirrorlist
pacman -Syu # renew database (Repository multilib)
yaourt -S kingsoft-office

# 11. gnome shortcuts
Super+(pg up)/(pg dn) # exchange screen

# 12. Find the real path of the Command
# type [Command]
type firefox

# 13. clean pacman cache
pacman -Scc
pacman -S -l # list pacman install packages

# 14.Static IP Address
cd /etc/netctl
cp examples/ethernet-static my-network
# Then edit the profile as needed
vim my-network
# Next, Start Netctl
netctl enable my-network
netctl start my-network

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.