Ó²ÅÌ°²×° linux Fedora Core 10
°²×°Ç°×¼±¸ºÃÁ½¸ö·ÖÇøA ºÍB£¬·ÖÇø A ÓÃÀ´´æ·ÅÏÂÔØÀ´µÄ Fedora 10 µÄISO¾µÏñÎļþ£¬·ÖÇø B ÓÃÀ´°²×° Fedora 10 .¡£
×¢Ò⣺´æ·Å¾µÏñÎļþµÄ·ÖÇø±ØÐëΪ Fat32 ¸ñʽ£¬·ñÔòÎÞ·¨½øÐа²×°¡££¨±¾ÈËÒѲâÊÔ¹ý£©
½âѹ Fedora-10-i386-netinst.iso ´ËISO Îļþ£¬½«½âѹ³öÀ´µÄ isolinux ºÍ images Á½¸öÎļþ¼ÐÓë Fedora 10 µÄ ISO ¾µÏñÎļþÒ»Æð·ÅÔÚ·ÖÇø A µÄ¸ùĿ¼Ï¡£
ÏÂÔØÒ»¸ö Grub4dos Èí¼þ¡£ÕâÊÇÒ»¸ö¶àϵͳÒýµ¼¹¤¾ß¡£ÏÂÔصØÖ·£º
sourceforge.net/project/downloading.php
ÏÂÔغóÌáÈ¡ÆäÖÐµÄ menu.lst ºÍ grldr Á½¸öÎļþ¡£·Åµ½CÅ̸ùĿ¼Ï¡£´ò¿ªCÅ̸ùĿ¼Ï嵀 boot.ini Îļþ£¬ÔÚºóÃæ¼ÓÈëÈçÏ´úÂ룺
c:\glrdr="Start GrubForDos"
±£´æÍ˳ö£¬´ò¿ª menu.lst Îļþ £¬ÔÚÆäÖмÓÈëÈçÏÂÃüÁ
title install fedora core 10
root (hdx,y)
kernel (hdx,y)/isolinux/vmlinuz
initrd (hdx,y)/isolinux/initrd.img
boot
×¢£ºx ΪӲÅÌÐòºÅ£¬µÚÒ»¸öÓ²ÅÌΪ0£¬µÚ¶þ¸öΪ1,ÒÔ´ËÀàÍÆ£¬y ΪӲÅ̵ķÖÇøÐòºÅ£¬ÇÒ´Ë·ÖÇøÊÇÄã´æ·Å Fedora 10 ISO ¾µÏñÎļþµÄ·ÖÇø£¬µÚÒ»¸öÖ÷·ÖÇøΪ0£¬µÚ¶þ¸öÖ÷·ÖÇøΪ1£¬µÚÈý¸öÖ÷·ÖÇøΪ2£¬µÚËĸöÖ÷·ÖÇøΪ3£¬µÚÒ»¸öÂß¼·ÖÇøΪ4£¬µÚ¶þ¸öΪ5..........ÀýÈ磺 (hd0,5)±íʾΪµÚÒ»¿éÓ²Å̵ĵڶþ¸öÂß¼·ÖÇø¡£
±£´æÍ˳ö£¬ÖØÆôºó£¬Æô¶¯²Ëµ¥Öоͻá¶à³öÒ»ÏîÃûΪ Start GrubForDos µÄ¿ÉÑ¡²Ëµ¥¡£Ñ¡ÖдËÏ»Ø³µºó¾Í½øÈëÁË Fedora 10 µÄ°²×°»Ãæ¡£
Ïà¹ØÎĵµ£º
±¾ÎÄÖн«½²Êölinux»·¾³±à³ÌÖÐÏ̵߳ÄʹÓᣲ»Ëµ·Ï»°Ö±½ÓÉÏ´úÂ룺
#include <pthread.h>
#include <assert.h>
struct ThreadData
{
int i;
};
void * ThreadProc(void* arg)
{
ThreadData* data = static_cast<ThreadData*>(arg);
//do something
pthread_exit(data);
}
int main() ......
Ç°ÑÔ£ºÄ¿Ç°ÕýÔÚæÓÚARMƽ̨µÄLinuxÓ¦ÓóÌÐòµÄ¿ª·¢£¨ÆäʵÊǸոÕÆð²½Ñ§Ï°À²£©¡£µ×²ãµÄ¶«Î÷²»Óÿ¼ÂÇÁË£¬¿ª·¢°å×ÓÌṩÁËNAND Bootloader£¬ºÍLinux 2.6µÄÔ´Â룬¶øÇÒ¶¼±àÒëºÃÁË¡£×Ô¼º±àÒëµÄbootloader¿ÉÒÔÓ㬵«ÊÇLinux±àÒëºó£¬ÎļþºÜ´ó£¬ÔÝÇÒ¾ÍÓÃÈ˼ұàÒëµÄϵͳ£¬ÏÈרÐÄдӦÓóÌÐò °É¡£¡£
ÕýÎÄ£ºÒª×öµÄÈÎÎñÊÇ£¬°ÑÒ»¿é°å×ÓÉ쵀 ......
ÔÚƽ³£µÄ×÷ÒµÖУ¬ÓÐʱºòÀÏʦÈÃ×Ô¼ºÊµÏÖÖîÈçcatµÈÀàµÄ³ÌÐò£¬ÓÐʱºò½ÐÓÃshellʵÏÖ£¬ÓÐʱºòÓÃcʵÏÖ£¬µ«ÊÇÎÒ¾³£Ò»µãÍ·Ð÷¶¼Ã»ÓУ¬²»¹ýÎÒÏëµ½linux¿ªÔ´µÄ£¬ÃüÁî´úÂë¿ÉÒÔÄÃÀ´²Î¿¼Ï°¢£¬ËùÒÔÎÒ¾ÍÏë¿´¿´linuxÃüÁîµÄÔ´´úÂ룬ÓÚÊǾͿªÊ¼Á˰ڶɹ·¹·µÄËÑË÷¹ý³Ì¡£´Ó½á¹ûÀ´¿´£¬ÓÐÁ½ÖÖÇé¿ö£¬Ò»ÖÖÊǸøÓèrpmµÄ°üµÄÐÎʽ£»ÁíÒ»ÖÖÊÇ»ùÓÚdeb°üµÄÐ ......
[¾¹ý°²×°²âÊԳɹ¦µÄ·½·¨from CYBEND ]
µÚÒ»²½£ºÏµÍ³ÓëÈí¼þµÄ×¼±¸
ϵͳ°æ±¾ redhat enterprise linux 5 ,Äں˰汾 2.6.18
µÚ¶þ²½£ºÈí¼þ°üµÄ×¼±¸
httpdÈí¼þ°ü£ºhttpd-2.2.8.tar.bz2
mysqlÈí¼þ°ü´Ómysql¹Ù·½ÍøÕ¾ÏÂÔØ£¬ÎÒÑ¡ÓõÄÊÇehel5µÄrpm°ü
MySQL-server-community-5.0.51a-0.rhel5.i386.rpm
MySQL-client-community ......
Ò»¡¢ ldconfig£º
¡¡¡¡LinuxϵͳÖУ¬ÎªÁËÈö¯Ì¬Á´½Ó¿âΪϵͳËù¹²Ïí£¬»¹ÐèÔËÐж¯Ì¬Á´½Ó¿âµÄ¹ÜÀíÃüÁî——ldconfig.
¡¡¡¡1. ldconfigÃüÁîµÄÓÃ;£ºÖ÷ÒªÊÇÔÚĬÈÏËÑѰĿ¼£¨/libºÍ/usr/lib£©ÒÔ¼°¶¯Ì¬¿âÅäÖÃÎļþ/etc/ld.so.confÄÚËùÁеÄĿ¼Ï£¬ËÑË÷³ö¿É¹²ÏíµÄ¶¯Ì¬Á´½Ó¿â£¨¸ñʽÈçÇ°½éÉÜ£¬lib*.so*£©£¬½ø¶ø´´½¨³ö¶¯Ì¬×°È ......