|
|
之前断断续续有很少的接触,最近手里有几台旧机器,打算用来跑Linux
1)P3 800 + 256M + 160G
2)P3 800 + 512M + 40G
其中
1)打算拿来装个最简的Linux,仅安装Gentoo+lftp+rtorrent+samba+sshd
问题:还有哪些是必须安装的?终端界面下软件的中文支持怎么做?比如用lftp下载一个中文文件和中文目录
2)打算来玩xWindow的,当然也希望是最简,只要Gnome,除了x和中文支持,其他的也看了很多文档,装了一下,内核也编译好了,正常运行中。
但是我的安装步骤是
- #emerge gcc-config glibc gcc binutils
- #nano -w /etc/make.conf
- #nano -w /etc/portage/package.use /*加sys-libs/glibc userlocales*/
- #nano -w /etc/locales.build /*加en_US/ISO-8859-1 en_US.UTF-8/UTF-8 zh_CN.UTF-8/UTF-8 zh_CN.GB2312/GB2312 zh_CN.GB18030/GB18030*/
- #emerge glibc gcc binutils portage
- #emerge -e system
- #emerge ccache
- #emerge syslog-ng xinetd grub vixie-cron reiserfsprogs sysfsutils dhcpcd hotplug coldplug gentoolkit
- #emerge acpid ntp
- #for x in syslog-ng net.eth0 vixie-cron xinetd sshd hotplug coldplug acpid ntp-client ; do rc-update add $x default ; done
- #emerge gentoo-sources
- #rm /usr/src/linux
- #cd /usr/src
- #ln -s linux-2.6.11-gentoo-r4 linux
- #cd /usr/src/linux
- #make menuconfig
- #make && make modules && make modules_install && make install
复制代码
make.conf内容
- # These settings were set by the catalyst build script that automatically built this stage
- # Please consult /etc/make.conf.example for a more detailed example
- CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe"
- CHOST="i686-pc-linux-gnu"
- CXXFLAGS="${CFLAGS}"
- ACCEPT_KEYWORDS="x86"
- GENTOO_MIRRORS="http://mirror.gentoo.gr.jp http://gentoo.osuosl.org"
- MAKEOPTS="-j2"
- AUTOCLEAN="yes"
- CCACHE_SIZE="512M"
- USE="X x86 -3dfx -3dnow -Xaw3d -a52 aac -aalib -accessibility acl acpi -adabas \
- -adns -afs -aim alsa -altivec -apache -apache2 apm -arts audiofile bcmath \
- -berkdb -bidi -birdstep -bonobo bzip2 -canna -cdb -cdr -chasen cjk -clamav \
- -cups -db2 -dbase -dbm -dbmaker dts -dvd -dvdr -firebird -firefox -fortran \
- -freetds -frontbase gtk gtk2 gif gnome -ibm -imap -informix -ingres -innodb \
- -interbase -ipv6 -jabber -java jpeg -junit -kde mmx sse mplayer -msql \
- -mssql -mysql -mysqli -perl -php -oss -oracle7 -oracle -postgres samba \
- -qt3 -qt4 png -quicktime -sapdb -scanner -snmp -spell -sqlite -sqlite3 \
- -sybase -sybase-ct -tcl -tcltk -tcpd unicode usb nls xmms xvid -yahoo xv \
- win32codecs userlocales avi nptl nptlonly -mozilla truetype"
复制代码
请各位Linux前辈指点一下,整个过程中有哪些错误,另外要跑起来x,下一步需要做哪些?2)编译好的是否直接复制到1)中使用,还是说1)在做内核编译的时候,可以在USE删除更多的内容?
非常感谢!!! |
|