My changeLog since i started the journey of Linux. lost all log and config files once during upgrading to RH7.2 due to my darn carefulless..yeah ..pain in my ass. ######### Aug 16 2001 rebuild kernel now support NTFS ######### Aug 18 2001 change simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-ascii-15 to simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 edit /etc/X11/XF86Config-4 , add font's path and xtt module . comment "unix/:7100". Section "Files" FontPath "unix/:7100" FontPath "/usr/share/fonts/default/TrueType" (关键) EndSection Section "Module" Load "dbe" # Double-buffering etc....... # Load "freetype" # TrueType font handler Load "xtt" # TrueType font handler # Load "type1" # Adobe Type 1 font handler EndSection add mount default,codepage=936,iocharset=cp936 to /etc/fstab. ######### Aug 19 2001 run " /etc/tripwire/twinstall.sh" find more information about tripwire in http://www.redhat.com/support/manuals/RHL-7.1-Manual/ref-guide/ http://www.redhat.com/support/manuals/RHL-7.1-Manual/ref-guide/s1-tripwire-install.html#S2-TRIPWIRE-INSTALL-POST ######### copy /usr/X11R6/lib/X11/fonts/encodings/encodings.dir to /usr/share/fonts/default/TrueType . this is for using "freetype" edit /etc/gtk/gtkrc.zh_CN ,add style "gtk-default-zh-cn" { "-misc-SimSun-medium-r-normal--12-0-0-0-p-0-*-*" } comment the previous one. turn off "xfs " by typing command "setup" add simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-1 into /usr/share/default/TrueType/fonts.dir Konqueror中文解决方案 修改/usr/share/fonts/default/TrueType下fonts.dir和fonts.scale如下(两个 Konqueror中文解决方案 修改/usr/share/fonts/default/TrueType下fonts.dir和fonts.scale如下(两个 文件相同): 4 simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-ascii-0 simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-iso8859-1 simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-gb2312.1980-0 simsun.ttf -misc-SimSun-medium-r-normal--0-0-0-0-p-0-gbk-0 此时Konqueror可以很好地显示中文! ################## Aug 25 2001 remove slocate.cron from /etc/cron.daily . which is to stop run updatedb. the files is kept in /root for backup ################## Aug 27 2001 edit /etc/sysctl.conf makes sysRQ key to be enabled... but it seems no effect yet .. check back later about sysRQ. ################## Aug 30 2001 turn off "kudzu " service which start up at the the boot time to detect a new hardware. do it by "linuxconf" turn off "pppoe" service which provide point-to-point for ppp client , it also used a lot by ADSL . check "linuxconf" ################## Sep 11 2001 made change to .Xresource , .xsession as well to fit TWM. ################## Sep 15 2001 set timeout= 00 in lilo.conf file. editted /etc/profile set HISTSIZE = 30 which decide how many commands will be kept in history. changed /etc/rc.d/rc.local file at the bottom. what i did is add one line which states it after the machine initialized. one my own message will be shown. Notice Here it rewrites "/etc/issue/" everytime start-up. ################## Sep 17 2001 set autologout=0 in .bashrc file to disable autologout. ################## Sep 17 2001 Add ' append ="apm=on" ' in /etc/lilo.conf .then run lilo -v. its for turn on the advanced power managerment. ################## Oct 1 2001 Run "hdparm -S 240 /dev/hdb8" and hdb7 to set hdb8 standby to 240(20 min) ################## Oct 2 2001 Download the talkback app from mozilla upgraded mozilla to 0.94 ################## Oct 29 2001 ###################### clean install for RedHat7.2 ################## Oct 30 2001 installed oroborus(the small window manager). along with fspanel patched with fspanel-pager.diff and deskmenu , chbg ( change background) ################## Oct 31 2001 installed alsaplayer "the cd player". ################## Nov 01 2001 add "hdparm -c 1 -k 1 /dev/hda" to /etc/rc.d/rc.local which speeds up HD. my hda does not support DMA. so no '-d 1' here. but the second HD support DMA... add "hdparm -c 1 -k 1 /dev/hda" to /etc/rc.d/rc.local which speeds up HD. and ... did the smme to hdb plus add -d 1 which turn on DMA support Solve the error generated by xmms , the error message is "rts_init error: can't connect to aRts soundserver" . to solve it , go to xmms' preference. change the output plugin to OSS. ################# Nov 02 2001 Installed Screem "wedpage editor" feel good about it.s ################ Nov 11 2001 add "easyya.com" after ServerName in httpd.conf. it also can be done using "http://24.101.109.99" instead of easyya.com. it is to eliminate the error msg "Could not determine the server's fully qualified domain name...." ################ Nov 12 2001 download jta20.jar from www.mud.de/se/jta/index.html . it allows user remote login to their machine via telnet , ssh . more info refer to their page. I enables "Terminal.localecho = false" to disable input gets repeated. and add "SSH" "ButtonBar" to plugins = ****** to enable SSH connection instead telnet. add one line "/usr/sbin/nmbd -n MRP509" into rc.local, which eleminate the error of starting nmbd "no network interfaces found" "no network interfaces found" '-n MRP509' set NetBios name. ################ Nov 22 2001 the jta20.jar file seems having a little problem. remote host is automatically trying to connect to port 23 which is used by telnet.But SSH is enabled and i have disabled telnet. To solve it,what i am trying to do is to make port 23 available for SSH as well. ###i have changed /etc/services file , add lines ssh2 23/tcp # my second ssh port tcp ssh2 23/udp # my second ssh port udp and comment out telnet port lines in it which disables telnet port entirely. next i add another line "Port 23" into /etc/ssh/sshd_config. more info refers to man sshd. ### actually that is not the way to do it.. just edit /etc/ssh/sshd_config , change port # in there. also got an email response from the author of 'java telnet application", he pointed me out by adding two lines : in the html file. and very likely cause is the configuration file never get read by the java applet because of a wrong path setting. above is one way to solve it. now is another : I must have set the path wrong in the html file. so later on (today Dec 17 01) add a ./ before the conf file path..da..da..da problem solved. now looks like this ############### Nov 29 2001 add mount -t usbdevfs none /proc/bus/usb into /etc/rc.d/rc.local to mount USB filesystem for USB mouse.. to mount the filesystem better add this line into /etc/fstab none /proc/bus/usb usbdevfs defaults 0 0 issue `cat /proc/bus/usb/devices` to extract USB device information. ############### Dec 11 2001 add "/usr/local/lib" into /etc/ld.so.conf and run ldconfig then. it's to make this path available for the share lib searching.. ############### Dec 16 2001 recompile kernel with extra modules(scsi-emulation,scsi-cdrom,scsi generic support) build into to support my CDR.. there is no native driver has been written for ATAPI device..this provide SCSI host adater emulation for IDE ATAPI devices.... better Fonts selection for browsers. in Galeon choose default font to be "san serif" serif => "Times" Sans Serif => "Helvetica" Cursive => "Arial" Fantasy => "Arial" Monospace => "Courier"" and set to use these fonts. Mozilla is pretty much the same. just remember set to not to use other fonts when you done. and apply the background color to be bit gray also does better. now visiting webpaeg has the same eye effect as M$.. ############### Dec 17 2001 installed xsnow (snow dropping scene) pretty Cool! address from http://www.euronet.nl/~rja/Xsnow/ ############### Dec 18 2001 getting an error run apps after su to some users.one approch is to do "xhost +hostname" before su -, then after su - do "export DISPLAY=:0.0" for any additional users needing access to the display. error as following : Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to server Error: Can't open display :0.0 ############## Dec 22 2001 From http://www.redhat.com/support/resources/faqs/RH-apache-FAQ/topics/cgi.html If mod_perl is installed make sure the following is not commented out: Alias /perl/ /home/httpd/perl/ SetHandler perl-script PerlHandler Apache::Registry PerlSendHeader On Options +ExecCGI The server will then recognize that all files in that location (and its logical descendants) that end in ".cgi" or ".pl" are script files, not documents. ############## Dec 24 2001 damn i did `chmod 750 /var/log/httpd` and did not test it .that turned out to be a bad thing --- server could not be loaded afterwards. needs to set x-bit for other user... still in question... ############## Dec 31 2001 If u ever read this..i was compiling kernel again..try to compile IP Masquerading into.. have compiled couple times but failed. last time after finishing "depmod -a" , i copy linux/System.map into /boot. Although i got bounch "depmod: *** Unresolved symbols" error while doing depmod.. poof, now it works.. depmod. ############## Jan 11 2002 Has new computer pentium 166 setup acting just a gateway to share internet.IP masquerading and DHCP server running. /etc/rc.d/rc.firewall /etc/dhcpd.conf created #route add -host 255.255.255.255 dev eth0 #/usr/sbin/dhcpd eth0 these two lines have been added into /etc/rc.d/init.d/dhcpd ############## Feb 03 2002 Creat vnc file in /etc/xinetd.d/ add vnc service in /etc/services ############## Feb 07 2002 Enable mod_perl on apache. well, it default is installed, just need to uncomment lines between ... and remember to creat the directory in which will test mod_perl file. Note: this mod_perl module is used as DSO(dynamic shared objects) and loaded via the LoadModule. turn off bounch of modules loaded within httpd.conf,such as python and php. ############## Mar 05 2002 Install mod_gzip,which is a module compress webpage etc. speed up web transfer rate. remember for mod_perl, have to add a line # print "HTTP/1.1 200 OK\r\n\r\n" in your script or it won't output the generated HTML by cgi. A better solution is to set "PerlSendHeader On",this emulate the mod_cgi. save time adding header in ur cgi. btw, "mod_gzip_keep_workfiles" is for mod_gzip debugging use, set it to yes,then look up the *.wrk file in your mod_gzip_temp_dir for debug info. also note, sometime after making change with cgi script,ofter get "subroutine **** redefined" error in error_log file. It probably is that the cached scripts are not reload properly. restart apache server solve it.