Install FreeBSD in VirtualBox

Source: Internet
Author: User

HOST: WinXP sp3
VirtualBox 2.2.2
FreeBSD7.1-release
 
I won't talk much about installing and using VBOX in XP. The Chinese interface is very simple and dumb. Note that VBOX only supports virtual hard disks with a fixed size not greater than 4 GB, so I will use 3.99 GB.
 
Install FreeBSD7.1-release's ISO file, which is the same as normal installation.
 
After the installation is complete, the original 3.99GB virtual hard disk is too small. We will mount another virtual hard disk in the VBOX. /Usr/ports occupies a lot of space during compilation. We mount/usr/ports to another virtual hard disk.
# Dmesg
# Mkdir/disk1
# Mount/dev/ad1s1d/disk1
# Ee/etc/fatab
 
Add
/Dev/ad1s1d/disk1 ufs rw 3 3
 
# Mkdir/disk1/usr
# Cd/disk1/usr
# Mv-I/usr/ports ./
# Ln-s/disk1/usr/ports
 
Installing FreeBSD on a virtual machine is time-consuming and resource-consuming. We use pkg_add more. Therefore, acceleration is required.
# Ee/root/. cshrc
 
Add
Setenv PACKAGESITE ftp://ftp.jp.freebsd.org/pub/Fre... 7.1-release/Latest/
Note: ftp.jp.freebsd.org is relatively new, comprehensive, and fast. Ftp.cn.freebsd.org is fast but slow. Ftp.kr.freebsd.org is also supported.
 
# Source/root/. cshrc
 
If you want to use the desktop, use xfce, Which is lighter.
# Pkg_add-r xfce4
# Cd/usr/ports/chinese/scim-pinyin/& make install clean
# Ee ~ /. Cshrc
 
Add
Setenv LANG zh_CN.eucCN
Setenv LC_CTYPE zh_CN.eucCN
Setenv XMODIFIERS @ im = SCIM
Setenv GTK_IM_MODULE scim
# Source ~ /. Cshrc
# Echo "exec/usr/local/bin/scim &"> ~ /. Xinitrc
# Echo "exec/usr/local/bin/startxfce4"> ~ /. Xinitrc
# Pkg_add-r opera
# Startx
 
Desktop culture can refer to: http://www.bkjia.com/ OS /201202/121416.html
 
How to connect a VM to a host after FreeBSD is installed:
Set => network => connection method: Bridged Adapter
 
 
As an open-source Virtual Machine System, VBOX occupies 100% of the CPU, but it is better than a VM that finds a method to crack it!
 
Despise paid software!
 
We despise open-source alternative software and force ourselves to crack paid software...

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.