Hard disk Installation freebsd6.2 notes (reprint)

Source: Internet
Author: User
Determined to install a freebsd6.2!
Do not upgrade from 6.0, worry about making world error, completely reload.
Worst of all, there is no empty burning disk around, so you can only install the hard disk.
This is my first time to install the FreeBSD from the hard drive, endure. Make a note, afraid of later to be installed when forgotten.

-----------------------
1, the preparation stage
1.1 System installation Image
To www.freebsd.org official net to go down, or the campus FTP can, find 6.2release version of.

1.2 Isoemu
Google search, download this isoemu.
This software is used to load the ISO image when the machine is started.
That is, before the Windows logo appears, a Multiple system boot menu appears and then goes into the bootable disc image that is loaded.
The specific configuration method is very simple, download the Isoemu, the description file to see a glance.

1.3 Copy font files from windows
Major copies of these three fonts:
SIMSUN.TTC (XXFarEastFont-Arial), Simhei.ttf (blackbody), Tohoma.ttf (italics).
Copy to u disk or put on the internet, after installing good FreeBSD and then download.

1.4 Copy the wireless card driver files from Windows
It is mainly two documents:
W22n51.sys and W22n51.inf

2, install the kernel
2.1 Boot-only mirroring of FreeBSD guided by Isoemu
That's the twenty or thirty-megabyte mirror. Why not direct with DISC1.
I have tried, with DISC1 guide, will crash. Perhaps the mirror is too big, the specific reason is not clear. Whatever it is, boot with boot-only mirroring.

2.2 Start installing the kernel
In front of the installation industry, the network cable plugged in (because to be from the Internet under the Dongdong Oh, and the request is through the router to the Internet Oh. )
Start installation, partition, then choose to install from FTP, the site selected Taiwan, relatively fast.
The next distribute is to select the minimized installation.
。。。
Wait, about 1 hours later, ask if you want to install Linux base, choose No. and then reboot.

3, 7788 Configuration
3.1 Distributions all Loaded
Mount the DISC1 from the removable hard drive, as follows:
Mdconfig-a-T vnode-f xxx.iso-u 1
Mount_cd9660/dev/md1/mnt/disc1
(Xxx.iso is the DISC1 file name,/MNT/DISC1 is the destination folder to be mounted, the folder must already exist)
Enter the configured interface with the Sysinstall command.
Choose Configure.
Then choose Distributions and choose All.
(I'm going to use it for development, for learning, for all the choices)

3.2 Configure wireless Internet access
1 Enter/sys/modules/ndis and make it.
(NDIS is.) Because many device manufacturers are stingy and don't want to open source, their product drivers have no Linux version. This NDIS is used to convert Windows drivers to Linux versions. )

2 Run Ndisgen, select 3, and then follow the wizard to transform the driver under Windows into a Linux version.
The result of the conversion is a file with a. ko suffix.

3 the resulting. ko file is named Wless.ko and then copied to the/boot/kernel directory.

4) Modify the/boot/defaults/loader.conf file, add these two sentences:
Wless_load= "YES"
Wlan_wep_load= "YES"

5) Modify/etc/rc.conf file, write on:
defaultrouter=192.168.0.1
Network_interfaces=ndis0
ifconfig_ndis0= "inet 192.168.0.xxx netmask 255.255.255.0 ssid xxx nwkey xxxxx"

Among them, the inet behind the machine is the ip,ssid of the router Id,nwkey is the password of the wireless network.
(This step is to make wireless Internet access every time you start)

6 If you want to test the configuration is not good, you can kldload wless to see whether the wireless led light.
or enter:
Ifconfig ndis0 inet 192.168.0.xxx netmask 255.255.255.0 SSID xxx nwkey xxxxx up
When you enter a large string, you will generally be able to surf the Internet.

3.3 Configuring localization and Input methods
Install FCITX, this is a useful input method.
There are 2 different ways to install:
1) Port Installation
2) Package Installation
Specific use of what way, personal preferences pull.

The default is the CSH shell.
Create a new. cshrc file in the root directory and enter the following:
Setenv Lc_all ZH_CN.EUCCN
Setenv LANG ZH_CN.EUCCN
Setenv lc_ctype ZH_CN.EUCCN
setenv xmodifiers @im = ' Fcitx '

3.4/etc/make.conf
This is for Port service, I wrote briefly:
perl_ver=5.8.8
perl_version=5.8.8
Fetch_cmd=/usr/local/bin/axel-n 3-a
master_site_backup?=
ftp://ftp.tw.freebsd.org/pub/freebsd/ports/distfiles/${dist_subdir}/
ftp://ftp.cn.freebsd.org/pub/freebsd/ports/distfiles/${dist_subdir}/
ftp://ftp.freebsdchina.org/pub/freebsd/ports/distfiles/${dist_subdir}/
ftp://ftp.freebsd.org/pub/freebsd/ports/distfiles/${dist_subdir}/

3.5 Desktop Installation
To get lazy, put a gnome in first.

3.6 Other Use Programs
1) on the Bbs--pcmanx, this is written by Taiwanese, on the BIG5 code support is certainly good; GB2312 code is also very supportive.
2) on Web--firefox, standard.
3 Chat--gaim, but also to install Gaim-openq, so that open a program, at the same time open MSN and QQ, multiple account login at the same time, unified management.
4 See a piece of--kaffine, omnipotent watch, a good can see RMVB format, do not install RealPlayer.
5 Listen to the song--mpg123, theoretically kaffine also can listen to music, and most people also use is XMMS. But I think this CLI interface mpg123 also very easy to use, exquisite.
6 Courseware--openoffice2.0, no way, courseware are PPT, there are a large number of Word documents, installed a OpenOffice and use.
7) pdf--acroread7.0, Standard.
8 dictionary--startdict, easy to use English-Chinese dictionary.
9 Mail--thunderbird, standard.
10 News group--SLRN, Standard.
11 Image processing--gimp, standard.
Java programming--diablo, through this link to download the http://www.freebsdfoundation.org/downloads/java.shtml, one-step.
13 text editor--vim, with a 7.0, for Chinese support super good. My words are the first to be knocked Down Under the vim7.0. Used to use 6.0 of the time, often appear half of Chinese characters.
) Ftp--lftp, Standard.
15) Download--wget, standard.
-----------------------
That's basically it, it's a messy writing:

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.