




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、FreeBSD6.2架設(shè)之服務(wù)器安裝FreeBSD6.2 In stallation HowToMon goliaIn dex:簡介*本文目標(biāo)Step 1下載FreeBSD的ISO鏡像文件.* Step 2 FreeBSD下的磁盤概念及硬盤分區(qū)Step 3正式安裝 FreeBSD* Step 4 FreeBSD的安裝后續(xù)設(shè)定* F.A.Q.* Links to other sources簡介誰在使用FreeBSD?* Yahoo!* Apache* Sina* ChinaUnix netSony Japan使用FreeBSD的理由FreeBSD還是免費(fèi)的,自由的。FreeBSD有許多非凡的特性
2、。其中一些是:*搶占式多任務(wù)與動態(tài)優(yōu)先級調(diào)整確保在應(yīng)用程序和用戶之間平滑公正 的分享計算機(jī)資源,即使工作在最大的負(fù)載之下。多用戶設(shè)備使得許多用戶能夠同時使用同一 FreeBSD系統(tǒng)做各種事 情。比如,像打印機(jī)和磁帶驅(qū)動器這樣的系統(tǒng)外設(shè),可以完全地在系統(tǒng)或者網(wǎng)絡(luò)上的所有用戶之間共享,可以對用戶或者用戶組進(jìn)行個別的資源限制,以保護(hù)臨界系統(tǒng)資源不被濫用。 符合業(yè)界標(biāo)準(zhǔn)的強(qiáng)大 TCP/IP 網(wǎng)絡(luò) 支持,例如 SCTP、DHCP、NFS、NIS、PPP, SLIP, IPsec以及IPv6。這意味著您的 FreeBSD主機(jī) 可以很容易地和其他系統(tǒng)互聯(lián),也可以作為企業(yè)的服務(wù)器,提供重要的功能,比如NFS(
3、遠(yuǎn)程文件訪問)以及email服務(wù),或?qū)⒛慕M織 接入In ternet并提供 WWW,F(xiàn)TP,路由和防火墻(安全)服務(wù)。內(nèi)存保護(hù)確保應(yīng)用程序(或者用戶)不會相互干擾。一個應(yīng)用程序崩潰不 會以任何方式影響其他程序。 FreeBSD 是一個 32 位操作系統(tǒng)(在 Alpha,Itanium , AMD64,和 UltraSPARC上是64位),并且從開始就是如此設(shè)計的。業(yè)界標(biāo)準(zhǔn)的X Window系統(tǒng)(X11R7)為便宜的常見 VGA顯示卡和監(jiān)視器提供了一個圖形化的用戶界面(GUI),并且完全開放代碼。 和許多Linux,SCO, SVR4, BSDI和NetBSD程序的二進(jìn)制代碼兼容 性*數(shù)以千計
4、的ready-to-run應(yīng)用程序可以從FreeBSD ports和packages 套件中找到。您可以順利地從這里找到,何須搜索網(wǎng)絡(luò)?*可以在In ternet上找到成千上萬其它 easy-to-port 的應(yīng)用程序。FreeBSD和大多數(shù)流行的商業(yè) UNIX?代碼級兼容,因此大多數(shù)應(yīng)用 程序不需要或者只要很少的改動就可以編譯。頁式請求虛擬內(nèi)存和 集成的VM/buffer緩存”設(shè)計有效地滿足了應(yīng)用 程序巨大的內(nèi)存需求并依然保持其他用戶的交互式響應(yīng)。 SMP提供對多處理器的支持。內(nèi)建了完整的C、C+、Fortra n 開發(fā)工具。許多附加的用于高級 研究和開發(fā)的程序語言, 也可以在通過ports
5、和packages套件獲得。完整的系統(tǒng)源代碼意味著您對您環(huán)境的最大程度的控制。當(dāng)您擁有了一個真正的開放系統(tǒng)時,為什么還要受困于私有的解決方案,任商業(yè)公司擺布呢?*豐富的在線文檔。*不僅如此!主要應(yīng)用In ternet服務(wù):FreeBSD內(nèi)建的強(qiáng)大的TCP/IP網(wǎng)絡(luò)使它得以成為各種In ternet服務(wù)的理想平臺,比如:* FTP服務(wù)器 World Wide Web 服務(wù)器(標(biāo)準(zhǔn)的或者安全的SSL) IPv4 and IPv6 路由防火墻和NAT(“IP偽裝”)網(wǎng)關(guān)電子郵件服務(wù)器 USENET新聞組和電子布告欄系統(tǒng)*還有許多本機(jī)約定網(wǎng)絡(luò)環(huán)境本文目標(biāo)通過對本文的學(xué)習(xí),您可以根據(jù)指南下載FreeBS
6、D的ISO鏡像文件,進(jìn)行 光盤刻錄。劃分硬盤空間,正式安裝 FreeBSD。如何取得FreeBSD。 FreeBSD硬盤的使用及配置。如何規(guī)劃硬盤空間。如何從CD-ROM或網(wǎng)絡(luò)安裝FreeBSDStep 1 下載 FreeBSD.跟隨下面步驟下載到FreeBSD./ 是FreeBSD的老家,那里可以看到FreeBSD的各種 介紹、新聞、安裝指南,也可以下載到FreeBSD的ISO鏡像文件。打開網(wǎng)站的Get FreeBSD鏈接,選擇 mirror sites (鏡像服務(wù)器)。鏡像服務(wù)器列表里選擇中 國的鏡像服務(wù)器 .FreeBSD.
7、org/pub/FreeBSD/ ,打開 FreeBSD 6.2-RELEASE 的鏡像文件位置 /pub/FreeBSD/IS0-IMAGES-i386/62,下載6.2-RELEASE-i386-disc1.iso 和 6.2-RELEASE-i386-disc2.iso 及 CHECKSUM.MD5 文件。 下載完成后,使用 MD5校驗(yàn)工具,進(jìn)行文件校驗(yàn)。確認(rèn)文件沒有問題后,可以使用刻 錄軟件進(jìn)行刻錄ISO文件。Step 2硬盤分區(qū).對硬盤進(jìn)行分區(qū):硬盤在FreeBSD下的概念。以IDE硬盤例進(jìn)行說明。一般IDE的主板上有2個IDE接口,每個
8、IDE接 口可以接2個IDE設(shè)備(1個主IDE接口,一個從IDE接口)所以一個主板 一般情況下,可以有4個IDE設(shè)備進(jìn)行連接。FreeBSD下IDE設(shè)備從0開 始計數(shù),IDE1的主接口表示為IDE0(如果接的是硬盤表示為ad0),IDE1的從 接口表示為IDE1(如果接的是硬盤表示為ad1)。主板設(shè)備名稱FreeBSD下的名稱(硬盤為例)IDE1IDE1主接口ad0IDE1從接口ad1IDE2IDE2主接口ad2nIDE2從接口ad3slice在FreeBSD下的概念。以IDE硬盤例進(jìn)行說明。一般情況下 Windows對硬盤的分區(qū)是主分區(qū)+擴(kuò) 展分區(qū)(擴(kuò)展分區(qū)上再劃分邏輯分區(qū)再可以使用),每個
9、分區(qū)都用一個盤符表 示(比如C盤、D盤等)。FreeBSD中不用盤符管理硬盤,一般用目錄進(jìn)行管 理硬盤。重要的概念是slice(相當(dāng)于Windows的主分區(qū)),在slice下再劃分出多個 硬盤分區(qū),然后掛載在不現(xiàn)的目錄下進(jìn)行管理。一個主分區(qū)就是一個 slice, 一塊硬盤一般最多只有4個主分區(qū)。比如IDE1上的主IDE接口上的硬盤的第 1個主分區(qū)名稱就 是ad0s1(slice是第1個主分區(qū)的意思),IDE2從接口上的硬盤的第 1個分區(qū)名稱就是 ad3s1 。主板設(shè)備名稱FreeBSD下的名稱(硬盤為例)第1個主分區(qū)名(slice)第3個主分區(qū)名(slice)IDE1IDE1主接口ad0ad0
10、s1ad0s3IDE1從接口ad1ad1s1ad1s3IDE2IDE2主接口ad2ad2s1ad2s3IDE2從接口ad3ad3s1ad3s3分區(qū)在FreeBSD下的概念。以IDE硬盤例進(jìn)行說明。一般情況下 Windows對硬盤的分區(qū)是主分區(qū)+擴(kuò) 展分區(qū)(擴(kuò)展分區(qū)上再劃分邏輯分區(qū)再可以使用),每個分區(qū)都用一個盤符表 示(比如C盤、D盤等)。FreeBSD是在slice(主分區(qū))上,切出多個分區(qū)做為 文件存放和交換分區(qū)(虛擬內(nèi)存)使用。名稱以a、b、d、e等表示。比如IDE1 上主接口的硬盤的第1個slice上的第1個分區(qū)名稱是ad0s1a(表示第1個 分區(qū),一般表示持載根目錄即/),IDE2上
11、從接口的第2個slice的第2個分區(qū) 名稱是ad3s2b(b表示第2個分區(qū),一般用來表示掛載為swp的交換分區(qū))。分區(qū)名 稱所在硬盤主分區(qū)掛載目 錄說明ad0s1a第1個IDE主接口上的硬盤第1個主分區(qū) slice1/第1個分區(qū),掛載位 置是根目錄ad0s1b第1個IDE主接口上的硬盤第1個主分區(qū) slice1第2個分區(qū),無掛載目錄,表示swapad0s1d第1個IDE主接口上的硬盤第1個主分區(qū) slice1/var第3個分區(qū),掛載位置是/varad0s1e第1個IDE主接口上的硬盤第1個主分區(qū) slice1/usr第4個分區(qū),掛載位置是/usrad0s1f第1個IDE主接口上的硬盤第1個主分
12、區(qū) slice1/tmp第5個分區(qū),掛載位置是/tmpad2s1d第2個IDE主接口上的硬盤第1個主分區(qū) slice1/home第1個分區(qū),掛載位置是/home注:為什么沒有ad0s1c,因?yàn)閍d0s1c表示整個slice(表示整個主分區(qū));為 什么ad2s1d是從d開始的分區(qū),因?yàn)閍表示根目錄,b表示swap交換分 區(qū),c表示整個主分區(qū),所以ad2s1d的分區(qū)只能從d開始表示。IIad0s2c上圖分區(qū)表示分區(qū)名 稱所在硬盤主分區(qū)掛載目錄說明ad0s1第1個IDE主接口第1個主分區(qū)slice1Windows 的 c 盤ad0s2a第1個IDE主接口第2個主分區(qū)slice2/掛載點(diǎn)為根目 錄ad
13、0s2b第1個IDE主接口第2個主分區(qū)slice2swap交換分區(qū)ad0s2d第1個IDE主接口第2個主分區(qū)slice2/var掛載點(diǎn)為/varad0s2e第1個IDE 主接口第2個主分區(qū)slice2/tmp掛載點(diǎn)為/tmpad0s2f第1個IDE主接口第2個主分區(qū)slice2/usr掛載點(diǎn)為/usrF面以80G硬盤為例進(jìn)行分區(qū)規(guī)則目錄容量用途/512M根目錄,放開機(jī)必備文件,包含/bin、/etc、/sbin、/root. 等。swap768M虛擬內(nèi)存。建議至少設(shè)為物理內(nèi)存的一 倍。/var5G這是放使用者信件、寄信時暫存區(qū)及一 些系統(tǒng)記錄(log)的地方,如果信都不 大、使用者不多,設(shè)成1
14、00MB也沒關(guān)系,如果要做郵件服務(wù)器的話,就設(shè)大 一點(diǎn)吧。使用者新進(jìn)的信件都會放在 /var/mail目錄下,您也可以將這個扇區(qū) 獨(dú)立出來,并在這個扇區(qū)上設(shè)定限制使 用者磁盤空間配額。/tmp1G/tmp是許多程序的暫存區(qū),其權(quán)限通常 是所有使用者都可以讀寫,而且這個目 錄寫入頻繁,所以我將它獨(dú)立出來。如 果您的服務(wù)器上所執(zhí)行的程序會用到大 量的暫存空間,您可以切大一點(diǎn)。您也 可以將/var/tmp 也獨(dú)立分割一個扇 區(qū),因?yàn)橄?/tmp 及/var/tmp 這二個 目錄都是一般使用者可以寫入的地方, 如果使用者在里面放大量檔案而造成磁 盤空間滿了,會影響原本的系統(tǒng)運(yùn)作(例如必須用到 /var
15、/log、/var/mail、及 /var/spool的郵件服務(wù)器等)。/usr10G放執(zhí)行檔、設(shè)定檔等,日后安裝的軟件 都會放在這里,所以要大一點(diǎn)。如果要 安裝X Window 的話,至少要有 7 GB , 因?yàn)樵诎惭b過程中,編譯時會用去很大的空間,安裝完清除暫存檔后大概還是 需要 3GB吧。如果不安裝 X Window, 只當(dāng)服務(wù)器用的其它數(shù)據(jù)又位于另一個 獨(dú)立的分割區(qū),則 /usr 2GB 一疋足夠。/home20G這里是放使用者的目錄,我通常把網(wǎng)頁 都放在這里。這個分割區(qū)會被用來存放 使用者的數(shù)據(jù),所以我將剩下的空間都 給/home使用。如果您沒有分割出 /home 這個扇區(qū),/hom
16、e 這個目錄將使 用/usr的扇區(qū)。/data所有剩余空間自定義分區(qū),可以存放 WWW或FTP 數(shù)據(jù)?要是有獨(dú)立硬盤更方便。以 后升級,重裝系統(tǒng)都不影響用戶數(shù) 據(jù)。Step 3 安裝 FreeBSD.光盤安裝FreeBSD:開機(jī)設(shè)置啟動順序?yàn)楣獗P引導(dǎo),放入刻錄好的 6.2-RELEASE-i386-disc1.iso光盤 到光驅(qū)內(nèi)。機(jī)器從光盤啟動,出現(xiàn) CD Loader畫面Uelcnme to FreeBSD!az3 4-567Boot FreeBSD defaultBoot FreeBSD uith ACPI disabledBoot FreeBSD in Safe nodeBoot Fr
17、eeBSD in single user mode Boot FreeBSD 詔ith uerbose logging Escape to loader promptRebootSelect option, EnterJ for derault or Space to pause timer 5 _系統(tǒng)自檢完成,要求選擇國家(選擇中國45 China)鍵盤設(shè)置(選擇默認(rèn)USA ISO)standard CCaps as L-Cotrol) Buorak kEyneip left handed Dvorak keynap right handed Dvorak Iteymap standard
18、opt imized for EMACSThe default system console driuer for FreeBSD (syscons) defaults to a standard ,Anerica)r, keyboard nap Us巳s in other countries (or uith different keyboard preferences) may uish to choose one of the other keymaps be 1ou.Mote that sysinstal1 itself only uses the part of the keyboa
19、rd nap uhich is required to generate the ANSI character subsett but your choice of keymap will also be saued for later (fulier) use,廠 nlan XOIB-Uti Un K0I8-U*0I8-RCapsLock-Ctri Duorak Duorak (le Duora EmacUkrainian KOI8-U keynapUkrainian K0I8-U+K0I8-R keijmap (a,Iter)USUSUSUSUS間ilQTQ1安裝方式選項選擇 Sta nd
20、ard Beg in a sta ndard in stallati on (recomme nded)警告信息(提示下一步要求你設(shè)置磁盤分區(qū),直接選擇 0K)MsJMABI X Exit InstallUelconiE to the FreeBSD installation and conf i qur at ion too 1. Please select one of the options belou by using the arrow keys or typing the first character of the option name you,re interested in
21、. Invoke an aptionn with SPACE 1 or CENTER. To exit, use TAB to noue to Exit.with SPACE! or ENTERKBegin a custoin installation (for experts) Do post-insta11 conf igurat ion of FreeBSD nstalLation instructions, BEADME etc. Select keyboard typeUiew/Set uarions instillation optionsRepair mode with CDRO
22、M/DUD/fIoppy or start she11 Upgrade an ex ist ing systemLoad defauIt insta11 conf iguration Glossarg of funci ionsIn the next nenu you will need to set up a DOS-style CfdiskJ partitioning scheme for your Fiard disk. If you. sinply uish to devote al 1 disk space to FreeBSD (overwriting anything else
23、that niglit be on the disk(s) selected) then use the (A)11 command to select the default partitioning scheme folloucd bg i (Q)uit. If you uiish to al locate only free space to FreeBSD, move to a partition marked unused and use the (C)reate command(100Z)Disk name: DISK Geometry:系統(tǒng)進(jìn)行創(chuàng)建slice畫面10198 cyl
24、s/255 heads/63 sectors - 163830870 sectors (73995MB)OffsetSize(ST)EndManePTypeBeseSubtypeFlags016383648G163836479-12unused0The to 1 louing contmands are supported (in upper or Louer case):A - Use Ent ire Disk D) = De 1 ete Slice T = Change TypeG - set Dr i ue GeometryZ = Toggle Size UnitsU = Undo Al
25、 1 ChangesC = Create SI iceS - Set BootableQ = FinishF = D modei 二 llizard m TUse Fl or ? to getmore helpj arrow keys to select.按鍵盤上的A鍵(A=Use Entire Disk表示整個硬盤給FreeBSD使用)adODisk nanie:plSX Geometry 10138FDISK Partition EditorOffsetSize(ST)cyls/255 heads/63 sectors163830870sectors (79995MB)EndName PT
26、ypeBeseSubtype Flags06316383087063163830807561062163830869163836479adOsl12812unused freebsd unused01650TheFol louinf connandsare suppor(in upper orlower case):UseUse Entire Disk Delete SI ice Change TypeG =set Driue GeometryC=Create 31 iceZ =Toggle Si忑巴 UnitsS=Set BootableU =Undo Al 1 ChangesQ=Finis
27、hF = DD” mode;二 Wizard e”Fl or ? to getmore helparrow Jeys to meIect.iTistnll thE Fr巳七BSD Boot Nanidgef叮Leaue the Master Boot Fecord untouched系統(tǒng)提示下tandardInsta 11 a standard IIBR (no boot manager)系統(tǒng)詢問是否需要安裝BootMgr(用于多重引導(dǎo)),因?yàn)椴话惭b多系統(tǒng),所以 選擇 Sta ndard In stall a sta ndard MBR( no boot man ager)MOTE: PC-D
28、OS users ull1 dlnost certainly require None*步需要對磁盤進(jìn)行分區(qū)Cancel按鍵盤上的Q鍵保存退出。FreeBSD comes uith a boot selector that allows you to easily select betueen FreeBSD tvid any other operating systems on your machine Nt boot tine + If you haue more than one driue and uiant to boot from the second onet the boot
29、selector ui11 also make it possible to do so (1 imitations in the PC BIOS usua11y prevent this otherwise), IF you do not uant a boot selector, or uisJi t口 replace an existing onet select standardF. If you uouId prefer jour Master Boot Record to rema in untouched then sele匚t *HoneM,Nom you need to cr
30、eate BSD part it ions inside of tJie f disk part ition(s) just created. If you have a reasonable amount of disk space (1GB or more) eund. don*t haue any specia.1 requirementsf sinply use the (A)uto command to allocate space automatics Dy, If you haue more specif ic needs or just dont care for the la
31、yout chosen by CA)uto, press Fl for wore inforriation on naniidi 1 layout *(10OZ)按鍵盤上的C鍵創(chuàng)建分區(qū),輸入分區(qū)容量(比如512M或者1G),選擇是FS(除 交換分區(qū)外,全選擇這個)或者是Swap(只有交換分區(qū)選擇這個),輸入掛載點(diǎn)(比 如/,/var,/tmp等);劃分Swap交換分區(qū)時,類型要選擇Swap,掛載點(diǎn)沒有不需 要輸入。FreeBSD Disklabel EditorBisk: adOPartition name: adOsl Free: 0blocks (6MB)Pnrtlloun tSize N
32、ewfs PartHo i( ntSize Hewfsaddsla51ZMB UFSZ?68MB SUAPrlewf s Opts Toggle Meufsfal laumg Create/war ztwp /usr /home /data5120MB1Q24NB 10Z40HB 20480MB 41851MBcommandsare va Delete Finish UndoUFSZ+S YUFS2+S UFS2+S UFS2+S VUFSZ+S lidnsAhere (upper or louer=Mount pt,=Toggle SoftUpdates =Auto Defaultscse)
33、:2 工 Custom MewfsB = Delete+llergearrow keys to select.rl or ? to get more helpj按鍵盤上的Q鍵確定分區(qū)完成。安裝類型選擇(選擇 A Minimal The smallest configuration possible) 最小安 裝,此時先不要按OK。As a conuenieB匚we provide seueral banned* distribution setsThese select what ue consider to be the nost reasonable defaults for the ty
34、pe of system in quies 七 i on. If you uould pref er 七 pick and choose the 1ist of distributions yourself, sinply select uCustom You can also pick a canned distribution set and then f ine-tune it uith the Custom itemri Minima IFul1 sources, binaries and doc but no ganes Same as aboue + X Llindou Syste
35、mFull binaries and docJcerne 1 sources onlySame as above + X Uindou SystenAuerage user - binaries and doc onlySane as above + X Uimdow SystemThe snaLlest conf iguration possibleroCancelSpecify your oun distribution set向下移至U鍵頭選擇 B Custom Specify your own distributen set在Custom中選擇X man,Xsrc,Xports; 其中
36、Xsrc選項要選擇 All全部安選擇X Exit返回上一級菜單e installed from d uariety of different installation nedia ranging from f loppies to aufi Internet FTP xeruer. If yonJre installing FreeBSD fron a supported CI/DUD drive then this is general ly the best nedia t口 use if you have no ouerriding reason for using other medi
37、a.1 CD/DUDE?1istemtloppy Tape OptionsInstall fron a FreeBSD CD/DUDInsta 11 Install Install Install Install Install Install Insta11f ron fron from f ron over from f ron fromAn FTP serueran FTP server through a f irewa11 an FTP seruer through 超 Jittp proxy a DOS partitionNFSan existing filesystena flo
38、ppy d isk setSCSI or QIC tapeGo to the Options screenCancel系統(tǒng)要求選擇安裝源,此處選擇 1 CD/DVD In stall from a FreeBSD CD/DVD(選擇 CD/DVD 安裝)系統(tǒng)提示還有最后一次機(jī)會,確定后,系統(tǒng)就真正開始格式化硬盤了。直接 選擇Yes確認(rèn)。Last Chance! Are you SURE yoti vid nt continue the instal lation?If youJ re rumi ing th is on a d isk uith data you uisli to save t
39、hen WE STROMGLV ENCOURAGE VOU TO MAKE PRDPEK BACKUPS before proceeding!Ue 匚an take no responslbility for lost disk contents?Ho系統(tǒng)開始安裝,可以按鍵盤Alt+F2鍵查看具體安裝信息DEBUG ScaYining disk adO for root filesystemDEBUG: Scaniiing disk adG for suap partitionsfstab: /etc/fstab:0; Mo such f ile or directoryzdeu/adQsla
40、 i 512.OMB C1048576 sectors) block size 16384 fragment size Z048 lining 4 匚y 1 inder groups of 128.G2MBi 8193 blksj 16448 inodes,super-block backups (for fsck -b tt) at:160, 2623365Z451Z, 786688fstab: /etc/Fstab:0: No such f i Le or directoryzmnt/deu/adOslh: 41851.5MB (85711892 sectors) block size 1
41、6384j fragment size 20 48using ZZQ cy inder groups of 1B3.77MB, 1.1761 blkSj 23552 inodes, with soft updatessuper-block backups (for fsck -b it) at:160, 376512, 752864, 1129216, 150556B, 1B81920, 2258272, 2634624, 3010976,33873Z8, 3763680, 414003Z, 4516384, 4892736 5Z69088 5645440. 60Z179乙6398144, 6
42、774496, 7150848, 7527200, 790355乙 8279904, 8656256 F 9032600,9408960, 9785312, 16161664. 10538016. 10914368, 11290720, 11667072, 12043-1Z4,12413776,15054240,17688704,Z03Z3168,22957632 fZ559Z096,28ZZ6560,308610Z4,12796128,15430592, 18G65056, 20639520. 23333384, Z5968448, 28602912, 3123737b,13172480,
43、15806944, 18441408, Z107587Z, 23710336, Z634480Q, Z8379Z64, 31613728,13548832 161832%, 18817760, 21452224, Z40866SB, 26721152, 29355616, 31990080,13925184,16553648,1919411Z,Z18Z8576,Z4463040,27097504,23731968,1430153616536000,19570464,22204928,24039392,Z7473856,30108320,146778881731235219946816ZZ581
44、Z80Z5Z15744Z7850Z0830484672恭喜你,安裝完成了CIGOz)Press entiCongratulations! You nou liaue FreeBSD installed on your system.Ue will nDu move on to the final conf ijuration quest ions- For any option you do not uish to conf igure, sinply select Mo.If you tuish to re-enter this utility after the system is up
45、ljoli may do so bj typing: /usr/sbln/sysinstal1.Step 4 FreeBSD安裝完成的設(shè)定.FreeBSD安裝完成的后續(xù)設(shè)定設(shè)置 FreeBSD系統(tǒng)詢問是否配置網(wǎng)絡(luò),選擇Yes配置網(wǎng)卡,選擇第1項(不同網(wǎng)卡名稱不一樣,此處顯示為 deO)a para 1le1 portTiuCancela serial device connect ion.Parallel Fort IP (FLIP) peer connectionSLIP interface on device /deu/citadO (C0I11) PPP interface on deu
46、ice Zdeu/caadO (C0M1) SLIP interface on device /deu/cuadl (COM2) PPF interface un deuicc /deu/cuadl (COM2)w1】治員e 測”鼎“mi ;展玄島肘比IYou can also install over cable to another nachine running FreeBSD是否啟用IPV6選擇否,是否使用DHCP來獲取IP地址,這里選擇否provide for that purpose then the expectation iIf you are using PFP over a
47、 serial dev ice as opposed to a direct herret connection, then you naij f irst need to dial your Internet Service Prouider using the ppp utility ueIf youfre using SLIP ouer that ijou have a HARDWIREDusing a specleil ,Plapl ink*填定你自己的網(wǎng)絡(luò)相關(guān)設(shè)置Metwork Conf igurat ion Host:Doma i n:uou sunny consunnycomIP
48、v4 Gateuay:Name seruer:54202,106,196.115Conf iyuration for Interface deO 1Pu4 Address:betmask:Extra, opt ions to ifc onf ig (usually empty):Q0i3CANCEL是否立即啟用網(wǎng)絡(luò),選擇Yes是否設(shè)置這臺機(jī)器為網(wǎng)關(guān),選擇No現(xiàn)在是否配置inetd(超級守護(hù)進(jìn)程),選擇No是否啟用SSH,選擇Yes ; (SSH以后可以用來遠(yuǎn)程登陸,進(jìn)行遠(yuǎn)程管理。)是否把這臺機(jī)器當(dāng)做匿名FTP服務(wù)器,
49、選擇No把這臺機(jī)器當(dāng)做NFS Server,選擇No當(dāng)做 NFS Client?選擇No現(xiàn)在是否配置系統(tǒng)控制臺?選擇No現(xiàn)在是否設(shè)置時區(qū)。選擇Yes安裝兼容Linux的包?選擇No是否連接了鼠標(biāo)?選擇No (FreeBSD服務(wù)器嘛,不需要鼠標(biāo))要不要安裝一個游戲?選擇No(服務(wù)器嘛,不要玩游戲)The FreeBSD package collection is a collection of thousands of ready-to-run app 1 icationsj f ron text editors to games to UEB seruers and more. Uould y
50、ou. 1 ike to brouse the 匚ollection nou?VesQVQ是否要添加用戶,并且設(shè)置root(管理員)密碼;選擇YesNoMould you 1 ike to add any initial user accounts to thE system?Add i ng at least one 風(fēng)匚count for yourself at th is stage is suggested since uorkin as the root user is dangerous (it is easy to do things which adversely affect
51、 the urrtire system).Bi?選擇添加 User Add a new user to the system ;添加一個新用戶添加新用戶;用戶名:mongolia,所屬組:wheel,密碼:123456,用戶 shell:/bin/tcsh ,(只有whell組的用戶才可以su成root,方便以后遠(yuǎn)程管理)User and Group Management Add a new userLogin ID:UID: 伽1Group:Password:mongo 1iaT Fu 11 name:Member groups:User &Home directory:Login she 11:/liome/mongol ia/bin/ tush0墮C(jī)ANCEL提示需要設(shè)置root密碼輸入2次完全一樣的密碼,設(shè)置root密碼完成對剛才的操作要不要再檢查一遍?選擇No取出光盤,系統(tǒng)將要重新啟動系統(tǒng)重新啟動,啟動后系統(tǒng)提示創(chuàng)建 SSH Key要求確認(rèn),按回車鍵即可J
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 臨床藥學(xué)服務(wù)模式與合理用藥
- 理財規(guī)劃師稅收基礎(chǔ)知識
- 《立體圖形的展開與折疊:六年級數(shù)學(xué)幾何教案》
- 公司收購合同協(xié)議
- 2025年九江貨運(yùn)資格證考試題庫
- 化工原料混合比例控制方法
- 品牌市場占有率統(tǒng)計表(行業(yè))
- 2025年吳忠如何考貨運(yùn)從業(yè)資格證
- 培訓(xùn)合作協(xié)議合同
- 2025年保定電力職業(yè)技術(shù)學(xué)院單招職業(yè)傾向性考試題庫往年題考
- 2025國家電投集團(tuán)資本控股限公司本部招聘11人高頻重點(diǎn)模擬試卷提升(共500題附帶答案詳解)
- 2025年山東司法警官職業(yè)學(xué)院高職單招職業(yè)技能測試近5年??及鎱⒖碱}庫含答案解析
- 2024年05月湖南招商銀行長沙分行長期社會招考筆試歷年參考題庫附帶答案詳解
- 鐵路信號基礎(chǔ)設(shè)備維護(hù)(第二版) 課件 項目一 信號繼電器檢修
- 江蘇省南京市2024年中考英語試題(含解析)
- 2025年匯成集團(tuán)招聘筆試參考題庫含答案解析
- 《礦山機(jī)械》課件
- 湖南長沙自貿(mào)投資發(fā)展集團(tuán)有限公司招聘筆試沖刺題2024
- 電力安全工作規(guī)程考試試題題庫
- 2024年抗菌藥物培訓(xùn)試題及答案
- UL1026標(biāo)準(zhǔn)中文版-2019家用電飯煲和食品服務(wù)用具第六版
評論
0/150
提交評論