±¾°²×°µÄÊÔÑéÐͺţº±Ê¼Ç±¾acer ASPIRE 4730ZG, Intel Pentium dual-core T4200; display: ATI Mobility Radeon HD 3470¡£ÆäËûµÄ°²×°´óͬСÒ죬ÒòΪdebian7.0¶ÔÐͺÅÓзdz£¹ã·ºµÄ¼æÈÝÐÔ¡£ÇÒ°²×°Ê±²¢²»ÐèÒªÓÐÌ«¶àµÄÁ˽⡣һ¸ö±È½ÏÖØÒªµÄÎÊÌâÊÇÏÔ¿¨Çý¶¯£¬debian7.0ÏÂÓÐÁ½ÖÖÑ¡Ôñ£º³§É̱ÕÔ´Çý¶¯£¨ÐèÊÖ¶¯ÏÂÔØ°²×°£©»òÕßdebianÌṩµÄ¿ªÔ´Çý¶¯£¨²»Ðè¶îÍâ°²×°£©¡£Ò»°ãÀ´Ëµ£¬¾ßÌåµÄÑ¡ÔñÒª¿´ÏÔ¿¨Æ·ÅÆ£¬ÎÒµÄÏÔ¿¨ÊÇAMDµÄ£¬¹Ê°²×°³§É̵ÄÇý¶¯¡£×îºó˵һ¾ä£¬²»Òª»ÃÏëµÚÒ»´Î°²×°¾ÍµÃµ½Ò»¸öÁîÄãÂúÒâµÄlinuxϵͳ¡£³É¹¦µÄµÚÒ»´Î°²×°linuxÖ»ÊÇÒ»¸öÆðµã¡£
1.ÔÚdebianÖ÷Ò³ÏÂÔØWheezy netinst
2.ÏÂÔØboot.img.gzÎļþ£¬µØÖ·µã»÷http://ftp.nl.debian.org/debian/dists/wheezy/main/installer-i386/current/images/hd-media/²é¿´¡£
3.×¼±¸°²×°UÅÌ£¬°´ÕÕhttp://d-i.alioth.debian.org/manual/en.i386/ch04s03.htmlÖеÄ4.3.2½ÚÔÚlinux»·¾³ÏÂÍê³ÉÖÆ×÷¡£ÕâÒ»²½½«ÖÆ×÷µÃµ½Ò»¸ö¿ÉÒÔÆô¶¯µÄÓÃÓÚ°²×°ÏµÍ³µÄUÅ̲Ù×÷ϵͳ¡£ÖÆ×÷ºÃUÅ̺ó£¬ÖØÆô»úÆ÷£¬´ÓUÅÌÆô¶¯¡£½øÈë°²×°½çÃæ¡£¿ÉÒÔѡͼÐΣ¬Ò²¿ÉÒÔÑ¡Îı¾£¬¸öÈ˾õµÃÎı¾ÉÔ¿ìЩ¡£
4.°²×°
1)Go to Advanced options -> Expert install -> Execute a shell, run£º
# nano /bin/check-missing-firmware
Add "exit 0" below the line "#!/bin/sh".
This is to prevent the hanging-on by error "Detecting the network hardware". ÕâÒ»²½Ô±¾ÊÇÓÃÓÚ²âÊÔ°æµÄ°²×°£¬ÏÖÔÚwheezyÒѾ·¢²¼£¬¹Ê²»ÔÙÐèÒª£¬Ö±½Ó½øÈëµÚ¶þ²½¡£
2)·ÖÇø£º
/boot 100M
/ 25G (¸öÈ˾õµÃ25G¾ø¶Ô¹»ÁË)
/var 4G
swap 2G
/home Ê£Óà¿Õ¼ä
·ÖÇøÍê³Éºó½ö½ö°²×°system-base£¬²»Òª°²×°ÈÎºÎÆäËûµÄÈí¼þ£¬ÖÁÓÚ×ÀÃæ»·¾³½ÓÏÂÀ´ÔÙ°²×°¡£Çë°²×° non-free sources¡£
3)After the basic installation, before finish the installation, execute a shell, run£º
# mount -t ext4 /dev/sda2 /mnt //Note: sda2 is the partition of the /.
# cd /mnt/etc/modprobe.d/ && nano ./radeon-kms.conf
Type the following line into the file:
options radeon modeset=0
£¨##This must not be changed if the machine uses AMD display card. Refer to http://openwares.net/linux/reset_amd_kms.html£©
±£´æ¡£Íê³É°²×°£¬°ÎÈ¥UÅÌ£¬ÖØÆô¡£µ½´Ë£¬Ò»¸ö»ù±¾ÏµÍ³¼´°²×°Íê³É¡£
4) µÇ¼£¬ÔÚÃüÁîÐÐÏÂÔËÐУº
$ sudo aptitude install lxde firmware-realtek ///Note: Install the desktop environment LXDE.LXDEºÍxfce4¶¼ÊÇ»úÆ÷µÄÑ¡Ôñ¡£»ªÀöµÄ¿ÉÑ¡gnome3ºÍKDE¡£
$ sudo groupadd -f powerdev
$ sudo adduser USERNAME powerdev
Reboot and log into the LXDE environment.
5.Locales
$sudo dpkg-reconfigure locales //Note: command for check: locale -a
Select:
en_US.UTF-8 //Note: used as default
en_US.iso88591
zh_CN.gb2312
zh_CN.gbk
zh_CN.utf8
zh_TW.big5
zh_TW.utf8
6.Install softwares.
Downloaded Bleachbit and Libreoffice from webs and install them.
$ sudo apt-get install inkscape gnome-screenshot fcitx fcitx-pinyin vlc
7.Install xfce4-power-manager to control AC/batery
$ sudo apt-get -y purge xscreensaver xscreensaver-data
$ sudo apt-get install xfce4-power-manager
8.Install AMD driver£¨³§É̱ÕÔ´Çý¶¯£©.
Prepare for installation environment:
$ sudo apt-get install module-assistant build-essential
$ sudo apt-get install fakeroot dh-make debconf libstdc++5 linux-headers-$(uname -r) firmware-realtek
Download the AMD driver (http://support.amd.com/us/gpudownload/Pages/index.aspx) and run:
$ sudo sh ./amd-driver-installer-*.run --install //Note: use option --help can check other commands.
9.su
$ sudo su //Note: once logged in, run:
# passwd //Note: enter a new root password and from there on out you can log in via su.
10.Sound
$ sudo apt-get install alsa-utils
Use command "$ lspci -v" to check whether a proper driver for sound card is working. If so, run:
££alsactl
££alsactl init
11.Internet
$ sudo apt-get install wicd wicd-gtk //СÇÉÇ¿´óµÄÍøÂç¹ÜÀí¡£
$ sudo apt-get install firmware-ralink //Note: non-free firmware of the wireless net driver rt2800pci, can be ckecked by command:
$ lspci -v
For successfully installing the non-free firmware, it should be sure that "non-free" in the /etc/apt/sources.list is uncommented (without # sign).
12.Set fcitx
$ cp /usr/share/applications/fcitx.desktop ~/.config/autostart/fcitx.desktop //Note: Set fcitx autostarted as login.
$ nano ~/.xprofile
Then add three lines to set the environment variables:
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
$ sudo apt-get remove fcitx-config-common //Note: To remove the gtk configure packages. The word configure files are stored in ~/.config/fcitx.
13.Remove translations in apt-get update
Note: if no translation is needed, then run as following.
$ sudo nano /etc/apt/apt.conf.d/99translations
Add one line:
Acquire::Languages "none";
save.
$ cd /var/lib/apt/lists && sudo rm -f *Translation* //Note: Remove already indexed translations.
14.Skype was found not responsive when started, downloaded the dynamic package of skype (4.0.0.8) and executed in the termnal. According to the error messages:
"./skype: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory"
"./skype: error while loading shared libraries: libQtNetwork.so.4: cannot open shared object file: No such file or directory"
Looked for the two libraries (libXss.so.1, libQtNetwork.so.4) in Debian's web, then run:
$ sudo apt-get install libxss1 libqt4-network
Evething then worked fine.
ºó¼Ç£º
Õâ´Î°²×°£¬ÊÇÔÚ½â¾öÁ˺ܶàÎÊÌâÖ®ºó²ÅʵÏֵġ£²¢²»ÏñÒ»ÖÜ֮ǰ°²×°Fedora17ÄÇÑùÒ»·«·ç˳£¬ DebianµÄ°²×°ËƺõÓÀԶûÓÐÄÇô˳ÀûºÍ¿ì½Ý¡£ºÜ¶àÆäËûlinux·¢Ðа涼Ðû³Æ£ºÒ»¼ü°²×°¡£µÄÈ·£¬·½±ã¿ì½ÝµÄ°²×°ºÍ¼´×°¼´ÓöÔÓÚ´ó¶àÊýÓû§¶øÑÔÊÇÒ»¸öºÃµÄ²Ù×÷ϵͳËù±ØÐëµÄ£¡µ«ÊÇ´ÓÒÔÉÏËù¼û£¬Òª»ñµÃÒ»¸ö¾ß±¸»ù±¾¹¦ÄܵÄdebianϵͳ²¢²»ÊÇÒ»¼þÈÝÒ×µÄÊ£¬Õâ¶ÔÓÚ²»Á˽âdebianµÄÈËÀ´ËµÓÖÊÇÄÑÉϼÓÄÑ¡£¾¡¹ÜÈç´Ë£¬Ê¹µÃÎÒ¶Ôdebian¾ìÁµ²»Òѵģ¬Ö÷ÒªÊÇÆä³ÉÊìµÄÈí¼þ°ü¹ÜÀíϵͳ¡¢¼«Ç¿µÄ¿É¶¨ÖÆÐÔÒÔ¼°Æä¹ú¼Ê»¯ºÍÉçÇø»¯¡£¡°apt-get¡±ÊÇÎÒ×îÔç½Ó´¥µÄlinuxÃüÁҲÊÇÎÒÈÏΪÔÚÖî¶ÀÁ¢·¢ÐаæÖÐ×îºÃµÄ°ü¹ÜÀíÃüÁ¼ÙÈôûÓÐÕâ¸ö¹ÜÀíϵͳ£¬ÎÒÕæµÄ²»¸ÒÏëÏ󣬽«Ò»ÇдÓÍ·±àÒë»áÔõÑùÂé·³¡£±¾Ïë×°Ò»¸ö¹ú²úµÄlinux·¢Ðа棬֧³ÖһϹú²ú£¬¿´Á˺ü¸¸ö£¬±ÈÈçÓêÁÖľ·çµÄStartOS£¬Éî¶ÈµÄLinuxDeepin£¬ÕâÁ½¿îËÆºõ¶¼²»´í£¬È»¶øÈ´Ì«È±Éٿɶ¨ÖÆÐÔÁË£¬ÄѵÀËûÃÇËùºÅ³ÆµÄ¡°×¨Îª¹úÈËÉè¼Æ¡±±ãÊǽ«Ò»Ð©³£ÓõÄÈí¼þ¶¼°óÔÚÁËÒ»Æð£¬ÉõÖÁ°üÀ¨×ÀÃæ»·¾³Ò²Ã»ÓÐËûÖÖÑ¡Ôñ£¿Ò²Äѹ֣¬ÎÒÃÇ´ÓÒ»¿ªÊ¼±ã±»¡°¾¹ýÖØÐ°ü×°¹ýµÄWindowsϵͳ¡±¹ß»µÁË£¬ÒÔÖÁÓÚ¶ÔÓÚÈκβÙ×÷ϵͳ¶¼»áÓÐÀàËÆµÄÒªÇ󡣯äʵ£¬ÎÒÈÏΪ£¬¼ÈÈ»ÊÇ¿ªÔ´µÄ×ÔÓɵIJÙ×÷ϵͳ£¬¾Í²»Äܲ»¿¼Âǵ½ÆäDZÔÚʹÓÃÕß¶ÔÓÚ×ÔÓɶ¨ÖƵÄÐèÇó¡£ÓÅÐãÊÇÒ»·½Ã棬×ÔÓɶ¨ÖÆÒ²ÊDz»ÄܺöÂԵġ£²»·ÁÔÚÌṩȫ¹¦Äܵݲװ¾µÏñÖ®Í⣬ÔÙÌṩһ¸ö¾ßÓÐ×Ô¼ºÌØÉ«µÄ»ù±¾µÄ²Ù×÷ϵͳºËÐĸøÄDz¿·Öϲ»¶×ÔÓɶ¨ÖƺÍ×éºÏµÄÓû§£¬¾ÍÏñdebianÕâÑù¡£
×÷Õߣº ÀîÒÝÔ¶