修改linux引导:
#sbin/grub?
grub> find /grub/stage1?
find /grub/stage1
(hd0,0)
如果你没找到试试 find /boot/grub/stage1 find stage1?
将CentOS的grub安装到MBR
grub> root (hd0,0)
grub> setup (hd0)
grub> reboot
?
修改 vi /boot/grub/menu.lst中的 (hd1,0)为(hd0,0)
?
yum 判断提供商:
yum?provides */lspci
?
安装无线网卡
vi ./os/linux/usb_main_dev.c
change the file by adding line: 'MODULE_LICENSE("GPL");' as in example below:
/* Following information will be show when you run 'modinfo' */
/* *** If you have a solution for the bug in current version of driver, please mail to me. */
/* Otherwise post to forum in ralinktech's web site(www.ralinktech.com) and let all users help you. *** */
MODULE_AUTHOR("Paul Lin <paul_lin@ralinktech.com>");
MODULE_DESCRIPTION("RT2870 Wireless Lan Linux Driver");
MODULE_LICENSE("GPL");
#ifdef CONFIG_STA_SUPPORT
#ifdef MODULE_VERSION
?
linux的mod
insmod
modprobe
lsmod
?
centos,tomcat乱码:
<Connector URIEncoding="UTF-8" port="8080" protocol="HTTP/1.1"
? ? ? ? ? ? ? ?connectionTimeout="20000"
? ? ? ? ? ? ? ?redirectPort="8443" />
<Connector URIEncoding="UTF-8" port="8009" protocol="AJP/1.3" redirectPort="8443" />
?