linuxÍø¿¨Çý¶¯³ÌÐòµÄ±àÒëÓë°²×°
Ò»°ãÀ´Ëµ£¬Ä¿Ç°Ð°æµÄ Linux Ô¤Éè¿ÉÒÔÖ§³ÖµÄÍøÂ翨оƬ×éÊýÁ¿ÒѾºÜÍ걸ÁË£¬ºÜ¶àÍøÂ翨оƬ¶¼ÒѾ±»Ö§³Ö,ÀýÈçRLT 8139 оƬ ( RealTek 8139 ) µÄÍøÂ翨ËùÒÔʹÓÃÕß¿ÉÒÔºÜÇáÒ×µÄÉ趨ºÃËûÃǵÄÍøÂ翨¡£²»¹ý£¬Èç¹ûÍòÒ»²»ÐÒºËÐÄûÓÐÖ§³Ö¸ÃÍøÂ翨µÄ»°£¬ÄÇô¿ÉÒÔ͸¹ýÖØбàÒëºËÐÄ»òÕß±àÒëÍøÂ翨Çý¶¯Ä£¿é ( Modules )£¬²¢ÇÒ¼ÓÔظÃÄ£¿é£¬½ñÌì¾ÍÊÇÕâôÇÉ,Åöµ½Ò»¸öD-Link µÄDFE-530TX,û·¨,Ö»ÓÐÊÖ¶¯°²×°ÍøÂ翨Çý¶¯³ÌÐòÁË.¿ÉÒÔÓÃÃüÁî:
# dmesg | grep eth
À´²é¿´ÏµÍ³Æô¶¯ÐÅÏ¢,ÏÔʾ³ö eth0 »òÕß eth1 µÄÐÅÏ¢£¬Èç¹ûeth1ûÕÒµ½ÕýÈ·µÄÐÅÏ¢,ÄǾͱíʾ Linux ÎÞ·¨ÕÒµ½¸ÃÓ²¼þ, eth0ÊÇ8139µÄ,ÒѾÏÔʾÕý³£,ÀýÈç:
[root@kindgeorge root]# dmesg | grep eth
eth0: RealTek RTL8139 Fast Ethernet at 0xf0160000, 00:0a:a6:30:0d:0e, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
eth0: Setting 10mbps full-duplex based on auto-negotiated partner ability 4061.
Ò». ²é¿´×Ô¼ºÏµÍ³µÄÄں˰汾.
[root@kindgeorge root]# uname -r
2.4.18-3¡¡
ÎÒÕâÀïÊÇredhat7.3µÄ,ÄÚºË2.4.18-3 ,Ò»°ãÀ´Ëµ,Õâ¸öÄÚºËÇý¶¯³ÌÐòµÄÄ£¿é»á·ÅÔÚ /lib/modules/2.4.18-3/kernel/drivers/net
¶þ.È·¶¨ÏµÍ³ÊÇ·ñÒѾ°²×°ÏÂÃæ°ü
1.ÓÉÓÚ±àÒëÐèÒªÓõ½Äں˵ÄÔ´´úÂë°üºÍ±àÒë³ÌÐògcc.ËùÒÔÈç¹ûûÓеĻ°,ÒªÏÈ×°.²é¿´:
[root@kindgeorge root]# rpm -qa|grep kernel
kernel-2.4.18-3
kernel-source-2.4.18-3
[root@kindgeorge root]# rpm -qa|grep gcc (gccÊDZàÒëÓÃ)
gcc-2.96-110
gcc-g77-2.96-110
gcc-c++-2.96-110
Ò»°ã×°ÁËÄÚºËÔ´°üµÄ»°,¶¼»áÔÚ³öÏÖ/usr/src/linux-2.4,ͬ·¾¶Ï»áÓÐlinux-2.4.18-3µÄÎļþʵ¼ÊĿ¼.
2.Èç¹ûûÓеĻ°,¾ÍÓÃÔÀ´°²×°ÅÌÉϵÄÎļþ°²×°,»áÈ¥ÏÂÔظöÏàͬÄÚºËÔ´°ü°²×°°Érpm -ivh kernel-source-2.4.18-3.i386.rpm
Èý. È¡µÃÇý
Ïà¹ØÎĵµ£º
// Linux Device Driver Template/Skeleton with mmap
// Kernel Module
#include <linux/module.h>
#include <linux/init.h>
#include <linux/version.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#inclu ......
Get Redhat Enterprise 3.0 from:
Your local RedHat rep�
Get Veritas’ VCS and VM products from:
ftp://ftp.veritas.com/pub/products/fst_ha.lxrt2.2.redhatlinux.tar.gz
ftp://ftp.veritas.com/pub/products/fst_ha.lxrt2.2MP1.redhatlinux.tar.gz
You will need a temporary key to complete this ......
Oops¿ÉÒÔ¿´³ÉÊÇÄں˼¶µÄSegmentation Fault¡£Ó¦ÓóÌÐòÈç¹û½øÐÐÁË·Ç·¨ÄÚ´æ·ÃÎÊ»òÖ´ÐÐÁË·Ç·¨Ö¸Á»áµÃµ½SegfaultÐźţ¬Ò»°ãµÄÐÐΪÊÇcoredump£¬Ó¦ÓóÌÐòÒ²¿ÉÒÔ×Ô¼º½Ø»ñSegfaultÐźţ¬×ÔÐд¦Àí¡£Èç¹ûÄÚºË×Ô¼º·¸ÁËÕâÑùµÄ´íÎó£¬Ôò»á´ò³öOopsÐÅÏ¢¡£´¦ÀíÆ÷ʹÓõÄËùÓеØÖ·¼¸ºõ¶¼ÊÇͨ¹ýÒ»¸ö¸´ÔÓµÄÒ³± ......
Ò»¡¢µÇ½
1.½øÈëlinux
2.̞: root
3.¿ÚÁî:123456
4.mysql Óû§Ãû root ÃÜÂë 123456
¶þ¡¢Æô¶¯mysqlÓëapache·þÎñ
1.Æô¶¯mysqÊý¾Ý¿â:/usr/local/mysql/bin/./mysqld_safe --user=mysql &
2.Í£Ö¹mysqlÊý¾Ý¿â:/usr/local/mysql/bin/mysqladmin -u root -p shutdown
3.Æô¶¯apache: /usr/local/apache2/bin/./ap ......
LinuxÄÚºË2.4°æÖÐÈ¥µôÁËÀÏ°æ±¾ÄÚºËÖеľ²Ì¬¶¨Ê±Æ÷»úÖÆ£¬¶øÖ»Áô϶¯Ì¬¶¨Ê±Æ÷¡£ÏàÓ¦µØÔÚtimer_bh()º¯ÊýÖÐÒ²²»ÔÙͨ¹ýrun_old_timers()º¯ÊýÀ´ÔËÐÐÀÏʽµÄ¾²Ì¬¶¨Ê±Æ÷¡£¶¯Ì¬¶¨Ê±Æ÷Ó뾲̬¶¨Ê±Æ÷Õâ¶þ¸ö¸ÅÄîÊÇÏà¶ÔÓÚLinuxÄں˶¨Ê±Æ÷»úÖƵĿÉÀ©Õ¹¹¦ÄܶøÑԵģ¬¶¯Ì¬¶¨Ê±Æ÷ÊÇÖ¸Äں˵Ķ¨Ê±Æ÷¶ÓÁÐÊÇ¿ÉÒÔ¶¯Ì¬±ä»¯µÄ£¬È»¶ø¾Í¶¨Ê±Æ÷±¾Éí¶ ......