Freebsd5.4release X Windows Installation notes (freebsd5.4r + gnome2.10.0)

Source: Internet
Author: User
Tags nameserver

Machine Configuration:

Core: P4 \ 1.7g

Motherboard: msi845

Memory: Kingston 256*2

Hard Disk: Max 40 GB

Graphics: ATI radeon 75 00

Display Board: Samsung syncmaster 753dfx

Sound Card: creative Sound Blaster live!

I. InstallationFreebsd5.4release

Slave. Next, I will install the software on the CD with the following options:

1. Minimize installation when selecting a software package.

2. When installing ports, select net --> CVSup to update ports.

Others are installed by default. For details, refer to: Installing.

Ii. ConfigurationFreeBSD

1. Configure/etc/rc. conf, my RC. conf:

Hostname = "gjf.jscpu.com"

Defaultrouter = "192.168.255.254"

Ifconfig_rl0 = "Inet 192.168.121.250 netmask 255.255.255.0"

Ifconfig_rl1 = "Inet 192.168.20.1 netmask 255.255.255.0"

Inetd_enable = "yes"

Linux_enable = "yes"

Moused_enable = "yes"

# Sshd_enable = "yes"

# Usbd_enable = "yes"

2. Configure/etc/resolv. conf and my resolv. conf:

Domain jscpu.com

Nameserver 221.228.255.1

Nameserver 218.2.135.1

Restart the machine.

3. Add the CD to the optical drive and install ports and SRC.

#/STAND/sysinstall

Select configure --> distributions, use the space key to select SRC and ports, click Install, and then restart the machine.

4. Enable FTP (for later file uploads)

# Cd/etc

# Ee inetd. conf

Remove the # Of the ftp stream tcp Nowait root/usr/libexec/ftpd-l line.

Save and exit.

3., UpgradePorts

# Cp/usr/share/examples/CVSup/ports-supfile/etc/funpower

# Cd/etc

# Ee funpower

Modify the following line:

Default host = cvsup2.freebsdchina.org

Run the following command:

CVSup-g-L 2 funpower

After installation, restart the machine.

Thu, Configure the Kernel File

For details about how to configure the kernel, refer to: Kernel

The specific operations are as follows:

# Cd/sys/i386/Conf

# Cp generic funpower

# Ee funpower

My Kernel File is as follows:

#

# Generic -- generic Kernel configuration file for FreeBSD/i386

#

# For more information on this file, please read the Handbook section on

# Kernel configuration files:

#

# Http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html

#

# The handbook is also available locally in/usr/share/doc/handbook

# If you 've installed the doc distribution, otherwise always see

# FreeBSD World Wide Web Server (http://www.FreeBSD.org/) for

# Latest information.

#

# An exhaustive list of options and more detailed explanations of

# Device lines is also present in the.../../CONF/notes and notes files.

# If you are in doubt as to the purpose or necessity of a line, check first

# In notes.

#

# $ FreeBSD: src/sys/i386/CONF/generic, V 1.413.2.13 2 005/04/02 16:37:58 scottl exp $

Machine i386

CPU i686_cpu

Ident funpower

# To statically compile in device wiring instead of/boot/device. Hints

# Hints "Generic. Hints" # default places to look for devices.

Options sched_4bsd # 4bsd Scheduler

Options Inet # Internetworking

Options inet6 # IPv6 communications protocols

Options FFS # Berkeley fast filesystem

Options softupdates # enable FFS soft updates support

Options ufs_acl # support for Ccess Control Lists

Options ufs_dirhash # improve performance on big Directories

Options md_root # MD is a potential root device

Options nfsclient # network filesystem Client

Options nfsserver # network filesystem Server

Options nfs_root # NFS usable as/, requires nfsclient

Options msdosfs # msdos filesystem

Options cd9660 # ISO 9660 filesystem

Options procfs # process filesystem (requires pseudo DOFs)

Options pseudo DOFs # pseudo-filesystem framework

Options geom_gpt # guid partition tables.

Options compat_43 # compatible with BSD 4.3 [Keep this!]

Options compat_freebsd4 # compatible with freebsd4

Options scsi_delay = 15 000 # delay (in MS) before probing SCSI

Options ktrace # ktrace (1) Support

Options sysvshm # sysv-style shared memory

Options sysvmsg #

# Generic -- generic Kernel configuration file for FreeBSD/i386

#

# For more information on this file, please read the Handbook section on

# Kernel configuration files:

#

# Http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html

#

# The handbook is also available locally in/usr/share/doc/handbook

# If you 've installed the doc distribution, otherwise always see

# FreeBSD World Wide Web Server (http://www.FreeBSD.org/) for

# Latest information.

#

# An exhaustive list of options and more detailed explanations of

# Device lines is also present in the.../../CONF/notes and notes files.

# If you are in doubt as to the purpose or necessity of a line, check first

# In notes.

#

# $ FreeBSD: src/sys/i386/CONF/generic, V 1.413.2.13 2 005/04/02 16:37:58 scottl exp $

Machine i386

CPU i686_cpu

Ident funpower

# To statically compile in device wiring instead of/boot/device. Hints

# Hints "Generic. Hints" # default places to look for devices.

Options sched_4bsd # 4bsd Scheduler

Options Inet # Internetworking

Options inet6 # IPv6 communications protocols

Options FFS # Berkeley fast filesystem

Options softupdates # enable FFS soft updates support

Options ufs_acl # support for Ccess Control Lists

Options ufs_dirhash # sysv-style message queues

Options sysvsem # sysv-style semaphores

Options _ kposix_pr Iority_scheduling # POSIX p1 003_1b real-time extensions

Options kbd_install_cdev # Install a cdev entry in/dev

Options ahc_reg_pretty_print # print register bitfields in debug

# Output. Adds ~ 128 K to driver.

Options ahd_reg_pretty_print # print register bitfields in debug

# Output. Adds ~ 215 K to driver.

Options adaptive_giant # Giant mutex is adaptive.

Device APIC # I/O APIC

# Bus support. Do not remove Isa, even if you have no ISA Slots

Device Isa

Device Eisa

Device PCI

# Floppy drives

# Device FDC

# ATA and atapi Devices

Device ATA

Device atadisk # ata disk drives

# Device ataraid # ata raid drives

Device atapicd # atapi CDROM drives

# Device atapifd # atapi

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.