Previous Next Table of Contents

7. Pws kavw auto n ma8aivw pws...

---------------------------------------------------------------------

7.1 Pws mporw va exw kulnsn pros ta pisw se mn grafiko periballov;

Me tnv e3' orismou Amerikavikn (US) diata3n plnktrologiou mporeite va xrnsimopoinsete to Shift me ta PageUp kai PageDown plnktra. (Snm: Auta prepei va eivai ta gkri, oxi auta tou ari8mntikou plnktrologiou). Me alles diata3eis plnktrologiou, eleg3te tis avtistoixies sto /usr/lib/keytables mporeite va epavaprosdiorisete ta plnktra "kulnsn epavw" kai "kulnsn katw" va eivai opoia 8elete, gia paradeigma, wste va ta epavaprosdiorisete se plnktra ta opoia uparxouv se eva plnktrologio AT 84 plnktrwv. * Dev mporeite va au3nsete to poso keimevo 8a krateitai gia tnv kulnsn e3 aitias tou tropou ulopoinsns, xrnsimopoiwvtas tnv mvnmn o8ovns gia va apo8nkeu8ei perasmevo keimevo, wstoso isws va mporeite va exete perissotern apo8nkeusn se ka8e eikoviko termatiko meiwvovtas tov oliko ari8mo twv eikovikwv termatikwv, deite to <linux/tty.h>.

---------------------------------------------------------------------

7.2 Pws evallasw eikovika termatika ; Pws ta evergopoiw;

Se mn grafiko periballov, pieste Aristero Alt-F1 ews Alt-F12 gia va epile3ete ta eikovika termatika (E.T.) tty1 ews tty12, De3i Alt-F1 divei to tty13 kai outw ka8' e3ns. Gia tnv evallagn sta X windows prepei va piesete Ctrl-Alt-F1 k.o.k. Alt-F5 n o,tidnpote allo 8a sas gurisei pisw. Av 8elete va xrnsimopoinsete eva E.T. gia kavovikn prosbasn prepei va to sumperilabete sto /etc/inittab, to opoio elegxei poia termatika kai E.T. exouv duvatotnta prosbasns. Snm: Ta X xreiazovtai toulaxistov eva E.T. gia va 3ekivnsouv. Purnves (kernels) priv tov 1.1.59 exouv eva evswmatwmevo orio stov ari8mo twv E.T., to opoio e3' orismou eivai 8. Deite to NR_CONSOLES sto linux/include/linux/tty.h. Newteroi purnves tous evergopoiouv duvamika, ews 63 pou eivai kai o megistos ari8mos.

---------------------------------------------------------------------

7.3 Pws orizw tnv zwvn wras;

Pngaivte stov katalogo (directory) /usr/lib/zoneinfo av dev exete autov tov katalogo 8a xreiasteite to timezone. O kwdikas brisketai sto sunsite.unc.edu sto /pub/Linux/system/Admin/timesrc-1.2.tar.gz. Kavte mia sumbolikn suvdesn (symbolic link) me ovoma localtime se eva apo ta arxeia se autov tov katalogo (n upokatalogo), kai alln mia me ovoma posixrules sto arxeio localtime. Gia paradeigma:

   ln -sf US/Mountain localtime
   ln -sf localtime posixrules
Autn n allagn 8a evergopoin8ei amesa - dokimaste tnv evtoln date. Mnv dokimasete va xrnsimopoinsete tnv metablntn TZ - afnste tnv kevn (unset) Prepei episns va sigoureuteite oti to roloi tou purnva tou Linux eivai wrismevo stnv swstn wra GMT - plnktrolognste date -u kai bebaiw8eite oti emfavizetai n swstn wra.

---------------------------------------------------------------------

7.4 Ti ekdosn (version) tou Linux kai ti ovoma mnxavnmatos xrnsimopoiw;

Plnktrolognste:

   uname -a

---------------------------------------------------------------------

7.5 Pws mporw va evergopoinsw n va apevergopoinsw ta mnvumata sfalmatos tou leitourgikou; (core dumps)

To Linux twra exei e3' orismou apevergopoinmeva ta corefiles gia oles tis ergasies (processes). Mporeite va ta evergopoinsete n va ta apevergopoinsete xrnsimopoiwvtas tnv evtoln ulimit sto bash, tnv limit sto tcsh, n tnv rlimit sto ksh. Deite tis selides bon8eias gia to kelufos (shell) gia perissoteres plnrofories. H evtoln epnrreazei movo ola ta programmata pou ektelouvtai apo auto to kelufos (amesa n emmesa), oxi olo to sustnma. Av 8elete va evergopoinsete n va apevergopoinsete to coredumping gia oles tis ergasies e3' orismou, mporeite va alla3ete tnv proepilegmevn ru8misn (default setting) sto <linux/sched.h> - deite tov orismo tou INIT_TASK, kai episns deite sto <linux/resource.h>. O purnvas 1.2.13 8a paragei a.out core dumps E8.2 `Ti eivai auta gia to ELF ;'.

---------------------------------------------------------------------

7.6 Pws avaba8mizw /avametaglwttizw tov purnva;

Deite to Kernel HOWTO n to arxeio README to opoio avaferetai stnv ekdosn tou purnva sto ftp.cs.helsinki.fi, in /pub/Software/Linux/Kernel kai sta and mirrors E2.5 `Where can I get Linux material by FTP ?'. Mporei va exete ndn mia ekdosn tou kwdika tou purnva egkatestnmevn sto sustnma sas, alla av tov pnrate ws meros mias diavomns (standard distribution) eivai pi8avo va eivai ligo aparxaiwmevos. (Auto dev eivai problnma av 8elete movo eva purnva ru8mismevo gia tis avagkes sas (custom-configured), alla isws va eivai av 8elete va tov avaba8misete.) 8umn8eite oti gia va avagkasete tov veo purnva va 3ekivnsei prepei va tre3ete to LILO meta pou 8a avtigrayete tov purnva sto root partition -- to Makefile se prosfatous purnves exei eva eidiko zlilo stoxo (target) gi' auto plnktrolognste make zlilo. Ekdoseis purnva me movn upoekdosn (minor version) (p.x., 1.1.x, 1.3.x) eivai oi dokimastikes ekdoseis oi sta8eroi purnves paragwgns exouv zugn upoekdosn (1.0.x, 1.2.x). Av 8elete va dokimasete tous dokimastikous purnves, 8a prepei mallov va eggrafeite stnv linux-kernel lista (mailing list) E2.8 `What mailing lists are there ?'. O Russel Nelson stelvei perilnyeis apo to ti allages se prosfatous purnves exouv givei sto comp.os.linux.development, kai autes eivai sugkevtrwmeves sto ftp.emlist.com in /pub/kchanges.

---------------------------------------------------------------------

7.7 Mporw va exw pavw apo 3 seiriakes 8ures, me diamoirazomeves aitnseis diakopwv;

Nai, alla mallov dev 8a mporeite va xrnsimopoinsete tautoxrovws duo suvn8ismeves 8ures oi opoies moirazovtai mia aitnsn diakopns (xwris kapoia kolpa). Autos eivai evas periorismos tns arxitektovikns diaulou ISA. Deite to Serial HOWTO gia plnrofories sxetika me pi8aves luseis kai tropous parakamyns tou problnmatos autou.

---------------------------------------------------------------------

7.8 Pws dnmiourgw mia disketta ekkivnsns;

Ftia3te eva sustnma arxeiwv (filesystem) se autn me tous katalogous bin, etc, lib kai dev -- ola osa xreiazeste. Egkatastnste eva purnva se autnv kai kavoviste va balete to LILO va tov 3ekivnsei apo tn disketta. (deite tnv tekmnriwsn (dosumentation) tou LILO, sto lilo.u.*.ps). Av ftia3ete tov purnva (n peite sto LILO va pei stov purnva) va exei eva disko stn mvnmn (ramdisk) tou idiou mege8ous opws n disketta, o diskos mvnmns 8a fortw8ei kata tnv ekkivnsn kai 8a xrnsimopoin8ei (mounted ??) ** ws root avti gia tn disketta. Deite to Bootdisk HOWTO.

---------------------------------------------------------------------

7.9 Pws epavaprosdiorizw to plnktrologio mou se Aggliko, Galliko klp.;

Gia prosfatous purnves, parte to /pub/Linux/system/Keyboards/kbd-0.90.tar.gz apo to sunsite.unc.edu. Sigoureuteite oti pnrate tnv swstn ekdosn prepei va xrnsimopoinsete tnv swstn diata3n plnktrologiou pou va tairiazei me tov purnva sas. H ekdosn 0.90 prepei va douleuei me purnves apo 1.0 kai pavw. Gia palaioterous purnves prepei va epe3ergasteite to pavw-pavw Makefile gia tov purnva (top-level kernel Makefile), sto /usr/src/linux. Mporeite va breite perissoteres plnrofories sto Keystroke HOWTO, sto sunsite.unc.edu to /pub/Linux/docs/HOWTO/Keystroke-HOWTO.

---------------------------------------------------------------------

7.10 Pws mporw va exw to lampaki NUM LOCK va eivai avammevo e3' orismou ;

Xrnsimopoinste to programma setleds, gia paradeigma (sto /etc/rc.local n eva ap' ta /etc/rc.d/* arxeia):

   for t in 1 2 3 4 5 6 7 8
   do
        setleds +num < /dev/tty$t > /dev/null
   done
To setleds eivai meros tou kbd (deite E7.9 `Pws epavaprosdiorizw (remap) to plnktrologio mou se Aggliko, Galliko klp ;'). Evallaktika, tropopoinste (patch) tov purnva. Prepei va orisete to KBD_DEFLEDS va orizetai se (1 << VC_NUMLOCK) otav metaglwttizete to drivers/char/keyboard.c.

---------------------------------------------------------------------

7.11 Pws mporw va exw pavw apo 128Mb proswrivou xwrou evallagns (swap);

Xrnsimopoinste polles swap partitions ws arxeia evallagns (swapfiles) - To Linux upostnrizei mexri 16 perioxes avallagns, n ka8e mia mexri 128Mb. Polu palioi purnves upostnrizav movo perioxes *** avtalagns mexri 16Mb.

=====================================================================


Previous Next Table of Contents