·¹µåÇò ¾ËÆĸ®´ª½º ¼³Ä¡ °úÁ¤ ÃÖÃÊÀÛ¼ºÀÏ : 2000/4/11 ¼öÁ¤ÀÏ : 2000/5/25 ¼öÁ¤ÀÚ : ÀÌÇü±¸ ¿ä¾à : º» ¹®¼­´Â ÄÄÆѾËÆļ­¹ö(DS10)¿¡ ¸®´ª½º(kernel2.2.12-1kr)¸¦ ¼³Ä¡ÇÏ´Â °úÁ¤ 1. ¼³Ä¡Àü- CMOS SETUP 1.1 SRM console ¸ðµå·Î µé¾î°£´Ù - < ctrl + c > (ºÎÆÃÀÌ ½ÃÀ۵Ǹé < ctrl + c > ¸¦ ÀÌ¿ëÇؼ­ SRM console ¸ðµå·Î µé¾î°£´Ù. SRM ¸ðµå·Î Á¦´ë·Î ÀüȯµÇ¾ú´ÂÁö prompt¸¦ È®ÀÎÇÏ¸é µÈ´Ù. Prompt´Â >>> ¸ð¾çÀÌ´Ù.) 1.2 alphabios ¼ÂÆÃÇÑ´Ù - ³¯Â¥ ¹× ÀϹݼ¼Æà - >>> alphabios ¶ó°í ÀÔ·ÂÇÑ´Ù.(SRM prompt´Â >>> ¸ð¾çÀÌ´Ù.) - ±×´ÙÀ½¿¡´Â F2 Å°¸¦ ÀÌ¿ëÇÏ¿© ¾ËÆĹÙÀÌ¿À½º Ä¿¸Çµå¸ðµå·Î µé¾î°£´Ù.(ÀÌÁ¨alphabios ¸ðµå·Î ÀüȯµÇ¾úÀ» °ÍÀÌ´Ù.) - F6 Å°¸¦ ÀÌ¿ëÇÏ¿© Consol selectÀ» ÇÑ´Ù. - ³¯Â¥ ¹× ÀϹݼ¼ÆÃÀ» ÇÑ´Ù. - Digital Unix console¿¡¼­ F10(ÀúÀå) À» ¼±ÅÃÇÑ´Ù. (²À ¹Ù²ï ȯ°æ¿¡ ´ëÇؼ­ ÀúÀåÇØÁØ´Ù.) 1.3 alphabios ¼ÂÆÃÇÑ´Ù ->Çϵåµð½ºÅ© Setup(Çϵåµð½ºÅ©¸¦ ±ú²ýÀÌ Çϱâ À§ÇØ)ÇÑ´Ù. - Del À» ¼±Åà ±âÁ¸ÀÇ Á¸ÀçÇÏ´Â Çϵ带 »èÁ¦ÇÑ´Ù. - ÆÄƼ¼ÇÀ» »õ·ÎÇÑ´Ù. (9GBÇϵåÁß¿¡¼­3Gbyte(Fat¸ðµå)¾¿ ÇÒ´çÇÑ´Ù. ±×·¯¸é Çϵå´Â3 GBÂ¥¸® °¡ 2°³°¡ µÇ°í ³ª¸ÓÁö Çϳª´Â ¾à 2GBÂ¥¸® Çϳª°¡ »ý±ä´Ù.) (¸¸¾à NT¿¡ ÀÇÇØ Çϵ尡 ÃʱâÈ­µÇ¾î Àְųª ¼³Ä¡µÇ¾î ÀÖÀ» °æ¿ì¿¡µµ ´Ù½Ã »èÁ¦ÇÑ´Ù.) - ÇÒ´çµÈ ÆÄƼ¼ÇµéÀº Quick FormatÀ¸·Î FormatÇØÁØ´Ù. ( ¹Ù²ï ȯ°æ¿¡ ´ëÇؼ­´Â F10À» ÀÔ·ÂÇؼ­ ²À ÀúÀåÇØÁØ´Ù ) 1.4 (¸ðµç »çÇ×ÀÌ ´Ù ¸Â°Ô µÇ¾ú´Ù¸é) alphabios¿¡¼­ ºüÁ®³ª¿Â´Ù. 1.5 ÀåÄ¡Á¤º¸¸¦ È®ÀÎÇÑ´Ù. - >>> sh de ( ÀåÄ¡Á¤º¸(show device)¸¦ È®ÀÎÇϱâ À§Çؼ­ÀÌ´Ù.) dqa0.0.0.13.0 DQA0 COMPAQ CDR-8435 0013 dqb0.0.1.13.0 DQB0 FUJITSU MPD3108AT DD-25-04 dva0.0.0.0.0 DVA0 ewa0.0.0.9.0 EWA0 08-00-2B-86-7E-CD ewb0.0.0.11.0 EWB0 08-00-2B-86-7E-E5 - >>> help boot (boot ±â´ÉµéÀ» È®ÀÎÇϱâ À§Çؼ­ÀÌ´Ù.) NAME Boot FUNCTION Bootstrap the system SYNOPSIS Boot [-file ] [-flags [, ]] [-protocols ] [-halt] [] [, ] - >>> boot dqa0 -fi kernels/generic.gz -fl "root=/dev/hda load_ramdisk=1" (¾¾µð·Î ºÎÆÃÇؼ­ ¼³Ä¡ÇÏ°Ú´Ù´Â ÀǹÌÀÌ´Ù.) 2. ¸®´ª½º ¼³Ä¡ boot dqa0 -fi kernels/generic.gz -fl "root=/dev/hda load_ramdisk=1"¸¦ ÀÔ·ÂÇÏ¸é ¼³Ä¡°¡ ÁøÇàµÇ±â ½ÃÀ۵ȴÙ. ¾ËÆÄ ·¹µåÇÞ¸®´ª½ºµµ ´Ù¸¥ ÀϹÝÀûÀÎ ·¹µåÇÞ ¼³Ä¡ÇÏ´Â ¹æ¹ý°ú °ÅÀÇ °°´Ù. ±×Áß¿¡¼­ Ưº°ÇÑ ÀÛ¾÷ ¸î°¡Áö´Â ¼³¸íÀ» µ¡ºÙÀÌ°Ú´Ù. ¼³Ä¡´Â Installation PathÈ­¸éÀÌ ³ª¿À¸é¼­ ÁøÇàµÈ´Ù. ³ª¸ÓÁö´Â ÀϹÝÀûÀÎ ¼³Ä¡¹æ¹ý¿¡ µû¸¥´Ù. 2.1 µð½ºÅ© ¼³Á¤ Disk SetupÈ­¸éÀÌ ³ª¿À¸é Disk Druid¿Í fdisk¼±ÅÃÀ» ÇÒ ¼ö ÀÖ´Â ¸ðµå°¡ ³ª¿À´Âµ¥ ¹Ýµå½Ã fdisk¸¦ ¼±ÅÃÇØ¾ß ÇÑ´Ù. 2.2 ÆÄƼ¼Ç ÇÒ´ç - fdisk ·Î µé¾î°¡¼­ BSD¸ðµå(b)·Î ½ÇÇàÇÑ´Ù. This is the fdisk program for partitioning your drive. It is running on /dev/hdc. Command (m for help): bsd Warning : Starting patitions at cylinder 1 will be bad for the health at your partition table - Start at cylinder 2 instead! /tmp/hdc contains no disklabel. Do you want to create a disklabel? (y/n) Y ( alphabios¿¡¼­ Á¦´ë·Î FormatÇÑ °æ¿ì¿¡ º¸ÀÓ ) # /tmp/hdc : type : ST506 disk : label : flags : bytes/sector : 512 sectors/track : 63 tracks/cylinder : 16 sectors/cylinder : 1008 cylinders : 19386 rpm : 3600 interleave : 1 trackskew: 0 cylinderskew : 0 headswitch : 0 #milliseconds track-to-track seek : 0 #milliseconds drivedata : 0 3 partitions : # size offset fstype [fsize bsize cpg] c:19541088 0 unused 0 0 #(cyl. 1-19386) - ÆÄƼ¼ÇÀ» ³ª´«´Ù. (ÆÄƼ¼ÇÀ» ³ª´©´Â ¹üÀ§´Â a - h ±îÁö c¸¦ Á¦¿ÜÇÑ 7°³±îÁö ÀÌ´Ù. - c´Â ¼Õ´ëÁö ¾Ê´Â´Ù. Áï, Áö¿ì°Å³ª º¯°æ½ÃÅ°Áö ¾Ê¾Æ¾ß ÇÑ´Ù -ÆÄƼ¼Ç Ãß°¡ ÆÄƼ¼Ç Ãß°¡´Â nÀ» ÀÔ·ÂÇÏ¿© Ãß°¡ÇÑ´Ù. (nÀº new¶ó´Â ÀǹÌÀÌ´Ù.) ù° ÆÄƼ¼ÇÀº a·Î Á¤ÇØÁØ´Ù. (¿©±â¼­´Â cylinder¸¸ Àâ¾ÆÁÖ°í ³ªÁß¿¡ editÈ­¸é¿¡¼­hdc1´Â swapÀ¸·Î Á¤ÇÏ°Ô µÈ´Ù) BSD disklabel command ( m for help) : n Partition(a-h) : a First cylindar(1-19387, default 1) : 2 (½Ç¸°´õ´Â 1ºÎÅÍ°¡ ¾Æ´Ï¶ó 2ºÎÅÍ ½ÃÀÛÇÑ´Ù.) Last cylindar or tsize or tsizeM or tsizeK(1-19387, default 19387) : 1041 µÑ° ÆÄƼ¼ÇÀº b·Î Á¤ÇØÁØ´Ù. (³ªÁß¿¡ editÈ­¸é¿¡¼­ hdc2°¡ µÈ´Ù. / (root)·Î Á¤ÇÏ°Ô µÈ´Ù. ) Partition(a-h) : b First cylindar() : 1042 Last cylindar() : 1540 ¼¼Â° ÆÄƼ¼ÇÀº d·Î Á¤ÇØÁØ´Ù. (³ªÁß¿¡ editÈ­¸é¿¡¼­ hdc4ÀÌ µÈ´Ù. /usr) Partition(a-h) : d First cylindar() : 1541 Last cylindar() : 5041 ³×° ÆÄƼ¼ÇÀº e·Î Á¤ÇØÁØ´Ù. (³ªÁß¿¡ editÈ­¸é¿¡¼­ hdc5ÀÌ µÈ´Ù. /var) Partition(a-h) : e First cylindar() : 5042 Last cylindar() : 6642 ´Ù¼¸Â° ÆÄƼ¼ÇÀº f·Î Á¤ÇØÁØ´Ù. (³ªÁß¿¡ edit È­¸é¿¡¼­hdc6ÀÌ µÈ´Ù. /tmp) Partition(a-h) : f First cylindar() : 6643 Last cylindar() : 7643 ¿©¼¸Â° ÆÄƼ¼ÇÀº g·Î Á¤ÇØÁØ´Ù. (³ªÁß¿¡ editÈ­¸é¿¡¼­hdc7ÀÌ µÈ´Ù. /home) Partition(a-h) : g Firstcylindar() : 7644 Lastcylindar() : 19387 * c ÆÄƼ¼ÇÀº ¼ÕÀ» ¾ÈµÇ¾úÁö¸¸ Á¤ÇØÁ® Àֱ⠶§¹®¿¡ ¸ðµÎ Æ÷ÇÔÇؼ­ 7°³ÀÇ ÆÄƼ¼ÇÀÌ´Ù. BSD disklabel command ( m for help) : p (p ¸í·ÉÀ¸·Î Á¦´ë·Î ÇÒ´çµÇ¾ú´Â Áö È®ÀÎÀ» ÇغÁ¾ß ÇÑ´Ù.) a : 1048320 1008 unused 0 0 #( Cyl. 2 - 1041 ) b : 502992 1049328 unused 0 0 #( Cyl.1042 - 1540 ) c : 19541088 0 unused 0 0 #( Cyl. 1 - 19386 ) d : 3529008 1552320 unused 0 0 #( Cyl.1541 - 5041 ) e : 1613808 5081328 unused 0 0 #( Cyl.5042 - 6642 ) f : 1009008 6695136 unused 0 0 #( Cyl.6643 - 7643 ) g : 11837952 7704144 unused 0 0 #( Cyl.7644 - 19387 ) * ÆÄƼ¼ÇÀº »ç¿ëÇÏ°íÀÚ ÇÏ´Â ¸ñÀû¿¡ µû¶ó Á¶±Ý¾¿ ´Ù¸¦ ¼ö ÀÖ´Ù. (¿¹¸¦µé¾î, À¥¼­¹öÀÏ °æ¿ì¿¡´Â /home¸¦ Á¶±Ý Å©°Ô ÇØÁشٴøÁö ¸ÞÀϼ­¹öÀÏ °æ¿ì¿¡´Â /var ³ª /tmp»çÀÌÁ ´õ Å©°Ô ÇØÁÙ ¼ö ÀÖ´Ù. µîµî) 2.3 È­ÀÏÇü½Ä BSD disklabel command ( m for help) : t Partition(a-g) : a Hex Code ( type L to list codes ) : 1 ( È­ÀÏÇü½ÄÀ» Á¤ÇØÁÙ ¶§´Â t ¿É¼ÇÀ» »ç¿ëÇÑ´Ù. ù° ÆÄƼ¼ÇÀº swapÀ¸·Î »ç¿ëÇϱ⠶§¹®¿¡ ÆÄÀÏÇü½ÄÀ» swapÀ¸·Î Á¤ÇØÁØ´Ù. HEX codeÁß¿¡¼­ 1À» ¼±ÅÃÇØÁØ´Ù (swap Çü½Ä) ) BSD disklabel command ( m for help) : t Partition(a-g) : Hex Code ( type L to list codes ) : 8 ( ³ª¸ÓÁö ÆÄÀÏÇü½ÄµéÀº HEX codeÁß¿¡¼­ 8¹øÀ» ¼±ÅÃÇØÁØ´Ù (ext2 Çü½Ä) ) * ÆÄƼ¼Ç c´Â ¾Æ¹«·± ¿É¼ÇÀ» ÁÙ ÇÊ¿ä¾ø´Ù.(Áß¿äÇÏ´Ù.) Ȥ À߸ø ¼±ÅÃÇؼ­ °ªÀÌ ´Þ¶óÁ³´Ù¸é 0À» ÀÔ·ÂÇؼ­ unusedÇü½ÄÀ¸·Î ÇØÁØ´Ù. BSD disklabel command ( m for help) : w Writing disklabel to /tmp/hdc. Syncing disks. (ÁöÁ¤ÇØÁØ ¿É¼ÇµéÀ» ÀúÀåÇØÁØ´Ù.) BSD disklabel command ( m for help) : q (fdisk ¸ðµå¿¡¼­ ºüÁ®³ª¿Â´Ù.) - fdisk¿¡¼­ ºüÁ®³ª¿À¸é Patition Disks ¶ó´Â È­¸éÀÌ ¶á´Ù /dev/hdc - Model FUJITSU MPD3108AT - Model FUJITS DoneÀ» ¼±ÅÃÇÑ´Ù. 3. ¼³Ä¡ ÈÄ 3.1 ÀçºÎÆà ¾ËÆĽýºÅÛ¿¡¼­´Â shutdownÀÌ ¾ÈµÇ±â ¶§¹®¿¡(reset¹öÆ°Àº ÀÛµ¿¾ÈÇÔ) ¹Ýµå½Ã Àü¿ø½ºÀ§Ä¡¸¦ ³»¸®°í ´Ù½Ã ¿Ã¸°´Ù. 3.2 SRM console¸ðµå¿¡¼­ ºÎÅÍ ´Ù½Ã ½ÃÀÛÇÑ´Ù. >>> boot dqa0 -fi kernels/generic.gz -fl "root=/dev/hdc2" (¾ÆÁ÷±îÁö ºÎÆÃÀº ¾¾µð·Ò¿¡ ÀÇÁ¸Çؼ­ ÇØ¾ß Çϱ⠶§¹®¿¡ dqa0(cdrom)¸¦ ÀÌ¿ëÇؼ­ ºÎÆÃÇÏ°í ¸®´ª½º°¡ ¼³Ä¡µÈ Çϵå·Î µé¾î°£´Ù. dqa0.0.0.13.0 DQA0 COMPAQ CDR-8435 0013 dqb0.0.1.13.0 DQB0 FUJITSU MPD3108AT DD-25-04 ) 3.3 login ( login: ¸®´ª½º loginÇÁ·ÒÇÁÆ®°¡ ¶á´Ù.) X À©µµ¿ì ¸ðµÎ¿¡¼­ ºÎÆÃÇÑ´Ù´Â ¿É¼ÇÀ» ¼±ÅÃÇß´Ù¸é XÀ©µµ¿ì È­¸é¿¡¼­ root ¾ÆÀÌÄÜÀ» ¼±ÅÃÇÏ°í ¾ÏÈ£¸¦ ÀÔ·ÂÇÏ°í µé¾î°£´Ù. 3.4 Çϵå·Î ºÎÆà °¡´ÉÇÏ°Ô... X -windows°¡¶á ÈÄ¿¡HantermÀ» ¶ç¿î´Ù. ±× ´ÙÀ½¿¡´Â [root@www /root]# swriteboot -f3 /dev/hdc /boot/bootlx ( ÀÌ °úÁ¤Àº Çϵ忡¼­ ºÎÆð¡´ÉÇÏ°Ô ÇØÁÖ´Â ¿É¼ÇÀÌ´Ù.) 3.5 ½Ì±ÛºÎÆøðµå »ðÀÔ(½Ì±ÛºÎÆÃÀÌ °¡´ÉÇÏ°Ô ÇÑ´Ù.) [root@www /etc]# vi aboot.conf¸¦ ÅëÇØ ÆíÁý¸ðµå·Î µé¾î°£´Ù. (¿Ã¹Ù¸£°Ô ¼³Ä¡µÇ¾ú´Ù¸é aboot.confÆÄÀÏÀÌ »ý¼ºµÇ¾î ÀÖÀ» °ÍÀÌ´Ù.) ¸ÖƼºÎÆÃÀ» Áö¿øÇÏ°Ô Çϱâ À§Çؼ­ 0:2/boot/vmlinuz-2.2.12-1kr root=/dev/hdc2 1:2/boot/vmlinuz-2.2.12-1kr root=/dev/hdc2 single (½Ì±Û¸ðµå) ¸¦ ÀÔ·ÂÇÑ´Ù. ( ÀÌ°ÍÀº ³ªÁß¿¡ ºÎÆÃÈÄ SRM console¸ðµå¿¡¼­ boot_osflags 0 - 0¶Ç´Â 1ÀÌ ¼±Åð¡´ÉÇÏ´Ù. 1Àº singleºÎÆ÷ΠºÎÆÃÇÏ°Ú´Ù´Â ¶æÀÌ´Ù. - °ªÀ» ¼±ÅÃÇÏ¿© ºÎÆøðµå¸¦ º¯°æÇÒ ¼ö ÀÖ´Ù. ) 3.6 Mysql °ü·Ã ¿É¼Ç º¯°æ(ÀÌ ¹èÆ÷ÆÇ¿¡ ¹®Á¦°¡ ¾à°£ Àֱ⠶§¹®¿¡ ¼öÁ¤ÇØÁÖ¾î¾ß ÇÑ´Ù.) [root@www /root]# cd /var/lib/mysql [root@www /mysql]# chown mysql.mysql * -Rf ·Î ¼ÒÀ¯±Ç º¯°æÇØÁØ´Ù. [root@www /mysql]# mysql_install_db ·Î mysql ½ÇÇà 3.7 cdrom ÀÚµ¿¸¶¿îÆ® (ÀÌ ¹èÆ÷ÆÇ¿¡ ºüÁ®Àֱ⠶§¹®¿¡ ¼öÁ¤ÇØÁÖ¾î¾ß ÇÑ´Ù.) [root@www /mysql]# vi /etc/fstab cdromÀÌ ¾ÈÀâÇô ÀÖÀ¸¹Ç·Î ¼öµ¿À¸·Î ÀÔ·ÂÇÑ´Ù. /dev/hda /mnt/cdrom iso9660 noauto,ro 0 0 ÀúÀåÇÏ°í ºüÁ®¿Â´Ù. 3.8 Reboot reboot¸¦ ÀÔ·ÂÇÑ´Ù. ±× ÀÌÈÄ ´Ù½Ã Àü¿ø½ºÀ§Ä¡¸¦ ´­·¯¼­ ÀçºÎÆÃÇÑ´Ù.(¾ËÆÄ DS10¿¡¼­´Â rebootingÀÌ ºÒ°¡´ÉÇÏ´Ù.±×·¡¼­ Àü¿ø½ºÀ§Ä¡·Î ´Ù½Ã ÀçºÎÆÃÇÑ´Ù.) 3.9 SRM console¿¡¼­ ºÎÆÃ¿É¼Ç ÁÖ±â - µð¹ÙÀ̽º È®ÀÎ >>> sh de (µð¹ÙÀ̽ºµéÀ» º¸±â À§Çؼ­ÀÌ´Ù. ¸ÇóÀ½ ¼¼ÆÃÇÒ ¶§Ã³·³ µð¹ÙÀ̽ºµéÀ» È®ÀÎÇÑ´Ù.) >>> sh boot* ¸¦ ÀÔ·ÂÇßÀ» ¶§ SRMÄֿܼ¡¼­ ¾Æ·¡¿Í °°ÀÌ ³ª¿Í¾ß ÇÑ´Ù. boot_dev dqb 0.0.1.13.0 boot_file vmlinux.gz boot_osflags 0 (0 ¶Ç´Â 1·Î ºÎÆà ¼±Åð¡´ÉÇÏ´Ù. 1Àº single·Î ºÎÆÃÇÏ°Ú´Ù´Â ÀǹÌ) boot_reset OFF bootdef_dev dqb 0.0.1.13.0 booted_file booted_osflags >>> set bootdef_dev dqb0 (ÀÌÁ¦ ºÎÆÃÀº Çϵå·ÎºÎÅÍ ÇÏ°Ú´Ù´Â ¸í·ÉÀÌ´Ù. ÀÌÈĺÎÅÍ ÇϵåºÎÆÃÀÌ °¡´ÉÇÏ´Ù.) ±âº»ÀûÀ¸·Î 0À¸·Î bootµÈ´Ù. - Ȥ À§ÀÇ °Íµé°ú ´Ù¸£°Ô ³ªÅ¸³­´Ù¸é set¸í·ÉÀ» ÀÌ¿ëÇؼ­ ¶È°°ÀÌ ÀÔ·ÂÇØÁÖ¸é µÈ´Ù. ¿¹¸¦ µé¾î boot_file¿¡ ¾Æ¹«°Íµµ ¾È³ªÅ¸³­´Ù¸é >>> set boot_file vmlinux.gz ¶ó°í ÀÔ·ÂÇØÁÖ¸é µÈ´Ù. 4. ±âŸ ** ³ª¸ÓÁö ¼ÂÆÃÀº ´Ù¸¥ ¸®´ª½º ÆÐÅ°Áö(·¹µåÇÞ ¹èÆ÷ÆÇ)¿Í ¶È°°´Ù