亚洲香蕉成人av网站在线观看_欧美精品成人91久久久久久久_久久久久久久久久久亚洲_热久久视久久精品18亚洲精品_国产精自产拍久久久久久_亚洲色图国产精品_91精品国产网站_中文字幕欧美日韩精品_国产精品久久久久久亚洲调教_国产精品久久一区_性夜试看影院91社区_97在线观看视频国产_68精品久久久久久欧美_欧美精品在线观看_国产精品一区二区久久精品_欧美老女人bb

首頁 > 學院 > 操作系統 > 正文

光盤安裝OpenBSD3.6的方法

2020-10-23 22:27:02
字體:
來源:轉載
供稿:網友

1.1.系統從光盤啟動,自檢過程 - 略... 
1.2.選擇安裝類型 
|erase ^?, werase ^W, kill ^U, intr ^C, status ^T 
|(I)nstall, (U)pgrade or (S)hell? i <then RETURN>; 
#####################################################
其中(I)代表安裝一個全新的系統,(U)代表升級原有的OpenBSD舊版本的系統,(S)代表退出并進入命令行狀態。
我們要安裝一個全新的OpenBSD系統,所以我們在這里輸入I,并回車。(當然你也可以按下Ctrl+C退回到命令行狀態,再次輸入install回到安裝程序,如果在安裝程序時誤操作,可以使用這種方法進入命令行狀態然后再重新回到安裝程序開始安裝。)
#####################################################
1.3.選擇終端類型 
|Welcome to the OpenBSD/i386 3.6 install program. 

|This program will help you install OpenBSD in a simple and rational way. At 
|any prompt except password prompts you can run a shell command by typing 
|'!foo',or escape to a shell by typing '!'. Default answers are shown in []'s 
|and are selected by pressing RETURN. At any time you can exit this program by 
|pressing Control-C and then RETURN, but quitting during an install can leave 
|your system in an inconsistent state. 

|Terminal Type? [vt220] <RETURN>; 
1.4.選擇鍵盤類型 
|Do you wish to select a keyboard encoding table? [no] yes <then RETURN>; 
|Select your keyboard type: (P)C-AT/XT, (U)SB, or 'done' [P] <RETURN>; 
|The available keyboard encoding tables are: 

| be br de dk es fr it jp lt no pt ru sf sg sv ua uk us 

|Table name? (or 'done') [us] <RETURN>; 
|keyboard mapping set to us 
##########################################
對于我們大部分的中國用戶而言,我們使用的都是標準的美式鍵盤,這也是OpenBSD默認的鍵盤布局,所以我們直接按回車繼續。
###############################################
1.5.磁盤劃分 
|IS YOUR DATA BACKED UP? As with anything that modifies disk contents,this 
|program can cause SIGNIFICANT data loss. 

|It is often helpful to have the installation notes handy. For complex disk 
|configurations, relevant disk hardware manuals and a calculator are useful. 

|Proceed with install? [no] yes <then RETURN>; 
###########################
安裝程序提示是否開始安裝,我們直接輸入y,并回車
#######################################
|Cool! Let's get to it... 

|You will now initialize the disk(s) that OpenBSD will use. To enable all 
|available securty features you should configure the disk(s) to allow the 
|creation of separate filesystems for /, /tmp, /var, /usr, and /home. 

|Available disks are: wd0. 
|Which one is the root disk? (or 'done') [wd0] <RETURN>; 
################################
在OpenBSD系統中對于IDE接口的硬盤的命名方式是wd0,wd1,wd2……依次類推,而SCSI接口的硬盤則是sd0,sd1,sd2……依次類推。
#############################################
|Do you want to use *all* of wd0 for OpenBSD? [no] yes <then RETURN>; 
#####################################
系統詢問是否將檢測到的整個硬盤都給OpenBSD使用,默認是no,但是我們在這里是要將OpenBSD作為服務器來用,所以我們在這里輸入yes,并回車。
########################################
|Putting all of wd0 into an active OpenBSD MBR partition (type 'A6') ... 
|wd0: no disk label 
|done. 

|You will now create an OpenBSD disklabel inside the OpenBSD MBR 
|partition. The disklabel defines how OpenBSD splits up the MBR partition 
|into OpenBSD partitions in which filesystems and swap space are created. 

|The offsets used in the disklabel are ABSOLUTE, i.e. relative to the 
|start of the disk, NOT the start of the OpenBSd MBR partition. 

|# using MBR partition 3: type A6 off 63 (0x3f) size 8385687 (0x7ff54b) 

|Treating sectors 63-8385930 as the OpenBSD portion of the disk. 
|You can use the 'b' command to change this. 
|Initial label editor (enter '?' for help at any prompt) 
###################################
在>;提示符下輸入?將顯示幫助,命令p用來顯示顯示當前硬盤分區的劃分情況,命令d用來刪除現有的分區(注意:c分區被OpenBSD系統保留使用,不能被刪除或者被變更),命令z用來清空OpenBSD的分區表,命令a用來創建新的OpenBSD分區。
在OpenBSD系統中,xx0a一定是"/"文件系統,xx0b一定是swap文件系統,xx0c一定表示整個硬盤,在這三個文件系統的基礎上,你可以進行xx0d、xx0e...等文件系統的劃分。
命令“d x”表示刪除文件系統,其中,xx0c一定不可以被刪除,即便你執行“d c”,也不會成功; 
命令“a x”表示增加文件系統,其中,xx0c一定不可以被覆蓋,即便你執行“a c”,也不會成功; 
partition是分區編號,從a分區開始,c分區跳過。
offset是指每一個分區的偏移地址。
size是分區大小??梢灾苯虞斎敕謪^的偏移地址也可以直接輸入m為單位的數值,比如我們在size項輸入200m,系統回應說這個值近似于的偏移地址為409185。
FS type是文件系統類型。
mount point是掛載點。
注意:b分區默認是留給swap分區的,并且swap分區無需mount point。
##################################
|>; p <then RETURN>; 
|device: /dev/rwd0c 
|type: ESDI 
|disk: ESDI/IDE disk 
|label: VMware Virtual I 
|bytes/sector: 512 
|sectors/track: 63 
|tracks/cylinder: 16 
|sectors/cylinder: 1008 
|cylinders: 8332 
|total sectors: 8388608 
|free sectors: 8385867 
|rpm: 3600 

|16 partitions: 
|# size offset fstype [fsize bsize cpg] 
| a: 8385867 63 unused 0 0 
| c: 8388608 0 unused 0 0 
|>; d a <then RETURN>; 
|>; a a <then RETURN>; 
|offset: [63] <RETURN>; 
|size: [8385867] 128M <then RETURN>; 
|Rounding to nearest cylinder: 262017 
|FS type: [4.2BSD] <RETURN>; 
|mount point: [none] / <then RETURN>; 
|>; a b <then RETURN>; 
|offset: [262080] <RETURN>; 
|size: [8123850] 256M <then RETURN>; 
|Rounding to nearest cylinder: 524160 
|FS type: [swap] <RETURN>; 
|>; a d <then RETURN>; 
|offset: [786240] <RETURN>; 
|size: [7599690] 128M <then RETURN>; 
|Rounding to nearest cylinder: 262080 
|FS type: [4.2BSD] <RETURN>; 
|mount point: [none] /tmp <then RETURN>; 
|>; a e <then RETURN>; 
|offset: [1048320] <RETURN>; 
|size: [7337610] 512M <then RETURN>; 
|Rounding to nearest cylinder: 1048320 
|FS type: [4.2BSD] <RETURN>;
|mount point: [none] /var <then RETURN>; 
|>; a f <then RETURN>; 
|offset: [2096640] <RETURN>; 
|size: [6289290] 2048M <then RETURN>; 
|Rounding to nearest cylinder: 4194288 
|FS type: [4.2BSD] <RETURN>; 
|mount point: [none] /usr <then RETURN>; 
|>; a g <then RETURN>; 
|offset: [6290928] <RETURN>; 
|size: [2095002] <RETURN>; 
|FS type: [4.2BSD] <RETURN>;
|mount point: [none] /home <then RETURN>; 
|>; p <then RETURN>; 
|device: /dev/rwd0c 
|type: ESDI 
|disk: ESDI/IDE disk 
|label: VMware Virtual I 
|bytes/sector: 512 
|sectors/track: 63 
|tracks/cylinder: 16 
|sectors/cylinder: 1008 
|cylinders: 8332 
|total sectors: 8388608 
|free sectors: 8385867 
|rpm: 3600 

|16 partitions: 
|# size offset fstype [fsize bsize cpg] 
| a: 262017 63 4.2BSD 2048 16384 16 # / 
| b: 524160 262080 swap 
| c: 8388608 0 4.2BSD 0 0 
| d: 262080 786240 4.2BSD 2048 16384 16 # /tmp 
| e: 1048320 1048320 4.2BSD 2048 16384 16 # /var 
| f: 4194288 2096640 unused 2048 16384 16 # /usr 
| g: 2095002 6290928 4.2BSD 2048 16384 16 # /home 
|>; w <then RETURN>; 
|>; q <then RETURN>; 
|No label changes. 
|Mount point for wd0d (size=131040k)>; (or 'none' or 'done')[/tmp] <RETURN>; 
|Mount point for wd0e (size=524160k)>; (or 'none' or 'done') [/var] <RETURN>; 
|Mount point for wd0f (size=2097144k)>; (or 'none' or 'done') [/usr] <RETURN>; 
|Mount point for wd0g (size=1047501k)>; (or 'none' or 'done') [/home] <RETURN>; 
|Mount point for wd0d (size=131040k)>; (or 'none' or 'done') [/tmp] done <then RETURN>; 
|No more disks to initialize. 

|OpenBSD filesystems: 
|wd0a / 
|wd0d /tmp 
|wd0e /var 
|wd0f /usr 
|wd0g /home 

|The next step *DESTORYS* all existing data on these partitions! 
|Are you reallysure that you're ready to proceed? [no] yes <then RETURN>; 
| ...... 創建磁盤過程省略 ...... 
1.6.網絡配置 
|System hostname? (short form, e.g. 'foo') bsd010ids <then RETURN>;
#######################
配置主機名
#######################
|Configure the network? [yes] <RETURN>; 
|Available interfaces are: le1 le2 
|Which on do you wish to initialize? (or 'done') [le1] <RETURN>; 
|Symbolic (host) name for le1? [bsd010ids] <RETURN>; 
|IPv4 address for le1? (or 'none' or 'dhcp') 10.x.x.x <then RETURN>; 
|Netmask? [255.255.255.0] <RETURN>; 
|Available interfaces are: le2 
|Which on do you wish to initialize? (or 'done') [le2] <RETURN>; 
|Symbolic (host) name for le1? [bsd010ids] <RETURN>; 
|IPv4 address for le2? (or 'none' or 'dhcp') 192.168.1.1 <then RETURN>; 
|Netmask? [255.255.255.0] <RETURN>; 
|No more interfaces to initialize. 
|DNS domain name? (e.g. 'bar.com') [my.domain] mycom.com <then RETURN>; 
|DNS nameserver? (IP address or 'none') [none] 202.97.224.68 <then RETURN>; 
|Use the nameserver now? [yes] <RETURN>; 
|Default IPv4 route? (IPv4 address, 'dhcp' or 'none') 10.x.x.x <then RETURN>; 
|add net default: gateway 10.x.x.x 
|Edit hostswith ed? [no] <RETURN>; 
|Do you want to do any manual network configuration? [no] <RETURN>; 
1.7.設置root口令 

|Password for root account? (will not echo) <enter your password then RETURN>;
|Password for root account? (again) <enter your password again then RETURN>; 
1.8.選擇需要安裝的系統文件 
|You will now specify the locatiob and names of the install sets you wangt to 
|load. You will be able to repeat this step until all of your sets have been 
|successfully loaded. If you are not sure what sets to install, refer to the 
|installatio notes for details on the contents of each. 

|Sets can be located on a (m)ounted filesystem; a (c)drom, (d)isk or (t)ape 
|device; or a (f)tp, (n)fs or (h)ttp server. 
|Where are the install sets? (or 'done') c <then RETURN>; 
|Available CD-ROMs are cd0. 
|Which one contains the install media? (or 'done') [cd0] <RETURN>; 
#####################################
安裝程序詢問用哪種方式安裝,我們輸入c,從cdrom上安裝,然后選擇第一個cdrom設備cd0,回車繼續。
#######################################

|Pathname to the sets? (or 'done') [3.6/i386] <RETURN>; 

|The following sets are available. Enter a filename, 'all' to select 
|all the sets, or 'done'. You may de-select a set by prepending a '-' 
|to its name. 

| [X]bsd 
| [X]bsd.rd 
| [ ]bsd.mp 
| [X]base36.tgz 
| [X]etc36.tgz 
| [X]misc36.tgz 
| [X]comp36.tgz 
| [X]man36.tgz 
| [X]game36.tgz 
| [ ]xbase36.tgz 
| [ ]xetc36.tgz 
| [ ]xshare36.tgz 
| [ ]xfont36.tgz 
| [ ]xserv36.tgz 

|File name? (or 'done') [bsd.mp] -game36.tgz <then RETURN>; 

|The following sets are available. Enter a filename, 'all' to select 
|all the sets, or 'done'. You may de-select a set by prepending a '-' 
|to its name. 

| [X]bsd 
| [X]bsd.rd 
| [ ]bsd.mp 
| [X]base36.tgz 
| [X]etc36.tgz 
| [X]misc36.tgz 
| [X]comp36.tgz 
| [X]man36.tgz 
| [ ]game36.tgz 
| [ ]xbase36.tgz 
| [ ]xetc36.tgz 
| [ ]xshare36.tgz 
| [ ]xfont36.tgz 
| [ ]xserv36.tgz 

|File name? (or 'done') [bsd.mp] done <then RETURN>; 
|Ready to install sets? [yes] <RETURN>; 
| ...... 安裝過程省略 ...... 

|Sets can be located on a (m)ounted filesystem; a (c)drom, (d)isk or (t)ape 
|device; or a (f)tp, (n)fs or (h)ttp server. 
|Where are the install sets? (or 'done') done <then RETURN>; 

這里解釋一下OpenBSD的系統包的安裝情況: 
“x”開動的系統包,是X Window使用的基本包(我不用這東西,沒裝); 
其余的包,除“bsd.mp”、“game36.tgz”外,都是系統必須的包,要裝; 
“bsd.mp”我不知道是什么,也沒查,我感覺應該是SMP用的,缺省就沒選,我也沒裝; 
“game36.tgz”,這個我肯定是不裝。 
1.9.系統服務配置 
|Start sshd(8 ) by default? [yes] <RETURN>; 
|Do you expect to run the X Window System? [yes] no <then RETURN>; 
|Change the default console to com0? [no] <RETURN>; 
|Saving configuration files...done. 
|Generating initial host.random file...done. 
|What timezone are you in? ('?' for list) [Canada/Mountain] ? <then RETURN>; 
|Africa/ Chile/ GB-Eire Israel NZ-CHAT Turkey 
|America/ Cuba GMT Jamaica Navajo UCT 
|Antarctica/ EET GMT+0 Japan PRC US/ 
|Arctic/ EST GMT-0 Kwajalein PST8PDT UTC 
|Asia/ EST5EDT GMT0 Libya Pacific/ Universal 
|Atlantic/ Egypt Greenwich MET Poland W-SU 
|Australia/ Eire HST MST Portugal WET 
|Brazil/ Etc/ Hongkong MST7MDT ROC Zulu 
|CET Europe/ Iceland Mexico/ ROK posix/ 
|CST6CDT Factory Indian/ Mideast/ Singapore posixrules 
|Canada/ GB Iran NZ SystemV/ right/ 
|What timezone are you in? ('?' for list) [Canada/Mountain] PRC <then RETURN>; 
##################
此處用UTC則和你的手表時間一致,因此建議使用UTC
##多謝bluebell指出錯誤,輸入的時候沒有注意,呵呵
#########################
|Setting local timezone to 'PRC'...done. 
|Making all device nodes...done. 
|Installing boot block... 
|boot: /mnt/boot 
|proto: /usr/mdec/biosboot 
|device: /dev/rwd0c 
|/usr/mdec/biosboot: entry point 0 
|proto bootblock size 512 
|/mnt/boot is 3 blocks x 16384 bytes 
|fs block shift 2; part offset 63; inode block 120, offset 8488 
|using MBR partition 3: type 166 (0xa6) offset 63 (0x3f) 
|done. 

|CONGRATULATIONS! Your OpenBSD install has been successfully completed! 
|To boot the new system, enter halt at the command prompt. Once the 
|system has halted, reset the machine and boot from the disk. 
|# halt <then RETURN>; 
|syncing disks... done 

|The operating system has halted. 
|Please press any key to reboot. <RETURN>; 

|Rebooting... 
至此,系統安裝部分完畢。
 

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
亚洲香蕉成人av网站在线观看_欧美精品成人91久久久久久久_久久久久久久久久久亚洲_热久久视久久精品18亚洲精品_国产精自产拍久久久久久_亚洲色图国产精品_91精品国产网站_中文字幕欧美日韩精品_国产精品久久久久久亚洲调教_国产精品久久一区_性夜试看影院91社区_97在线观看视频国产_68精品久久久久久欧美_欧美精品在线观看_国产精品一区二区久久精品_欧美老女人bb
成人网页在线免费观看| 欧美激情aaaa| 欧美另类极品videosbest最新版本| 国产亚洲一区二区精品| 久久精品电影网| 国产精品色悠悠| 亚洲天堂网在线观看| 久久在线精品视频| 久久天天躁夜夜躁狠狠躁2022| 国产日韩中文在线| 日韩毛片在线看| 97视频人免费观看| 国产精品偷伦视频免费观看国产| 成人自拍性视频| 亚洲视频在线观看网站| 久久影视三级福利片| 国产精品免费一区二区三区都可以| 中文字幕不卡av| 精品国产鲁一鲁一区二区张丽| 亚洲精品国偷自产在线99热| 欧美激情综合色综合啪啪五月| 神马久久桃色视频| 欧美国产视频日韩| 久久久久久尹人网香蕉| 亚洲天堂av网| 国内自拍欧美激情| 国产欧美一区二区三区四区| 久久999免费视频| 日韩网站免费观看| 久久久久久国产精品美女| 欧美激情亚洲综合一区| 久久艹在线视频| 6080yy精品一区二区三区| 91精品国产自产在线| 欧美大胆在线视频| 国产精品国产福利国产秒拍| 日韩国产激情在线| 国产精品久久久久av| 久久精品电影一区二区| 亚洲人午夜精品免费| 欧美在线中文字幕| 色妞色视频一区二区三区四区| 欧美性猛交xxxx乱大交极品| 国产做受高潮69| 中日韩美女免费视频网址在线观看| 久久久亚洲欧洲日产国码aⅴ| 日韩欧美综合在线视频| 欧美日韩免费一区| 精品久久久久久中文字幕| 欧美激情区在线播放| 国产欧美一区二区三区久久人妖| 精品福利在线观看| 精品日本高清在线播放| 亚洲夜晚福利在线观看| 97碰碰碰免费色视频| 欧美激情国产高清| 亚洲人成网在线播放| 亚洲天堂视频在线观看| 欧美野外猛男的大粗鳮| 欧美极品少妇与黑人| 欧美劲爆第一页| 亚洲国产又黄又爽女人高潮的| 欧美视频一二三| 欧美日韩国产色| 成人av番号网| 亚洲欧美日韩国产中文| 亚洲精品小视频| 亚洲欧美精品在线| 欧美另类在线观看| 国产精品日本精品| 日韩成人av网| 国产精品爱久久久久久久| 成人午夜激情网| 精品亚洲aⅴ在线观看| 欧美亚洲在线播放| 国产亚洲精品美女久久久久| 精品久久久久久中文字幕一区奶水| 国产日韩精品入口| 亚洲性无码av在线| 欧美成人剧情片在线观看| 在线观看国产成人av片| 一区二区三区美女xx视频| 成人性生交大片免费观看嘿嘿视频| 久久久久久久97| 欧美尤物巨大精品爽| 国产一区二区三区精品久久久| 欧美午夜xxx| 欧美不卡视频一区发布| 91理论片午午论夜理片久久| 国产精品草莓在线免费观看| 日韩乱码在线视频| 一区二区三区视频在线| 亚洲福利视频免费观看| 精品久久久久久久大神国产| 亚洲精品午夜精品| 亚洲一区二区久久久| 亚洲欧美日韩第一区| 国产成人综合一区二区三区| 97国产在线视频| 狠狠色香婷婷久久亚洲精品| 综合网日日天干夜夜久久| 欧美小视频在线观看| 欧美日韩国产一区在线| 久久精品国产精品| 亚洲国产日韩精品在线| 色yeye香蕉凹凸一区二区av| 超碰91人人草人人干| 亚洲色图欧美制服丝袜另类第一页| 日韩精品在线免费观看视频| 亚洲第一偷拍网| 91精品在线一区| 最新国产精品亚洲| 欧美黄色免费网站| 91国产精品91| 精品调教chinesegay| 国产91精品久久久久久| 久久九九全国免费精品观看| 国产亚洲精品成人av久久ww| 中日韩美女免费视频网址在线观看| 国产精品亚洲аv天堂网| 亚洲电影在线看| 不卡av日日日| 精品久久久久久亚洲精品| 欧美午夜精品久久久久久浪潮| 中文字幕9999| 久久视频免费在线播放| 91久久精品久久国产性色也91| 97精品免费视频| 亚洲欧洲视频在线| 69国产精品成人在线播放| 欧美亚洲国产日韩2020| 亚洲一区二区日本| 国产小视频91| 91免费在线视频| 亚洲精品在线视频| 尤物tv国产一区| 国产精品一区二区三区毛片淫片| 91在线观看免费高清完整版在线观看| 日本一区二区三区在线播放| 欧美裸体xxxx极品少妇软件| 亚洲少妇激情视频| 久久久久久有精品国产| 久久久视频精品| 疯狂做受xxxx欧美肥白少妇| 中文字幕亚洲欧美日韩2019| 亚洲一区二区久久久久久| 亚洲欧美激情精品一区二区| 欧美日韩一区二区在线| 亚洲欧洲中文天堂| 欧美夫妻性生活xx| 国产精品老牛影院在线观看| 欧美性猛交xxxx乱大交| 色狠狠av一区二区三区香蕉蜜桃| 亚洲综合成人婷婷小说| 国语自产精品视频在线看一大j8| 91久久久久久久一区二区| 热久久99这里有精品| 欧美国产欧美亚洲国产日韩mv天天看完整| 精品无人国产偷自产在线| 黄色一区二区在线| 中日韩美女免费视频网站在线观看| 青青草国产精品一区二区| 久久免费国产精品1| 一道本无吗dⅴd在线播放一区|