iT邦幫忙

第 11 屆 iThome 鐵人賽

DAY 4
0
自我挑戰組

30天學 LAMP 安裝系列 第 4

Day04 以 DVD 進行 CentOS 7 圖形模式的基本安裝

  • 分享至 

  • twitterImage
  •  

安裝步驟

  1. 於開機選單選取 Install CentOS 7 接著按下 Enter。

    https://ithelp.ithome.com.tw/upload/images/20190908/20119707Vkq8pgz0lZ.png

  2. 選取語言。自從上次上一門線上課程,講師是臺灣人,可是他說他經手的機器,介面語言全部都選 English,如此出現錯誤訊息,複製起來(無須翻譯)就可以丟 Google 了,Debug、查修都比較方便。受此影響,我之後安裝伺服器,也都改選英文。

    https://ithelp.ithome.com.tw/upload/images/20190908/20119707AuOl1Dfp3k.png

  3. INSTALLATION SUMMARY 安裝總結,接著針對以下每一部分進行處理:

    https://ithelp.ithome.com.tw/upload/images/20190908/20119707B4VBlWLDHC.png

    1. DATE & TIME 日期及時間

      1. 將地圖上的紅點,點到臺灣的位置

        https://ithelp.ithome.com.tw/upload/images/20190908/20119707Ejn9TRnMTl.png

      2. 左下角,個人習慣切換成 AM/PM

      3. 右上角 Network Time,在網路不通的情況下會是 OFF,直到網路通了才會是 ON。

        https://ithelp.ithome.com.tw/upload/images/20190908/20119707FyURIAlR1q.png

    2. KEYBOARD 鍵盤

      不用動

    3. LANGUAGE SUPPORT 語言支援

      不用動

    4. INSTALLATION SOURCE

      不用動,它會自動偵測到由光碟進行安裝

    5. SOFTWARE SELECTION

      原先預設值為 Minimal Install

      https://ithelp.ithome.com.tw/upload/images/20190908/201197071q9m3GqnU4.png

      我個人習慣改選 Server with GUI

      https://ithelp.ithome.com.tw/upload/images/20190908/20119707eegyJ6v6ch.png

    6. INSTALLATION DESTINATION

      可選取作業系統要安裝在哪一顆硬碟上。左下角 Partitioning 硬碟分割,預設值為 Automatically configure partitioning. 自動配置分割

      https://ithelp.ithome.com.tw/upload/images/20190908/20119707TJtE9yQ0Rd.png

    7. KDUMP

      個人習慣切換成關閉

      https://ithelp.ithome.com.tw/upload/images/20190908/20119707R6Kap8MyxB.png

    8. NETWORK & HOSTNAME

      1. 右上角網路卡原先是關閉 (OFF) 的

        https://ithelp.ithome.com.tw/upload/images/20190908/20119707n3jB5Sa2Pj.png

      2. 首先將它切換成 ON,接著就會藉由 DHCP 取得 IP,得到 IP 位址、子網路遮罩、預設路由與 DNS 資訊

        https://ithelp.ithome.com.tw/upload/images/20190908/20119707raI8WCr0Bs.png

      3. 左下角 Host name 可為此機器取個名稱,我設定為 centos7-gui.lab.example.com。

        https://ithelp.ithome.com.tw/upload/images/20190908/20119707y1gR4pYCHx.png

    9. SECURITY POLICY

      不用動

    10. 全部設定完,再檢查一遍,按下 Begin Installation 開始進行安裝

      https://ithelp.ithome.com.tw/upload/images/20190908/20119707hyAB8k6Uig.png

  4. 全部設定完,還要設定 root 密碼與建立新的使用者

    https://ithelp.ithome.com.tw/upload/images/20190908/20119707oaRTv2MB6Y.png

    1. root 密碼設定為 password

      https://ithelp.ithome.com.tw/upload/images/20190908/20119707zN8l8Ets18.png

    2. 建立新的使用者 (EX: doraemon)、設定密碼,並且勾選 Make this user administrator 讓此使用者成為管理者

      https://ithelp.ithome.com.tw/upload/images/20190908/20119707Y8Rf3azVO5.png

  5. 安裝過程稍候一下,等全部安裝完畢,按下 Reboot 重新開機

    https://ithelp.ithome.com.tw/upload/images/20190908/20119707rjodd7K6d8.png

  6. 重開機完,還需進入 LICENSE CONFIRMATION

    https://ithelp.ithome.com.tw/upload/images/20190908/20119707A2nRdXQkfQ.png

    1. 勾選 I accept the license agreement. 我接受授權協議

      https://ithelp.ithome.com.tw/upload/images/20190908/20119707aIdgkzdih9.png

    2. 按下 FINISH CONFIGURATION 完成設定,再次進行重開機

      https://ithelp.ithome.com.tw/upload/images/20190908/20119707pVjYozRQBa.png

  7. 登入。若要以 root 登入,需要點選左下角 Not listed?

    https://ithelp.ithome.com.tw/upload/images/20190908/20119707rY1HFaju3w.png

    1. Username 輸入 root

      https://ithelp.ithome.com.tw/upload/images/20190908/20119707yLisIeK7g7.png

    2. 輸入 root 密碼

      https://ithelp.ithome.com.tw/upload/images/20190908/20119707JHxJ9VHi6O.png

  8. 再做幾步使用者登入後的初始設定

    https://ithelp.ithome.com.tw/upload/images/20190908/2011970760Hj5u8dFi.png

    https://ithelp.ithome.com.tw/upload/images/20190908/20119707o3RZBGR1Pd.png

    我個人是習慣將 Location Services 切換成 OFF

    https://ithelp.ithome.com.tw/upload/images/20190908/201197077HVAVAUWRM.png

    https://ithelp.ithome.com.tw/upload/images/20190908/201197073VRJBi8Nfg.png

    https://ithelp.ithome.com.tw/upload/images/20190908/20119707VFtrIuV992.png
    https://ithelp.ithome.com.tw/upload/images/20190908/20119707oxsubB5WDW.png
    https://ithelp.ithome.com.tw/upload/images/20190908/20119707TGG721i3OS.png


上一篇
Day03 CentOS 7 虛擬機器設定
下一篇
Day05 CentOS 7 圖形模式下更改為固定 IP
系列文
30天學 LAMP 安裝33
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 則留言

0
補覺鳴詩
iT邦高手 1 級 ‧ 2019-09-11 15:45:13

我在安裝過程中習慣是不連上網路的
因為連上網路它會自動下載新的 package 安裝
但似乎不會使用 fastest mirror
導致 package 下載很慢

我要留言

立即登入留言