My FreeBSD5.4 installation configuration process pen record (Novice reference) 1th/5 page _unix Linux

Source: Internet
Author: User
Tags documentation
"Chapter I."
Before, there was the smell of FreeBSD in the Web server domain has a fast stability such as "rock-solid" high-performance, as an important part of the Unix BSD family, has excellent network and security performance, software rich, concise and efficient, completely free! Browsing the internet also found that the desktop system on top of it is not inferior to Linux.
Previously played Linux distributions have Redhat,mandrake,slackware, but are playing some initial installation configuration and do not use Linux, think that Linux version of some more and bad choice, the bug is relatively more ... So eager to FreeBSD ...

I started playing the FreeBSD operating system from around April this year. At that time downloading Frebsd5.3iso installation files from the Internet and burning them into a CD, in VMware, under Windows, follow Handbook to help explain the success of a step-by-step installation, but because VMware under the network card and graphics interface X is not good configuration, only to install a dual system. Installation encountered a lot of difficulties, at least five or six times heavy installed. Do not want to fully install, just want to minimize the installation of clean system. In particular, the installation of xorg, is not installed is not set up to start X, with ports compile installation special time, slow speed xorg and Gnome spent a day or two. It takes more time to compile the kernel and source code. Of course, if you understand the basic concepts and procedures after the installation of FreeBSD is relatively simple. The following is my FreeBSD installation configuration process, which is currently installed in the 5.4stable version.

Prior to installation, assume that you have read the installation process in the FreeBSD manual:
http://www.freebsd.org.cn/snap/doc/zh_CN.GB2312/books/handbook/
Start with a minimized installation. (I do not understand what is minimized, I chose the standard (Begin a standard installation), the last selection of software packages (distributions) Minimal, there are multiple select a source code package SRC, and choose ports. )
Just install in accordance with the manual is OK. I used to burn the CD installed, with an FTP network installation is also more convenient.
When allocating disk space, I use a nearly 10G primary partition (/DEV/AD0S3) to install the FreeBSD.
The sections that can be referenced are probably as follows:
A:/128M
B:swap 512M
D:/var 576M
E:/tmp 256M
F:/home 2G
G:/usr 6G

When you are familiar with the process, the basic system installation and configuration can be completed quickly as prompted.
After restarting the login FreeBSD system, install CVSup to upgrade the sync ports and source code under the conditions of Internet access:
#pkg_add-R Cvsup-without-gui

Then upgrade port and kernel source code:
A. Copy the Ports-supfile and Stable-supfile upgrade profiles to/etc first:
(Upgrade to stable version with Stable-supfile, upgrade to latest edition with Standard-supfile)
#cp/usr/share/examples/cvsup/ports-supfile/etc
#cp/usr/share/examples/cvsup/stable-supfile/etc
B. Edit/etc/ports-supfile configuration Good host, take off the ports-all in front of the note;
C. Edit/etc/stable-supfile configured host, take off the src-all in front of the note.
(Other configuration items refer to manuals and documentation help)
D. Upgrade ports:
#cvsup-G-L 2 Ports-supfile
E. Upgrade source code:
#cvsup-G-L 2 Stable-supfile

Then there is the recompile system (Buildworld) and the build kernel:
(Please read the/usr/src/updating if it is necessary to upgrade the system)
#cd/usr/src/sys/i386/conf
#cp GENERIC Mykernel
#ee Mykernel
(Edit the configuration kernel files, reference manuals and documentation, and try to remove some options that are not available to the system)

#cd/USR/SRC
#make Buildworld
#make Buildkernel Kernconf=mykernel
#make Installkernel Kernconf=mykernel
#reboot
Boot to Single user mode (BOOT-S)
#mount-A
#mergemaster-P
#cd/USR/SRC
#make Installworld
#mount-U/
#mergemaster
#reboot
This completes the upgrade.
(The upgrade process may take several hours to be patient.) Some of the above commands do not understand, but the installation process is still installed.
Current 1/5 page 12345 Next read the full text

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.