Results 1 to 5 of 5

Thread: How to setup CentOS 5.3 as Server (i386)

  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    13


    วิธีการติดตั้ง CentOS 5.3 i386

    Credit ภาพ: จิ๊กมาจาก Howtoforge
    ลำดับเนื้อเรื่อง: ลำดับเนื้อเรื่องจาก Howtoforge เอามายำกะประสบการณ์


    สิ่งที่ต้องมี
    - DVD RW
    - แผ่น DVD เปล่าๆ 1 แผ่น ไว้เผา
    - เครื่อง PC ดีๆ สักเครื่อง


    ก่อนอื่นไปหา download ตัวไฟล์ iso image จาก http://www.centos.org มาก่อน
    ไปดูที่ mirrors list พยายามเลือกที่มันมี dvd image iso

    เมื่อ download เสร็จแล้วก็ทำการ เผาแผ่น ซะ
    จากนั้นก็เอาแผ่นยัดที่ DVD Drive ของเรา แล้วเลือกใน bios ให้ boot from cd/dvd rom


    เมื่อ boot เครื่องแล้วอ่าน dvd rom ก็จะเจอหน้าตาแบบนี้
    กด Enter ครับ ...



    **Hidden Content: To see this hidden content your post count must be 5 or greater.**

  2. #2
    Junior Member
    Join Date
    May 2009
    Posts
    13


    ต่อๆ ครับ ...


    **Hidden Content: To see this hidden content your post count must be 5 or greater.**

  3. #3
    Junior Member
    Join Date
    May 2009
    Posts
    13


    หลังจากที่ติดตั้ง Packages ทั้งหมดเสร็จแล้ว
    เอา CD/DVD ออก และ Reboot เครื่องแล้ว ก็จะมาเจอหน้าจอแบบนี้

    เลือก Firewall Configuration กด Run Tool ครับ



    **Hidden Content: To see this hidden content your post count must be 5 or greater.**

  4. #4
    Junior Member
    Join Date
    May 2009
    Posts
    13


    หลังจากที่ reboot รอบสอง (หลังจากตั้งค่า Firewall กด Exit แล้ว)
    จะเข้าหน้าจอดำๆ

    ใส่ user root และ password ของ root ครับ

    [hide=5]จากนั้นพิมพ์
    Code:
    nano /etc/hosts
    มันควรที่จะมี config แบบนี้โผล่มาให้
    (ถ้า config แบบนี้โผล่มา ไม่ต้องทำอะไรครับ ถูกต้องแล้ว กด Ctrl+X ออกเลย)
    [code]# Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1

  5. #5
    Junior Member
    Join Date
    May 2009
    Posts
    13


    ขั้นตอนการ Upgrade Packages ต่างๆ


    หาก reboot เครื่อง ก็เหมือนเดิมครับ ใส่ user และ pass ของ root ก่อน

    [hide=5]จากนั้นพิมพ์
    (import rpm gpg key)
    Code:
    rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*

    ก่อนที่เราจะสั่ง update ให้เราไปแก้ repositoris config ก่อน โดยพิมพ์
    Code:
    cd /etc/yum.repos.d/

    จากนั้นพิมพ์
    Code:
    nano CentOS-Base.repo
    มันก็จะแสดงแบบนี้มาให้
    (แก้ตามนี้เลยครับ ปรับไปใช้ mirror.in.th ของไทยให้หมด ยังไง server thai มันก็เร็วกว่าเมืองนอก)
    แก้ตามนี้เสร็จแล้วก็ กด Ctrl+O เพื่อ save แล้วกด Ctrl+X เพื่อออกจาก nano
    [code]# CentOS-Base.repo
    #
    # This file uses a new mirrorlist system developed by Lance Davis for CentOS.
    # The mirror system uses the connecting IP address of the client and the
    # update status of each mirror to pick mirrors that are updated to and
    # geographically close to the client.

Similar Threads

  1. Replies: 4
    Last Post: 21-12-2009, 11:29 AM
  2. Replies: 0
    Last Post: 01-12-2008, 04:36 PM
  3. Distribution Release: CentOS 4.6
    By faraway in forum Operating System, Server and Networking
    Replies: 1
    Last Post: 20-01-2008, 03:18 AM
  4. TCP Wrapper + Redhat + CentOS
    By topfunt in forum Linux, Unix , Window เกี่ยวกับ OS ต่างๆ
    Replies: 0
    Last Post: 12-10-2007, 12:03 PM
  5. Postfix Mail Server For CentOS
    By BoYzZzZz in forum E-Book, Video หรือบทความทั่วไปด้าน Computer
    Replies: 0
    Last Post: 08-10-2007, 10:41 AM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •