Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ʹÓÃISOÎļþ°²×°Linux [·½·¨×ܽá]

Ò». ×¼±¸ÖªÊ¶
1. ISOÎļþ
ÎÒÃÇÆÕ±éʹÓõÄISOÎļþÊÇÖ¸°üº¬×ÅÕû¸öCD-ROM£¨ISO-9660 Îļþϵͳ£©ÄÚÈݵÄ
Ó³Ïó, ÊÇÕû¸öµúƬ´Ó0ÉÈÇøµ½×îºóÒ»¸öÉÈÇøµÄÍêÕû¸´ÖÆ,¾­³£±»ÓÃÀ´ÔÚÍøÂçÉÏ´«Êä
¶ÔÓÚISOÎļþÎÒÃÇ¿ÉÒÔ:
1)¿Ì¼µ½¹âÅÌ
2)ÓÃWinRAR,MagicISOµÈÈí¼þÔÚWindowsϲ鿴»òÊÍ·ÅËüµÄÄÚÈÝ
3)ÔÚLinuxϵͳÏÂ,ʹÓÃmountÃüÁî¹ÒÔص½Ä³¸öĿ¼ÏÂÀýÈç:
mount -t iso9660 -o loop ./cdimg.iso /mnt/test
2. Linux·ÖÇøµÄ±íʾ
LinuxÓÃÀ´±êʶӲÅ̵ķ½·¨ÓëWindows²»Í¬£¬Èç¹ûÄãÓõÄÊÇIDEÓ²ÅÌ£¬ÄÇôÄãµÄµÚÒ»¿éÓ²Å̾ͱ»±êʶΪ/dev/hda µÚ¶þ¿éΪ/dev/hdb ÒÀ´ËÀàÍÆ£»
¶øÇÒµÚÒ»¿éÓ²Å̵ĵÚÒ»¸ö·ÖÇø±»±êʶΪ/dev/hda1µÚ¶þ¸ö·ÖÇøÔòΪ/dev/hda2ÒÀ´ËÀàÍÆ£»
Èç¹ûÊÇSCSIÓ²ÅÌÔòÊÇ/dev/sda£¬/dev/sdb ºÍ /dev/sda1,/dev/sda2µÄÐÎʽ¡£
ÁíÍâLinuxÓÃ1-4±êʶӲÅ̵ÄÖ÷·ÖÇø,5ºÍ5ÒÔÉϱíʾÀ©Õ¹·ÖÇøµÄÂß¼­·ÖÇø
¶øÒ»°ãµÄWindowsϵͳÖÐÖ»ÓÐÒ»¸öÖ÷·ÖÇøC:ºÍÈô¸ÉÀ©Õ¹·ÖÇøµÄÂß¼­·ÖÇø
ËùÒÔC:¶ÔÓ¦µÄÊÇ/dev/hda1,¶øD:È´Ìøµ½ÁË/dev/hda5
3. rootÎļþϵͳ
Linux²»ÏñWindowsÄÇÑùÒÔ·ÖÇøµÄÐÎʽ¹ÜÀíÎļþϵͳ,Ëü²ÉÓÃrootÐÎʽ:
Ò»¸öΨһµÄrootĿ¼"/", ϵͳÉÏËùÓеÄÎļþºÍÆäËüĿ¼¾ùÔÚËüÏÂÃ潨Á¢
¾ÍÏñÒ»¸ö´óÊ÷,´ÓΨһµÄ¸ù¿ªÊ¼,ÔöÖ¦³¤Ò¶
¶øWindowsµÄÏñÒ»¸öÉ­ÁÖ,ÿһ¸ö·ÖÇøÊÇÒ»¸ö´óÊ÷
4. Loadlin³ÌÐò
Loadlin ÊǸöרÃÅÓÃÀ´ÔÚDOS»·¾³ÏµÄÒýµ¼LinuxÆô¶¯µÄ³ÌÐò,ËüÒÔLinuxÄÚºË
Ó³ÏóµÄÎļþµÄλÖúÍrootÎļþϵͳµÄλÖõÈΪÖ÷Òª²ÎÊý,ÀýÈç
C:> loadlin c:\vmlinuz root=/dev/hda2
ÉÏÊöÃüÁî»áÔØÈëLinuxÄÚºËÓ³ÏóÎļþvmlinuz²¢¹ÒÔØroot·ÖÇøÆô¶¯Linux
5. vmlinuzºÍinitrd.imgÎļþ
vmlinuzÊÇLinux Äں˵ľµÏñÎļþ,¿ÉÒÔ±»Òýµ¼³ÌÐò¼ÓÔØ,´Ó¶øÆô¶¯Linuxϵͳ
initrd----boot loader initialized RAM disk(È«³Æ)
ÊÇÒ»ÖÖÆô¶¯LinuxϵͳµÄ·½Ê½
µ±Ç°Á÷ÐеÄLinux°æ±¾Ò»°ã¶¼²ÉÓÃÄ£¿é»¯µÄÄÚºË,ÕâÖÖ·½Ê½¿ÉÒÔÔÚ²»ÖØбàÒë¹¹½¨Äں˵ÄÇéÐÎÏÂ
Ôö¼Ó¹¦ÄÜÄ£¿é
µ«ÊÇÈç¹ûÄãµÄLinuxµÄrootÎļþϵͳËùÔÚÉ豸µÄÇý¶¯ÊÇÒ»¸öÄ£¿é(ûÓбàÒë½øÄÚºËÓ³Ïó)
,¾Í²»Äܱ»Òýµ¼³ÌÐò(ÀýÈçloadlin)Ö±½Ó¼ÓÔØ
Õâʱ»áÓõ½initrd·½Ê½À´Æô¶¯ÄãµÄLinuxϵͳ
ÕâÖÖ·½Ê½°üÀ¨Á½¸ö½×¶Î:
1)ÔÚÒ»¸öRAM diskÉϽ¨Á¢Ò»¸öÁÙʱµÄrootÎļþϵͳ,ÔÚÕâ¸öRAM diskÉÏ°üº¬×ÅÄãÐèÒªµÄÇý¶¯Ä£¿é
2)ÔØÈëËùÐèÇý¶¯Ä£¿é,¹ÒÔØÊ


Ïà¹ØÎĵµ£º

ÔÚlinuxÉÏʹÓÃrlwrapʵÏÖÏñdos¹¦ÄÜʹÓÃÉÏϼü²é¿´ÃüÁî

ÔÚlinux ÉϵÄoracle sqlplus ²»ÄÜÀûÓà ÉÏ, Ï ¼üÀ´²é¿´ÃüÁî ¶ø¿àÄÕ. rlwarp ¹¤¾ß¿ÉÒÔ°ïÖúÎÒÃǽâ¾öÕâ¸öÎÊÌâ.
¹Ù·½ÏÂÔصØÖ·:http://utopia.knoware.nl/~hlub/uck/rlwrap/
Ò»:°²×°readline
OSµÄ°²×°¹âÅÌÀïÌṩÁËreadline°ü.
[root@oracle11g ~]# rpm -Uvh readline*
error: Failed dependencies: libtermcap-devel is nee ......

Linux¼°FreeBSDϵͳϲ鿴CPUÐÅÏ¢µÄ·½·¨

Ò»¡¢Linux
²é¿´cpuÐÅÏ¢£º
[junjie2@ljj ~]$ cat /proc/cpuinfo
¶þ¡¢Freebsd
dmesg ×î¼òµ¥µÄ·½·¨
freebsd# cat /var/run/dmesg.boot |grep CPU ¿ÉÒԲ鿴 cpuÐÅÏ¢
sysctl hw.model ¿´cpuid
sysctl machdep.tsc_freq ¿´cpuƵÂÊ
# sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu'
# dmesg | grep -i cpu ......

VirtualBox Windows ºÍLinux ¹²ÏíÎļþ

1.Windows Ï´ò¿ªvirtualBox £¬Æô¶¯ÐéÄâ»ú¡£ÔÚÐéÄâ»ú´°¿ÚÉÏÑ¡Ôñ É豸 ->·ÖÅäÊý¾Ý¿Õ¼ä
2.Ñ¡ÔñWindowsÏÂÄãÏëÒª¹²ÏíµÄÎļþ¼Ð ÈçH:share , Ìí¼Ó¹Ì¶¨Êý¾Ý·ÖÅä¿Õ¼ä ,·ÖÅä¸÷Ãû×ÖÈ磺VMshare
3.ÔÚÐéÄâ»úlinuxÖն˹ÒÆð¸Õ·ÖÅäµÄÊý¾Ý¿Õ¼ä£¬
   sudo monut -t vboxsf VMshare /home/plus/share #ÆäÖÐ/home/plus/shareÊÇ ......

LinuxÄÚºËÅäÖÃÎĵµ(make menuconfig)

Ò»¡¢ÒýÑÔ£º
    ±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØͼ£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾­Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾­Ñ飨Õâ¸ö»¹µ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ