My old note, just for a backup. :-)
[nvidia eth driver]
# sh NVIDIA-...sh (gcc, glibc, make, kernel-source, etc. required)
# insmod nvnet
# vi /etc/modules.conf ---- Add the followings
---- BEGINNING ----
#alias eth0 forcedeth
alias eth0 nvnet
alias forcedeth off
---- END ----
[Network Configuration]
# netconfig
[nvidia sound driver] # sh NVIDIA-...sh (gcc, glibc, make, kernel-source, etc. required)
# vi /etc/modules.conf ---- Add the followings
# insmod nvsound
---- BEGINNING ----
#alias sound-slot-0 i810_audio
alias sound-slot-0 nvsound
alias snd-intel8x0 off
alias i810_audio off
---- END ----
[aRts] NOTES: it will cause problem when you login two accounts.
[you can run artsd ONCE ONLY after login when you need aRts deamon]
# vi ~/.bash_profile
alias artsd='/opt/kde/bin/artsd'
[esd]
# vi ~/.bash_profile
esd
[X]
# sh NVIDIA.*.run
// # xorgconfig [Auto configure X]
// # xwmconfig [set default WM]
[Mouse Wheel Settings]
# vi /etc/X11/xorg.conf
---- ---- ---- Add the followings ---- ---- ----
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
---- ---- ---- End of Add ---- ---- ----
[locale settings]
# vi /etc/profile.d/lang.csh
# vi /etc/profile.d/lang.sh
[Fonts]
# cp wqy-bitmapfont/* /usr/X11/lib/fonts/CID
# cd /usr/X11/lib/fonts/CID
# /usr/X11R6/bin/mkfontdir
# cp fonts.dir fonts.scale
[Per User Settings]
# cp /root/.xinitrc /home/xxx/
# chown xxx /home/xxx/.xinitrc
# chgrp xxx /home/xxx/.xinitrc
-------- NOTES --------
# hostname --fqdn ECL.shi-bin.com [It'll change /etc/hosts]
--fqdn : set domain name together
[this will set hostname ECL, and domain name shi-bin.com]
[or you can do this]
# vi /etc/hosts
#
# Hosts file for Virtual On-Line Host
#
# IP FQDN aliases
#
127.0.0.1 localhost
#
192.168.1.5 ECL.shi-bin.com ECL
# ifconfig lo 127.0.0.1 [loopback IP, optional, /etc/hosts]
# ifconfig eth0 192.168.1.5 netmask 255.255.255.0 broadcast 192.168.0.255
[set IP address, /etc/hosts]
# ifconfig eth0 netmask 255.255.255.0 [/etc/networks]
# route add default gw 192.168.1.1 [/etc/networks, set Gateway]
# vi /etc/resolv.conf [set DNS server]
nameserver 192.168.1.1
-------- END.NOTES --------
评论
还好意思说=_=
不过我也刚刚无聊想起去我废弃多时的blog晃了下,才顺便来看看,嘿嘿。
一年多没写了,考虑哪天重新开一个玩。。。