【Linux】Dedian安装简约手记
1. install chinese fonts sudo apt-get install ttf-wqy-microhei ttf-wqy-zenhei 2. set language vi /etc/defaults/locale 3. install ia32-libs dpkg --add-architecture i386 apt-get update apt-get install ia32-libs 4. sudo E: is not in the sudoers file. This incident will be reported. vi /etc/sudoers 5. vim if has("gui_running") " the GUI is running or about to start " let's set a good-looking font if has("gui_gtk2") set guifont=Lucida\ Console\ 8 elseif has("gui_kde") set guifont=Lucida\ Console/8 elseif has("x11") exe "set guifont=" \ . "-*-lucidatypewriter-medium-r-normal" \ . "-*-*-160-*-*-m-*-*" else set guifont=Lucida_Console:h8:cDEFAULT endif " let's maximize the gvim window set lines=99999 columns=99999 else " this is console vim " console vim can never change its font " not every console vim can resize itself if exists("+lines") set lines=60 endif if exists("+columns") set columns=80 endif endif 6. 有线网络未托管 vi /etc/NetworkManager/NetworkManager.conf managed=faulse --> true 7. grub /boot/grub/grub.cfg /etc/default/grub 8. 显卡驱动的安装 http://support.amd.com/cn/gpudownload/linux/Pages/radeon_linux.aspx(到这此处下载,安装过程略) 9. 163 soure list, /etc/apt/sources.list deb http://mirrors.163.com/debian wheezy main non-free contrib deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free deb-src http://mirrors.163.com/debian wheezy main non-free contrib deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free deb http://mirrors.163.com/debian-security wheezy/updates main contrib non-free deb-src http://mirrors.163.com/debian-security wheezy/updates main contrib non-free deb http://http.us.debian.org/debian wheezy main contrib non-free deb http://non-us.debian.org/debian-non-US wheezy/non-US main contrib non-free deb http://security.debian.org wheezy/updates main contrib non-free 10. xfce4 terminal default size ~/.config/Terminal/terminalrc --- MiscDefaultGeometry=X*Y
CM10.1开发必备、常用的软件:
apt-get install git-core gnupg flex bison python rar original-awk gawk p7zip-full gperf libsdl1.2-dev libesd0-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev pngcrush schedtool libc6-dev x11proto-core-dev libx11-dev libgl1-mesa-dev mingw32 tofrodos python-markdown libxml2-utils g++-multilib lib32z1-dev ia32-libs lib32ncurses5-dev lib32readline-gplv2-dev gcc-multilib g++-multilib ctags xsltproc \ ttf-wqy-microhei ttf-wqy-zenhei vim-gnome fcitx fcitx-table-wubi bless shutter unrar p7zip sudo realpath libxss1 \ virtualbox virtualbox-guest-additions dkms linux-headers-$(ls -1 /lib/modules/ | sed -n '$ p')
镜像下载:http://cdimage.debian.org/debian-cd/7.1.0/amd64/iso-cd/debian-7.1.0-amd64-xfce-CD-1.iso