这个世界上问题太多,我只能朝夕问道

FreeBSD的快速安装

上一篇 / 下一篇  2008-05-12 22:44:35 / 个人分类:FreeBSD diary

从光盘方式进行最简化安装。将光盘放入光驱,然后重新启动,进入FreeBSD的安装界面:


After booting from the Install CD, you will be greeted with the not so lovely FreeBSD boot screen (later on we'll add the FreeBSD mascot back in). Press 'Enter' to continue with default options. (If you do nothing for 10 seconds, this will happen automatically).


This is the FreeBSD installer. Read the keyboard instructions at the top of the menu, as they teach you how to move around the installer. Choose "Custom" for this installation.


This is the next screen you'll be confronted with. Select "Options" to continue.


There is a lot of information here, but you needn't be worried about most of it. The only thing you'll want to do is set DHCP to YES. Unless you specifically set a static ip address for your machine, you'll need to use DHCP (if you're not sure choose DHCP, we can change it later). Note the navigation instructions at the bottom. After toggling DHCP on type 'Q'.


Now select "Partition" to continue.


Welcome to fdisk. This is a partition editor. You should see your hard drive partitions (if any) displayed on this screen. Press 'D' to delete the highlighted partition, and 'C' while an "unused" partition is selected to create a new partition. If you only want to run FreeBSD on your computer, go ahead and delete any existing partitions and create a new partition. If you want to keep your Linux or Windows partition, don't delete it!


When you press 'C' to create a new partition, this screen will pop up asking you how big you want your FreeBSD partition to be. If you want to use all of the free space, simply press 'Enter.' The maximum available size will be entered by default. If you want to make a smaller partition for FreeBSD, change the number to the size you want. (i.e. 3000M for a 3 GB partition). When you are finished, press 'Enter' to continue.


fdisk will then ask you what kind of partition you want to create. Press 'Enter' to create a FreeBSD partition. As we are installing FreeBSD, that's what we want.


You should now see your newly created FreeBSD partition listed among your other partitions. In our example, we gave the entire hard disk to FreeBSD. Make sure you give FreeBSD enough room to install. We recommend 3 GB or more. If you are finished with fdisk, press 'Q' to save your changes and go on to the next step.


FreeBSD next asks you if you want to install a boot loader. If you're setting up a multi-boot system (i.e. one with more than one Operating System on it) you will probably want to choose "BootMgr." This will install the FreeBSD boot loader. If you already have another boot loader like GRUB, you should choose "None." Finally, if like us, FreeBSD will be the only system on your computer, choose "Standard".


Select "Label" to continue.


Here is where you will set up your FreeBSD fileystem. The easiest way to do this is simply to press 'A' and have the FreeBSD installer set everything up automatically.


This is the result of pressing 'A' to automatically set up our FreeBSD filesystem. You should see something like this if you pressed 'A', although the sizes may be different. Press 'Q' to continue.


Select "Distributions" to continue.


You will want to pick "Developer." This will give us the necessary compiling tools. Don't worry if you're not actually a developer, neither are we. We'll install X later, so don't worry about any of the options with X.


YES! Why would anyone want to run FreeBSD without Ports!? This is the single greatest way to install software on any Operating System! We'll teach you how to use Ports in another section of this FreeBSD guide. :)


We're back at the screen where we chose to be a Developer. Select "Exit" or tab down to the bottom and select "OK" to go on.


Select "Media" to continue.


Chances are you are installing from the CD. If so, just select "OK." Otherwise choose the option corresponding to your installation medium.


Select "Commit" to continue.


Select "Yes." This step may take a little while.


Select "No." We'll do our own post-installation configuration.


Select either "Exit" or tab over to "Cancel."


Tab over to "Exit Install."


Select "Yes." Make sure to take out the install cd and your computer will reboot.


Congratulations, we've just finished the install of FreeBSD. Everytime you boot up you will be greeted with this screen. We haven't set up any users yet, so in order to login your username will be root. So type in "root" and hit 'Enter.'


Now we're logged into FreeBSD for the first time.


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2008-10-11  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 386
  • 日志数: 9
  • 建立时间: 2007-11-17
  • 更新时间: 2008-05-20

RSS订阅

Open Toolbar