Command กำหนดค่าได้ที่ไฟล์
ifcfg-eth0 จะอยู่ที่ Path "/etc/sysconfig/network-scripts"
เมื่อกำหนดค่าให้ใช้คำสั่่ง restart service network ให้ระบบ linux ใช้งาน
สำหรับ Linux Debian หรือ Ubuntu กำหนดค่าไฟล์ interfaces
จะอยู่ที่ Path "/etc/network"
Restart network ให้ด้วยคำสั่ง restart service networking
กำหนดค่า DNS
แก้ไขที่ไฟล์
/etc/resolv.conf
กำหนดค่า่ Hostname
กำหนดค่าได้ที่ไฟล์
/etc/hosts
กำหนดค่า DNS
แก้ไขที่ไฟล์
/etc/resolv.conf
กำหนดค่า่ Hostname
กำหนดค่าได้ที่ไฟล์
/etc/hosts
ไม่มีความคิดเห็น:
แสดงความคิดเห็น