My FreeBSD 5.2.1Release frame station record

xiaoxiao2021-03-06  88

I have recently prepared itself to set up a Web site. I checked the information from the Internet. I found that everyone's evaluation of FreeBSD is very high. In addition, it is more troublesome to Windows, and I want to enter UNIX, so I decided to install it. A freebsd looks. I am a bit badly used in the machine. It is a second-hand Fujitsu small host I bought from the Internet. It is estimated that the BX motherboard, the CVU 300A CPU, the memory is 64m, I added 256M. I didn't have a hard disk and the optical drive. I added a 40G Seagate hard disk, 5400 turns, this small host couldn't use ordinary optical drive, I had to remove the chassis and hung a normal optical drive. I used to install win98 on this machine, knowing its built-in graphics card is ATI Rage128 Pro, 8M memory, network card is Intel's 82507, the sound card driver is Japanese, I don't know what model, anyway, the server can not use it, no matter The display is a 15-inch EMC, which is also temporarily borrowed. After loading freebsd, use remote control, then there is no display. Why did I say hardware configuration so clear, I will know when I install it. I like this person, I like to use the latest, freebsd master http://www.freebsd.org, knowing the FTP of FreeBSD is ftp://ftp.freebsd.org/pub/freebsd/, go in Looking out, in the ISO-IMAGES-I386 directory, there is already a version 5.3, but check the information, know 5.3 is not a release version, 5.2.1 is that the release is relatively stable, or use 5.2.1 Better. The directory of import 5.2.1 found 4 files, knowing that the 5.2.1-release-i386-disc1.iso (0.63GB) can be required by the data. After completing, use Nero to engrave an optical disk and start entering the installation phase. The boot enters the BIOS setup will start the startup to the optical drive. After startup, a large number of English prompts, after it is over, there is a start menu selection, select 1.boot freebsd [default], enter the installation menu (SysInstall) Main menu). Select Custom to enter a custom installation. 1. First need to be partitioned: FreeBSD partition and the form of extended partition under MSDOS is very similar, first to divide a slice (equivalent to the extension partition in MSDOS), and then divide all partitions in this slice (quite Logical partitions in MSDOS). In Choose Custom Installation Options, select 3 partition to divide SLICE, I am ready to install FreeBSD on this machine, so I use the D key to delete all previous partitions, and finally a Size is a unused area of ​​78165360. I am only equipped with FreeBSD on this machine and I will not intend to install other operating systems with multiple boots, so I press the SHIFT F button, select NO, then the entire hard disk area has become freebsd slice, press Q End PARTition.

Go back to the Choose Custom Installation Options menu, select 4 Label to start Label for Slice (in acting further partition), after entering FreeBSD Disklabel Editor, the partition area is empty, of course, I haven't divided any partitions, start Partitioning, partitioning procedures are as follows: 1) Press C to choose Creating a partition 2) Select the partition size created, this is if you enter the number directly, the partition size is calculated by sector (block), you add G , Then press GB, add M, press MB, I usually add G or M, because I can't clearly press the sector :) 3) After entering the partition size, let you choose the type of partition, In two, an FS file system, a SWAP exchange partition, Unix and Windows, temporary exchange files are specifically placed in a partition, which minimizes file fragment, unlike Windows Always organize hard disks. . 4) Finally, you want to specify a mount point, which is a bit like the drive letter in Windows, but freeBSD does not use C, D, E, but use /, / tmp, / usr. . My partition structure is as follows: / (root directory) 128M, SWAP (swap partition) 512M, / TMP (temporary file partition) 256M, / var 5120M (my MySQL is placed on VAR, so it is more than 5), / usr 6144m, / ftp (anonymous FTP partition) 2048M, / home remaining all spaces, in addition to the swap partition is the SWAP type, other partitions are File System. After the partition is completed, press q to return to the Choose Custom Installation Options menu. 2. Select Install Content Selection 5 Distributions Enter the selection of installation content. My machine is mainly web, so I chose 4 developer, and immediately jumped out of a window. This is asking me to install Ports, I chose NO, because I will install Ports, at this time The installation is a waste time. Ports is some network installation files according to my understanding. I still remember when IE IE6, IE6 installation file is divided into two kinds, one is a complete installation package, very big, as if there is 6, 70 megabytes, there is a network installation file, very small, only a few hundred k, This network installation file does not contain IE installation content, which is just automatically connected to the network to download files that need to be installed. Ports is similar to this online installation file. He itself does not contain content that needs to be installed, but through him, you can automatically download the source code of the software you want to install and automatically compile, compile it to automatically install, and he Unlike IE6 network installations can only be downloaded from Microsoft website. If he can't find what you need on a website, he will automatically go to other websites to find download.

3. Select the installation media: Select 6 media, I am installed from the disc, so I choose 1 CD / DVD4. Start the installation: Select 7 Commit, the last installation confirmation, this time I confirm, all operations, including partitions and Installing the software will be truly carried out, so this is the chance of your last repent, missed, no one can save you (so, I advise you if it is ready to install freebsd, thousands must All important data, otherwise,, don't listen to the old people, lose the loss in front of you). There is no data worthy of my nostalgia on this computer, so I will of course choose Yes. Ok, I started to install, I went to wash my face first. 5. Ok, wash your face, bite a bread, come back, it is already installed, it is really fast. A User Confirmation Requested window appears, which is letting you decide whether to return to the installation menu, then make some settings, I choose Yes, and then set it. 1) Choose root password, as a safe-signed FreeBSD, just after installed, the user is actually empty password, which makes people feel unexpected, so I will put root password first. 2) Enter package selection, enter archivers, press the space bar to select UnziP-5.50_2, which is to decompress the ZIP package later; enter NET, press the space bar to select CVSUP-16.1H, which is for online upgrade FreeBSD. Install them. 3) Go back to FreeBSD Configuration Menu, enter Distributions, select all of SRC and Ports, OK installation. SRC is the source code. Use freebsd to pass the compilation source code, so in order to avoid the trouble of finding the source code, put them all down; Ports I have said, I have installed here. 4) Enter NetWorking, default AMD Flags and TCP EXTENSIONS, plus SSHD (remote control, more than telnet security), plus Interfaces (setting up NIC), I only installed a network card, so after I choose Interfaces, I NIC is FXP0 Intel EtherExpress Pro / 100B PCI Fast Ethernet Card, Enter, IPv6 I don't choose, DHCP I don't choose, start setting up the network card, this is similar to Windows, Host is the host name, write, Domain is automatically generated, Gateway is a gateway, name server is a DNS, and address is an IP address. Netmask is a subnet mask. After the OK, you will ask if you like to bring the fxp0 interface Up Right now? Choose Yes. 5) Select to exit, the system will ask you whether you will restart, of course restart. In this way, I have completed the installation, but this is only the first step in the long march, and there is still a way below.

转载请注明原文地址:https://www.9cbs.com/read-98370.html

New Post(0)