Noyzi!!a’s Blog


gentoo colinux Xming

Posted in จับฉ่าย by Noyzi!!a on the May 25th, 2008

หลังจากไปลอง ubuntu มามันก็ระดับนึงแต่ก้นบึ้งของหัวใจยังเรียกร้องหา gentoo

จากปัญหาคราวก่อนที่ gentoo เข้า x ไม่ได้ วันนี้ลองจับ gentoo มารันด้วย colinux และใช้ Xming เพื่อทำหน้าต่าง x

window (host) , gentoo (guest)

1 ที่ win ให้ลง Xming, Xming-fonts

2 ที่ win ให้ fixip device tuntap

3 แก้ไขไฟล์ config colinux เปิด tuntap fixip ซะและเพิ่ม

eth0=slirp,02:00:00:00:00:01
eth1=tuntap

exec0=”C:\Program Files\Xming\Xming.exe”,”:0 -clipboard -multiwindow “

4 ใน colinux ให้ fixip ให้ eth1

5 แก้ไฟลื C:\Program Files\Xming\X0.hosts ลบของเก่าออกใส่ ip eth1 ของ colinux

6 ใน colinux

export DISPLAY=<win tuntap ip>:0.0

หรือ จะใส่ให้ .bashrc ไปเลยก็ได้จะได้ไม่ต้องพิมพ์ทุกครั้งที่ login

if [ “$(echo `uname -r` | grep co)” != “” ]; then
export DISPLAY=
<win ip tuntap>:0.0
fi

7  ใช้งาน

ปล อย่าลืมเอา server ออกด้วย

rc-update del keymaps consolefont alsasound xdm hald

cotoo.conf

kernel=”C:\Program Files\coLinux\vmlinux”
initrd=”C:\Program Files\coLinux\initrd.gz”

#/boot
sda1=”\Device\Harddisk0\Partition1″

#gentoo    /
sda5=”\Device\Harddisk0\Partition4″

#ubuntu    /
sda6=”\Device\Harddisk0\Partition5″

#win_c
sda3=”\Device\Harddisk0\Partition2″
#win_j
sda7=”\Device\Harddisk0\Partition6″

#SWAP
sda4=”\Device\Harddisk0\Partition3″

root=/dev/sda5
ro

mem=1024
eth0=slirp,02:00:00:00:00:01
eth1=tuntap,,02:00:00:00:00:02

# Setup for serial device
#ttys0=COM1,”BAUD=115200 PARITY=n DATA=8 STOP=1 dtr=on rts=on”

# Run an application on colinux start (Sample Xming, a Xserver)
exec0=”C:\Program Files\Xming\Xming.exe,”:0 -clipboard -multiwindow -ac”

/etc/cinf.d/net

#config_eth0=( “192.168.1.3/24″ )
#routes_eth0=( “default via 192.168.1.1″ )

config_eth0=( “dhcp” )
config_eth1=( “192.168.0.40/24″ )

ubuntu ruby

Posted in Linux, ruby by Noyzi!!a on the May 25th, 2008

เมื่อไม่มี่วันมานี้เจ้า nunoy (Gentoo) เกิดอาการดื้อเข้า x ไม่ได้ซะงั้งตอนนี้ต้องลง ubuntu มาทำงานชั่วคราว มีอะไรหลายๆ อย่างต้องปรับตัว เจ้า ubuntu นี้ lib มันไม่พร้อมซะเลยจะคอมพายอะไรนิดหน่อยต้องเที่ยวหา download lib ซะทั่ว

แวะมาเก็บลิงค์ซักหน่อย ubuntu + ror

http://wiki.rubyonrails.org/rails/pages/RailsOnUbuntu

My free space on window

Posted in จับฉ่าย by Noyzi!!a on the May 23rd, 2008

การตูน ฟันธง! ปฏิวัติไม่เกิด โดย ขวด

Posted in จับฉ่าย by Noyzi!!a on the May 21st, 2008

libpurple in gentoo

Posted in จับฉ่าย, Gentoo, Linux by Noyzi!!a on the May 18th, 2008

ใน gentoo ไม่มี package แยกของ libpurple ต้องลง pidgin แบบ noui

flagedit net-im/pidgin -ncurses -gtk
emerge pidgin

Himerge

Posted in จับฉ่าย, Gentoo, Linux by Noyzi!!a on the May 15th, 2008

 

Himerge

Haskell Graphical Interface for Emerge (Gentoo Portage system).

สามวันมานี้ไม่ได้บูทเข้าไปใช้ Gentoo เลยแฮะ พึ่งรับงานใหม่มาลูกค้าดันใช้ mssql + php