Feed on
Subscription

Begin to undertake optimizing to Ubuntu from the beginning



In the beginning of installing Linux system,Should consider how to make Linux system obtains best property.It is OK that Linux itself also is designed good and patulous configuration,It is for instance in Linux system,We can organize disk partition follow one's inclinationsly,Some friends like / ,A Swap is done calm,The choice that actually this is not special science,Oneself are in for many times after reshipment,Sum up a few experience,With everybody the friend is shared,If have wrong place,Be sure to offer criticism please.

The first part is only the computer of a piece of hard disk installs Linux

I go up in forum optimize preliminary had carried in one article,Linux also is have disk fragment,So to reduce a fragment,The list that often should change content is put in alone partition.An optimized partition is politic,The performance that can improve Linux system well,Reduce disk fragment,Increase disk I/O capacity.From the angle consideration of convenient backup data,The efficiency that because tool of a lot of backup is right whole partition has backing up is very tall,So we should regard alone file as the system a few of Linux system main catalog,Allocate an area severally for them.
Simple introduction falls here,A few important catalog,When the hard disk that these a few catalog install in Ubuntu is divisional,The special partition of optional choose sex,Undertake hanging carrying.
/ the document that does not alter commonly in system of Usr file,Like the library,Program.
/ the file that system of Var file includes meeting change.
/ system of Home file includes user home list,Namely all and real data on the system.
/ Tmp temporarily file.
/ Usr/local this is provide average user / Usr catalog,In this installation software suits most.
/ after a few services of Srv start,The data of need is put here.
/ Opt a few large orders,Installation is here,Convenient managing.
/ root catalog,Those who do not have what to say.
My proposal is above all catalog are alone in the partition on hard disk,If want to ask why,I can cite a case.
For instance LumaQQ,This software,We can install him in / below Opt,Such if we need to reinstall systematic word,Can choose not the format is changed / Opt,And ~/.lumaqq below this folder backup,Install good system afresh when us so,Again / Opt is hanged had carried,Need a.lumaqq only this folder is put below ~ ,Configure good Java,Run a command:

...

On Thinkpad installation Ubuntu takes notes



Machine configuration

Lenovo/IBM Thinkpad T43 266871U:
Set of chip of Intel Pentium M(Dothan) 760 2.0GHz / Intel 915PM / memory of 512M DDR2 533MHz (I added 1G) / ATI Mobility Radeon X300 / 14.1" TFT divides hard disk of screen 1400x1050 / 80G SATA high / 24x24x24x/8x health treasure / Intel 802.11a/b/g wireless net gets stuck / blue tooth / thousand million net gets stuck / dactylogram identifying

Linux and Laptop

Say from the angle of jotter,The IBM support to Linux all the time pretty good,And issue from Linux tell on the angle of edition,Although I am trashy too too much version,But after Ubuntu installs a success,Need not the shortcut key such as any Fn+F2 that configure a machine, Fn+F3 and hang the frequency of memory, Speed By Step that hangs hard disk and CPU self-adjusting can work normally,Of the such support that believes every such is opposite to be able to resemble Ubuntu issue edition estimation not much (perhaps be me experience is too little,But after how Ubuntu is over you discover jotter the function of 95% above had not expended the regular job of any effort,You can thank the people in Ubuntu community to be these very much convenient paid effort.)

Divisional

When leaving factory as a result of Thinkpad, had taken up one conceals partition to do HPA,And there can be four at most on a hard disk advocate divisional,Expand partition still is occupied among them went a portion,Because this choice of divisional program gets one a little bit,restrict.My divisional means is as follows:


...

SysV and BSD start the comparison of the style



The distinction of the script of the Slackware script that start and System V that start wheres?
Author:Kkeller
Interpreter:Windrose
Slackware version:Slackware 7.0 reachs above
Write at:2002-6-24

good,It is a long story.Not call of character not beforehand also.

The Init script of style of Slackware use BSD,And a lot of other issue edition the Init script of style of use System V.SysV and BSD script are to be able to let what the person understands,Namely they are Shell script,is not the program that already compiled.Main distinction depends on script is how design.

The parameter that SysV script apt accepts and so on of such as Start, Stop, Restart,Decide according to the program that it starts.So you can be used / such command of Etc/init.d/bind Start will start BIND,Use / Etc/init.d/bind Stop will stop BIND.

Of SysV start return apt to use symbolic catenary fetch to organize the course that start,Be in for example / in Etc/rc.d/rc.4/ ,The various signs that may have the true scenario in pointing to other table of contents are linked.The command of these links can resemble is and so on of S10network, S25xdm,Among them S expresses to start (Start) serves this (if be K,Express Kill) ,And the order that the number assigned script to carry out.

The main good point of the starting script of SysV style depends on can installing automatic configuration a lot of things.For example,If you enter Runlevel 6,You can build a link to call K75bind to stop BIND,Premise is to link the file that points to to had been installed will do this thing.

The main drawback of SysV style script is too too curved turn is circled.If I want to add a service,The script that I want to write style of a SysV first (not be easy thing) ,It should be handled at least " Start " (have possibly still " Stop " ) .Next,I must ensure to good sign is installed correctly to link in the Runlevel that should run this service in every.If apropos this service need moves between two script in already serial number,The work that I need to do a few pairs of symbols to link new number (for example,S10xxx and S11yyy had existed,And I want to let Zzzz move between them,Before I am opposite with respect to need one of both weighing new build symbolic link to squeeze Zzzz go in) .

The thing that the starting course that wants to change SysV temporarily also is special anguish.If I do not want to carry when be started next time,travel Xxx serves,The simplest way is to delete S10xxx this link,It is difficult to do not calculate?But if I want to be in every Runlevel take out it,I need to delete S10xxx from inside every concerned catalog this link.Next,If I changed a mind,Want to run Xxx afresh,I need to build all symbols to link afresh by hand.

This appearance is to be in undoubtedly already the pile one bed upon another or build one house on top of another on the very complex process that start,And Slackware is won't so do:Its starting script with BSD style.

The script of BSD style is direct the Shell script that become,Their apt order moves,And do not need Start or parameter of Stop and so on.The Runlevel that wanted a system to enter them only can be carried out,So simple.

The main drawback of BSD style is you need a few other methods to control tiring-room to serve.For example,If I want to stop BIND,I should use command Ps Ax first | The PID that Grep Named finds out Named,Next this PID(perhaps uses Kill the file name of this Pid) .But me cannot simple underground command / Etc/init.d/bind Stop (had written a such SysV script except nonego) .

The main good point of BSD style script is them be read very easily and edit.For example,If I want to increase Zzzz of a service,I can be in / group adds in Etc/rd.d/rc.local / Usr/local/bin/zzzz,Want the Runlevel that is executive Rc.local only so,Zzzz can move subsequently.If I want to carry out Zzzz in Runlevel 4 only,I can put it in / Etc/rc.d/rc.4 (is not catalog,However a script) in.If I want to change executive order,I should put Zzzz between proper service only,Most editor supports in text is inserted among the file (calculate Ed to support) .Still have,You can suspend a service with the means of annotate,Next take out annotate makes it new move.

Because of this,Issue when majority edition when using SysV style,Slackware used BSD style.To a lot of Slackware users,The uses a gender easily to surpass SysV style powerful function of BSD style.Of course,The opinion that you can have yourself.

As contrary as general point of view,Turn from a kind of style another kind not so difficult,Want to copy Inittab and Rc file to another system from a system only can.Init program oneself was not changed,Alleged " style " be the setting in the script that calls in Inittab and it more.

Interpret is noted:Now Slackware to enhance compatibility,In / Etc/rc.d/ offerred Rc.sysvinit scenario in order to suit certain the need of the commercial program that is based on SysV to start a process.Additional,In a lot of scenario that set a service,Also accept Start, Stop, Restart this kind of parameter,For example Rc.sendmail, Rc.sshd.

...

Make the kernel that suits him Slackware machine



The kernel source that provides with Slackware government and foot make the kernel that suits him machine originally


Present machine configuration is taller and taller,A small jotter,Also can go up possibly to 2G memory,Additional the application of the server,Often use old memory,From the point of the circumstance of practice,Slackware uses acquiescent kernel is do not bear old memory,Highest support 800 much M,1G is less than the likelihood.Additionally Slackware also does not support much CPU below acquiescent circumstance,If you have the machine of much CPU,Also should compile a kernel;

The machine that allows Slackware to support 1G to perhaps exceed 1G memory,Settle way actually very simple also.Should compile a kernel afresh,It is good to let its support 4G.If have,have those who exceed 4G of course,Can choose 64G that.

The machine that allows Slackware to support much CPU,No more than is he lets support SMP when configuring a kernel,It is this [option of *] Symmetric Multi-processing Support;


If if why be solved,still be no good why,say only,If an article did not operate example,Novice brothers is read rising is difficult really.The article that I write is those who keep a new hand,The article new hand that I always fear to I am written looks not to understand,To old bird another article nots worth;If be novice brothers really,look not to understand,Veteran undeserved look,The thing that I see me write is worthless.When accordingly I write a thing can detailed detailed,Had better be to be written the first time the brothers that uses Linux saw the documentation that I write,Also can one pace reachs the designated position finish.


The article suits:First primary novice


In Slackware system most the method that saves effort to compile a kernel,It is to use the official natural resources with existing Slackware to undertake compiling,The software of other encounters a problem,If the government of Slackware has resource,We can use this kind to settle way likewise;

Download directly from Http://www.kernel.org after all,Oneself configure a kernel or work hard a bit.If be the brothers of Linux of begin to learn,the likelihood wants a flower to be configured very for long,But unwarrantable still success.So we for the epigone of these Slack,Should make full use of the resource of Slackware.

The brother that the kernel compiles experience knows,If had been made up hind,Compile a success,Should save.config file come down,So that next time to solve a few little problems,New-model is same the kernel of version and with;

Believe Slackware,The official natural resources that believes Slacware;Can allow our get half the result with twice the effort so,Be opposite especially the brothers of Slackware of begin to learn.Actually the kernel of Slackware is updated is not too active,The tradition of this and Slackware (safe) about.Actually general situation falls,The kernel that we have to be stabilized quite is enough with,If not be to solve specific problem,We were not necessary to upgrade all the day come to those who go to upgrade.When I write the article,The kernel version of Slackware 10.1 is 2.4.29;And Current (develop version namely) Test kernel is 2.6.12.3.By besides issue this to look Slackware is not to chase after new a group of things with common features,Be give priority to with safety and stability;


The advantage that in the article we show the official resource that uses Slackware briefly with the Test kernel of the Current of Slackware,And the problem that also solves old memory support incidentally;



One, the source of the Testing kernel that downloads official Current;
Address:Http://www.slackware.com/getslack/
Look for a mirror from the address above,Of the United States below general situation and Japan want a bit faster;

The source catalog of the kernel Linux-2.6.12.3 that for instance we get Testing through the address below;Ftp://slackware.mirrors.tds.net/pub/ . . .inux-2.6.12.3/

We should download all things inside him come down,The installation that Slackware place offers us is wrapped even if compile through these files generate;The person has written configuration file and script,We did not need otherwise is used;


The catalog structure that for instance all Linux-2.6.12.3 files in our FTP mirror offer by his FTP is deposited be in / in Usr/src/kernel26;

Download became good,We are entered next;

Two, the kernel that the Config document that uses Slackware government to offer will come to configure his simply configures file.config;

1. solution controls kernel and job of a few foundations;
Bash-3.00# Pwd
/ Usr/src/kernel26Bash-3.00# LsConfig-2.6.12.3 Kernel-generic Linux-2.6.12.3.tar.bz2.signKernel-modules Linux-2.6.12.3.tar.bz2
Bash-3.00#tar Jxvf Linux-2.6.12.3.tar.bz2Bash-3.00# Mv Linux-2.6.12.3. . In moving catalog of kernel of solution pressing hand to catalog of on one class,Namely / in Usr/srcBash-3.00# Cd. .
Bash-3.00# LsKernel26 Linux-2.4.29 Linux-2.6.12.3.tar.bz2 Speakup-2.4.29Linux Linux-2.6.12.3 Rpm
Bash-3.00#cd Linux-2.6.12.3Bash-3.00# Pwd
/ Usr/src/linux-2.6.12.3
Bash-3.00# Cp. . / Kernel26/config-2.6.12.3. Duplicate kernel configuration file to Linux-2.6.12.3 of current job catalogBash-3.00#cp Config-2.6.12.3.config duplicates Config-2.6.12.3 for.config

The configuration kernel with brief 2. ;
The configuration mode that Bash-3.00#make Menuconfig enters configuration kernel;

Kernel configuration has two kinds of methods,One kind is direct buy enters a kernel;Another kind is to make up module;Two kinds of methods have an advantage each;Of kernel of direct be classified,For instance of equipment start,Needed this one course of to load module no longer;And compile module,The module that the kernel that needs to load facility supports;But enroll all things the kernel also is not feasible directly,Kernel bulk can greaten,Systematic load also is met overweight.When we make up a kernel best a very important be classified kernel;Of other if you are unidentified white,Had better use acquiesce.The kernel configuration file of Slackware is best tutorial;

1] mobile clavier,Pitch on Load An Alternate Configuration File,Come in.config attune convenient we are configured;Because this configuration file is Slackware,had configured,We just are revised slightly go.

The problem that 2] exists in the light of him machine undertakes modification;The issue that the old memory that for instance we mention in preamble place supports;

The CPU that chooses him machine;

Mobile clavier arrives Processor Type And Features---%26gt;,Enter by ENTER next;
Find Processor Family (486)---%26gt;Enter by ENTER;

The model that after entering, we discover a lot of CPU is optional;The foundation wants below general situationThe information that Bash-3.00# Cat /proc/cpuinfo exports will choose,For instance ours is Celeron (P4) of generation,Should choose as follows,Acquiescent of course 486 also be OK move normally,Since our new-model kernel,Have to of model of pitch on correspondence,Perhaps function rises somewhat;

Processor Family (Pentium-4/Celeron(P4-based)/Pentium-4 M/Xeon)

Support old memory;If memory is 1G or 1G above,But those who be less than 4G,Be about to choose 4G to support;If exceed 4G,The support that should pick 64G;


High Memory Support (4GB)---%26gt;

(X) 4GB
() 64GB


Still have for instance sound gets stuck wait for hardware,Need us step by step examine;If have unidentified place,Be about to press [Shift]+ ?assorted key will examine a specification.Below general situation,The Config file of Slackware is early had configured,It is OK to need us to be examined only.

Cite a case again:The acoustical card that for instance I use now is Intel Ac97,How should be I configured?

The chip set that should know oneself sound gets stuck above all,We should be examined through Lspci -v;Bash-3.00# Lspci -v

Examine card only,The method that should use as follows:Bash-3.00# Lspci -v | Grep Audio
00:1F.5 Multimedia Audio Controller: Intel Corp. 82801DB (ICH4) AC'97 Audio Controller (rev 03)

Through the output above,What we know this machine is used is card of Intel AC97 sound;So we want special attention the configuration of AC97;


Find Device Drivers---%26gt;Sound---%26gt;
%26lt;M%26gt;The support that sound of Sound Card Support blocks,This is must of pitch on;
%26lt;M%26gt;The support of the ALSA drive that Advanced Linux Sound Architecture supports acoustical card;There is OSS drive below,Just partially.The drive that if want,uses OSS is more entire,Can go buying;Of other choose with respect to what look as follows;
%26lt;M%26gt;Sequencer Support
%26lt;M%26gt;Sequencer Dummy Client
%26lt;M%26gt;OSS Mixer API
%26lt;M%26gt;OSS PCM (digital Audio) API [*] OSS Sequencer API
%26lt;M%26gt;RTC Timer Support [*] Verbose Printk
[] Debug


Next we again oversee has
Generic Devices---%26gt;Enter inside
%26lt;M%26gt;Dummy (/dev/null) Soundcard
%26lt;M%26gt;Virtual MIDI Soundcard
%26lt;M%26gt;MOTU MidiTimePiece AV Multiport MIDI
%26lt;M%26gt;UART16550 Serial MIDI Driver
%26lt;M%26gt;Generic MPU-401 UART Driver
ISA Devices---%26gt;If you use ISA sound to get stuck to be here,the face is chosen;
PCI Devices---%26gt;If you use PCI sound to get stuck,Be here the face is chosen,Compositive sound card also is here;
USB Devices---%26gt;This is option of support of kernel of USB sound card;I have a such sound to get stuck,But had not tried;
PCMCIA Devices---%26gt;The option that this is PCMCIA sound card,I had not seen such sound get stuck;If you have,Be here the face is moved start work.

What use because of me is the acoustical card with compositive Intel,Should choose in PCI so,We are in in can see those who two are concerned with INTEL;

%26lt;M%26gt;Intel/SiS/nVidia/AMD/ALi AC97 Controller just is card of Intel AC97 sound this;
%26lt;%26gt;Of the buzzer that Intel/SiS/nVidia/AMD MC97 Modem (EXPERIMENTAL) is the INTEL cat with compositive machine this;

Because if also choose the drive of feline buzzer,I discover,go up,The likelihood creates two conflict.Can choose only so above that;


We return Open Sound System again---%26gt;Look in,The acoustical card that uses with me concerns?
%26lt;M%26gt;Open Sound System (DEPRECATED)
%26lt;M%26gt;Intel ICH (i8xx) Audio Support
%26lt;M%26gt;OSS Sound Modules
%26lt;M%26gt;Loopback MIDI Device Support
%26lt;M%26gt;Microsoft Sound System Support

The sound that we also can see there also is a lot of in Open Sound System blocks drive,Everybody chooses according to the Lspci -v in front.


The support of the file system that 3] uses to operating system place wants be classified kernel,Had better not make up module;(important)

File Systems---%26gt;
%26lt;*%26gt;Reiserfs Support

What the file system that for instance my Slackware place uses uses is Reiserfs,So I should enroll it directly kernel;Advantage is not to suffer module is lost or damage and cannot start a system;And sometimes the file system that you use systematic place compiles module,Occurrence VFS mistake,The thing that also has this side,The likelihood is you in the configuration file that did not join Reiserfs to corresponding to load module,So we are bothered to decrease,Fall the risk to lowest,Still want direct buy to enter inside of the model good;


If you return the hard disk partition that has other to want to read,take,It is Ext3, Ext2, Fat, Fat32, Ntfs for instance wait,Such can make up module to support;


Lift again:If your the file system that what the operating system uses is Ext3,Be about of course the kernel of direct be classified of Ext3,Of other can make up module to supported;


4] to the support of hard disk and RAID,Want kernel of direct be classified;

The support of ATA, SATA, SCSI and RAID is for instance direct the kernel supports;After making up a kernel sometimes,Hard disk and RAID cannot identify when starting,Large much issue goes here;Module is had a plenty of to support in this respect in Slackware,We can change it into %26lt;*%26gt; to support by %26lt;M%26gt; ;

The equipment that 5] does not have to us,Can not choose in the kernel,Skill comes from practice stopped;

For instance I do not have ISDN equipment,So ISDN take out;
ISDN Subsystem---%26gt;
%26lt;%26gt;Linux Telephony Support


If you do not have the equipment of 1394,OK of course a support of 1394 also take out;
Etc.......


Kernel configuration says so much,too much,I also say to not be clear about,The level is finite ah;

Want to save first after configuration is good

Save Configuration To An Alternate File

Come out

Enter A Filename To Which This Configuration,Should Be Saved As An Alternate. Leave Blank To Abort.
.config

Went by carriage return,Saved so;


Exit next%26lt;Exit%26gt;,Also can appear at this moment save;


If you want to save.config,rise,Can duplicate again to safety catalog of a bit,Use with equipment hind;

3] compile a kernel
Bash-3.00# MakeBash-3.00# Make Modules_install

Had compiled so,Also install module in / Lib/modules catalog became medium,Look please:
Bash-3.00# Ls /lib/modules/
2.4.29 2.6.12.3

We got installation kernel now,But we also were not necessary urgent installation,The scenario that we can offer with Slackware will bale, be installed next again,Such moving except convenient also,Right incorrect?

The scenario that 4] offers with Slackware bales for kernel and Moudules;

We had said in front,All things below the catalog that gets on Linux-2.6.12.3 in the mirror carry come down.So we should use these things.I downloaded all things in front / in Usr/src/kernel26 catalog.

The scenario that so we should offer with him bales;
Bash-3.00# Cd /usr/src/kernel26/Bash-3.00# LsConfig-2.6.12.3 Kernel-generic Kernel-modules Linux-2.6.12.3.tar.bz2 Linux-2.6.12.3.tar.bz2.sign
A) above all we bale for the kernel:Run following commands please:
Bash-3.00# Bash-3.00# Cp Kernel-generic/slack-desc.

We want a Kernel-generic/slack-desc answer in making current operation list,It is file of a specification only;Do not duplicate to also go;It is oneself anyway with,Also not be to give what others uses;

Bash-3.00# Sh Kernel-generic/kernel-generic.SlackBuild

What is output?
Kernel-generic/kernel-generic.SlackBuild: Line 33: [: Too Many Arguments
Building Kernel-generic-2.6.12.3-i486-1.tgzUsing These Source Files. Please Check And Then HitEnter To Make The Package.

KERNEL = /usr/src/linux-2.6.12.3/arch/i386/boot/bzImage
SYSMAP = /usr/src/linux-2.6.12.3/System.map
CONFIG = /usr/src/linux-2.6.12.3/.config

Saw,The configuration document that we use is in / Usr/src/linux-2.6.12.3/.config;Press carriage return next;

Notice:If you bale script Kernel-generic.SlackBuild duplicated / Usr/src/linux-2.6.12.3,Be in / it is carried out in Usr/src/linux-2.6.12.3,The configuration document that clew uses is CONFIG = /usr/src/linux-2.6.12.3/config* ,Should value so.Actually we may not configure this file,It is Slackware primitive take oneself,We had said in front,The file that we configure is.config;Unless you have. Config is put additionally for Config-2.6.12.3.

If want to configure good kernel file with us,Should enter kernel source list,Copy.config the name is Config-2.6.12.3;

B) next we should bale for the module of the kernel;
Bash-3.00# Sh Kernel-modules/kernel-modules.SlackBuild


We had made the package,Where are they after all?
Be in / in Tmp catalog,Look as follows please:
Bash-3.00# Ls -lh /tmp/kernel-*
- Rw-r- - R- - 1 Root Root 1.9M 2005-08-06 11:59 /tmp/kernel-generic-2.6.12.3-i486-1.tgz
- Rw-r- - R- - 1 Root Root 11M 2005-08-06 12:13 /tmp/kernel-modules-2.6.12.3-i486-1.tgz

The kernel that 3. installation has compiled and module.

We actually already the module that has compiled early good with respect to installation,But we had better be reinstalled.Such uninstalling convenient also.
Bash-3.00#cd /tmpBash-3.00# Installpkg Kernel-generic-2.6.12.3-i486-1.tgzBash-3.00# Installpkg Kernel-modules-2.6.12.3-i486-1.tgz

Had configured kernel and module so.


4. examines systematic guiding to manage implement Grub or the configuration file of Lilo.

When the kernel is being installed,The likelihood had changed something,For instance / the change inside Boot,For instance Vmlinuz direct catenary arrived Vmlinuz-generic-2.6.12,If want to let new old kernel can let systematic guiding,manage so implement can look on the menu of Grub and Lilo get,Must change Grub.conf or Lilo.conf

The in Grub and Lilo starting menu that we must withhold old kernel,After all we make up a kernel cannot hundred minutes of success of hundred,Right incorrect??Safety first;


Editing in,In order to let its more likely a bit more comprehensive,It is version 0.1.

Textual link:Http://www.linuxsir.org/bbs/showthread.php? T=212595

...

Slackware 11 installs ATI drive process to be recorded completely



I am one uses Linux3 cole bird of the month,Had tried other version,Still returned Slackware finally.Look at want Ati-installer-XXXXXX.run only greatly with what do not publish edition- - Buildpkg XXXXX install a bag to be able to add the exceedingly in drive heart to envy next...

But in the list that Slackware does not support in the Buildpkg of ATI,Cannot make a package...Plus compile kernel module how to also had been not connected.Act on view the principle that sticks little ask a question more,Pound quietly roused 3 days.
My showing clip is ATI Mobility Radeon 9000 can use the drive of 8.28 only,New drive did not support this to show clip,The kernel is 2.6.18.3

Above all
. / Ati-installer-XXXXXX.run
Had installed clew to make mistake
Go / Lib/modules/fglrx discovery did not build kernel module
In / in Lib/modules/fglrx/build_mod. / Make.sh clew cannot find Version.h

I acquire * one a little bit from here,The kernel source code that has compiled just can have Version.h Utsrelease.h,Source code of the kernel after original kernel is compiled is useful still cannot lose...- - !

Carry kernel source code again,Do not put this in / in Tmp,Put / Usr/src/linux-2.6.18.3,NextLn -sf /usr/src/linux-2.6.18.3 /usr/src/linux
Had backed up.config duplicates directly so before me come over to be compiled

. / Make.sh hints again Include version date and current kernel not conform to,Checked date of version of core of card new edition to arrive from Version.h in Utsrelease.h..- - !
In / add Ustrelease.h content in Version.h in Usr/src/linux/include/linux

This falls not to hint version date not conform to,But make mistake information one pile..- - !(I am dizzy)
After this gets stuck in this link

Avoid quickly without kernel module 3d talk...But how had been also not compiled...

Difficult did not make a drive,Still must change 2.4 core...Slept depressedly...Passed one day to notice suddenly to there is an Extract parameter in Ati-installer-XXXX.run,It why fasten the home to publish edition is OK to why fasten the home to publish edition with,Slackware is no good unluckily?Solution extrude will look
. / Ati-installer-xxxxxx.run- - Extract /tmp

To / Buildpkg list sees in Tmp/Packages in each issue edition support file to be here to always should have the emission of 2.6.18 core edition seeing them is how compile...
Walk back and forth to there is to call Kernel-2.6.18.diff in the folder of SuSE and red cap east east,This is not a patch....
...Did not support Buildpkg to stop...Ourselves starts work compile..But you install a program not to call us to the patch,compile incorrect..! # ? % . .

Enter / Lib/modules/fglrx/build_modThis command still can use Patch not quite..Man onePatch -i Kernel-2.6.18.diff Firegl_public.c -o Fire.cMv Fire.c Firegl_public.c
Hit the patch that comes out from installation bag lanes and alleys...
Next
. / Make.sh
Two Warning...
Had found the Fglrx.ko that does not easily inside that 2.6.x

Rapidly Insmod Fglrx.ko
- 1:OPeration Is Not Permissed.
- - Llllll is dizzy oh...Pound repeatedly beat...Slept depressedly with yesterday again finally....

Rise in the morning turned over a card to turn a few rounds in Google...In directive installation opens the discovery in article of source Ati drive one a little bit to hint:Scarcely should compile DRM in the kernel...I am compiled DRM in the kernel..Couplet thinks of that operation unallowed hinted yesterday...Perhaps conflicted
Arrive / Usr/src/linuxMake Menuconfig
Direct Rendering Ma... chose M to compile a kernel afresh...Change new kernel to restart...
Enter next / Lib/modules/fglrx/build_mod/2.6.xInsmod Fglrx.ko...Successful
HOHO
Move / it can update the Make-install.sh in Lib/modules/fglrx of kernel module depend on a relation..To load Fglrx can use Modprobe after.
Aticonfig- - Initial
Next the drive of the Mesa of Startx discovery or to load a moment ago the Fglrx of to load disappeared from memory unexpectedly...Drm and Radeon stay in memory however...Should be the Mesa drive in Xorg.conf paragraph still staying...

/ Etc/X11R6/xorg.conf reservation says in that annotate cannot the Device of a Vga of cutout paragraph the Device that configures with Aticonfig paragraph Monitor paragraph with Screen paragraph a Device that Xorgconfig configures before paragraph Monitor paragraph with Screen paragraph completely take out
SaveStartx...Do decided.
Ran next Fgl_glxgears 22xxfps

Cole bird delivers the view to XGL+COMPIZ again...

Cole bird set out again...

...

ArchLinux uses a hand to write down



I used ArchLinux to also had had period of time,It is OK that this hand that shares this for everybody is written down as the summary that uses to ArchLinux,If you also are using Linux operating system,Might as well try Arch,It can bring different sense to you probably.

...

Install Slackware11 DVD from hard disk



Before a few days of Slackware 11 were released,This Install CD increases to 3 pieces,Downloaded DVD to install with Bt simply dish,Decision attempt installs hard disk.

Install an environment:Hda: Hda1-----NTFS-------------Windows XP,Guide partitionHda2-----Extend----------Disk is patulous and divisionalHda3-----Linux Swap-----The Linux that preparation uses exchanges partitionHda4-----Linux ReiserFS - installs the root partition that Slackware usesHda5-----Fat32------------Deposit the Slackware-11.0-install-dvd.iso of download

1.The CD mirror that desired effect downloads,The MD5 that affirms desired effect comes out and the digital conform to in downloading a file%26#892;%26#428;%26#65533;%26#65533;';}%26quot; Border=0%26gt; of ? of %26#65533;%26#65533;%26#65533;%26#65533;%26#65533;%26#40948;%26#1325;%26#65533;%26#65533; of Screen.width-300) {this.width=screen.width-300;this.alt='%26#65533;%26#65533;%26#892;%26#428;%26#65533;%26#1137;%26#65533;%26#65533;%26#65533; ?

2.Download Grub For DOS
There are a lot of versions on the network,Have more Chinese had changed,In the Search in Google.
What I use is 0.4.1,Solution is pressed to C:\Boot,Whole catalog structure is as follows:

...

Tagfile helps you custom-built installation Slackware



The main Tagfile collect that Slackware acquiesce is under ? ? ,A few brief interpreters that add myself,The hope is helped a bit to everybody,Have by accident place ask point out mistakes so that they can be corrected,Version is 10,Gnome and Kde do not include here.

...

Ubuntu 6.10 installs Wildfire.v3.0.M020



Wildfire.v3.0.M020.for.Linux is installed in original Ubuntu 6.10

One preparation works

1 installs Csh or TcshSudo Apt-get Install Csh
Or Sudo Apt-get Install Tcsh

2 installs Libmotif3, Libstdc++2.10-glibc2.2Sudo Apt-get Install Libmotif3 Libstdc++2.10-glibc2.2

3 with if standing newly so that if the system has been installed,install Gkt1.2(,Need not undertake this is operated of course)

4 installs PortmapSudo Apt-get Install Portmap (otherwise,The meeting when moving after installation:Cannot register a service:RPC:Cannot receive;Errno = rejects link)

Wine(of 5 installation is used at generating Lincense)Sudo Apt-get Install Wine

6 handles LibXm.so.3Sudo Ln -s /usr/lib/libXm.so.3 /usr/lib/libXm.so.3.0.2Sudo Cp /usr/lib/libXm.so.3 /usr/X11R6/lib/libXm.so.3

7 finds out a net to block hardware address
Program of the installation that start, have in wrong lower part.
The Mac address that perhaps inquire with Ifconfig command the net gets stuck.
Here is "XX-XX-XX-XX-XX-XX suppose first "

8 is hanged carry CdromSudo Mount -o Loop /mnt/win_d/Wildfire.v3.0.M020.Linux1.iso /mnt/cdrom1Sudo Mount -o Loop /mnt/win_d/Wildfire.v3.0.M020.Linux2.iso /mnt/cdrom2

9 general / the Crack folder below Mnt/cdrom1/ is copied to your user catalog,Be like / Home/yourname/crack/
Move with Wine below this catalog calculate number implement,The Mac address that inputs net card,Make Lincense file (of course,Also can undertake below Windowns) .

Two installation Pro/Engineer
The process is as follows:Cd /mnt/cdrom1/
LANG=EN(this condition is indispensable)Sudo. / Setup
1 chooses to install licence government implement
When Lincese enquiring in installing a process,Choose the Lincese.dat that you generate
When the position that asks the second piece of CD,Choose / Mnt/cdrom2 can.
Licence management implement after installation ends,Manage clew licence implement fail to start, close clew window, quit installation program.

2 handles licence management implementSudo Cp /usr/local/ptc/flexnet/starup/s99ptcflexlm /etc/init.d/Sudo Ln -s /etc/rc2.d/s99ptcflexlm /etc/init.d/s99ptcflexlmSudo Ln -s /etc/rc5.d/s99ptcflexlm /etc/init.d/s99ptcflexlm
3 starts licence government implementSodu /usr/local/ptc/flexnet/bin/ptcstartserver
4 installs Pro/Engineer main programCd /mnt/cdrom1/
LANG=EN(this condition is indispensable)Sudo. / Setup
The choice installs Pro/Engineer all the way Next, do not do allow to rest choice.

Clew:After installation is over, usable Sudo /usr/local/ptc/proeWildfire3.0/bin/ptcsetup is made up afresh.
Clew:The licence that start manages implement command:/ Usr/local/ptc/flexnet/bin/ptcstartserve
Clew:The licence that start manages implement command:/ Usr/local/ptc/flexnet/bin/ptcshutdown

Starting Proe/Engineer is OK and such:

1 opens a terminal
2LANG=EN
3 /usr/local/ptc/proeWildfire3.0/bin/proe1

The method that suggests you are used as follows starts Proe:
In / file of a Shell is built below Home/yourname/.gnome2/.nautilus-scripts/ catalog (hypothesis file name is Wildfire3.0) , the content of the file is as follows:
# ! / Bin/shCd /home/username/proe
LANG=en_US
/ Usr/local/ptc/proeWildfire3.0/bin/proe1

Increase executable property to this file, when starting every time,Simply is in the desktop is right attack,Choose Scripts-%26gt;Wildfire3.0 can.

Textual link:Http://ubuntu.org.cn/about37713.html%26sid=6193976a997d1253be057c15835f9e37

...

How is Linux system installed in SPARC (Gentoo)



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.

...
« 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 »