= \TableOfContents |
= !Download |
= *Colinux program%%% |
= http://www.colinux.org/ ¿¡¼ ¹Þ¾Æ¿É´Ï´Ù.%%% |
= Àú´Â 0.7.1ÀÇ pre release¸¦ ¹Þ¾Ò½À´Ï´Ù.%%% |
= *Root FS image%%% |
= Debian-20040605-mit.ext3.1610mb ¸¦ ¹Þ¾Ò½À´Ï´Ù.%%% |
= *Empty FS image %%% |
= http://gniarf.nerim.net/colinux/fs/ %%% |
= ¿¡¼ fs_256Mb.bz2 ¸¦ ¹Þ¾Ò½À´Ï´Ù.%%% |
= |
= !ÇÁ·Î±×·¥ ¼³Ä¡ |
= ¼³Ä¡´Â ¸¶¹ý»ç°¡ ÀÖÀ¸¹Ç·Î ½±°ÚÁÒ.%%% |
= winpcapµµ ¼³Ä¡ÇÕ´Ï´Ù. colinux ¼³Ä¡Áß°£¿¡ ³ª¿À´Â ¸µÅ©¸¦ ´·¯ ´Ù¿î·ÎµåÇÏ°í ¼³Ä¡ÇÏ¸é ³¡.%%% |
= !ÆÄƼ¼Ç Áغñ |
= ¹Þ¾Æ³õÀº FS image¸¦ DZ´Ï´Ù.%%% |
= Àú´Â »§ÁýÀ» ÀÌ¿ëÇß½À´Ï´Ù.%%% |
= fs_256Mb´Â µÎ °³¸¦ Ç®¾î¼ ÆÄÀϸíÀ» Çϳª´Â swap_256Mb·Î ÇÏ¿´½À´Ï´Ù. ½º¿Ò ÆÄÀÏ ½Ã½ºÅÛÀ¸·Î ¾²·Á±¸¿ä%%% |
= !¼³Á¤ÆÄÀÏ |
= coLinux°¡ ¼³Ä¡µÈ µð·ºÅ丮¾Æ·¡ÀÇ example.conf¸¦ Ä«ÇÇÇؼ debian.conf·Î ¸¸µé¾ú½À´Ï´Ù.%%% |
= ¿©±â¼ º¯°æÇÒ °ÍÀÌ%%% |
= 1. root fs °æ·Î%%% |
= 2. swap fs °æ·Î%%% |
= 3. Ãß°¡·Î »ç¿ëÇÒ ÆÄƼ¼Ç °æ·Î ¼³Á¤%%% |
= 4. ¸Þ¸ð¸®¿Í ³×Æ®¿öÅ© ¼³Á¤%%% |
= ÀÔ´Ï´Ù.%%% |
= 1,2,3¹øÀº |
= <pre> |
= cobd0="E:\work\colinux\Debian-20040605-mit.ext3.1610mb" |
= cobd1="E:\work\colinux\fs_256Mb" |
= \# Swap device, should be an empty file with 128..512MB. |
= cobd2="E:\work\colinux\swap_256Mb" |
= </pre> |
= ÀÌ·¸°Ô ½è½À´Ï´Ù.%%% |
= 4¹øÀº%%% |
= <pre> |
= \# Maximal memory for linux guest |
= mem=64 |
= \# Slirp for internet connection (outgoing) |
= \# Inside running coLinux configure eth0 with this static settings: |
= \# ipaddress 10.0.2.15 broadcast 10.0.2.255 netmask 255.255.255.0 |
= \# gateway 10.0.2.2 nameserver 10.0.2.3 |
= eth0=slirp |
= \# Tuntap as private network between guest and host on second linux device |
= eth1=tuntap |
= </pre> |
= ÀÌ·¸°Ô ¾¸.%%% |
= |
= !È£½ºÆ® ³×Æ®¿öÅ© ¼³Á¤ |
= ³×Æ®¿öÅ© µî·ÏÁ¤º¸¿¡¼ tap win 32 adapter µð¹ÙÀ̽º¸¦ ¼³Á¤ÇÏ¿© IP¸¦ 10.0.3.10À¸·Î ¼³Á¤ÇÕ´Ï´Ù.%%% |
= gateway´Â ºñ¿öµÓ´Ï´Ù. host¿Í coLinux guest°£¿¡ »ç¿ëÇϱâ À§ÇÑ ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù.%%% |
= |
= !ºÎÆà |
= ÀÌÁ¦ Ä¿¸ÇµåâÀ» ¿°í ½ÇÇàÇÕ´Ï´Ù.%%% |
= <pre> |
= C:\\Program Files\\coLinux>colinux-daemon.exe @debian.conf |
= </pre> |
+ ±×·¯¸é ÄܼÖÀÌ ¶ß¸é¼ ºÎÆÃÀÌ µÇ°í root¾ÏÈ£¸¦ ¹¯½À´Ï´Ù.%%% |
+ ¾ÏÈ£´Â rootÀÔ´Ï´Ù.%%% |
+ !³×Æ®¿öÅ© »ì¸®±â |
+ ÀÌÁ¦ guestÀÇ ³×Æ®¿÷À» »ì·Áº¸°Ú½À´Ï´Ù.%%% |
+ /etc/network/interface¸¦ ¼öÁ¤ÇÕ´Ï´Ù. |
+ <pre> |
+ auto lo eth0 |
+ |
+ iface eth0 inet static |
+ address 10.0.2.15 |
+ broadcast 10.0.2.255 |
+ netmask 255.255.255.0 |
+ gateway 10.0.2.2 |
+ |
+ |
+ iface lo inet loopback |
+ |
+ auto eth1 |
+ iface eth1 inet static |
+ address 10.0.3.20 |
+ broadcast 10.0.3.255 |
+ network 10.0.3.0 |
+ netmask 255.255.255.0 |
+ </pre> |
+ ±×¸®°í ³×Æ®¿÷À» ´Ù½Ã ½ÃÀÛÇÕ´Ï´Ù.%%% |
+ <pre> |
+ colinux:/etc/network# /etc/init.d/networking restart |
+ Setting up IP spoofing protection: rp_filter. |
+ Reconfiguring network interfaces...SIOCDELRT: No such process |
+ done. |
+ </pre> |
+ ÀÏ´Ü ¹º°¡ ½ÇÆÐÇß³×¿ä ´Ù½Ã Çѹø restartÇØÁÖ¸é µË´Ï´Ù.%%% |
+ <pre> |
+ colinux:/etc/network# /etc/init.d/networking restart |
+ Setting up IP spoofing protection: rp_filter. |
+ done. |
+ </pre> |
+ |
+ telnetÇغ¾´Ï´Ù.%%% |
+ <pre> |
+ colinux:/etc/network# telnet yahoo.co.kr 80 |
+ Trying 203.212.171.217... |
+ Connected to rc.vip.kr1.yahoo.com. |
+ Escape character is '^\]'.%%%\[\] |
+ telnet> quit |
+ Connection closed. |
+ </pre> |
+ ¿ÜºÎ ÀÎÅÍ³Ý µÇ³×¿ä.%%% |
+ ³»ºÎ ¸Á ÇÎÇغ¾´Ï´Ù.%%% |
+ À©µµ¿ì Ä¿¸ÇƮâ¿¡¼%%% |
+ <pre> |
+ C:\\Documents and Settings\\danielsong>ping 10.0.3.20 |
+ |
+ Pinging 10.0.3.20 with 32 bytes of data: |
+ |
+ Reply from 10.0.3.20: bytes=32 time<1ms TTL=64 |
+ Reply from 10.0.3.20: bytes=32 time<1ms TTL=64 |
+ Reply from 10.0.3.20: bytes=32 time<1ms TTL=64 |
+ Reply from 10.0.3.20: bytes=32 time<1ms TTL=64 |
+ |
+ Ping statistics for 10.0.3.20: |
+ Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), |
+ Approximate round trip times in milli-seconds: |
+ Minimum = 0ms, Maximum = 0ms, Average = 0ms |
+ </pre> |
+ µÇ´Â±º¿ä. |
+ !swap partion, user partion ´õÇϱâ |
+ http://colinux.wikia.com/wiki/Getting_Started_with_coLinux#Adding_Swap_Space ¿©±â ¸µÅ© ÂüÁ¶.%%% |
+ Àú´Â cobd2¸¦ swap ÆÄÀÏ·Î ¾²±â·Î ÇßÀ¸¹Ç·Î |
+ *Add the line below to /etc/fstab: /dev/cobd2 none swap sw 0 0 |
+ *Run "mkswap /dev/cobd2" |
+ *Run "swapon -a" %%% |
+ ÀÌ·¯¸é µË´Ï´Ù.%%% |
= |
+ user partionÀº /homeÀ» ¾²·Á°í Çϴµ¥%%% |
+ ¿ª½Ã /etc/fstab¿¡ /dev/cobd1 /home/ ext3 defaults 0 0 ÀÌ·¸°Ô ½áÁÝ´Ï´Ù.%%% |
+ <pre> |
+ colinux:/etc/network# cat /etc/fstab |
+ /dev/cobd0 / ext3 defaults 0 1 |
+ /dev/cobd1 /home ext3 defaults 0 0 |
+ /dev/cobd2 none swap sw 0 0 |
+ proc /proc proc defaults 0 0 |
+ colinux:/etc/network# mkswap /dev/cobd2 |
+ Setting up swapspace version 1, size = 268431 kB |
+ colinux:/etc/network# swapon -a |
+ Adding 262136k swap on /dev/cobd2. Priority:-1 extents:1 |
+ colinux:/etc/network# mount /home |
+ EXT3-fs warning: checktime reached, running e2fsck is recommended |
+ EXT3 FS on cobd1, internal journal |
+ EXT3-fs: mounted filesystem with ordered data mode. |
+ colinux:/etc/network# kjournald starting. Commit interval 5 seconds |
+ </pre> |
+ !debian upgrade |