{"id":443,"date":"2008-01-12T14:17:20","date_gmt":"2008-01-12T05:17:20","guid":{"rendered":"http:\/\/ecpplus.net\/weblog\/archives\/443"},"modified":"2020-07-12T18:27:09","modified_gmt":"2020-07-12T09:27:09","slug":"windows%e3%81%a7%e6%9b%b8%e3%81%84%e3%81%a6colinux%e7%92%b0%e5%a2%83%e3%81%a7%e5%ae%9f%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/ecpplus.net\/weblog\/windows%e3%81%a7%e6%9b%b8%e3%81%84%e3%81%a6colinux%e7%92%b0%e5%a2%83%e3%81%a7%e5%ae%9f%e8%a1%8c\/","title":{"rendered":"Windows\u3067\u66f8\u3044\u3066coLinux\u74b0\u5883\u3067\u5b9f\u884c"},"content":{"rendered":"<p>Core2\u3067\u901f\u3044PC\u3092\u30aa\u30d5\u30a3\u30b9\u306b\u7f6e\u3044\u305f\u306e\u3067\u3001coLinux\u74b0\u5883\u4f5c\u3063\u3066\u307f\u305f\u3002<\/p>\n<p>coLinux\u3067\u5feb\u9069\u958b\u767a\u74b0\u58831 \u306e\u8a18\u4e8b\u304c\u3068\u3066\u3082\u53c2\u8003\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<h3>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h3>\n<p><a href=\"http:\/\/www.colinux.org\/\"><a href=\"http:\/\/www.colinux.org\/\">http:\/\/www.colinux.org\/<\/a><\/a> \u306e<a href=\"http:\/\/sourceforge.net\/project\/showfiles.php?group_id=98788\">Download<\/a>\u304b\u3089\u3001 coLinux-0.7.1.exe \u3092\u843d\u3068\u3057\u307e\u3059\u3002\u3042\u3068\u3001\u4e0b\u306e\u307b\u3046\u306b2.4\u7cfb\u30682.6\u7cfb\u306ekernel\u306e\u30a4\u30e1\u30fc\u30b8\u304c\u4f55\u500b\u305a\u3064\u304b\u7f6e\u3044\u3066\u3042\u308b\u306e\u3067\u3001\u597d\u304d\u306a\u3082\u306e\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u50d5\u306f Debian-4.0r0-etch.ext3.1gb.bz2 \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3057\u305f\u3002<\/p>\n<h3>coLinux\u672c\u4f53\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h3>\n<p>coLinux-0.7.1.exe \u3092\u5b9f\u884c\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u306f\u3001c:\/coLinux \u3068\u3057\u307e\u3057\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5185\u5bb9\u306f\u3001Root Filesystem image Download \u306e\u30c1\u30a7\u30c3\u30af\u3092\u306f\u305a\u3057\u3066\u3001\u3042\u3068\u306f coLinux \u5185\u306e\u4e0a4\u3064\u3092\u9078\u629e\u3059\u308c\u3070OK\u3067\u3001\u9014\u4e2dTAP\u306e\u8b66\u544a\u306f\u7d9a\u884c\u3067OK\u3002\u3053\u308c\u3067coLinux\u672c\u4f53\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u5b8c\u4e86\u3057\u307e\u3059\u3002<\/p>\n<h3>Debian\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u8a2d\u5b9a<\/h3>\n<p>\u3055\u304d\u307b\u3069\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fDebian\u306e bz2 \u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u7b54\u3059\u308b\u3068\u3001Debian-4.0r0-etch.ext3.1gb \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306f\u305a\u306a\u306e\u3067\u3001\u3053\u308c\u3092 c:\/coLinux \u30d5\u30a9\u30eb\u30c0\u3078\u79fb\u52d5\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3053\u308c\u3067\u7d42\u308f\u308a\u3067\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u8d77\u52d5\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002c:\/coLinux \u306b start-Debian.bat \u306e\u3088\u3046\u306a\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u3001\u4e2d\u8eab\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002mem \u306f\u4f7f\u7528\u3059\u308b\u30e1\u30e2\u30ea\u91cf\u3001cobd0 \u306f\u30ab\u30fc\u30cd\u30eb\u306e\u30a4\u30e1\u30fc\u30b8\u3001codb1\u306f\u30b9\u30ef\u30c3\u30d7\u306e\u30a4\u30e1\u30fc\u30b8\u307f\u305f\u3044\u3067\u3059\u3002\u6700\u5f8c\u306b \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3088\u3046\u3067\u3059\u3002 tcp:Windows\u5074\u304b\u3089\u898b\u305f\u30dd\u30fc\u30c8:coLinux\u306e\u30dd\u30fc\u30c8 \u3068\u3044\u3046\u5f62\u3067\u66f8\u304f\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u4f8b\u3060\u3068\u3001 Windows\u306e 127.0.0.1 \u306e 8022\u756a\u30dd\u30fc\u30c8\u304c coLinux\u5074\u306e 22\u756a\u30dd\u30fc\u30c8\u3078\u5411\u3044\u3066\u3044\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002Web\u30b5\u30fc\u30d0\u3001Rails\u306e\u958b\u767a\u74b0\u5883\u304f\u3089\u3044\u304c\u601d\u3044\u3064\u3044\u305f\u306e\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u307e\u3059\u3002\u3042\u3068\u3001Rascut\u3068\u304bMySQL\u306e\u30dd\u30fc\u30c8\u3082\u8ffd\u52a0\u3057\u305f\u307b\u3046\u304c\u4f7f\u3044\u3084\u3059\u3044\u304b\u3082\u3002<\/p>\n<p><strong>\u5b9f\u969b\u306f\u4e00\u884c\u3067\u66f8\u304b\u306a\u3044\u3068\u3060\u3081\u3067\u3059\u3002<\/strong><\/p>\n<pre>colinux-daemon.exe\n kernel=vmlinux\n initrd=initrd.gz\n mem=256\n cobd0=\"C:\/coLinux\/Debian-4.0r0-etch.ext3.1gb\"\n cobd1=\"C:\/coLinux\/swap.img\"\n root=\/dev\/cobd0\n eth0=slirp,,tcp:5901:5900\/tcp:8022:22\/tcp:8080:80\/tcp:13000:3000 ro<\/pre>\n<h3>\u8d77\u52d5<\/h3>\n<p>\u5148\u307b\u3069\u4f5c\u3063\u305f start-Debian.bat \u304b\u3089\u8d77\u52d5\u3057\u307e\u3059\u3002\u521d\u56de\u8d77\u52d5\u6642\u306f\u3001user: root \/ password : root \u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u8d77\u52d5\u3057\u305f\u3068\u304d\u304b\u3089\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u3064\u306a\u304c\u3063\u3066\u3044\u307e\u3059\u304c\u3001ping \u306f\u3064\u306a\u304c\u3089\u306a\u3044\u306e\u3067\u758e\u901a\u30c6\u30b9\u30c8\u3067 ping \u3092\u6253\u3063\u3066\u3082\u4f55\u3082\u5e30\u3063\u3066\u304d\u307e\u305b\u3093\u306e\u3067\u3001wget \u3067\u30c6\u30ad\u30c8\u30fc\u306aURL\u305f\u305f\u3044\u3066\u307f\u308b\u3068\u308f\u304b\u308b\u304b\u3082\u3002<\/p>\n<p>Windows\u5074\u304b\u3089putty\u306a\u3069\u3067\u3064\u306a\u3050\u5834\u5408\u306f\u3001SSH\u30b5\u30fc\u30d0\u304c\u8d77\u52d5\u3057\u3066\u3044\u308b\u3068\u3057\u3066 start-Debian.bat \u3067\u8a2d\u5b9a\u3057\u305f SSH\u306e\u30dd\u30fc\u30c8\u3078\u5411\u3051\u305fWindows\u5074\u306e\u30dd\u30fc\u30c8\u306b\u3064\u306a\u304e\u306b\u884c\u3051\u3070OK\u3067\u3059\u3002\u4e0a\u306e\u4f8b\u3060\u3068 tcp:8022:22 \u3068\u3057\u3066\u3044\u308b\u306e\u3067\u3001coLinux\u5074\u306722\u756a\u3067SSH\u30b5\u30fc\u30d0\u3092\u7acb\u3061\u4e0a\u3052\u3066\u304a\u3051\u3070\u3001Windows\u304b\u3089putty\u7b49\u3067 127.0.0.1 \u306e 8022\u756a\u30dd\u30fc\u30c8\u3067\u3064\u306a\u304c\u308a\u307e\u3059\u3002<\/p>\n<h3>coLinux\u304b\u3089Windows\u306e\u30d5\u30a9\u30eb\u30c0\u3092\u30de\u30a6\u30f3\u30c8<\/h3>\n<p>samba\u3067\u3064\u306a\u304e\u306b\u3044\u304d\u307e\u3059\u3002\u305f\u3076\u3093\u3053\u308c\u3060\u3051\u3067\u3044\u3051\u305f\u306f\u305a\u3002<\/p>\n<pre># apt-get install smbclient smbfs<\/pre>\n<p>\u9069\u5f53\u306b\u30de\u30a6\u30f3\u30c8\u30dd\u30a4\u30f3\u30c8\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<pre>$ mkdir \/home\/chihaya\/windows\n$ mountpoint -d \/home\/chihaya\/windows<\/pre>\n<p>Windows\u5074\u3067\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30d5\u30a9\u30eb\u30c0\u540d\u306f\u306a\u3093\u3067\u3082\u3044\u3044\u3067\u3059\u3001\u5171\u6709\u540d\u304c\u53c2\u7167\u3055\u308c\u308b\u540d\u524d\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u306f Windows\u5074\u306b linux_share \u3068\u3044\u3046\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u3063\u3066\u304a\u304d\u307e\u3059\u3002IP\u30a2\u30c9\u30ec\u30b9\u306f 192.168.1.10 \u3060\u3063\u305f\u3068\u4eee\u5b9a\u3057\u3066\u9032\u3081\u307e\u3059\u3002<\/p>\n<p>coLinux\u5074\u304b\u3089linux_share\u30d5\u30a9\u30eb\u30c0\u3092\u30de\u30a6\u30f3\u30c8\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306f smbfs \u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre># mount -t smbfs \/\/192.168.1.10\/linux_share \/home\/chihaya\/windows -o username=chihaya,password=mypass<\/pre>\n<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u306a\u3051\u308c\u3070\u30de\u30a6\u30f3\u30c8\u3055\u308c\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002\u305f\u3081\u3057\u306b\u3001Windows\u5074\u3067 linux_share\u30d5\u30a9\u30eb\u30c0\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u3001ls \/home\/chihaya\/windows \u3068\u3059\u308c\u3070\u3001\u898b\u308c\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002\u7121\u4e8b\u30de\u30a6\u30f3\u30c8\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u3089\u3001 \u8d77\u52d5\u6642\u306b\u5e38\u306b\u30de\u30a6\u30f3\u30c8\u3055\u308c\u308b\u3088\u3046\u306b \/etc\/fstab \u306b\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002\u4e00\u756a\u4e0b\u306b\u3001\u4ee5\u4e0b\u306e\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre>\/\/192.168.1.10\/linux_share   \/home\/chihaya\/windows   smbfs   rw,username=chihaya,password=mypass   0   0<\/pre>\n<p>\u3061\u306a\u307f\u306b\u3001NFS\u306b\u3064\u3044\u3066\u306fNFS\u3067\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8d8a\u3057\u306b\u30de\u30a6\u30f3\u30c8 \u3068\u304b\u3067\u8a73\u3057\u304f\u3002<\/p>\n<h3>\u5bb9\u91cf\u3092\u5897\u3084\u3059<\/h3>\n<p>\u4f5c\u696d\u3057\u3066\u3044\u305f\u3089\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308b\u7a7a\u304d\u5bb9\u91cf\u304c\u306a\u3044\u3068\u304b\u8a00\u308f\u308c\u305f\u2026\u3002\u898b\u3066\u307f\u308b\u3068\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f1GB\u3057\u304b\u5bb9\u91cf\u304c\u78ba\u4fdd\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u3059\u3050\u3044\u3063\u3071\u3044\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002<\/p>\n<p><a href=\"colinux\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u62e1\u5f35\u3068swap\u3092\u4f7f\u3046\u65b9\u6cd5\"><a href=\"http:\/\/clouder.jp\/yoshiki\/mt\/archives\/000406.html\"><a href=\"http:\/\/clouder.jp\/yoshiki\/mt\/archives\/000406.html\">http:\/\/clouder.jp\/yoshiki\/mt\/archives\/000406.html<\/a><\/a><\/a>\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3066\u5bb9\u91cf9.4GB\u306b\u3057\u305f\u3088\u3002<\/p>\n<p>Windows\u5074\u306e\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u3001\u4ee5\u4e0b\u306e\u64cd\u4f5c\u3092\u3059\u308b\u3002(c:\\coLinux \u306f coLinux \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea)<\/p>\n<pre>C:\\coLinux>fsutil file createnew disk10gb.img 10000000000<\/pre>\n<p>\u3053\u308c\u3067\u3001100&#8230; \u30d0\u30a4\u30c8\u306e\u30a4\u30e1\u30fc\u30b8\u304c\u51fa\u6765\u308b\u3002\u3053\u308c\u3092coLinux\u5074\u304b\u3089 ext3 \u3067\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3059\u308b\u3002<\/p>\n<p>\u4e0a\u306e\u65b9\u3067\u4f5c\u3063\u305f\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u306b\u3001\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3002codb1=&#8230; \u306e\u76f4\u5f8c\u3067\u3002<\/p>\n<pre>cobd2=\"C:\/coLinux\/disk10gb.img\"<\/pre>\n<p>\u3053\u308c\u3067 coLinux \u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002\u3059\u308b\u3068\u3001\/dev\/cobd2 \u306b\u3055\u304d\u307b\u3069\u306e\u30a4\u30e1\u30fc\u30b8\u304c\u3042\u308b\u306f\u305a\u306a\u306e\u3067\u3001\u3053\u308c\u3092\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u73fe\u5728\u306e\u30eb\u30fc\u30c8\u76f4\u4e0b\u306e\u5185\u5bb9\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<pre># mkfs.ext3 \/dev\/cobd2\n# mkdir \/mnt2\n# mount -t ext2 \/dev\/cobd1 \/mnt2\n# cd \/\n# tar cpf - <code>ls -1 | grep -v proc | grep -v mnt2<\/code> | (cd \/mnt2; tar xpf -)\n# mkdir \/mnt2\/proc<\/pre>\n<p>\u3042\u3068\u306f\u3001coLinux\u8d77\u52d5\u6642\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5909\u3048\u3066\u30d0\u30c3\u30c1\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u5b9f\u969b\u306f\u4e00\u884c\u3067\u66f8\u304b\u306a\u3044\u3068\u3060\u3081\u3067\u3059\u3002<\/strong><\/p>\n<pre>colinux-daemon.exe\n kernel=vmlinux\n initrd=initrd.gz\n mem=256\n cobd0=\"C:\/coLinux\/disk10gb.img\"\n cobd1=\"C:\/coLinux\/swap.img\"\n root=\/dev\/cobd0\n eth0=slirp,,tcp:5901:5900\/tcp:8022:22\/tcp:8080:80\/tcp:13000:3000 ro<\/pre>\n<p>\u3053\u308c\u3067\u8a2d\u5b9a\u306f\u7d42\u308f\u308a\u3002\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u3067\u30b3\u30fc\u30c9\u66f8\u3044\u3066\u308c\u3070\u3001\u66f8\u3044\u305f\u308a\u8abf\u3079\u305f\u308a\u306fWindows\u3067\u884c\u3063\u3066\u3001\u5b9f\u884c\u306flinux\u307f\u305f\u3044\u306a\u611f\u3058\u3067\u4f7f\u3048\u308b\u3002Linux\u3058\u3083\u306a\u3044\u3068\u74b0\u5883\u4f5c\u308b\u306e\u304c\u96e3\u3057\u3044\u3082\u306e\u304c\u3042\u3063\u305f\u308a\u3059\u308b\u304b\u3089\u3001\u305d\u3046\u3044\u3046\u306e\u3067\u6709\u52b9\u306b\u4f7f\u3063\u3066\u3044\u3051\u308b\u3068\u3044\u3044\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Core2\u3067\u901f\u3044PC\u3092\u30aa\u30d5\u30a3\u30b9\u306b\u7f6e\u3044\u305f\u306e\u3067\u3001coLinux\u74b0\u5883\u4f5c\u3063\u3066\u307f\u305f\u3002 coLinux\u3067\u5feb\u9069\u958b\u767a\u74b0\u58831 \u306e\u8a18\u4e8b\u304c\u3068\u3066\u3082\u53c2\u8003\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 http:\/\/www.colinux.org\/ \u306eDownloa [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2912,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[7,13],"class_list":["post-443","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","tag-linux","tag-windows"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/comments?post=443"}],"version-history":[{"count":4,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/443\/revisions"}],"predecessor-version":[{"id":3073,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/443\/revisions\/3073"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/media\/2912"}],"wp:attachment":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/media?parent=443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/categories?post=443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/tags?post=443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}