Sectional machine upgrades,Fall into disuse come down a batch of older machines,The Sparc type that has series of a few Ultra among them,64M memory,2.1G hard disk,Solaris 9 had expressed not to bear 64m memory,Outfit Solaris 8 is disinclined to hit Patch one by one really again,What is more,the rather that,So small hard disk,Installed Solaris 8,Had done not have a space to be able to make a service,Solaris is used when workstation rise to go to the lavatory as Linux.When using Gentoo at the outset,Once had seen it have version of supportive quite a few,For instance Alpha,X86 (this the most commonly used) ,Amd64,Sparc...Favour,Sparc,It is it.
Homepage of government of Gentoo of ? ? visit,Http:/ / Www.gentoo.org.Newest 2005 version as it happens just is released,Look,This not only it is Linux of test Sparc remove theatrical makeup and costume,And the main chance that also is test Gentoo new version.Consulted on the site,The lowest with listed government asks:
Sparc system (wait to give out)
CPU supports Sparc64 CPU only
Memory 64 MB
Disk 1.5 GB (does not contain commutative partition)
Exchange is divisional at least 256 MB
? ? (notice:The commutative partition size of above,In fact OK and cut into 128M,Because fear hard disk is insufficient,When I am being installed, attempt sex ground used 128m to exchange partition only,Confirming finally is OK triumphal installation finishs.)
? ? so,The what series that the Sparc system that Gentoo supports includes Sun after all??
? ? O UltraSPARC Sbus Based Workstations: Ultra1, ultra2, ultra1 Creator, ultra2 Creator
? ? O UltraSPARC Sbus Based Servers: Netra I, enterprise 1, 2, 150
? ? O UltraSPARC Sbus Based Large Servers: Enterprise 3000, 3500, 4000, 4500, 5000, 6000, 6500, 10000
? ? O UltraSPARC PCI Based Board Computers: SPARCengine CP1400(1, 3) , CP1500(1)
? ? O UltraSPARC PCI Based Workstations: Ultra30, ultraAXe, ultraAXi, ultraAXmp, ultra5, ultra10, ultra60, ultra80, sunBlade 100, sunBlade 1000
? ? O UltraSPARC PCI Based Servers: Netra X1(2) , netra T Series(3) , fire V100, fire V120, enterprise 250, 450
? ? checks settle on to express,Our Ultra1 as it happens still ranks among them...Good,Let everybody follow day of brigade along the Sparc that enters Gentoo together.
? ? is to download the Gentoo CD of 2005 above all,Go Http://www.gentoo.org/main/en/mirrors.xml looks,Favour,The site with much N.Nearby searchs search.According to my test,The download rate in Http://mirror.gentoo.gr.jp/ is relatively good.
The cent of the CD that start of ? ? Gentoo is 2 kinds,One kind is the Mini that only 50m controls dish,Remove CD to start the action with main tool only;Additionally one kind calls Universal,Took Stage1 oneself,These Stage3 programs are wrapped.Below average case,If network environment is better,Can choose to issue Mini so dish,The function with the means highest extort that compiles in order to depend on network download immediately next,But here is to give old machine to make new dotal,good with Universal CD because of this.
? ? is in Http: / / here,Downloaded CD mirror image,Use Http://mirror.gentoo.gr.jp/releases/ then. . The Md5 yard that.2005.0.iso.md5 offers has CD desired result,Look to download correctly,Quarter dishes can undertake later.When having Md5 desired result,Can command with Md5sum below the operating system such as Linux,And the tool such as Winmd5 can be used below Win.When first time of nature predestined relationship downloads,Be with Ie direct download,The result appeared desired result is piled up not the case of be identical,It is normal that with download the tool undertakes downloading ability later,Ask everybody advertent,Use those who have a mistake otherwise dish undertake those who beset follow-up operation can comparative.
? ? favour,CD is engraved after the collection is good,Can lose CD driver in.The new Ultra 1 that start,Bolt madly by Stop+A,Hint till occurrence Ok after the symbol,Input
? ? Boot Cdrom
Symbol of clew of a Boot appears after ? ?
? ? / / Welcome To Gentoo SPARC Linux //
? ? / / ? of ? of ? of ? of Version 2005.0 of ? of ? ? ? / /
? ? Boot:
? ? is in this is direct carriage return,Can hint to,Tell to let input Gentoo-2.4 to start,Or Gentoo-2.4-smp with supporting much Cpu,To Ultra1 such old machine,Direct input Gentoo-2.4,Next carriage return.
? ? next screen one black,Wrong upper part appears a small penguin that holding the sun in the arms,Began to start the work.
? ? favour...Await,Await,Crossed 30 seconds about,Start finish,Stay in the clew symbol place of Livecd Linux# , so far,CD is started finish,We can begin to install the job.To Unix kind the operating system,Doing not have a network to be equal to is half disability,We still rise network configuration first.
? ? above all,The net card that sees a machine go up admits to deny?
A of - of ? ? #ifconfig
Link Encap:E of ? of ? of ? of ? ? Eth0Thernet ? HWaddr 08:00:20:82:C4F ?
MTU:1 of ? of UP BROADCAST RUNNING MULTICAST of ? of ? of ? ? ?500 ? Metric:1
RX Packets:4 of ? of ? of ? ? ?278 Errors:0Dropped:0Overruns:0Frame:0
TX Packets:7 of ? of ? of ? ? ?8 Errors:0Dropped:0Overruns:0Carrier:0
Collisions:0 of ? of ? of ? ? ?Txqueuelen:1000
RX Bytes:2 of ? of ? of ? ? ?TX Bytes:1 of ? of 60108 (254.0 Kb)0758 (10.5 Kb)
Interrupt:6 of ? of ? of ? ? ?4
Link Encap:E of ? of Eth1 ? ?Thernet ? HWaddr 08:00:20:82:C4F ?
MTU:1 of ? of BROADCAST MULTICAST of ? of ? of ? ? ?500 ? Metric:1
RX Packets:0 of ? of ? of ? ? ?Errors:0Dropped:0Overruns:0Frame:0
TX Packets:0 of ? of ? of ? ? ?Errors:0Dropped:0Overruns:0Carrier:0
Collisions:0 of ? of ? of ? ? ?Txqueuelen:1000
RX Bytes:0 of ? of ? of ? ? ?(TX Bytes:0 of 0.0 B) ?(0.0 B)
Interrupt:2 of ? of ? of ? ? ?24
Link Encap:L of ? of ? of Lo ? ?Ocal Loopback ?
Inet Addr:1 of ? of ? of ? ? ?27.0.0.1 ? Mask:255.0.0.0
MTU:1 of ? of UP LOOPBACK RUNNING of ? of ? of ? ? ?6436 ? Metric:1
RX Packets:0 of ? of ? of ? ? ?Errors:0Dropped:0Overruns:0Frame:0
TX Packets:0 of ? of ? of ? ? ?Errors:0Dropped:0Overruns:0Carrier:0
Collisions:0 of ? of ? of ? ? ?Txqueuelen:0
RX Bytes:0 of ? of ? of ? ? ?(TX Bytes:0 of 0.0 B) ?(0.0 B)
? ? favour,Look true quite successful,The 2 nets card that carries on Ultra1 had admitted,So,Next configuration net gets stuck.
? ? is on official specification,Such form of proposal use Netsetup Eth0 will configure,But nature predestined relationship is in solid when doing,Into selected " wired net gets stuck " ," wireless net gets stuck " over there,Choose which casually,Ok is nodded later,It is to be exited directly?!Without giving thought to,Manual still setting.
? ? favour,The Ip address that is setting net card above all,Use Ifconfig commands
Address of ? ? Ifconfig Eth0 %26lt;ip%26gt;Address of Broadcast %26lt; broadcast%26gt;Netmask %26lt; attack by surprise piles up an address%26gt;Up
? ? notices,The broadcast address here is according to attack by surprise code address calculates,Those who use Sun is general it is to compared professional net to be in charge of,These small issues need not be carried again.Additionally final Up remembers adding certainly,Otherwise net card is not be in active position.
After ? ? can Ping is the same as paragraph the machine looks,Whether already can Ping must be connected??
? ? favour,The problem that solves exit now,The exit way that adds an acquiesce namely by,Perhaps say gateway
The Ip%26gt; of gateway of ? ? Route Add Default Gw %26lt;
? ? now,If you have a server in outer net or Workstation,Can try Ping to look so,Perhaps use address of Links2 %26lt;web Ip%26gt;Will visit look, if normal,Was to add the address of Dns server next so.
W /etc/resolv.conf of - of ? ? Nano
After ? ? according to
Address of server Ip of ? ? Nameserver %26lt;dns%26gt;the format will add Dns analytic address,For instance
? ? Nameserver 202.98.96.68
? ? Nano is the editor tool that the acquiesce in Gentoo installation process uses,Very simple good with,The Edit that falls with Dos is quite similar,See the hint below about save and be being exited can,Of course,You also can use Vi (but in waiting for the setting from the back,Because be Chroot to new system,Meeting acquiesce has Nano editor only,And because our hard disk is quite small,Choose little installation software as far as possible so,Be familiar with use Nano accordingly)
? ? became good,Ctrl+x is pressed later, whether should be meeting clew saved,By Y,Carriage return saves a success.Can try to be visited with Links2 command now see a domain name analytic case.If the problem appears in afore-mentioned configuration,Can use Ifconfig and Route command to check a setting at any time.
? ? comes here,Network configuration is finished.If you follow me to feel the computer room is too cold euqally,Want to be in warm office inside the edge that drink tea is installed,So start Ssh service:
? ? #/etc/init.d/sshd Start
? ? became good,Walk out of cold computer room,Return the office in,The edge drinks tea edge to have the setup below.
Our Ultra1 on ? ? Ssh,Continue to install next
? ? now,Begin to have partition,Use Fdisk commands
? ? Fdisk /dev/sda
What ? ? uses because of Ultra1 is Scsi hard disk,Hang in the first position again,Because this facilities number is Sda
? ? plans first divisional program:
? ? according to official view,
? ? / partition is put most begin,Be less than 2g,/ Usr at least 2g,/ Var at least 1g,Still do not calculate Swap and other place to use,Our pitiful 2.1g hard disk looks was to be used not quite,Because this machine need not become what key,serve,It is trash is used only,Nature predestined relationship was trying to have a kind of simpler divisional kind.
? ? / 50M of Boot ? ? (after finish,When my Df treats partition,Discover this partition was used only 9% , accordingly although withhold a Backup,Also need only about 20~30M is enough,Everybody is in solid when doing,This divisional 30M left and right sides is OK)
? ? exchanges divisional ? 128M
? ? / ? of ? ? ? is other and all space
? ? notices:To the server character,Such divisional way says strictly is cannot take quite,Below the case with hard disk enough space,It is record Log as far as possible please,Deposit data,Deposit temporarily of the file hang carry a dot to differentiate alone area,Because hard disk is too small,the practice here is of rights and interests plan,When each friend is using this article to install program job to use a server,If hard disk space allows,Do not differentiate according to this certainly please means undertakes.
? ? next,Enter alternant interface,Can examine partition first
? ? P
? ? will be listed original partition,As a result of original outfit is Solaris 8,Divisional nature is Sun format,
? ? is caught,With
? ? D commands,Will original partition is deleted entirely
? ? inputs D,Can hint (1-8)
? ? according to the number that a moment ago P shows,Undertake deleting
? ? is deleted when all partition after,Use P to command again,Affirm had deleted end
? ? uses S order then
? ? comes out as follows to hint:
? ? Drive Type
? ? ? ? ? Auto Configure
0 ? of ? ? ? Custom (with Hardware Detected Defaults)
Quantum ProDrive 80S of ? of ? of ? ? A
Quantum ProDrive 105S of ? of ? of ? ? B
CDC Wren IV 94171-344 of ? of ? of ? ? C
IBM DPES-31080 of ? of ? of ? ? D
IBM DORS-32160 of ? of ? of ? ? E
IBM DNES-318350 of ? of ? of ? ? F
SEAGATE ST34371 of ? of ? of ? ? G
SUN0104 of ? of ? of ? ? H
SUN0207 of ? of ? of ? ? I
SUN0327 of ? of ? of ? ? J
SUN0340 of ? of ? of ? ? K
SUN0424 of ? of ? of ? ? L
SUN0535 of ? of ? of ? ? M
SUN0669 of ? of ? of ? ? N
SUN1.0G of ? of ? of ? ? O
SUN1.05 of ? of ? of ? ? P
SUN1.3G of ? of ? of ? ? Q
SUN2.1G of ? of ? of ? ? R
IOMEGA Jaz of ? of ? of ? ? S
? ? is caught below clew
? ? Select Type (? For Auto, 0 For Custom) :
? ? is here,Choice? Or R is OK,0 him settings need not be used euqally on elephantine government specification (because wait for us to be able to delete partition to come,divide by hand)
? ? favour,The system is met later allocate automatically finish,Next P looks,Generated 3 partition
? ? is caught,With D command,Will the 1st,2 divisional cutout get rid of,Withhold the 3rd partition only (must withhold oh)
? ? Command (m For Help) : D
? ? Partition Number (1-3) : 1
? ? Command (m For Help) : D
? ? Partition Number (1-3) : 2
? ? is examined with P please,Affirm have and only below group:
? ? / 0 ? of ? of ? of ? of ? of Dev/sda3 ? ? 2733 ? of ? ? 2077080 ? of ? 5 ? of ? Whole Disk
? ? became good,Begin to differentiate truly now the space that we want,It is above all / Boot is divisional
? ? uses N order
? ? Command (m For Help) : N
? ? Partition Number (1-8) : 1
? ? First Cylinder (0-8635) : (Immediate carriage return)
? ? Last Cylinder Or +size Or +sizeM Or +sizeK (0-8635, default 8635) : + 50M
? ? notices,As above face hints,Use actually here + 30M is OK
? ? is Swap exchange partition next
? ? Command (m For Help) : N
? ? Partition Number (1-8) : 2
? ? First Cylinder (64-8635) : (Input 64)
? ? Last Cylinder Or +size Or +sizeM Or +sizeK (0-8635, default 8635) : + 128M
? ? revises this partition to be Swap format then with T command
? ? Command (m For Help) : T
? ? Partition Number (1-8) : 2 (here we are to want for Swap the 2nd divisional setting,It is so 2)
? ? Hex Code (type L To List Codes) : L (the code that examines corresponding partition)
0 ? of ? ? 4 ? of ? of ? of ? of Empty ? ? 7 ? of ? of ? of ? of SunOS Usr ? 83 ? of ? of ? of SunOS Var ? ? of Linux Native ?
1 ? of ? ? 5 ? of ? of ? of ? of ? of Boot ? ? 8 ? of ? of ? of Whole Disk ? ? of ? of ? of Linux LVM of ? of 8e of ? of ? of SunOS Home ?
2 ? of ? ? 6 ? of ? of ? of SunOS Root ? 82 ? of ? of ? of SunOS Stand ? Linux Raid Auto of ? of Fd of ? of Linux Swap ?
3 ? of ? ? ? of SunOS Swap ?
? ? Hex Code (type L To List Codes) : 82 (according to the clew above,The 82 Swap that express Linux are divisional,Input so 82)
? ? Changed System Type Of Partition 2 To 82 (Linux Swap)
? ? is final,Differentiate the biggest / divisional
? ? Command (m For Help) : N
? ? Partition Number (1-8) : 4
? ? First Cylinder (228-2733) : 228
? ? Last Cylinder Or +size Or +sizeM Or +sizeK (228-2733, default 2733) : (immediate carriage return)
? ? Using Default Value 2733
? ? comes here,Differentiate end,With P the command looks
? ? Command (m For Help) : P
? ? Disk /dev/sda (Sun Disk Label) : 19 Heads, 80 Sectors, 2733 Cylinders
? ? Units = Cylinders Of 1520 * 512 Bytes
System of ? of Id of ? of Blocks ? of ? of ? of End of ? of ? of ? of ? of Start of ? of ? of ? ? Device Flag
? ? / 0 ? of ? of ? of ? of ? of Dev/sda1 ? ? 64 ? of ? ? ? 48640 ? of ? 83 ? of ? Linux Native
? ? / 64 ? of ? of ? of ? of ? of Dev/sda2 ? U 228 ? of ? ? ? 124640 ? of ? 82 ? of ? Linux Swap
? ? / 0 ? of ? of ? of ? of ? of Dev/sda3 ? ? 2733 ? of ? ? 2077080 ? of ? 5 ? of ? Whole Disk
? ? / 228 ? of ? of ? of ? of ? of Dev/sda4 ? ? 2733 ? of ? ? 1903800 ? of ? 83 ? of ? Linux Native
The operation of ? ? above,Did not write divisional the outside and the inside truly,Can operate at will so,With M the command can examine a help,Although the fault must be in a complete mess,Also can use Q command to be exited below the state that does not save directly.Plan till you satisfactory,Can use W command to keep divisional watch,So far,Partition is finished.Next,It is the format changes partition
? of ? ? Mke2fs /dev/sda1 / / the first partition (Boot is divisional) format of Ext2 of format melt into,This also is the format with acquiescent Linux
? of ? ? Mke2fs -j /dev/sda4 / / the fourth partition (Root is divisional) format of Ext3 of format melt into,Remember,As a result of the characteristic of Sparc,Our Sda3 is Whole Disk,Because this does not want to wanting chronically to have 3 partition only,Melted away Sda3 to the format accordingly.
? ? founds commutative partition
? ? Mkswap /dev/sda2
? ? can hang commutative partition now used
? ? Swapon /dev/sda2
The setting of ? ? loaded down with trivial details was finished basically,Ask brace to come next,Receive begin formally to install the job
? ? is above all we are new on Mount in the system / partition and / Boot is divisional
- T Ext3 /dev/sda4 /mnt/gentoo of ? ? Mount
? ? is above it found catalog of a Boot,Hang the first partition in order to go to the lavatory (/ Boot is divisional)
? ? Mkdir /mnt/gentoo/boot
? ? hangs the Boot partition of new system then
? ? Mount /dev/sda1 /mnt/gentoo
After ? ? is hanged,Begin to installed Stage to wrap
? ? begins from the Gentoo of 2005 version,Stage bag is decreased from 3 original kinds for 2 kinds,Had Stage1 and Stage3 only,About 2 person distinguish,Stage1 is a the smallest chemical industry has a package,After installing it,Can on the oldest rate from definition system setting,And can undertake optimizing in the light of oneself machine to the greastest extent when compile,Defect is time-consuming quite endless,The time ability setting that needs 1 week or so roughly commonly is appropriate,And Stage3 is to had compiled software package to be able to be offerred beforehand use,Of course for versatility,Compiling the respect such as parameter to be guarded quite relatively,Optimize degree insufficient.In this,What I choose is Stage3,Because hard disk is honest too small,And not necessary in Ultra1 the do sth over and over again on such old machine is too much.Be worth what carry is,Before installation,Remember using Date to command calibration time.
? ? Cd /mnt/gentoo # remembers this catalog?It is the root catalog of prospective new system
Vxjpf /mnt/cdrom/stages/stage3-sparc64-2005.0.tar.bz2 of - of ? ? Tar
Meet here a program of quite a few / setting file Cp arrives corresponding position, time can use up the ground longer,Because of what this installs remotely you can seek bit of business first busy move.
? ? favour,Copy was over after the content of Stage3,Catch even if wanted Cp Portage to wrap,The program package that Portage is Gentoo manages a mechanism,The Rpm of similar Redhat,The Ports means of Freebsd,Its advantage,Waited for you to be able to be experienced.
C /mnt/gentoo/usr of - of Vxjf /mnt/cdrom/snapshots/portage-20050303.tar.bz2 of - of ? ? Tar
Also hold out here long,The face recommends everybody to be installed remotely before place,Can look for bit of thing to come first busy,After completing this step,The day was examined along the command that use Df,/ Mnt/gentoo space is used 49%
? ? is a source file next all Cp goes, because of Gentoo compile a mechanism immediately,When compiling other software software to wrap so,May use these code
? ? Mkdir /mnt/gentoo/usr/portage/distfiles
? ? Cp /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles/
? ? this one stage is quite long also,When finish,The result of Df is / Mnt/gentoo was used 65%
A few paces above ? ? made you fast be asleep?Ok,Start work long-unseenly time arrived
? ? shows prevenient a new system is medium / the parameter of Etc/make.conf changed,Simple for,The parameter when this file installed Gcc to compile,And the Sync address that when choosing a network to install, uses and address of software package download.
W /mnt/gentoo/etc/make.conf of - of ? ? Nano
? ? adds the following finally
? ? MAKEOPTS="j2 "
? ? GENTOO_MIRRORS="http://gentoo.gg3.net/ Http://mirror.gentoo.gr.jp/ "
? ? SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage "
? ? notices,The friend of familiar Gcc parameter may plan to revise CFLAGS,CHOST,The value of CXXFLAGS,But the user that official documentation suggests to use Stage1 only is installed,What we use is Stage3,Still maintain so.
Below ? ? ,Preparation enters cough up of new operating system
- T Proc None /mnt/gentoo/proc of ? ? Mount
The mirror image that system of file of ? ? Proc is kernel information,Install and use case what can examine program of a lot of kernels immediately through it,And return can revise immediately,How?Loved dead Unix system quite with respect to this,Than the enrollment of Windows the watch should be started afresh every time / cancel become effective to go to the lavatory much...
L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf of - of ? ? Cp
? ? a moment ago installed us past of good Cp of Dns analytic file
? ? Chroot /mnt/gentoo /bin/bash
? ? Env-update
? ? Source /etc/profile
? ? above is a setting three / Mnt/gentoo catalog is a catalog,Update a system to install
? ? sets time zone then,Along time of use this locality as a result of the day,Accordingly
Sf /usr/share/zoneinfo/Asia/Chongqing /etc/localtime of - of ? ? Ln
? ? sets this locality time for Chongqing time,Also revise the time setting in Rc.conf incidentally
W /etc/rc.conf of - of ? ? Nano
? ? is revised
? ? CLOCK="UTC "
? ? is
? ? CLOCK="local "
? next,Configure a kernel namely,About configuring the article of the kernel to have everywhere,Here I mention key and different place simply
? ? is download kernel code above all
? ? Emerge Sparc-sources
Meet after ? ? download automatically and install code to arrive / below Usr/src,When I write this article,Kernel version is 2.4.29,Had done / the join of Usr/src/linux
? ? is caught even if compile a kernel
? ? Cd /usr/src/linux
? ? Make Menuconfig
? ? favour,Substantially and it doesn't matter is compiled to distinguish on X86,Draw up the place that needs to need open alertly particularly only come
? ? Code Maturity Level Options---%26gt;
? ? ? [*] Prompt For Development And/or Incomplete Code/drivers
? ? / / open is patulous the support of code,Otherwise some option cannot see at all
? ? File Systems---%26gt;
? ? ? [*] Virtual Memory File System Support (former Shm Fs)
%26lt;* of ? ? ?%26gt;Ext3 Journalling File System Support
%26lt;* of ? ? ?%26gt;Second Extended Fs Support
? ? ? [*] /proc File System Support
? ? ? [*] /dev File System Support (EXPERIMENTAL)
? ? ? [] ? ? Automatically Mount At Boot
? ? / / notice,The documentation of according to government,It is to need those who choose automatic Mount,But here I was choosing / after Dev,When be being started afresh, reported mistake,Although after my Emerge Devfsd still such,Accordingly I have only [] take out of ? ? Automatically Mount At Boot,Such word opens an opportunity to hint one warns information,But use on without hinder,Still ask other friend to show this bewilderment.
? ? Console Drivers---%26gt;
? ? Frame-buffer Support---%26gt;
? ? ? [? of ? of ? of ? of ? of ? of *] SBUS And UPA Framebuffers
? ? ? [*] Creator/Creator3D Support
? ? ? [*] CGsix (GX, turboGX) Support
? ? / / above the support that is pair of SBUS/UPA,Write down so that choose
? ? Misc Linux/SPARC Drivers---%26gt;
? ? ? [*] ? / Dev/openprom Device Support
The support to OBP is above ? ?
? SCSI Support---%26gt;
? ? SCSI Low-level Drivers---%26gt;
%26lt;* of ? ? ?%26gt;Sparc ESP Scsi Driver
%26lt;* of ? ? ?%26gt;PTI Qlogic, ISP Driver
%26lt;* of ? ? ?%26gt;SYM53C8XX Version 2 SCSI Support
? ? / / Scsi blocks support,A few kinds above are aimed at specific type severally,For the versatility of Config file,I am to choose those who went up
? ? Network Device Support---%26gt;
Ethernet (10 Or 100MBit of ? ? ? )---%26gt;
? ? %26lt;*%26gt;? of ? of ? of ? of ? of ? of ? of ? of ? of ? of Sun LANCE Support
? ? %26lt;*%26gt;Sun Happy Meal 10/100baseT Support
? ? %26lt;*%26gt;DECchip Tulip (dc21x4x) PCI Support
Ethernet (1000Mbit of ? ? ? )---%26gt;
? ? %26lt;*%26gt;Broadcom Tigon3 Support
? ? / / the net card of all sorts of model supports,Also be for versatility,I was chosen,1000m card does not have at all on Ultra1 actually,The ability on the Sun Fire here has.
? ? notices,Best compile importantly into core,And compiled other relevant parts into module to go,Ensure kernel file does not exceed 2.5M had better,Nature predestined relationship can give out finally in the article the.config document that I use,If everybody thinks lazy save after coming down,Use directly went.
? ? favour,After saving, exit,It is the kernel was compiled then...
? ? Make Dep %26amp;%26amp;Make Clean Vmlinux Image Modules Modules_install
After ? ? ...Can busy oneself thing went,Nature predestined relationship is to be compiled in the evening,The result that the 2nd day of morning goes to looking,The specific time that finish also method tells everybody,Estimation arrives in 30 minutes 2 hours.
? ? is good,Like assuming you follow me quite lucky gas,Compile smoothly finished (right now / the space was used roughly 78% the left and right sides,Breathe out ah)
? ? is caught even if go to core file Cp / Boot partition goes
? ? Cp Arch/sparc64/boot/image /boot/kernel-2.4.9
? ? Cp System.map /boot
? ? configures a file also a Cp loses the past
? ? Cp.config /boot/config-2.4.29 /boot
? ? to here,The kernel is compiled finished,The configuration system that is finally then was installed
? ? is a setting above all / Etc/fstab file,After Linux system,It is this file comes to the basis of to load partition
? ? my setting is as follows (annotate already take out) :
? ? Ultra1 Root # Cat /etc/fstab
? ? / ? of ? of ? of ? of Dev/sda1 ? ? / ? of ? of Ext2 of Boot ? ? Defaults, 1 2 of Noatime ? ?
To load of ? ? # / Boot is divisional,Use Ext2 format,And do not record the access time to the file (decrease keep a number)
? ? / ? of ? of ? of ? of Dev/sda4 ? ? / 0 1 of ? of ? of ? of ? of Noatime of ? of ? of Ext3 of ? of ? ? ?
To load of ? ? # / divisional,Ext3 format,Do not record the access time to the file
? ? / 0 0 of ? of ? of ? of ? of Sw of ? of ? of Swap of ? of ? of None of ? of ? of ? of ? of Dev/sda2 ? ?
? ? # exchanges partition
? ? / Dev/cdroms/cdrom0 ? / Noauto of ? of ? of Mnt/cdrom ? Iso9660, 0 0 of User ? ?
To load of ? ? #cdrom,Non-automati to load
? of ? of ? of ? of ? ? #/dev/fd0 / 0 0 of ? of ? of ? of ? of ? of Noauto ? of ? of ? of ? of Mnt/floppy ? Auto
Soft drive of ? ? # ,When compiling a kernel as a result of me take out to the support of soft drive,Go this so screen
? of ? of ? of ? of ? of ? of ? of ? ? None / 0 0 of ? of ? of ? of ? of Defaults ? of ? of ? of ? of Proc of ? of ? of Proc ? ?
Divisional to load of ? ? #proc,Mentioned before its action
? of ? of ? of ? of ? of ? of ? of ? ? None / 0 0 of ? of ? of ? of ? of Defaults ? of ? of ? of ? of Tmpfs of Dev/shm ? ?
? ? # uses memory + hard disk is fictitious give an area to deposit a file,Tmpfs format
? of ? of ? of ? of ? of ? of ? of ? ? None / 0 0 of ? of Defaults ? of ? of ? of Proc/openprom ? Openpromfs
This row Sparc system must add ? ? #
I did not add here of ? ? # the support of Usb,Because prohibited in my kernel the relevant module of Usb
In above travel,It is Defaults,is not Default,Nature him predestined relationship was missed a few times,Remind everybody to take care oh.
? ? installs leader name next
? ? Echo Ultra1%26gt;/ Etc/hostname
? ? installs the name of this region then
? ? Echo Xx.edu.cn%26gt;/ Etc/dnsdomainname
If ? ? uses Nis,Install Nis Domain even
? ? Echo Nis.xxx%26gt;/ Etc/nisdomainname
? ? adds Domainname switch on the mobile phone start in
? ? Rc-update Add Domainname Default
? ? Rc-update has Add commonly usedly commonly, del, - S a few option,Can be opposite / whether does the script choice that exists below Etc/init.d/ add the level that start (Boot or in Default,Boot part is earlier than Default phase)
? ? is setting network next
? ? notices to remind one a little bit,When be being installed with Stage3 means,Had installed Ifconfig to command,And if be Stage1,Need to download Emerge Net-tools,Because command and cannot use a network without Ifconfig,be met
W /etc/conf.d/net of - of ? ? Nano
The specification of ? ? this file is very clear,What nature predestined relationship uses is fixed Ip means,So configuration is as follows
Attack by surprise of my Netmask of address of broadcast of Ip address Broadcast piles up ? ? Iface_eth0=" "
Ip of gateway of ? ? Gateway="eth0/ "
? ? commands with Rc-update moment of machine of get out of the way carries out the script that the net that start blocks likewise then
? ? Rc-update Add Net.eth0 Default
? ? is passed next revise / Etc/hosts changes leader name
W /etc/hosts of - of ? ? Nano
? ? 127.0.0.1 Localhost Ultra1
? ? revises safe setting,Allow Root to be landed directly
W /etc/securetty of - of ? ? Nano
? ? Echo ' Tts/0 ' %26gt;%26gt;/ Etc/securetty
The ending with ? final ? works even if serve tool of record of systematic daily record and Crond, archives index serves tool mount
? ? installs log tool
? ? Emerge Syslog-ng
? ? Rc-update Add Syslog-ng Default
? ? installs Cron service
? ? Emerge Vixie-cron
? ? Rc-update Add Vixie-cron Default
? ? installs archives index service
? ? Emerge Slocate
Last pace of ? ? ,Be installation guiding switch on the mobile phone program,Silo,Its full name is Sparc Imporved Boot Loader, with Lilo or the action of Grub very elephant
? ? Emerge Silo
? ? installs option next,I am according to the habit of Grub,configuration the file was put / Boot area
W /boot/silo.conf of - of ? ? Nano
? ? # Example Of How Can Be Silo.conf Set Up
It is here / the divisional date of Boot partition
It is here / divisional position
Latency time of ? ? Timeout = 10 # ,Notice what be an unit with 0.1 seconds
Password of ? ? #password = __# ,Here did not want
? ? #restricted
? ? Image = /boot/kernel-2.4.29 # guides the position of the file
Name of title of Label = Linux # of ? of ? ? ?
? ? lets configure become effective then
? ? / C /boot/silo.conf of Sbin/silo -
? ? exits Chroot environment finally,Prepare to be started afresh
? ? Exit
? ? Cd /
? ? Sync
? ? Umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo
? ? Reboot
The hour with ? stirring ? came eventually,If you are not had all the way by accident,Can start a server successfully so,If have by accident,So please according to clew,After be being started with CD next,Enter Chroot environment reentry to be revised all right.
? ? is adscript:According to be opposite to Linux ground of Sparc system support is examined,Discover to the high-end series such as Fire,To T3 memory,And had had pretty good effect to the support of Lvc,If each net canal friend is certain a few services that moment needs to fall in the light of Linux,The end in can trying to be in is debugged on the server look.
I compile ? ? final attach the.config document that the kernel uses,Can use in the test below Ultra1 only,Other series checks without passing.
...