This is G o o g l e's cache of http://www.debianclub.com/node/32 as retrieved on 14 Feb 2007 20:02:06 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/search?hl=en&q=cache%3Ahttp%3A%2F%2Fwww.debianclub.com%2Fnode%2F32&btnG=Search


Google is neither affiliated with the authors of this page nor responsible for its content.

User login

Links

debianclub.com
debian.org
ubuntuclub.com
blognone.com

Syndicate

Syndicate content

มือใหม่หัดเล่น อยากจะ SET ให้เครื่องเป็น Web,DNS,DHCP Server ในเครื่องเดียวกันได้ไหมครับ

รบกวน พี่ ๆ ให้คำแนะนำด้วยครับ มือใหม่หัดขับจริง ๆ
ผมต้องการที่จะ setup server ให้เป็น Web server,DNS Server
และ DHCP Server เพื่อแจก IP ให้เครื่องลูก
ขอแบบ Step by Step นะครับ เอาไว้เพื่อศึกษา

Hardware ที่มีขณะนี้
- คอมพิวเตอร์เพื่อเป็น Server 1 เครื่อง (มี Client ประมาณ 5 - 10 เครื่อง)
- High Speed Internet (Fixed IP) แบบใช้ cable ความเร็ว 1 Mb
- Router, Switch

Softwaer ขณะนี้
- ลง Debian 2.4.27-2-386
- Apache 1.3.34, PHP, MySQL

ตอนนี้ Network ของผมเป็นลักษณะอย่างนี้ครับ

(Internet) (Router.DHCP) (Server+Clientx5)

โดยผมใช้ การ Forward port 21,22,80 จาก Router มาที่เครื่อง Server เพื่อจะให้ติดต่อมาจากข้างนอกได้

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:1B:2D:9F:C1
inet addr:192.168.1.34 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2319619 errors:0 dropped:0 overruns:0 frame:0
TX packets:2372303 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1175341829 (1.0 GiB) TX bytes:1392074819 (1.2 GiB)
Interrupt:11 Base address:0xdc00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1055 errors:0 dropped:0 overruns:0 frame:0
TX packets:1055 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:303838 (296.7 KiB) TX bytes:303838 (296.7 KiB)

ไม่แน่ใจว่าจะต้องต่อกับ router อย่างไรแล้ว set อย่างไรครับ
และผมก็ต้องการจะให้ domain example.com ชี้มาที server เครื่องนี้ ด้วยครับ(อนาคตอาจมีหลายโดเมน)

และ Status ที่ Routerครับ

System Name : P334

--------------------------------------------------------------------------------
Model Name : Prestige 334
ZyNOS Firmware Version: V3.60(JJ.5) | 05/03/2005
Routing Protocols :IP

--------------------------------------------------------------------------------
WAN Port :

--------------------------------------------------------------------------------
IP Address : 210.86.142.xxx DHCP : None
IP Subnet Mask : 255.255.255.255

--------------------------------------------------------------------------------
LAN Port :

--------------------------------------------------------------------------------
IP Address : 192.168.1.1 DHCP : Server
IP Subnet Mask : 255.255.255.0

หากต้องการข้อมูลเพิ่ม ก็แนะนำด้วยนะคร้บ
อยากทำเป็นมาก ๆ

ไม่ใช้ Apache 2.2 หล่ะครับ

ไม่ใช้ Apache 2.2 หล่ะครับ 1.3 ยังมีบัคนะครับ