ถ้าเราต้องการแก้ไขชื่อเครื่องใน Red Hat หรือ Red Hat Clone สามารถทำได้หลายวิธีด้วยกัน คือ
- ใช้คำสั่ง hostname (ไม่ต้อง restart service network)
โดยพิมพ์ hostname ชื่อเครื่อง ตัวอย่าง ต้องการแก้ไขชื่อเครื่องเป็น hostname.example.com
#hostname hostname.example.com
- system-config-network (ต้อง restart service network)
- แก้ไขในไฟล์ /etc/sysconfig/network (ต้อง restart service network)
แก้ไขตรงส่วนของ HOSTNAME ตัวอย่าง ต้องการแก้ไขชื่อเครื่องเป็น hostname.example.com
# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=hostname.example.com
คำค้นยอดนิยม: hostname คือ, ความหมายของ hostname, hostname คือ อะไร, เปลี่ยน hostname linux, ความหมาย red hat enterprise, hostnameคือ, วิธีเปลี่ยน hostname redhat, ความสำคัญของhostname, คำสั่งแก้ไข hostname linux, ความหมายของชื่อ host name
Related posts:
- What is a Red Hat Enterprise Linux Installation Number and where do I get it? Resolution: The Red Hat Enterprise Linux 5 Installation...
- Red Hat launches Red Hat Enterprise Linux 5 update 5 (RHEL5.5) เมื่อวันพุธที่ผ่านมา Red Hat ได้ออก update 5 ซึ่งเป็น Update...
- วิธีดู Version ของ Red Hat Enterprise Linux, Centos Linux วิธีการดู Version ของ Red Hat Enterprise Linux, Centos...
- How to Configure Service Dependency in Red Hat Cluster Suite Red Hat Cluster แบบ Fail-Over ได้มี features หนึ่งที่น่าสนใจมาก...
- Red Hat Enterprise Linux 6 released Red Hat Enterprise Linux 6 หรือ RHEL 6...


September 8th, 2007
Tum.
Posted in 