Harris Tsam 個人網頁

Tuesday, May 22nd

Last update01:21:20 AM GMT

日誌 資訊科技 建立你第一個Linux伺服器 - Part 3 - CentOS的基本安裝指南

建立你第一個Linux伺服器 - Part 3 - CentOS的基本安裝指南

於這部分,我會分享CentOS 5.3於Text-Base模式的基本安裝步驟。請不要經GUI介面安裝CentOS及安裝過程中切記不要安裝X Windows,因為這個不是伺服器必須而安裝後亦會減低系統安全性,你應該避免安裝去提伺服器性能及安全性。

於www.centos.org下載最新CentOSISO文件檔,並刻錄於CD或DVD上作安裝媒體。

Use the installation media to boot up your server. On installation screen, type linux text and enter to start the installation in text mode.

使用已刻錄的CD或DVD啟動您的伺服器。於安裝過程中輸入linux text進入text-mode安裝模式。

If you sure your CDRom or DVD Rom is in good condition, so you can select Skip and enter.

如果你確定你的CD DVD Rom與DVD光盤是在良好狀態,你可以選擇Skip然後Enter

Select English for language your use for installation process, select OK and enter. Select us for keyboard model, select OK and enter.

安裝過程中選擇English,選擇OK然後Enter。選擇US作為鍵盤模式,選擇OK然後Enter

The warning message ask you to initialize the drive and erasing all data, this guide assume you installing a fresh new server, so select Yes and enter.

之後會出現警告提示你初始化硬碟機及刪除所有數據,本指南假設您安裝正在安裝一個全新伺服器,所以選擇OK然後Enter

Select Remove all partitionas on selected drives and create default layout, leave other options default, select OK and enter.

選擇Remove all partitions on selected drives and create default layout,選項不變,選擇OK然後Enter

Select Yes and enter on warning screen before partitioning.

分割前會有警告提示,選擇OK然後Enter

Select No when ask you to review your partitioning layout.

當提示你是否再檢閱你的硬碟分區佈區時請選擇No

Select Yes when ask you to configure your server's network interface.

當提示你是否再檢閱網絡時請選擇Yes

Make sure you select Active on boot and Enable IPv4 support, select OK and enter.

確定最少選擇啟用Active on bootEnable IPv4 support,選擇OK然後Enter

On IPv4 configuration screen, select Manual address configuration and enter your server IP address and Prefix (subnet mask). Select OK and enter.

IPv4配置上選擇Manual address configuration並輸入伺服器IP addressPrefix(Subnet Mask)。選擇OK然後Enter

Select manually and input your server hostname, select OK and enter.

選擇manually輸入您的伺服器hostname,選擇OK然後Enter

Select your location as time zone, select OK and enter.

選擇你的位置做時區,選擇OK然後Enter

Type your password for root accounts, select OK and enter.

輸入你root賬戶的密碼,選擇OK然後Enter

On Package selection, make sure uncheck everythings except Customizer software selection, select OK and enter.

軟件選擇中請確保只選擇Customizer software selection,選擇OK然後Enter。軟件包組的選擇上,要確保下列項目被選中:BaseDNS Name ServerEditorsFTP ServerMail ServerMySQL DatabaseWeb Server。提示安裝要否install log時,請選擇OK然後Enter

On Install Media confirmation screen, select Continue and enter.

在安裝媒體確認畫面,選擇OK然後Enter

視乎硬件,安裝過程大概需時十分鐘或以上。




你的意見


Security code
更新


You are here 日誌 資訊科技 建立你第一個Linux伺服器 - Part 3 - CentOS的基本安裝指南