Sie sind auf Seite 1von 116

Handbook OpenMandriva Lx

Page 1 of 116

V olume

1
Handbook Lx 2013
Installation and configurations Davide Garatti Davide_01

Versione 1.0

December 28, 2013

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 2 of 116

Please, this is only a first release of my handbook for OpenMandriva Lx, in my terrible english, probably, there will be a lot of grammatical error,but i think it could be useful as guidance in any case. ome pictures still refer to italian version, but in the next releases !"m going to upgrade all the pictures. #hank you for your patience..... Changes from previus version
$ersion %.& First release of Garatti s !andboo" for #$en%andriva &x 2013 in 'n(lis! )lease t!is is onl* a +rst release $robabl* wit!

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 3 of 116

GENERAL

N!E"

1,-./#D01.,#-.......................................................................................................................... 2 2F'3.0/'4 #$en%andriva 1.1 &x 2013....................................................................................... 5 3,nstallation of t!e basic s*stem................................................................................................. 8 3.1'xistin( 1on+(uration........................................................................................................ 8 3.26ardware detection............................................................................................................ 8 3.3)reliminar* c!ec"s............................................................................................................. 7 3.8Flow dia(ram of installation............................................................................................. 10 3.9,nstallin( t!e #$eratin( 4*stem....................................................................................... 11 3.9.1Downloadin( t!e ,4# ima(es.................................................................................... 11 3.9.1.14et t!e ,4# to 04: )en...................................................................................... 12 3.9.2,nstallin( directl* from &ive DVD ; 04: <,- %#D,F,13=.............................................. 13 3.9.3:oot DVD &ive and installation.................................................................................. 20 3.9.80$(rade from $revious version................................................................................. 21 3.9.9/emovin( unnecessar* $ac"a(es............................................................................. 21 81on+(urin( 3D4&..................................................................................................................... 23 8.13D4& 't!ernet.................................................................................................................. 23 8.23D4& 04:......................................................................................................................... 28 8.3G)/4;64D)3 1on dis$ositivi 04:...................................................................................... 28 8.83D4& via >,F,................................................................................................................... 28 94?4.'% 0)D3.' <securit* and bu( +x= <3D4&=........................................................................ 27 9.11on+(uration of t!e various re$ositor* #FF,1,3&............................................................. 27 9.1.13bilitare le fonti bloccate.......................................................................................... 31 9.1.23dd t!e sources 32bit on 28bit s*stems................................................................... 31 9.1.33dd t!e %,: sources................................................................................................. 32 9.24*stem 0$dates............................................................................................................... 33 9.3,nstallin( $ro(rams........................................................................................................... 38 9.3.1%eta-$ac"a(es.......................................................................................................... 39 9.80$datin( a sin(le $ro(ram............................................................................................... 35 9.9.!e +rst $ro(rams , install@.............................................................................................. 35 9.24*stem /ecover*.............................................................................................................. 37 24?4.'% 1#-F,G0/3.,#-......................................................................................................... 80 2.1#$en%andriva 1#-./#& 1'-.'/.................................................................................... 81 2.1.11on+(ure aut!entication for instruments #$en%andriva.......................................... 89 2.1.23ddin( com$onents in %11...................................................................................... 82 2.21ontrol 1enter <AD' 8=..................................................................................................... 85 2.2.1%ouse....................................................................................................................... 87 2.31on+(urin( 4ensors Fans ; tem$erature........................................................................... 90 2.8Video 1odec ,nstallation................................................................................................... 91 2.9/eaders %emor* 1ards, %)3 devices, di(ital cameras..................................................... 92 2.2#1/ 4oftware................................................................................................................... 93 2.5-V,D,3 D/,V'/ ,-4.3&&3.,#-.......................................................................................... 98 2.5.1-V,D,3 Video 1ard Driver.......................................................................................... 98 Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx

Page 4 of 116

2.5.1.1,nstallin( -V,D,3 oBcial drivers......................................................................... 98 2.5.1.2,nstallin( t!e -V,D,3 driver usin( DA%4 $ac"a(es............................................ 92 2.8installin( t!e 3., D/,V'/.................................................................................................. 98 2.7,nstallin( t!e ,-.'& D/,V'/.............................................................................................. 98 2.10,n t!e event of $roblems wit! t!e $ro$rietar* drivers <3., ; -vidia=............................... 98 2.11 :oot &oader 1on+(uration............................................................................................. 97 2.12,nstallin( and 1on+(urin( Devices................................................................................. 20 2.12.1)rinters................................................................................................................... 20 2.12.24canner................................................................................................................... 21 53))&,13.,#-4.......................................................................................................................... 22 8Finis!in( touc!es to t!e s*stem............................................................................................... 23 8.1Aonsole............................................................................................................................. 23 8.24?4.'% %'-0 Default <4im$le >ellcome=....................................................................... 23 8.3-ew 1!aracters <Fonts=.................................................................................................... 28 8.8.ransition from /oc"et:ar of /osa&ab t!e default AD'8................................................... 29 7>,-' - /un $ro(rams under &inux win..................................................................................... 22 10%iscellaneous info................................................................................................................. 25 10.1,-,.,3& -#.'4................................................................................................................ 25 10.21ommands main s!ell.................................................................................................... 25 10.3V, un editor ra$ido ed eBcace....................................................................................... 50 10.84u$er 0ser <root=............................................................................................................ 50 10.94tructure of t!e +le s*stem............................................................................................ 51 10.24ecurit*.......................................................................................................................... 52 10.51!an(e )assword........................................................................................................... 52 10.83$$lications of remote servers....................................................................................... 53 10.71onnectin( to t!e remote mac!ine <CD%1)=................................................................. 53 10.101on+(urin( aut!entication for instruments #$en%andriva.......................................... 58 10.11Aernel #$tions.............................................................................................................. 58 10.124$eed:oot.................................................................................................................... 55 10.13,nfo 4tartu$.................................................................................................................. 58 10.18&#G 4*stem.................................................................................................................. 58 10.191lose a bloc"ed $ro(ram.............................................................................................. 58 10.12AD' G-#%' CF1' and D............................................................................................. 57 10.15)ermissions, Grou$s, devices....................................................................................... 80 10.184tart, 4to$, /estart 4ervices......................................................................................... 80 10.173dd fonts Es$ecialE....................................................................................................... 81 10.20/estore t!e :oot &oader............................................................................................... 81 10.213void .!e u$date of some $ro(rams............................................................................ 82 10.22;etc;fstab...................................................................................................................... 82 10.23'nable ; disable 1./& F 3&. F :ac"s$ace to restart C................................................. 88 10.281!an(e t!e Gava version in use.................................................................................... 88 10.28.1,nstall #racle Hava................................................................................................. 82 10.29%onta((io automatico dei +les*stem -F4 <autofs=....................................................... 82 10.221!ec" 3udio 4$ea"ers.................................................................................................. 85 10.251olle(amento da remoto alla macc!ina <.i(erV-1=..................................................... 70 10.25.1)1 con C ma I4'-J3K %onitor.............................................................................. 71 10.284!ared Director*.......................................................................................................... 72 10.28.14%: L samba server.............................................................................................. 72 10.28.1.1#$en%andriva 1ontrol 1enter....................................................................... 72 10.28.1.24amba-swat................................................................................................... 79 10.274?4.'%D L %ana(e s*stem and services................................................................... 100 10.27.1s*stemctl L >e mana(e services........................................................................ 100 10.27.2s*stemd-c(ls L Vediamo il contenuto di un 1(rou$............................................. 101 10.27.33nal*Me t!e boot - s*stemd-anal*Me................................................................... 101 10.30)&?%#0.6 - .!e (ra$!ical boot................................................................................. 108 10.314ome information about Aontact, -e$omu" and 3"onadi........................................... 108 Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx

Page 5 of 116

114ettin(s and circumstances on 28bit s*stems..................................................................... 108 12%iscellaneous...................................................................................................................... 107 12.1Filters for t!e Famil*..................................................................................................... 107 130sefull &in"s........................................................................................................................ 111 13.1&,-0C........................................................................................................................... 111 13.2D,4./,:0J,#-,............................................................................................................. 112 13.363/D>3/'.................................................................................................................. 113 13.84#F.>3/'................................................................................................................... 118 18&icenMa................................................................................................................................ 119 19-ote Finali............................................................................................................................ 112

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 6 of 116

1a$itolo

1
% !'#(O)*+#!O'
Here is the first official release of the new association OpenMandriva, with its OpenMandriva Lx distribution (Lx stands for Linux, seeing that OpenMandriva is also the name of the foundation) Home page #orum $oogle% #aceboo/ 0witter http!""www openmandriva org http!""forums openmandriva org https!""plus google com"&'&&()*(&*)&*+,-+-).)"posts https!""faceboo/ com"OpenMandriva https!""twitter com"OpenMandrivaOrg

1s usual, this manual is intended as a simple guide to follow step b2 step, to complete the installation, and the first configuration, immediatel2 after installing the new operating s2stem

It will be based on the 2013 version of OpenMandriva Lx This is just one of many ways to on!"ure OpenMandriva Lx

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 7 of 116

2 FEATURES OpenMandriva 1.1 Lx 2013


Kernel KDE 3.11.8 4.11.2 nrjQL

Libreoffice #irefox 1maro/ $imp hplip 4igi/am $libc rpm Lin# utili$ Home page #orum 5ug6illa

! ! ! ! ! ! ! !

3elease 3elease 3elease 3elease 3elease 3elease

.&+ -* ' & -)' -), + &+ &' +*'

3elease - &) 3elease * . &'

http!""www openmandriva org http!""forums openmandriva org http!""issues openmandriva org" http!""downloads openmandriva org"mm"

Mirror 7tatus

0he 87O can be put on 975 stic/s than/s to h2brid 87O, see + * & & 7et the 87O to 975 :en

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 8 of 116

1a$itolo

2
, !nstallation of the basic system
3.1 Existing Configuration
1) A system with Win NT, 2000, XP , ist!, "e#en $r %re!ter. 2) "ystem with Win &',&8, () 3) A system with n$ *+er!tin% "ystem

8n the first two cases there should be a partition where we will go to install Linux, to do so we can use, for example, programs li/e :artition Magic or utilities of ;indows <, or entrust to the partitioning application (and resi6ing) of OpenMandriva, in all these cases is alwa2s appropriate to provide running a defragmentation of partitions windows <, in order to simplif2 an2 process of resi6ing the partition =ote!;ith the passage of time also the process of resi6ing of =0#7 partitions has become common, and >safe>, then choose the application on the basis of 2our /nowledge 8f 2ou do not have an2 7 O , third case, so ?ust procede with installation

3.2 Hardware detection


La maggior parte delle periferiche (stampanti, scanner, modem) e di dispositivi interni (@84@, 7101, 7A78, schede video, schede audio, ecc) sono riconosciuti e trattati sen6a difficoltB 1lcune difficoltB possono sorgere con chipset di nuova genera6ione e hardware C possibile avviare la distribu6ione in modalitB L8D@, ma io, sempre suggerisco di fare una ricerca su internet delle varie parti che compongono il vostro :A, laptop o netboo/ che sia, prestando atten6ione alla scheda grafica, e non dare nulla per scontato Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx

Page 9 of 116

3.3 Preliminary checks


Once 2ou have identified the partition on which to install Linux, would be better get information on 2our hardware, in particular mode about the t2pe of! video card sound Aard chipset mother board 1n2 7101 drivers printer special devices (975 H40D, etc ) etc =ote! 0he important information are not the name or brand of the card, for example the video cardEs model, but rather the name of the chipset and $:9 mounted on them 8s alwa2s a good idea have the most information possible about 2our hardware, but this no depends on the operating s2stem, itEs ?ust a good rule Omit this step does not impl2 an2 problem with the installation, but it serves, more than an2thing else, to understand eventual problem in advance

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx 3.4 low diagram o! installation

Page 10 of 116

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx 3." #nstalling the $%erating &ystem


"et the ,-*".s $+ti$n /PNP *" inst!00e1/ 2 N*

Page 11 of 116

N*T)3 T$ !44ess the ,-*" +ress the s+e4i5e1 6ey $n the s4reen 17rin% the e!r0iest +h!ses $8 system st!rt7+. The 97tt$ns 4!n 7s7!00y 9e :10, ;)L, 1e+en1s $n the ,-*" m!n78!4t7rer. -8 y$7 h!#e ! 1e#i4e with <):- ,-*" is 9etter t$ m!6e s7re, #i! -nternet, $n !ny +r$4e17res t$ inst!00 ! new $+er!tin% system. A0s$ 4he46 !ny iss7es !9$7t "e47re,$$t $+ti$n.

3%&%1 'ownloadin" the I(O ima"es


0he 87O images for the installation of OpenMandriva Lx can be found on the official site http!""www openmandriva org 0he 87O file will also be accessible directl2 through the various mirrors 0he state of the mirrror can be chec/ed via the following lin/ http!""downloads openmandriva org"mm" 0he one closest to us (8tal2) is the $arr http!""unit2 mirror garr it"mirrors"unit2"isos"OpenMandrivaLx"-'&+ '" 1nd of course what 2ou download is an 87O image of OpenMandriva Lx -'&+ who have to be compliant with 2our s2stem 0hen +-Fbit ( i*), ) or ,. bit ( x),G,.) 0he 8so 8mage will go burned on a 4D4 media or inserted into a 975 device 02picall2 2ou have a voice , > write the 87O image to A4 or 4D4 > in 2our burning program =O0@ 1nd also a good idea download the small text file which contains the M4* chec/sum, 9suall2 programsEs burning have the possibilit2 to chec/ the chec/sum on the downloaded 87O file 8f it is not so, or 2ou are going to insert iso file into a 975 stic/, then 2ou can use the command >md*sum H#ile nameI iso> and then chec/ with that downloaded from the site 8f the string matches the download was successful without errors otherwise reFdownload the files from the internet Aoming from ;indows, 2ou can download a free program from http!""www winmd* com" to perform the calculation and subseJuent verification 8 Aouncil of burn the 87O image to 4D4 at a low speed ()x F &'x ), especiall2 if 2ou are using rewritable media

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 12 of 116

3.".1.1 &et the #&$ to '&( Pen


0he 87O can be inserted into a 975 stic/ with abilit2 N to -$ in the usual wa2 ! &) 4ownload the 87O image of Lx OpenMandriva 2ou want -) 8nsert the usb stic/ , verif2 what device has been engaged, with the dmesg command (2ou have to loo/ for sdb , sdc , or otherwise) remember the device name without ta/ing into account the number 0he device must not be mounted .) $o to the director2 that contains the 87O image * ) 5ecome 1dministrator ( su F) , ) $ive the command! dd if)*fullpath+,OpenMandrivaLx-2013%0%x./0/1%iso of ),dev,sdx bs)1M ;here! 0he full path is the full path to the director2 containing the 87O file in m2 case ,home,davide,'ownloads, OpenMandriva-2013%x./0/1%iso is the name of the 87O file 2ou downloaded ,dev,sdx is the device associated to 2our 975 stic/ so for example !
dd if ) ,home,davide,( ari ati,OpenMandrivaLx-2013%0%x./0/1%iso of),dev,sdx bs)1M

0he 975 pen obtained, can be used to perform installations , or tr2 OpenMandriva

=O0@! 0o use the Live ta/es at least & * $ of ram


=ote! 8f 2ou do not have a Linux s2stem to perform the procedure or do 2ou prefer a convenient graphical interface , 2ou can use the program developed b2 3osalab called ! 2ose - Ima"e3riter 2ou can download it from the following lin/ ! http!""wi/i rosalab ru"en"index php"3O71G8nstallation and it is available for the following 7 O for for for for ;indows K (+ , Mb) Linux +- Fbit (&& L Mb) Linux ,. Fbit (&& , Mb) Mac < O7 M (L L NO ) and 2ou press the >;rite>

7impl2 select the 87O and the 975 device

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 13 of 116

3.5.2 Installing dire tl! "r#$ Live %&% ' US( 4I5 MO'I6I789
,nsert t!e DVD or 04: Oas! drive on w!ic! *ou downloaded t!e ,4# ima(e and boot t!e s*stem. )ress t!e function "e* to launc! t!e boot menu t!at now all )1s !ave, and w!o allows *ou to select t!e device from w!ic! to boot, usuall* EF8E . ,n t!e case, )1 !as dated, *ou need to set t!e :,#4 to external media from 1D ; DVD ; 04: or '-43.3 . .!e installation of #$en%andriva &x 2013 is ver* sim$le, and results in a time var*in( between 10 and 29 minutes .... de$ends on t!e $erformance of t!e )1 and t!e reader ; writer used durin( installation. .!e +rst screen allows *ou to c!oose t!e t*$e of boot available, refer to t!e two met!ods of Edirect installationE or E$ost-installationE, $lus a section about troubles!ootin(, for dis" and memor* controls. tart OpenMandriva -&%, !nstall OpenMandriva -&%, !nstall OpenMandriva -&%, basic graphics mode troubleshooting .!e +rst entr* starts #$en%andriva in &ive mode <onl* memor* = and t!e ot!ers two entries will be used to directl* install our new o$eratin( s*stem. ,f *ou do not !ave a )1 too old, use t!e second o$tion .

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 14 of 116

8n this chapter we will see how to install the O7 directl2, then choose the item! Install OpenMandriva 2013

Pou will need to wait some time for the start of a base of support to the installation program! Here are the steps in seJuence!

&) 7elect 2our language, press =@M0

-) 1ccept the license agreement, then press OQ

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 15 of 116

3= 1!oose t!e .ime Jone

8= 4elect t!e correct time

9= select t!e a$$ro$riate ma$$in( of t!e "e*board, and ,= $ress -ext

4elect t!e +rst two items

L) 8n this step, 2ou choose how to partition the dis/ 8f 2ou have not others 7 O or 2ou do not have special needs partitioning used the Doice >@rase and use entire dis/> 0his simplified displa2 will be ver2 useful in case of reF installation (with partitions alread2 made) or installation dis/ empt2 8 would still recommend alwa2s the third option >Austom :artitioning> with which we have the following advantages! 1) 8ncreased awareness, of the operations that we are ma/ing 5) 0he abilit2 to have a more accurate management of the various partitions and hard dis/s, which are present in the computer

<se the +r$%r!m is #ery int7iti#e, j7st 40i46 $n $ne +!rtiti$n !n1 in !11iti$n t$ the #!ri$7s in8$rm!ti$n !9$7t it, y$7 wi00 tri%%er the 4$mm!n1s y$7 4!n 7se, !s the /1e0ete +!rtiti$n/ t$ /8$rm!t/, et4..

Pou need to create, at least! &) a root partition, with mounting point set to >"> (@M0. fileFs2stem F RST) -) 1 swap partition, with a si6e t2picall2 double the 31M 8f 2ou have *&-M5 or more, 2ou can set the si6e of the swap partition to the value of the ram installed then! 28M 4M:9 (wap note H*&31M x -

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx
*&-M &$ I&$ I&$

Page 16 of 116
*&-M5 *&-M5 o &$ *&-M5 o &$ eJual to the installed memor2 RSST RSST onl2 to allow hibernation RSST

3hat we need to do is essentially assi"n to all partitions; even those <3indows=< a mount point 4mount9% It >absolutely ne essary to have a Linux partition with mount point <,< <n! #$0t! 4$m+0et!te 0e +!rti=i$ni si 40i44! s7 782?6@L 5OT A?26O2M 85B OTC?2 :ATT*. 87TIO5( O5 3indows= A82TITIO5( 4Aress Only <AOI5T O6 MO@5T< and assi"n a path ,mnt ,windows or ,mnt,dis o07 rather than ,'is#07 or ,'is#0'%9 RS T 0he t2pe of file s2stem is a personal choice , start with the default ( currentl2 the @M0. ) then b2 the time 2ou can tr2 the other , of course in future installations RSS T 8t is not necessar2 to go be2ond the &$5 , however, given the current capacit2 of the dis/s , if 2ou want 2ou can increase the si6e of the swap partition up to -$ or more 8n case 2ou want to use the swap for hibernation process , set the swap memor2 at exactl2 the same amount of memor2 installed in the s2stem , for example .$ 31M then set .$ of memor2 swap 7wap U&$ is fine for normal use 8 remind 2ou that in case 2ou had alread2 set the swap to a lower value , and 2ou want to still use or 2ou wanto ?ust tr2 the hibernate process , 2ou can use a swap file http!""ubuntuforums org"showthread phpVtU&'.-(., 7ome prefer to create a partition >" home > ( @M0. file s2stem ) which will house the default directories of the users, 2ou do it in case 2ou want to leave intact 2our documents and settings However , since it is a good idea, create a bac/up of 2our data (possibl2 in another partition or better still another dis/ if available, and given that , personall2, 8 prefer to see the default settings of the new versions of Q4@ and OpenMandriva Lx , it has become m2 habit donEt use a separate partition for " home Ahoose whether to create or less depending on 2our needs 8f 2ou have space 2ou can forecast to create partitions for bac/ups or a partitions with #10+-"=0#7 files2stem to share files among ;indows <, and Linux 0his is to facilitate the achievement of the files on Linux when 2ou are using ;indows< , whereas when 2ou use Linux , there are no problems =O0@! W =ame of the devices @84@ (:101) and 7101 W 0he names of the devices depend on the t2pe of interface and the t2pe of controller (:101 and 7101) , usuall2 the H4 and A4 " 4D4 drive connected to the @84@ interfaces are devices hoo/ed to H4x ;here x stands for the first letter available 0his means that , in the case of two connected H4 :101 84@ interface ' and two A4F3OM on the first 84@ interface , we have the following devices! A8T8 4I'?9 84@ ' 84@ ' 84@ & Mater,(lave Master 7lave Master 'evi es hda hdb hdc

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx
84@ & 7lave hdd

Page 17 of 116

7101 dis/s use the devices instead 7dx and then if we had another 7101 dis/ device that would be attached to the 741 8n both cases, the next number in the seJuence of letters specifies the partition on the hard, pa2 attention because these numbers can also be nonFcontiguous )) :ress >4one> to start formatting the partition 7tart the installation of the s2stem, weEll ?ust and the actual installation of the O7 have to wait for a time that depends on the

overall performance of the s2stem on which 2ou are installing OpenMandriva Lx -'&+ 1t the end of the installation process will reach the last step, namel2 the installation of the boot loader

() 3educe the wait time before boot if there is no other O7 8nstalled on the s2stem (+ 7econds are fine) :ress >=ext> =ote! 8f 2ou are installing the 7 O On an @F7ata H4 then outside, or if 2ou have a ba2 for more H4, remember to select the boot device for it 8n this wa2 2ou can use the :AEs boot manager to select the device, without affecting in an2 wa2 the main H4 " internal

1t this point 2ou will be prompted to reboot the s2stem and remove the installation media (4D4 or 975 pen drive that is) 0hen press the >#inish>

3eboot 72stem 0here will be onl2 two items and there will infuse the menu to enter an2 boot options, or otherwise

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 18 of 116

10=, !ere s w!ere we re (oin( to mas" t!e &&) ;e insert all the data related to the first user, $assword of t!e s*stem administrator. ,nsert it and the others will be added later $ress t!e button E-extE

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 19 of 116
;e reaffirm the choices made earlier

0he installation of OpenMandriva Lx is over, 2ou ?ust have to enter the user password 2ou ?ust entered and access the Q4@ des/top

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 20 of 116

3%&%3 :oot 'D' Live and installation


=O0@! 0o use the Live ta/es at least & * $ of ram 0o install after launching and tried the Live simpl2 need to select the boot entr2! 7tart OpenMandriva -'&+ 1s usual 2ou have to wait a bit to the base s2stem starts 0he steps are almost identical to those we have alread2 seen in the previous section

&) Pou choose 2our language

-) 1ccept the license agreement

+) Pou set 2our time 6one

.) choosing the time

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 21 of 116
,) 7elect the first two items

*) select the /e2board mapping

L) 4o 2ou expect to get into the Q4@. des/top from which we can launch the installation wi6ard :rogram that is in the tools section of the menu item OpenMandriva to 8nstall OpenMandriva Live 0he steps are those shown in chapter - * - 8nstalla6ione diretta da Live 4D4

3%&%1 @p"rade from previous version


8 almost alwa2s advise against direct upgrade from one version to the next distribution, except for special reasons or evidence 0he operation should wor/, but there are too man2 variables that could derail the operation 0he operations that we often do on our s2stems, and we forget, (installing programs, various configurations, etc ), but also update libraries and programs based on continuous and heav2 development (see Q4@), ma2 lead to the need to resolve conXicts between installed pac/ages and those 2et to be updated However, those who want to engage in this experience will be enough to replace the repositor2 with the next upgrade 3emember to perform a final update of the current version of the operating s2stem, the first to provide the replacement and upgrade of the repositor2 to OpenMandriva Lx -'&+ Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx

Page 22 of 116

3%&%& 2emovin" unne essary pa #a"es


P0e!se 1$ n$t 7se this 4$mm!n1, 9e4!7se it is 47rrent0y +0!%7e1 9y ! 97% >2&1)
"in4e these inst!00!ti$ns m!1e $8 the Li#e #ersi$ns inst!00e1, ;ri#er 4!rries with it 4$m+0ete0y 7se0ess. "$ $ne $8 the 5rst thin%s t$ 1$ .j7st t$ rem$#e the +!46!%es 7n7s!90e. Then $+en ! termin!0 !n1 9e4$me !n !1ministr!t$r ?1!#i1 @ ir$nA B s7 C )nter the r$$t +!ssw$r1 ?1!#i1 @ ir$nA D rem$#eC7n7se1Ch!r1w!re 4$m+0ete the ste+s ....

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 23 of 116

1a$itolo

3
. +onfiguring /) L
Leaving aside the configuration of a connection to the internet via regular phone line, in the following paragraphs 8 will discuss, in broad terms, the configuration of 147L lines =otes! &) prefer 147L router with @thernet interface -) in the case of routers on loan for use would be better as/ specificall2 one with an @thernet interface (now the2 all are so) )erform a searc! on t!e internet, to see" (uidance s$eci+c to *our !ardware <routers, etc.= and also for *our $rovider. 52 now all providers suppl2 their device with capabilities rooter " switch, @thernet connections, and conseJuentl2 most of the time ever2thing is resolved b2 inserting the @thernet cable into the 3Y.* soc/et of the :A, the s2stem is alread2 set up to receive the address and other information via 4HA:

4.1 )D&* Ethernet


02picall2 2ou access the 147L line via an 147L router with an @thernet connection, in case there is provided a 975 device, is better to reJuest specificall2 a rooter with @thernet interface (or both interfaces) ;ith an ethernet device, ever2thing is resolved with the connection of the networ/ card to the router via 3Y.* @thernet cable and the usual configuration of the networ/ card, and then clic/! 7on!"ure your 7omputer networ# and onne tivity 5etwor# 7onne tions

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 24 of 116
0he networ/ adapters are recogni6ed perfectl2, so from the outset there is alread2 an interface configured via 4HA: , and alread2 connected 7electing the connection and pressing the @dit button 2ou can change the name, or the characteristics of the connection (for example b2 setting a static 8: address) 0he various tabs refer to the various t2pes of interfaces that we have on the :A (fixed, wireless, mobile, etc )

8n case 2ouEre into an enterprise networ/, 2ou also need to configure the prox2 that will allow 2ou access to the outside world 7elect the item and choose the appropriate wa2 to configure the s2stem (via url or directl2 via the 8: address and port)

4.+ )D&* '&(


8n this case, loo/ for guides on the net relating to 2our devices, often 2ou have to install some pac/ages, and additional drivers .*$icall*, t!e su$$ort is (ood, but to avoid an* $roblems, it is better to inPuire +rst on t!e com$atibilit* of t!e device wit! t!e &inux o$eratin( s*stem.

4.3 ,P-&.H&DP) Con dis%ositi/i '&(


0his t2pe of 975 devices are $:37 or H74:1, the2 are provided b2 virtuall2 all providers, and allow fast access to the 8nternet on an2 portable or not device 0he first consideration is actuall2 alwa2s the same, 2ou must inJuire about the model of the 975 stic/, and its compatibilt2 with Linux 1ll providers have different hardware suppliers and are able to provide 2ou different models 7o far 8 have onl2 been able to test some devices including >Huawei @&,( H74:1> 1nd the /e2 station - of the Dodafone Q+)',FZ Of course, the2 could be models not available in other countries However, if the device is compatible, the procedure will deviate onl2 slightl2 from the description

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 25 of 116

Pou usuall2 need to insert the device, and wait for a moment and then begin the configuration using the =etwor/ Manager widget in the s2stem tra2! .!e ste$s are few, totall* driven, and intuitive. &et s see t!em@ #$en t!e -etwor" %ana(er let s move on .3: on t!e mobile E%obile :roadbandE and start t!e con+(uration $rocess b* $ressin( t!e E3ddE button.

0he /e2 should be inserted alread2 been recogni6ed 8f 2ou see this alread2 in the dropdown menu there will be problems, otherwise loo/ on the internet the information on 2our device :ress >=ext>

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 26 of 116
;e select our countr2, and press >=ext>

9sed to narrow down 2our options later

;e select the service provider, in this case Dodafone, and press the >=ext> button

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 27 of 116
0his option is perhaps the most difficult to evaluate the pullFdown menu offers some options for the data plan, and it is best not to ma/e mista/es, as is clearl2 stated in the note 8n the case of DodafoneEs /e2 station - option is the >4efault> then continue the configuration b2 pressing the >=ext> 1lso ensure that 2our contract carefull2 to avoid problems[

Pou will see a summar2 screen that we will actuall2 finish the setup process 7o one last Alic/ on the >#inish> button

0he setup procedure is finished now ?ust turn it on when needed

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx
@ver2 time we will want to ma/e an internet access, we will simpl2 insert the 975 device, wait a moment, go to the =etwor/ Manager and press on the item Dodafone in the list of connections 0he L@4 in the device will change color depending on the t2pe of connection available, and depending on the device model

Page 28 of 116

0he devices and the operators are so man2, so the configuration procedures, but above all the options to choose from, can be different and not all of which are the following ma2 be a manual 7o it is alwa2s the advice, inJuire at least the parameters to be included (and the presence of an2 :8=) 0he procedure configuration remains simple =ote! 5efore 2ou bu2 a device, it is better ma/e a search on the internet to chec/ the compatibilit2 with Linux, especiall2 on newer devices

4.4 )D&* /ia 0# #


.!e $rocedure is as sim$le as connectin( to $!*sical 't!ernet wit! /H89, if t!e interface is reco(niMed and con+(ured, *ou will +nd into t!e connection mana(er Gust saw t!e wireless card enabled. .!e connection can also be con+(ured b* $ressin( t!e icon on t!e s*stem tra*, at t!e bottom ri(!t in t!e main $anel of t!e des"to$. ,n t!ese interfaces will +nd all detected networ"s, we will Gust !ave to c!oose our, or t!at *ou want, and com$lete t!e necessar* information, as usual. ,s usuall* suBcientQ

Cipher mode pass#ord $en%r&p'ion ke&(

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 29 of 116

1a$itolo

8
0 1 #2M *P)/#2 3security and bug fix4 3/) L4
0he upgrade s2stem allows 2ou to eliminate /nown vulnerabilities, fix software bugs that have been resolved, and update drivers, programs, and libraries 0o ma/e this possible, 2ou will need to perform some operations that will allow us also to ta/e advantage of a virtuall2 unlimited amount of software pac/ages 8mmediatel2 after installing the s2stem, 8 alwa2s suggest to do an update O# AO937@ 80 87 =@A@7713P 0O 1 #170 8=0@3=@0 AO==@A08O= (47L) =ote! 8f 2ou wanted to delete all previousl2 set repositor2, use the command! Wurpmi%removemedia -a

5.1 Configuration of the various repository OFFICIAL


From #$en%andriva 1ontrol 1enter <1on+(ure *our com$uter= sectionQ 5Management oftware5

c!oose t!e itemQ 5+onfigure the sources for install and update5

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 30 of 116
,n case t!ere are t!e DVD or 1D media cater to remove t!em wit! t!e a$$ro$riate button. .o insert t!e new on-line $ress 3DD

Verif* t!at *our ,nternet connection is active <if it is not activate it= and acce$t to contact t!e website b* $ressin( ?'4 ),-A

3fter a $!ase of downloads will be $resented wit! a list of con+(ured re$ositories. )lease note t!at not all re$ositories are '-3:&'D and es$eciall* t!e maGor ones <w!ic! reall* s!ould not c!an(e= do not !ave t!e c!ec" mar" on 0)D3.'. De$endin( on t!e version of #$en%andriva &x, we installed a set of re$ositor* and enables diRerent. .!en $ress #A,

#$en a terminal become an administrator wit! t!e command #- S'-.'/T 'nter t!e root $assword (ive t!e command drakrpm6edit6media 66expert t!at will reo$en t!e same window as before but t!is time we will be able to $erform all t!e necessar* c!an(es.

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 31 of 116
,-o $articular we are (oin( to select t!e 0)D3.' even on %ain sources ie main, contrib, no-Free in addition *ou can also enable t!e /estricted sources. )ress #A o$eration to com$lete t!e

-ote , am usin( a 28bit s*stem *ou see in t!e ima(e more sources t!an *ou would +nd on a 32bit s*stem. .!is is due to t!e $resence of sources 32bit more.

,f not, we can add t!e re$osit* 32bit manuall* see $ara(ra$!Q 8.1.2

5.1.1 A)ilitare le "#nti )l#

ate

,f *ou !ave followed all t!e ste$s in section 8.1 t!is section does not need 4ome re$ositories are loc"ed for u$date, and t!rou(! t!e usual interface in %11, *ou can not unloc" t!em. .o enable t!em to do t!is, *ou must issue t!e followin( command from a terminal <as administrator=. UrootVWdrakrpm6edit6media 66expert will o$en t!e usual form in w!ic!, !owever, we can enable t!e 0$date o$tion on all re$ositories. 3bilitateli onl* if *ou !ave real needs and ma*be in a tar(eted manner.

&%1%2 8dd the sour es 32bit on /1bit systems


#$en a terminal as an administrator and run t!e followin( commandsQ
ur$mi.addmedia main32 !tt$Q;;abf-downloads.rosalinux.ru;o$enmandriva2013.0;re$ositor*;i982;media;main;release; ur$mi.addmedia main32Xu$dates !tt$Q;;abf-downloads.rosalinux.ru;o$enmandriva2013.0;re$ositor*;i982;media;main;u$dates; ur$mi.addmedia non-free32 !tt$Q;;abf-downloads.rosalinux.ru;o$enmandriva2013.0;re$ositor*;i982;media;non-free;release; ur$mi.addmedia non-free32Xu$dates !tt$Q;;abf-downloads.rosalinux.ru;o$enmandriva2013.0;re$ositor*;i982;media;non-free;u$dates; ur$mi.addmedia restricted32 !tt$Q;;abf-downloads.rosalinux.ru;o$enmandriva2013.0;re$ositor*;i982;media;restricted;release; ur$mi.addmedia restricted32Xu$dates !tt$Q;;abf-downloads.rosalinux.ru;o$enmandriva2013.0;re$ositor*;i982;media;restricted;u$dates; ur$mi.addmedia contrib32 !tt$Q;;abf-downloads.rosalinux.ru;o$enmandriva2013.0;re$ositor*;i982;media;contrib;release;

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 32 of 116

ur$mi.addmedia contrib32Xu$dates !tt$Q;;abf-downloads.rosalinux.ru;o$enmandriva2013.0;re$ositor*;i982;media;contrib;u$dates;

t!en wit! UrootVWdrakrpm6edit6media 7expert

4elect all.

5.1.3 Add t*e MI( s#+r es


;e can also add the M85 repositor2, in which we can find additional pac/ages, updates and much more

http!""mib pianetalinux org"blog"


0he +-bit s2stems urpmi addmedia FFupdate M85Fbasic http!""mib pianetalinux org"M85"omv-'&+"+-"basic" urpmi addmedia FFupdate FFraw M85Fexperts http!""mib pianetalinux org"M85"omv-'&+"+-"experts" ,.bit s2stems urpmi addmedia FFupdate M85FbasicG,. http!""mib pianetalinux org"M85"omv-'&+",."basic" urpmi addmedia FFupdate FFraw M85FexpertsG,. http!""mib pianetalinux org"M85"omv-'&+",."experts" repositories are!

0he repositor2 >expert> is not 2et available, but 2ou can chec/ the following lin/!

http!""mib pianetalinux org"blog"repositor2

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx ".+ &ystem '%dates

Page 33 of 116

=O0@! Once the repositor2 configured the s2stem will warn 2ou of the presence of an2 updates in complete autonom2, b2 displa2ing a small icon in the s2stem tra2 (OpenMandriva Online)

:ressing it will reJuest the 97@3 password 8n the window that opens will present the list of pac/ages to update 8f 2ou want to change the user password reJuirement, the original setting, with the root password, read the following paragraph!

Aonfigura lEautentifica6ione per gli strumenti OpenMandriva

we will not have to do is press the 9:410@ button and confirm the update in the next window 1fter downloading and installing the updates window will be empt2 so we can close the window b2 pressing @M80 0he small icon will change color and will disappear after a few seconds

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx
Pou can also upgrade the s2stem from the terminal of course

Page 34 of 116

Open a terminal and become an administrator, after that, run the following command

Rroot\$OL4 davideTW urpmi FFautoFupdate


the s2stem will update the lists of internet repositories, chec/ for updates, download, and install complete autonom2 when the operation is complete disconnect from the internet (if necessar2) =O0@! 7ome times it is possible that the signatures of pac/ages to be installed is not correct, onl2 happens when 2ou give the command b2 adding the following option!

FFnoFverif2Frpm
then!

Rroot\$OL4 davideTW urpmi FFautoFupdate FFnoFverif2Frpm


=O0@! 147L connections is not bad update 2our s2stem ever2 time (or almost) that 2ou go on the internet, or in the case of Xat connection whenever 2ou remember 8n practice ever2thing is resolved with the same command

Rroot\$OL4 davideTW urpmi FFautoFupdate


1n update freJuentl2 has multiple benefits, firstl2 it is alwa2s up to date for both bug fixes, software updates for securit2, on the other hand the number of pac/ages to be installed will be low then the process will ta/e little or ver2 little 8nfreJuent updates can also lead to an update process involving hundreds of pac/ages

".3 #nstalling %rograms


1fter entering the new sources of pac/ets, in the >72stem 1dministration> in the >Aonfigure Pour 4es/top> we will be able to clic/ on >8nstall and 3emove 7oftware> where 2ou can find thousands of software categori6ed b2 t2pe of application 0o install them! select 0urn on the connection to the internet (if necessar2) press install when the operation is complete disconnect from the internet (actuall2 ?ust start the installation phase, 2ou can alread2 close the connection to the internet) #rom the terminal 2ou can install the programs that 2ou alread2 /now the name simpl2 with the command urpmi nameI presetI obviousl2 need to be super user and have the internet connection is alread2 active then! Eurpmi *$ro(ram name+ *I5DIO+ Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx

Page 35 of 116

=O0@! 8n the case in which the :A is plugged into a corporate networ/ with prox2 is added to the following command string FFprox2 H8: del prox2I!HportaI FFprox2Fuser Huser nameI!HpasswordI or if the prox2 does not reJuire password FFprox2 H8: del prox2I!HportaI <Install and 2emove (oftware< 0o search for a program that 2ou /now the name, for example QiAad, ?ust t2pe it into the field at the top and press enter 8n fact, it will find all the pac/ages that contain the search string in the name

.!en $ress 3$$l* and *ou a(ree to resolve an* de$endencies.

#or some special programs, for example :P0HO= research will bring out man2 files, we have to do in the absence of special needs (for example, use a specific version of p2thon), 2ou select onl2 the main one, then ?ust p2thon 5OT? 1$ =ote the voice 1LL the icons above groups of programs used to specif2 displa2 all the available pac/ages 0he dropFdown menu allows 2ou to choose other options including >:ac/ages with $98> through which pac/ets will be displa2ed with graphical interface omitting libraries and programs from the terminal, in short, to simplif2 the choice 5OT? 2$ 8n the Options menu, select >use regular expressions to search> in this wa2 2ou refine 2our search 5ote 3$ 8n the D8@; menu and can choose from various t2pes of grouping of pac/ages

5.3.1 Meta-pa #a"es


1lso from the dropFdown menu, which we ?ust tal/ed about, among other options there is the Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx
voice MetaFpac/ages

Page 36 of 116

0hese are empt2 pac/ages that have been dragging behind as dependencies a particular set of pac/ages LetEs ta/e an example, selecting the >metaFpac/ages> from the menu, and select the icon on the left bar >$raphical 4es/top> and as >Mfce> 2ou will find a little pac/et appointed tas/Fxfce (plus version) b2 selecting one, 2ou can do it for onl2 one test, 2ou will see the list of dependencies associated with it, and 2ouEll understand the convenience of these meta pac/ages 0he2 are ver2 comfortable! Tas#-"ames (install different games of various t2pes of space occup2ing about - - $) edu-tas# (installs /de games, tuxpaint, stellarium etc for about +('M)

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx ".4 '%dating a single %rogram

Page 37 of 116

8f, for some reason, 2ou do not want to upgrade the s2stem, but 2ou want to update onl2 a single program, for example /+b ?ust update the lists with the usual command! Eurpmi%update -a after 2ou install the update with Eurpmi Fupdate #3b

"." 1he first %rograms # install2


0here are a number of programs and libraries whose >8> can not do without, and 8 install immediatel2 after adding the repositor2, and the first s2stem update hereEs the list! Aro"ram 'es ription ya#ua#e QonJueror #aGeine wine xsane xsane-"imp "imp Hava 4OpenH'I9 lame #ipi-plu"ins "labels Telli o win+-Fcodecs libdvdcsslibdvdnav. libfreet2pe, libfreet2pe,Fdevel terminal (appears and disappears b2 pressing #&-) >e need more t!an an*t!in( else to add convenient service menu to dol$!in $reat media pla2er for digital 0D to install the programs win (install the +-bit version) for the scanner scanner using gimp 8mage manipulation program Yava encoder M:+ Darious plugins for photo correction to create labels Aataloger collections, which 8 use as a small database decoder per vari formati librerie per leggere i 4D4 librerie per la naviga6ione dei 4D4 librerie per i font librerie per i font
(se sono su un sistema +-bit)

(?avaF& L 'Fopen?d/)
<if *ou are on a 32bit s*stem=

Jash-player-plu"in #lash :la2er plugin for browser

Qommader @ditor ed executor per /ommander scripts =ote &! 7ome are alread2 installed, but 8 am still chec/ing =ote -! 0his will also install dependencies

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx
1 further step is to verif2 the install /ernel source Rroot\gold davideTWuname Fr H8=D8OI + && )Fnr?]LFdes/topF&omv indicates that both the /ernel version! and also the t2pe! 3%11%. des#top

Page 38 of 116

8 install the /ernelFsources related to nr?]LFdes/top Rroot\gold davideTWurpmi /ernelFnr?]LFdes/topFdevelH3eturnI devel pac/age ma2 alread2 be installed, if so will be notified 8f 2ou tr2 the /ernel on the graphical installation program, will be listed including various /ernel will select the /ernel devel relative to ours

=ote! 0he /ernel pac/age devel serves, for example, when 2ou need to install d/ms driver @ven if 2ou do not chec/ this in advance, during the installation of an2thing that needs this pac/age, it will be installed as a dependenc2

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx ".3 &ystem -eco/ery

Page 39 of 116

8t never happened, but if b2 chance 2ou ever need to restore the boot loader of Linux or ;indows < (then rewrite M53), or for an2 other reason, 2ou can use the installation 4D4 OpenMandriva Lx, -'&+, b2 selecting the item >0roubleshooting>

#rom which we can launch both memor2 test is the $395-

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 40 of 116

1a$itolo

9
, S-STEM .O/FI0URATIO/
.!e con+(uration $ro(rams t!at we will use to modif* some as$ects of t!e distribution are alwa*s t!e sameQ +onfigure your )esktop +onfigure your +omputer command EmccE= 3re easil* found in 4im$le>elcome <c!an(e user-level= <mac!ine-level c!an(es= <to run it from terminal use t!e

#r if *ou $ut "ic"oR as t!e start menu t!en *ou will +nd belowQ #OOL 8 #OOL 1 #2M

and !ave t!e followin( namesQ +ontrol +enter 9: +onfigure 1our )esktop OpenMandriva +ontrol +enter 9: +onfigure 1our +omputer

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 41 of 116

6.1 OpenMandriva CONT OL C!NT!


3ll t!e o$erations of s*stem settin(s can be $erformed via a dedicated (ra$!ics $ro(ram. .!e main control center is Gust in distribution #$en%andriva E#$en%andriva 1ontrol 1enterE via t!e followin(Q M2'* 8 #OOL 8 #OOL 1 #2M

,dentical to t!e famous E%andriva 1ontrol 1enterE

#n t!e left are t!e various sections of w!ic! t!e most used is sure to be E oftware ManagementE, from !ere *ou can access t!e s*stem for mana(in( t!e installation and removal of $ac"a(es. /)%s containin( t!e various $ro(rams.

4electin( t!e icon for t!e installation *ou (etQ

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 42 of 116

,f *ou alread* "now t!e name of t!e $ac"a(e *ou want to install, for exam$le if , want to install a $ro(ram for electronic simulation, t!en tr* Eore(anoE and , select it, t!e s*stem will select automaticall* all t!e ot!er $ac"a(es needed to install it <of course if t!ere are an*=. 3t t!is $oint, $ress /PPL1. #f course it is $ossible to select multi$le items and install onl* at t!e end of t!e selection.

,n t!e 4*stem section of t!e %11 can be con+(uredQ

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 43 of 116

Fonts <if *ou want to im$ort on t!e $artition windows or add more= 3ctive services <be careful= .!e locale <lan(ua(e used b* t!e old s*stem and com$atibilit* encodin( is not 0.F-8, reac!able b* voice 3DV3-1'D= )rovide for and set u$ $eriodic bac"u$s. 3dd additional users

E4et t!e date and timeE is useful if *ou want to activate t!e o$tion for settin( t!e time on t!e networ". 3ll *ou need is an internet connection active w!en *ou con+(ure it.

3lso from %11 *ou can easil* con+(ure a +rewall for internet in t!e

/;2#1 section

selectin( E+onfigure your personal firewallE

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 44 of 116

?ou can 2'/<L2 services and servers t!at +/' be reac!ed from t!e ,nternet. .*$icall* deseleMiono all entries <ie, no o$en door to t!e internet= ?ou can also close ; o$en all t!e doors of access to t!e s*stem, individuall*, based on t!e $ort number and service.

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 45 of 116

3s clearl* stated *ou can c!ec" ;etc;services w!ic! $orts are available. #nce *ou enable t!e +rewall Gust clic" on #A and c!oose w!ic! et! interface *ou want to enable t!e +rewall. it is im$ortant to ta"e a loo" at t!e +rewall lo(s from time to time to c!ec" for an* access attem$ts ,n t!e same section we also +nd t!e followin( entr*Q

,.1.1 .#n"ig+re a+t*enti ati#n "#r instr+$ents OpenMandriva


.!rou(! t!is menu *ou can select t!e necessar* $ermits for t!e various con+(uration $ro(rams. &et s ta"e a $ractical exam$le if we wanted to c!an(e t!e user $assword rePuirement for s*stem u$(rades, ma"in( it necessar* for t!e user s $assword administrator <root=, sim$l* +nd t!e row relatin( to E%andriva 0$datesE and select from its dro$-down menu E)assword root E

1om$lete b* $ressin( t!e #A button

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx ,.1.2 Adding #$p#nents in M..

Page 46 of 116

3fter addin( t!e re$ositor* internet *ou can install $ac"a(es t!at will add ot!er con+(uration wiMard #$en%andriva 1ontrol 1enter. .!ere are several, amon( w!ic! , PuoteQ

)rakfax = Allows you to configure a fax server, which uses Hylafax attention, and in fact will ask you to immediately install the HylaFAX server. You will see a new icon in the Hardware section in MCC | Configure printers and scanners. )rakwi>ard = set of wizards for configuring the system (ftp, web, dhcp, dns, sshd, etc.)

#t!ers will not a$$ear in %11 but ma* be launc!ed directl* from t!e terminal.

)rakoo

= Set the default save format for LibreOffice.

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 47 of 116

6.2 Control Center (KDE 4)


.!rou(! t!e control center accessible from AD'8 Menu 8 +omputer 8 ystem ettings, *ou can con+(ure all t!e o$tions related to *our des"to$, t!en t!e a$$earance, user information, t!e $resets, "e*board s!ortcuts wit! t!e relative con+(uration of t!e various function "e*s, and muc! more .

.!e entries are t!e usual ones alread* $resent in t!e control center AD', and functions remain t!e same. .!e* are (rou$ed into sections w!ose title alread* s$ells out t!e functions t!at we are (oin( to c!ec". ,f *ou !ave installed t!e nvidia drivers remember to run t!e EDes"to$ 'RectsE (o to t!e tab E3dvancedE and

"et Open#L as the type of $o%position& so you $an then ena'(e other )* e+e$ts (i,e the $u'e -ust to %a,e an e.a%p(e.

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 48 of 116
selectin( E3$$lication 3$$earanceE Puesttta window will o$en wit! an icon menu on t!e left and on t!e $resentation of t!e o$tions *ou can c!an(e. 4electin( #1L2 we can select usin( t!e a$$ro$riate dro$-down menu st*les alread* available in t!e s*stem.

1#&#/4, 1!an(e t!e color set used <menu bars, etc.=

6ere we can select t!e icon t!eme, or adds new sets of downloadin( t!em directl* from "de-loo", to do t!is Gust $ress t!e UGet -ew .!emes ...V

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 49 of 116
.o install t!em Gust c!oose t!e one *ou want, select it and $ress on install t!e to$ic will +nd !im in t!e list. -#.'Q .!e UGet new ....V we +nd in t!e ot!er sections and we will alwa*s allow access to t!e extensive librar* of "de-loo".

4corriamo tutte le voci $resenti all interno del 1entro di controllo AD' $er veri+care tutte le $ossibili con+(uraMioni #f $articular interest ma* beQ /ssociation of the file t!at allows *ou to select t!e $ro(ram to use to o$en a $articular +le t*$e. Hust searc! for t!e +le extension in a timel* manner and to or(aniMe t!e list of $ro(rams associated wit! it, "ee$in( in mind t!at t!e +rst $ro(ram in t!e list will be t!e one normall* used to o$en +les of t!at t*$e. /uto tart from w!ere *ou can enter bot! $ro(rams scri$ts, to be launc!ed automaticall* to our des"to$. 4ee an exam$le of a scri$t to launc! a V-1 server, in $ara(ra$! <10.28=, for exam$le, , alwa*s add t!e E*a"ua"e.E ession Management useful to set t!e default exit action and remove or add t!e rePuest of s!utdown o$tions.

?.-.% Mouse
,f *ou $refer to set sin(le clic" instead of double for o$enin( +les +ontrol +enter @ardware section !nput )evices mouse 4electin( t!e menu on t!e left mouse , enable Esin(le clic" to o$en +les and foldersE , leave t!e rest as is. 3lso in t!is window will be $ossible to calibrate t!e Go*stic" and modif* and add "e*board s!ortcuts, sim$l* clic" t!eir icons.

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 50 of 116

3.3 Configuring &ensors

ans . tem%erature

0mEsens$rs !n1 .$ne $8 th$se +!46!%es th!t wi00 9e inst!00e1 !7t$m!ti4!00y 17rin% inst!00!ti$n $8 the *" T$ #eri8y the +resen4e %$ t$ ! termin!0 !n1 ty+e3

Bsens$rs FG)T<GNH
the 4$mm!n1 sh$701 ret7rn s$methin% 0i6e3
!4+it=C#irt7!0C0 A1!+ter3 irt7!0 1e#i4e tem+13 I''.0JK >4rit tem+23 I'1.0JK >4rit tem+33 I3L.LJK >4rit tem+43 IL0.0JK >4rit tem+'3 IL0.0JK >4rit tem+L3 I'L.0JK >4rit $++7re 610tem+C+4iC0043 A1!+ter3 PK- !1!+ter tem+13 I2&.1JK >hi%h 2 IM0.0JK) >4rit 2 I&0.0JK, hyst 2 I8'.0JK)

2 2 2 2 2 2

I10'.0JK) I10'.0JK) I10'.0JK) I110.0JK) I2'L.0JK) I10'.0JK)

and then ever2thing alread2 installed 8f not returned an2thing or not this command, simpl2 install the lmGsensors pac/age however, launch the command as an administrator! W sensorsFdetect and follow the suggestions for each Juestion (the options are written in upper case), ?ust press @nter ;ill be detected and configured so other devices, relaunch the command >sensors> and get more information!

it)L-&FisaF'-(' 1dapter! 871 adapter in'! %- )- D (min U %& +, D, max U %' ,) D) 1L13M in&! %- )- D (min U %- ++ D, max U %& ,' D) 1L13M in-! %& -& D (min U %- (. D, max U %' -) D) 1L13M %+ +D! %+ +. D (min U %* +* D, max U %- +) D) 1L13M in.! %- (( D (min U %- ') D, max U %' (* D) 1L13M in*! %- *+ D (min U %& &- D, max U %' )+ D) 1L13M in,! %& ,. D (min U %- ,, D, max U %' +- D) 1L13M +D75! %, 'L D (min U %& )' D, max U %+ LL D) 1L13M Dbat! %+ +, D fan&! -*), 3:M (min U -& 3:M) fan-! ' 3:M (min U &- 3:M) 1L13M fan+! ' 3:M (min U && 3:M) 1L13M temp&! %+) '^A (low U %& '^A, high U F*L '^A) 1L13M sensor U thermistor temp-! %+. '^A (low U F* '^A, high U F* '^A) 1L13M sensor U thermistor
Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx

Page 51 of 116

temp+! F&-) '^A (low U %)L '^A, high U %*( '^A) sensor U disabled intrusion'! OQ
@sin" I'?1 is ertainly simple to use plasmoids available to monitor temperatures%

3.4 4ideo Codec #nstallation


8n order to see the various media formats both audio and video, as well as read 4D4 as full2 as possible, 2ou need to install some pac/ages that provide libraries and codecs needed Man2 others are alread2 installed we will add them

Libreria , ode +- bit libdvd ss2 libdvdread1 libdvdnav1 libdv1 liba*-dec' libdvbpsi libebml+ libmatros/a* win32- ode s x-,. re!0C4$1e4s 8!!4 8!!12 x-,. re!0C4$1e4s 8!!4 8!!12 ,. bit lib/1dvd ss2 lib/1dvdread1 lib/1dvdnav1 lib/1dv1 lib,.a*-dec' lib,.dvbpsiL lib,.ebml+ lib,.matros/a*

'es riKione 4D4 access b2 deA77


&ibrar* for /eadin( DVD Video ,ma(es

4D4 =avigation librar2 Aodecs for ]uasar 4D Dideo Librar2 for decoding 107A 1"*- streams 4ecoding M:@$- and 4D5 :78 sections @xtensible 5inar2 Meta Language
&ibrar* for %atros"a <6D=

7et of codecs H-,."1DA encoder Aodecs real pla2er #ree 1dvanced encoder) 1udio @ncoder (11A

#ree 1dvanced 1udio 4ecoder (Mpeg- e . decoder)

8f 2ou install 2ou will see all 2our 4D4s and read most of the audio " video formats 8# PO9 13@ O= 0H@ 3@:O780O3P all 2ou can simpl2 use the 8=701LL 7O#0;13@ MAA search select and install the various pac/ages

Mandatory 5ote$ (ome of these pa #a"es are run formats overed by 2i"hts 4'2M or other9; the use of whi h may be ille"al in your ountry; why are released from the 2estri ted
Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx
repository%

Page 52 of 116

=O0@! 8f 2ou have installed the ,.bit version loo/ for the above mentioned libraries in ,.bit version basicall2 ?ust change the name from libdvdcss- HI lib,.dvdcss-, ?ust to give an example Pou better loo/ for them with the graphic program for installing pac/ages, so as to simplif2 the search and version control (,.bit"+-bit), which are both present

3." -eaders 5emory Cards6 5P3 de/ices6 digital cameras


1s mentioned above, the detection and installation of 975 devices is ver2 efficient, so in principle ever2thing that connects to the :A is automaticall2 detected and mounted b2 presenting a widget into 8AO=

[Device newest].
8n addition, b2 selecting the device from that window, a window appears with several options to choose from, for example, open a window or do nothing, formats, and more 8n the case inserissimo a camera and should not be presented, 2ou can use the program 4igi/am, ?ust connect the camera and from the >camera> is pressed on >add camera> 0he communication will be through is ptp mode is 4igi/am is useful both as a cataloguer " viewer for both correct and retouch our photos, the program is complex and featureFrich, and therefore reJuires a reasonable time of learning of functions, although man2 of the possible operations to be performed on the photos are automated b2 various plugins present in 4igi/am and /ipi b2 excellent plugins that extend the functionalit2 of the program 2et 8 add some lin/s!

http!""www digi/am org" http!""extragear /de org"apps"/ipi"

http!""www digi/am org"node"+-+

http!""extragear /de org"apps"digi/amimageplugins"

7ee also the >M1=91L O# 1::L8A108O=7> alwa2s on linuxFcorner www linuxFcorner it

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx 3.3 $C- &o!tware

Page 53 of 116

1s often happens in Linux we also have for OA3 programs from the command line and the frontFend for ease of use, ;e therefore available Lo r O rad Tessera t ('!.( version) ('!-& version) (version +!'-!'-)

7ee the >1::L8A108O= M1=91L> alwa2s on linuxFcorner www linuxFcorner it

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 54 of 116

3.7 84#D#) D-#4E- #8&1)**)1#$8


More and more hardware manufacturers release proprietar2 drivers for Linux, one of them is =D8481 graphics chip ma/er ($e#orce-, ., $@#O3A@ #M, $e#orce ,'''"L'''")''' series, etc ) and =#O3A@ chipset motherboard (=force - 9ltra =force- .'', n#orce+ =force. etc ) =O0@! 8n m2 opinion it is absolutel2 preferable to install using 4QM7 pac/ages, which have man2 advantages including the list! & + @ase of installation 1utomatic update drivers during s2stem upgrades 1utomated rebuilding of the driver in case of updating the /ernel and related pac/ages devel

use the other method onl2 in the case of impossibilit2 of access to the networ/

/%M%1 5DI'I8 Dideo 7ard 'river


0he open source drivers used in the distribution are the nouveau driver, but often, for various needs that are recreational or professional, 2ou need to install the nvidia proprietar2 driver excellent, the2 have much better performance 0o properl2 install the nvidia proprietar2 driver 2ou need the /ernel and use the /ernel devel are aligned, otherwise the driver installation will not be completed, this is done automaticall2 during the configuration of M&& is used b2 MAA

3.7.1.1 #nstalling 84#D#) o9icial dri/ers

#! you do not ha/e s%ecial needs dri/ers to use DK5&6 see next %aragra%h.
#rom the =vidia website in the download section 2ou can download the latest drivers for 2our card, ?ust select the series and it will be sent to the appropriate download page 0his was downloaded and Ea run file =D8481FLinuxFx),G,.F++& -' run

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx
(0he number varies when a new version)

Page 55 of 116

=O0@! 0his procedure reJuires that the modules are not loaded nouveau, because it totall2 incompatible with the nvidia proprietar2 driver 7o now that the open drivers are nouveau instead of nv classics, to install the driver we can not simpl2 leave the 7erverM but we will have to boot directl2 into init+ the 7erverM will not wor/ but will not be loaded above the nouveau driver, and weEll end up in front of a pure console 1t this point 2ou go to the director2 where we saved our file 3uns and we will ma/e it executable with the command!

Wchmod %x =D8481FLinuxFx),G,.F++& -' run


and then we will launch

Wsh =D8481FLinuxFx),G,.F++& -' run


7tart an application that will install the new driver in the s2stem, but to do so will have to compile one 0he onl2 attention and answer =O to the connection reJuest to the mirror =vidia to search for a driver alread2 compiled (2ou can also groped if 2ou have 8nternet access alread2 active and if 2ou have never updated the /ernel) 1fter the procedure 2ou have to tell the s2stem to use the =vidia drivers, do so b2 editing the file!

"etc"M&&"xorg conf
then! Rroot\$OL4 davideTEvi "etc"M&&"xorg conf 8n the 4@D8A@ to change the voice that 4river >nv> must become >nvidia>

7ection >4evice> 8dentifier >device&> Dendor=ame >nDidia> 5oard=ame >=D8481 $e#orce (generic)> 'river <nvidia< Option >4:M7> @nd7ection
save the file

@7A !wJ
1lso chec/ the presence of >nvidia>

in "etc"modprobe preload
and reboot the s2stem with the command

Wshutdown Fr now H3eturnI

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 56 of 116

3.7.1.+ #nstalling the 84#D#) dri/er using DK5& %ackages

8f 2ou have alread2 configured the repositor2 internet @ Eenough to go to 7on!"ure Bour 7omputer Cardware section and press the 7on!"ure Lraphi system 0his will open a window through which we are going to reselect our video card, under the Dendor and nDidia, are listed in groups for practicall2 as!

_$eforce _$eforce _$eforce _$eforce _$eforce etc

- MM to $eforce .` .'' series and later` ,&'' to $eforce L(*'` )&'' to $eforce +,'` #M a series`

(install (install (install (install

nvidiaFcurrent) nvidiaF+'.) nvidiaFcurrent) nvidiaF&L+)

confirm 2our choice [ ;eEll be warned of the presence of a driver and owner , we are as/ed if we want to use it Alic/ on > P@7> 5e so installed all the necessar2 pac/ages including the 4QM7 and the appropriate /ernelF devel Aomplete the installation and compilation of us d/ms driver will be as/ed to select monitor F select :lug b :la2 resolution F please leave what 2ou find and in the end 2ou will see a window with a few options to enable or disable and E absolutel2 necessar2 to enable the last option at the bottom otherwise ?ust restart the M server will not start 8n the case of dual monitor , remember to enable the output with the appropriate option Aomplete these tas/s will exit the configuration program , and 2ou will have to restart 2our :A =ote! 0he advantage of using these pac/ages , in addition to not having to exit M and move on a terminal , to be automaticall2 recompiled for ever2 /ernel upgrade, and to be updated during the usual s2stem upgrades 0he disadvantage is that upgrades automaticall2 during s2stem updates , 2ou run the ris/ , ver2 low because the2 are extensivel2 tested before , to install a version with bugs too bloc/ers, due to the pac/aging or b2 the driver 0o overcome this problem , ?ust enter these drivers between the pac/ages to not update

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 57 of 116

8 installed drivers provide extra programs such as nvidiaFsettings with which 2ou can obtain a lot of information on the video card hardware

5ut even possible to configure a second monitor 8n case 2ou want to use this application to configure the video card remember to run it as an administrator, the command to use is!

WnvidiaFsettings

2unnin" it as an administrator we !le usually


"etc"M&&"xorg conf

an save

han"es to the

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx 6.8 installing the )1# D-#4E8nstall the /ernel sources and follow the same instructions in the section

Page 58 of 116

* ) & - 8nstalla6ione driver =D8481 tramite pacchetti 4QM7


0he procedure and almost identical 8 can not be more detailed as 8 never got to tr2 the 108 cards, bu2ing, in fact, alwa2s depending on the hardware Linux does not even ta/e into account the different cards from =vidia or intel at least for now 5ut this is onl2 m2 personal opinion More information can be found, however, dedicated networ/

3.: #nstalling the #81E* D-#4E8ntel releases the driver directl2 to the open source communit2 so there are no proprietar2 drivers to update Having a laptop with 8ntel video card 8 could see that drivers released are good enough, and can be activated even +4 0he performances are not comparable to =vidia cards, but definitel2 good =ote! 7ometimes the video pla2bac/ with this t2pe of video cards has an abnormal overlap of dots blac/s on the images 0o solve this problem, simpl2 select in the settings of the pla2er in the categor2 Dideo Dideo a suitable driver, such as N11(hm 0his on almost ever2 pla2er mpla2er, xine and the programs that the2 rel2 /mpla2er, /affeine etc

3.1; #n the e/ent o! %ro<lems with the %ro%rietary dri/ers =)1# . 8/idia>
8f the verification of the operation of the proprietar2 driver does not have a positive outcome, simpl2 rerun the selection process of the card and the Juestion >0here is a proprietar2 driver 8 want to use >answer =O[ Aomplete and tr2 again with the 0@70 button, the proper functioning of the open drivers 1t this point riavremo a $98 and we dedicate ourselves to understand the origin of the problem with the drivers Owners

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx 3.11 (oot *oader Configuration

Page 59 of 116

0he default boot loader in OpenMandriva Lx -'&+ $395#or its board configuration using the graphical tool

present in the >7tartup> section of OpenMandriva Aontrol Aenter Here 2ou can select for example the dela2 before starting the default operating s2stem :ress =@M0

1t this point we can add other operating s2stems ma2 be installed on other H4

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 60 of 116

3.1+ #nstalling and Configuring De/ices


8n these paragraphs will be given instructions on how to install the most common devices on OpenMandriva, often 2ou will not need to do an2thing other times we will have to perform the steps, in principle simple

/%12%1 Arinters
#rom the >7on!"ure Bour 7omputer > Cardware se tion :ress the button! 7on!"ure printer 4s9 ; print Oueues ; %%%% ;e will meet in front of a window where weEre going to add the printer alread2 connected via the 8'' button Later 2ou ma2 need to install some pac/ages, so ma/e sure 2ou have alread2 configured the repositor2 and to have access to the 8nternet is active 8f prompted to accept the installation of reJuired pac/ages 8f the printer is connected via 975 will find it alread2 in the list, if it is a networ/ printer we have to choose ! _#ind networ/ printer` is added in the space HO70 8: address of the printer and trace it using the button 6I5' 1fter a few moments of research will be found the printer and will be added to the list is networ/ printer is :ress the 5?NT button to complete the configuration, 2ou will need to be installed if other pac/ages =ow we will choose the driver to use , tr2 our printer brand and model from the list 8n the right window there will be several drivers to choose from 1ll going well , 2ou probabl2 need to select the recommended and press 5?NT 7et the name and description of the printer and press 8AALB 8n the printerEs :roperties window 2ou can still change the options, for example, the print Jualit2 to be used as the default rather than the twoFsided printing if available (usuall2 in the office printers or multiFfunction ) =O0@! 0he steps and options depend on the t2pe of printer , ma/e, model , t2pe of connection and available options , then what will be reJuired ma2 var2 slightl2 from the description ?ust made 8f 2our printer is an H: , 2ou can use the program > H: 4evice Manager > to configure and manage the printer , if 2ou have an H: multifunction use this program to configure the printer and fax in a single shot 7earch on the net an2 guides or directions On www linuxFcorner it is present, for example , a guide in 8talian for the H: ,*'' Multifunction :rinter with @thernet connection Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx

Page 61 of 116

/%12%2 ( anner
#rom the 7on!"ure Bour 'es#top Cardware section :ress !! 7on!"ure a s anner 7ome pac/ages will be installed if necessar2 including of course the bac/ end sound, after which it will be detected the scanner connected to the :A

5OT?$ If you own an CA M6A does not use this system to on!"ure the inte"rated s anner; the CA driver for the printer already provides everythin" you need to use the s anner%

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 62 of 116

1a$itolo

2
A /PPL!+/#!O'
7ee >9ser 1pplication> for guidance programs 2ou use most freJuentl2 eFmail 5urning program Manager M:+ audio files, ogg Manager Aamera and :hotos $nuAash (personal finance manager) and more

7ee the >1::L8A108O= M1=91L> alwa2s on linuxFcorner

www linuxFcorner it

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 63 of 116

1a$itolo

5
B ;inishing touches to the system
0here are some twea/s that can be used to ma/e our s2stem more usable

?.1 Konsole
>Ba#ua#e,> for example, is a wonderful program that allows 2ou to ma/e read2 a terminal 4o not 2ou see it ?ust a simple clic/ on the #&- and will appear above

?.+ &@&1E5 5E8' De!ault =&im%le 0ellcome>


(imple 3ell ome 0he default menu of OpenMandriva Lx -'&+ called 7imple wellcome, a menu is a little detail that occupies almost the entire screen and follows the menus of mobile devices such as tablets and smartFphones b2 presenting all the icons of installed applications, with the possibilit2 of hori6ontal scrolling and dragging a possibilit2 to group icon on the other, to obtain the groups
8t is divided into three sections! 0he first is a summar2, with the latest applications and perform dis/ access and root directories =ote the possibilit2 of #ixa program into 3ecent applications, in such a wa2 as not to ma/e them disappear 0o do that ?ust clic/ with the right mouse button which will bring up a 2ellow star, on which we then weEre going to clic/ with the left

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 64 of 116
mouse button to fix it 0he middle one shows all the icons of the programs installed on the s2stem 0hese icons can be moved ?ust hold down the left button of the mouse for a while on one of them 8n addition to absent move 2ou can also ?ust move on to other group to automaticall2 create a group 0he group can be renamed 0he third named 0ime#rame has two different sections of the first >M2 Local 4ocuments> 7hows in chronological order all the documents (including photos and videos), but to wor/ reJuires the enabling of =epomu/ from Q4@ control center 0he second >7ocial =etwor/ing 7ite> to access faceboo/ b other online services :ersonal opinion! 8 do not thin/ the place to insert these features

0o add and change other menu, more conventional, there must be added to the ob?ect >7tarter 1pplication> panel which will add to the Qic/off menu, or to download new items for :L17M1, 2ou can tr2 5igLancelot, appmenu]ML and others

8.3 New Characters = onts>


1fter installation we have available for each program different sets of characters in the repositories internet, there are several others a complete list can be found on the >8nstall 7oftware> loo/ing >font>

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 65 of 116

?.4 1ransition !rom -ocket(ar o! -osa*a< the de!ault KDE4


OpenMandriva -'&+ uses the 3oc/et5ar created b2 3osa L15 and that completel2 replaces the classic panel of Q4@. 0he transition from one configuration to another is Juite simple , ?ust go to the tool box in the right corner and select the item 144 :1=@L and from the menu select the t2pe of panel Pou have three options ! & ) 4efault :anel - ) 5lan/ panel + ) 3oc/et5ar 0he first and the third entr2 in one fell swoop recreate a full panel in the classic version of Q4@. and 3oc/et5ar 3osaLab 7o ?ust completel2 remove the panel 2ou want to replace and add 2our panel 0o do so, use the context menu that appears b2 pressing the right mouse button on the panel to remove and selecting ! 3emove :anel =ote! 8n case 2ou do not remove the panel alread2 E present the new panel will cover it without replacing it 7o ?ust move one on another side of the screen to have them both visible

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 66 of 116

1a$itolo

8
C D!'2 6 (un programs under Linux win
7ee Manual 1pplications for this section, 2ou find the page Manuals LinuxFcorner http!""www linuxFcorner it"it"pagine"Manuali htm

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 67 of 116

1a$itolo

7
%& Miscellaneous info
1;.1 #8#1#)* 8$1E&
8n this chapter we list some notions that often comes in hand2 to /now, even if the2 are not absolutel2 necessar2 for ever2da2 use and profitable s2stem, the2 can ma/e life easier in case of problems 8n the manual, 8 often refer to commands executed on end, sometimes this can be hard especiall2 in the beginning, but it is good to specif2 that all operations configuration, installation, etc can also be made through the various graphics applications provided b2 OpenMandriva, as an2 other Linux distribution Having said that, with the passage of time some operations, 2ou will want them via the command line, precisel2 because of their convenience and speed

1;.+ Commands main shell


0o use the shell commands necessar2 to /now at least the main evidential list are in bold 0he shell can be called man2 things 2ou /now that when it comes to the terminal prompt, or command line alwa2s refers to the same thing 0here are a huge amount of commands, below is a short list of the most significant and used, and some are even listed the main options man cd ls cp mv rm m/dir ln pwd ! ! ! ! ! ! ! ! ! formats and displa2s the online help pages changes the current director2 displa2 the contents of a director2 cop2 files and directories move or rename a file or director2 delete files and directories Areates a director2 create lin/s to files and directories shows the current director2 www.linux-corner.it

Davide Garatti

Handbook OpenMandriva Lx
chmod Ahown cat find vi df free mount umount ps /ill hostname g6ip tar more less reset 6ip and un6ip top uncompress dmesg ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !

Page 68 of 116

change the access permissions of a file change owner of a file displa2 the contents of a file #ind a file between directories the text editor the one and onl2 shows the free space on the hard dis/ 7hows the status of the memor2 mounting a files2stem disable a file s2stem displa2s a list of running processes send a message (0@3M b2 default) to a process displa2 and change the host name compresses and decompresses files g6 create bac/up files ( tar) separates the output into more E pages ( even less) separates the output into more E pages reset the terminal to its initial settings compresses and decompresses files 6ipper shows processes that use more E A:9 time or memor2 uncompress files compressed file ( Z ) print event logs on the s2stem, if 2ou insert a 975 storage device or another device to see what is associated with !

7ome clarifications on the various options of the following commands !

! Aop2 file and director2 Fr ricorsivel2 (8f 2ou are coping a director2) Fa maintains t!e attributes Ff #orce ! delete +les and directories <noteQ -#. undelete exists@=. Fd remove also the director2 Fi as"s for con+rmation. Ff force Fr recursivel*. <if *ou delete a director*= ! creates or draws u$ +les . x extracts c stores v verbose f file name (to store or extract) 6 $rocesses before (Mi$ <for. tar.(M or. t(M=.

rm

tar

8n general, to store! tar Fcvf Harc!ive name tarI Hfilesname (o director2)I and to extract tar Fxvf Harchive name tarI or tar F6xvf Harchive name tar g6I or tar F6xvf Harchive name tg6I Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx

Page 69 of 116

g6ip

! comprime e decomprime file (estensione g6) Fd decomprime Ff for6a Fr ricorsivo F& pic veloce F( miglior compressione ! visuali66a un elenco dei processi correnti l formato esteso u nome utente ed ora di avvio m informa6ioni sullEutili66o della memoria a mostra anche i processi di altri utenti r mostra solo i processi attivi x mostra anche i processi che non controllano un terminale ! mostra la fine di un file Fs solo le ultime s righe Fc x ultimi x b2te Ff continua a leggere un file, utile se Juesto viene modificato

ps

tail

chgrp ! cambia il gruppo di appartenen6a di un file chmod ! modifica i permessi di accesso di un file metodo numerico! primo numero (op6ionale)! . ! set user 84 - ! set group 84 & ! swappa la text image secondo numerod permessi del proprietario! . ! lettura - ! scrittura & ! esecu6ione ter6o numerod permessi del gruppo, stessi valori Juarto numerod permessi degli altri, stessi valori F3 ricorsivo chown ! cambia il proprietario di un file o director2 user group setta il proprietario a user group F3 ricorsivo rpm ! gestire pacchetti rpm Fi installa un pacchetto Fe rimuove un pacchetto FJi RFJipT mostra informa6ioni su un pacchetto RnonT installato FJl RFJlpT mostra i file contenuti in un pacchetto RnonT installato FJa mostra lEelenco dei pacchetti installati

OpenMandriva fornisce il comando _urpmi` molto comodo e fun6ionale Wurpmi Hnome pacchetto rpmI

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx 1;.3 4# un editor ra%ido ed e9icace

Page 70 of 116

1lthough all changes to various configuration files 2ou can run through the usual graphics editors li/e /write, throwing in administrator mode ;ith Q4@. need to open a terminal and switch to administrator and then launch the program Rdavide\$OL4 eTfsu -H3eturnI (-#.' !*$!en after t!e command is absolutel* necessar*= password! Rdavide\$OL4 eTW /writeH3eturnI a great editor from the terminal is the famous _D8` 9nfortunatel2, its use is not the most simple, 2et remembering onl2 a few commands 2ou can in a few moments bare minimum reJuired to execute those changes, sometimes in the various configuration files (Rdavide\$OL4 eTWvi H#ile nameI H3eturnI here is some useful commands to /now 7ommand ?Ge t Di H#ile nameI @sc i a x dd @sc ! @sc ! r @sc ! wJ @sc ! J[ opening files 7witch to write mode to displa2 'nable writin( to t!e $osition of t!e cursor <insert= @nable writing to the next position (append) ,n viewin( mode deletes t!e c!aracter under t!e cursor 4elete the line under the cursor @nable the save commands output 8nserts the contents of the file read (r "etc"fstab inserts the contents of fstab file and the point on which we are running the command) 7ave and exit (write Juit) @xits without saving

1;.4 &u%er 'ser =root>


;hen 2ou open a terminal 2ou get what is called the prompt! example or Rdavide\$OL4 eTf Rroot\$OL4 davideTW

these strings on each new line give us some information t2pe! The user (davide, root) The name of the system ($OL4) and espe ially the A8TC (e davide) Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx
b2 david if 8 move in the Music director2 with the command

Page 71 of 116

Rdavide\$OL4 eTf cd Musica


the promt will become li/e this!

Rdavide\$OL4 MusicaTf

#inall2 the most important information tells us if we are a member (f) or administrator (W) W indicates that 2ou are super user (administrator or root) to become t2pe! Rdavide\$OL4 eTf su H3eturnI Rdavide\$OL4 eTP password SSSSSSS Rroot\$OL4 davideTE =ote! 8f 2ou want to edit files as root from $98 but ?ust open the terminal and switch to administrator and then launch the desired program Rdavide\$OL4 eTfsu -H3eturnI (-#.' !*$!en after t!e command is absolutel* necessar* ) password! Rdavide\$OL4 eTW /writeH3eturnI 1n2 program can be run with root privileges in the same manner A1908O= because the use of the user root has serious implications for safet2 see W- *

1;." &tructure o! the file system


Here is the structure of the file s2stem folders are some basics for ever2da2 wor/, among them the home director2 " " bin" boot" dev" etc" home"

FFI lin"s to $ro(rams and s*stem $ro(rams FFI +le to boot, boot mana(er <Grub, &,&#= ect FI #older with all devices that can be used and detected no FI #older with all the configuration files of all programs FI Aontains the userEs folders gdavide galessia gandrea galice

initrd" lib" Media" mnt"

FI FI FI FI Q7drom

72stem #older Aontains most of the libraries reJuired b2 the various programs contains lin/s to A4From, Xopp2 as " mnt Aontains the director2 partitions on ;indows < or removable storage devices, 975 stic/s, i:ods ect

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx
Q6loppy Q3in07 Q3in0' Q2emovible opt" proc" root" sbin" s2s" tmp" usr" var"

Page 72 of 116

FI #older used in other distributions to install programs (in Libreoffice official version is installed here) FI 72stem folder (contains all the details about 2our hardware) FI #older root FI 72stem #older (lin/s to programs) FI 72stem #older FI Alassic temp folder FI contains all the programs and other FI 72stem #older Rthis is where all of the information that changes, plus a little folder containing for example the >html> to run a web server (apache) where 2ou go to enter web pages under construction or to be published T

1;.3 &ecurity
(B(T?M TC? 2OOT A8((3O2' (CO@L' 5?D?2 :? @(?' 8( I6 IT 3?2? 8 @(?2 5O2M8L * 2 #@2 (OO# * 2(, / 1O* @OM2 impairs 2+*(!#1 1 #2M. 0H@= 97@ PO93 97@3[ '8T8 M1Q@ :@38O48A 51AQ9: O# 4101 0O 1=O0H@3 :130808O= O3 5@00@3 0H1= O=@ 487A, it is a good idea to avoid total loss of data, both for involuntar2 cancellation is due to brea/age of the storage medium

1;.7 Change Password


0here are various wa2s to change their password but the easiest and fastest is to open a terminal and t2pe the command >passwd> f passwd H@=0@3I Pou will be prompted to enter in seJuence the old password 0he new password the new password again 4one 0o do this with graphics 1pplications must invo/e the setup program Aonfigure Pour 4es/top =avigate to the 7P70@M tab and clic/ on the item

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx
>Managing s2stem users> 7elect the user and clic/ @dit button 8n the form that appears t2pe in the new password in the fields :assword and Aonfirm :assword Alic/ OQ and exit the program

Page 73 of 116

=O0@! 1s 2ou can alread2 see from this example, some operations are much faster when performed b2 terminal

1;.? )%%lications o! remote ser/ers


8t can happen to need to use applications that reside on other servers (Linux, H: , 79=), in these cases it is necessar2 to remember two important things! a) @xport 2our 487:L1P! then after 2ou login to 2our server we give the following command *indiriKKoIA of our ma hine+ setenv 'I(AL8B$ 0%0 b) 1llow 2ou to access 2our M server to the machine that hosts the program #rom terminal on our machine f xhost H7ervernameI or f xhost % (allows access to all) 0hese commands can be automated to log in man2 wa2s the easiest and enter the xhost command line HservernameI in the file bashGprofile which is located on our home this is the place to put an2 scripts " programs 2ou want to start automaticall2 8n the case of access via 77H (if the server supports it) there will be no need for another command in addition to the following! sshFMFl H7ervernameI HuserI

1;.: Connecting to the remote machine =AD5CP>


8f we have two or more :As on the networ/ can use M4MA: to connect to multiple :As remotel2 b2 opening a real remote session with their user 8n fact the same computer, and the applications contained therein ma2 be used b2 multiple users simultaneousl2 @diting the configuration file " etc"alternatives"/dm.Fconfig changing the field >@nable > Ma/e 2our :A reachable Obviousl2, as an administrator, right to pass the file to the section and put Mdmcp @nable U true

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx
R Mdmcp T @nable U true ;illing U " usr"share"M&&"xdm"Mwilling Maccess U " etc"M&&"xdm"Maccess

Page 74 of 116

On the client side we have two possibilities & ) #rom the login screen to choose between the options 3emote login , select the machine to reach and cater to login -) #rom 2our des/top , open a terminal and give the command M! & FJuer2 HusernameI :A FtoFreach or address 1443@77I in both cases 2ouEll end up with the usual login screen =ote &! 8n the second example, we will have our des/top (local) accessible via A03L % 1L0 % #) while remotel2 via A03L % 1L0 % #( =ote -! 5etter not use the +4 des/top for this t2pe of application =ote +! 8f we log off what we get is the closure of the session, and processes " programs are enabled , so not to be used as a remote control session 8f this is what 2ou want 2ouEll have to use something li/e 0ightD=A or 0igerD=A , see appropriate section

1;.1; Configuring authentication !or instruments $%en5andri/a


#rom the Aonfigure Pour Aomputer Hardware section :ress the button! >Aonfiguring autentifica6ioni for instruments OpenMandriva> 1 window will open with a list of the transactions will be able to choose the t2pe of authentication reJuired, between the following options! 3oot :assword user password =o password #or example the default configuration provides the abilit2 to perform updates to the s2stem b2 entering the userEs password, if 2ou have children it would be better to change this option with >3oot password> from this screen 2ou can do it easil2 b2 changing the second item

1;.11 Kernel $%tions


8n some (rare) cases the installation of 7 O can not be completed or started, and often ?ust add to the /ernel options to enable " disable " force >something > 0his section lists some options to add to the /ernel, to solve this /ind of problems LetEs start b2 clarif2ing how and where 2ou put these options in 70@: 8=701LL108O= 1t the 5oot from 4D4 when screen comes with various options Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx

Page 75 of 116

OpenMandriva 2ou select 8nstall and press the 015 /e2 appears in a command line (5oot options) in the bottom of which we are going to add the option previousl2 selected on the basis of the problem, for example noapic and nolapic and others Pou onl2 need to add the options 2ou want in the bottom of the line >boot option> letEs see what the2 should do these options OpKione =O1:8A 4isable 1:8A (1dvanced :rogrammable 8nterrupt Aontrollers) 4isable 1:8A (Local 1dvanced :rogrammable 8nterrupt Aontrollers) 4isable 1A:8 (1dvanced Aonfiguration and :ower 8nterface) is t!e ot!er $ower mana(ement in use. Overwrites the memor2 detected b2 the s2stem useful for older :As but also for laptop video card that shares memor2 0urn off :AMA81 devices present in the s2stem #orce boot in single processor mode Option that enables the Juic/ start of the s2stem OpenMandriva speedboot used to speed up boot before loading the services necessar2 to start the graphical interface www.linux-corner.it Overwrites the memor2 detected b2 the s2stem to be used in case of discrepanc2 between the measured and the memor2 actuall2 present (SS)

'es riKione 72stem used to set the interrupts of the various devices 72stem used to set the interrupts of the various devices 3 s*stem for controllin( s$eed of t!e fans and t!e various "inds of )1 s!utdown

Info (S)

=OL1:8A

1A:8UO##

(S)

=O1:M memUNNNM

nopcmcia nosmp speedboot

Davide Garatti

Handbook OpenMandriva Lx
eddUoff mceUoff nomce nomodeset no/msboot @xception control s2stem

Page 76 of 116
4isable this control

:revents the /ernel to determine 1pplicable in the event starting and the screen resolution stalling on a blac/ screen Disable t!e boot on multi-core 0se onl* one core of t!e u) to boot

(S) 0r2 it if 2ou can not boot the O7 installation (SS) 3eplace xxx with the value of memor2 in Megab2tes

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 77 of 116

1;.1+ &%eed(oot
@ven OpenMandriva Lx -'&+ continues to have the abilit2 to set speedboot 7peedboot is a s2stem to speed up boot time, in practice charges before the services necessar2 to start the graphical interface 0he s2stem has 2et to be developed and filed down a bit 0he initial configuration provides the option is set to =O, to run the probe and see if 2ou can actuall2 enable it, add the boot option speedboot U probe ;hen 2ou first start, tr2 to chec/ the compatibilit2 of the s2stem with speedFboot, and the second starts will use it or not depending on the first test Yust edit the file as administrator "etc"s2sconfig"speedboot changing 7:@@45OO0 U 2es rather 7:@@45OO0 U no in this wa2 2ou will not need to add or remove an2 /ernel option 8f 2ou want to force active, assigned to 7peedboot U 2es

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx 1;.13 #n!o &tartu%

Page 78 of 116

4uring the startup of the s2stem we are > entertained b2 a beautiful screen and a progress bar indicates the progress of 5oot the s2stem, this is ?ust a cover of the classic startup chec/list of Linux s2stems , which could scare off new users and that in an2 case it was> bad > to behold 0o pull it off , simpl2 press the @7A /e2 during startup 0he seJuence of >OQ> or >#ailed> dedicated to the start of each service , 2ou ma2 want to verif2 the presence or absence of problems, but ver2 often turns out to be too fast for the proper understanding of what happened, and then to reFread it with calm that has happened in the last start , ?ust go to see the > s2stem log > " var " log " boot log it can be read from the terminal via the usual commands Wcat "var"log"boot log or with W less "var"log"boot log or still open on /write in this case with W /write "var"log"boot log (2ou must be 1dministrator F command >su F > =otes! 5etter to use the first command for a clearer understanding =ote the need to open them as administrator (79) ;hat weEll see will be a list li/e this! 7tarting 7M5 services ! ROQT 7tarting =M5 services ! ROQT 7tarting wine ! ROQT ;here weEre going to tr2 not OQ but rather an2 R #18L@4 T =O0@! ;ith the use of boot speed given the speed of s2stem startup, and the number and t2pe of services that start before , it is even more important to chec/ , in case of problems , or curiosit2, the s2stem log "var"log"prcs2s log stored

1;.14 *$, &ystem


1s we saw in the previous section Log file s2stem are placed in the " var " log " here we can read other logs with some useful information 7ome files are listed ver2 long reporting and store information for each da2, to restrict the viewing of the latest lines stored using the command >tail> with the option F Hserial linesI for example! W tail F-' "var"log"dmesg

1;.1" Close a <locked %rogram


8t does not happen often but sometimes it happens to be in front of a loc/ed program can use three different methods to >/ill the process>

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 79 of 116

&) 9se the top command on a terminal which will present after a certain rows of information is a list of active processes! where weEll have to find one with a higher A:9 utili6ation, or the name of the program loc/ed in the corresponding row we find the information :84 that we need to /ill the program

:84 +*)& .-(. +)+&

97@3 root root

:3 =8D830 3@7 7H3 7 hA:9 hM@M 08M@% AOMM1=4 &* ' -),m *-m .,,' 3 + &* ' L&,) &&,) )). 7 * -( ' &' , +!'L *- M '!&) *& 2a/ua/e ''!'+ +, nmbd

davide &* ' +&)*, &.m &&m 7

7o ?ust ta/e the /e2 / (/ill) and enter the name of the process to /ill and then press ( to exit from top command to use >J> -) press the /e2board shortcut A03L % @sc will open a window with the list of processes, ?ust li/e in the top, but less >impressive>, where we will loo/ for the same information as before, but in this case it is sufficient to select the line and press the >Q8LL> =ote that 2ou can sort the information b2 pressing on the column headers +) 8nstall x/ill (W urpmi x/ill) launch it from the menu g 3un command, 2ou will see a s/ull instead of the mouse cursor and we will ?ust go and clic/ on the window to /ill Ahoose the method 2ou prefer, but remember that there are various wa2s to do this

1;.13 KDE ,8$5E A CE and B.


.!is manual, as well as several ot!ers $resent on www.linux-corner.it assume *ou use AD' as a des"to$ environment <AD' 8 now=, mostl* for m* own convenience since it is w!at , $refer. AD'8 is t!e default des"to$ mana(er #$en%andriva &x 2013. .o our (reat fortune, t!ere are ot!er D' and amon( t!ose w!o would want;s!ould tr* t!ere certainl* are G-#%' and CF1', &CD' exactl* li"e AD' w!ic! are com$osed of man* $ac"a(es and libraries, some of w!ic! are essential for t!e $ro$er functionin( of t!e des"to$. ,f *ou want to tr* t!em Gust run b* an administrator on a terminal t!e followin( commandsQ W ur$mi tas"-(nome S'-.'/T W ur$mi tas"-xfce S'-.'/T and of course, acce$t t!e installation of all de$endencies.

#or others, such as, for example, @nlightenment, 2ou will need to install the software and install pac/ages b2 searching on going on and @nlightenment 4es/top Ahart, here 2ou will select the main pac/age, and selected according to the descriptions of the other pac/ages, those that ma2 be of interest

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 80 of 116

=ota! M#A@ potrebbe essere adatto a sistemi datati o poco performanti, proprio per la sua caratteristica migliore, la leggere66a 8o per esempio lEho scelto come base per il Multimedia center

1;.17 Permissions6 ,rou%s6 de/ices


Often we run into two problems to the permissions 7etting On the devices, files, services, etc , 7implif2ing a lot, 0hese the var2Fdepending on the level of securit2 and man2 of 0heir Own 0hese groups have, for example, sound, video, etc tt2 ;hen we fail to do something 0hat Pou administrator instead we can do, for example, use a 4D5 card rather than a scanner or another, the first thing we do in order to add to our >97@3> 0hat interest groups us 0o do this we use MAA g 7P70@M g 1dd remove changes to accounts 7elect from the list of users in 2our name and double clic/ on it 0his will open a window in ;hich the last card $3O9:7, weEre going to select the item 0hat interests us 7elect onl2 one related to 2our problem, do not select a carpet @ver2thing 0hat 7eems useful

10.18 Start, Stop, Restart Ser !ces


On some occasions it ma2 be necessar2 or useful to restart a service 1ctive services can be seen both b2 the usual MAA g 72stem g enable disable some s2stem services 8n the window that shows the services there are two buttons to start and stop each service , as well as a convenient /e2 information if 2ou have Juestions about the service (unfortunatel2 in @nglish) 1lso 2ou can chec/ " unchec/ the boot to set which services 2ou need at startup #rom the terminal and as an administrator is possible via the command W ch/config see the services that should be activated for an2 specific run 7ome of these will not tell us an2thing , others will /now them b2 name , and still others are ver2 useful to /now Yust for example ! #or wine wine #or the xfs font handling (no longer used) cups for printer management #or networ/ management networ/ 0o manage the start , stop or restart of the various services , which we remember the exact name , from the terminal using the command >service> as an administrator ! W service HserviceI HcommandI where HcommandI can ta/e the following items

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx
1. start 2. sto$ 3. restart

Page 81 of 116

ma/e an example of wanting to reFinitiali6e the networ/ will give the command! W service networ/ restart HreturnI obtaining! Off the interface eth' Off the interface eth& 4isabling loopbac/ interface @nabling loopbac/ interface 1ctive interface eth' 1ctive interface eth& ! ! ! ! ! ! ROQT ROQT ROQT ROQT ROQT ROQT

1;.1: )dd !onts Cs%ecialC


1side from the normal installation of the various 3:Ms, reJuiring onl2 the selection and installation to >install software> automaticall2 solve ever2thing, 8 stop adding special character set reJuired for applications running, for example, on a 79= server " H: etc 7uppose 2ou want to add a folder containing fonts H0@70I, will ?ust cop2 it to "usr"share"fonts" enter into the 0@70 director2 and run the command m/fontdir HreturnI 8n "usr"share"fonts" 2ou will also find directories related to fonts alread2 installed, for example! &''dpi " L*dpi " chinese " c2rillic " default " dra/font " ?ava " misc " msfonts " O0# " override " 7peedo " 00# " 00# " 02pe& " 0hen we will go to the director2 " etc"M&&"fontpath d " and create a s2mbolic lin/ to the folder H0@70I with the command! W lnFs " " "usr"share" fonts"0@70 0@70! pri U *' =ote! PO9 4O =O0 =@@4 0O 3@70130 0H@ 7@3D8A@ 1=P #O=07 13@ =O; 1D18L15L@

1;.+; -estore the (oot *oader

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx 1;.+1 )/oid 1he u%date o! some %rograms

Page 82 of 116

0he automatic update of pac/ages, it is a ver2 convenient feature that allows 2ou to /eep a s2stem updated to solve bugs, various problems and appl2ing securit2 patches However this ma2 be ris/2 on some pac/ages >special> t2pe /ernel drivers (eg nvidia), in fact 2ou could go from one driver to a full2 functional again but with problems 0o avoid this ris/ we sa2 >calculated> 2ou can edit the file "etc"urpmi"s/ip list going to add a line b2 line the names of the programs 2ou do not want them to be updated #or example! " i nvidia " =ote! " i nvidia " exclude from the updating all the pac/ages containing the string >nvidia>

1;.++ .etc.!sta<
I56O2M8RIO5? penMandriva uses the identifier 99894 in fstab practice in the classical strings ,dev,hdaM " ext+ defaults & & is replaced with the 84 of the dis/ " partition (" dev"sda&) with a 9984 t2pe E ?ntry for ,dev,sdb1 $ @@I')32 ae/&0-def2-1a&e-Se1M-/ 3&22&G/11 , ext1 defaults 1 1 Does not c!an(e muc! w!ile it ma* seem less understandable it !as a (reat advanta(e in t!e event of a c!an(e of $artitions, if we were to delete or create multi$le $artitions t!ose t!at remain continue to !ave t!e same 00,D and fstab so t!e +le would still be valid 3bove eac! strin( t!ere is a comment t!at s$eci+es t!e dis" ePuivalent wit! t!e usual s*ntax ;dev;!da1, ;dev;sda9 or w!atever. .o view 00,D of a dis" usin( t!e command <as administrator= W volGid Fu "dev"hdaL HinvioI 5OT?$ If; for any reason; you do not want to use this system; you an restore the <normal< syntax by addin" parameters to the #ernel on!"uration option use0uuid ) 0 Let us now recall the meaning of the various parts of the string ,dev,sdb1 , ext1 defaults 1 1 ,dev,sdb1 , ext1 defaults 1 (or new 9984) U device and partition to mount Mount point (where we will find the contents of the dis/ " partition #ile s2stem t2pe 7et of options separated b2 commas (see table below) (dump) specifies whether to dump to do the bac/up (obsolete) www.linux-corner.it

Davide Garatti

Handbook OpenMandriva Lx
1

Page 83 of 116

(pass) 7pecifies whether or not the file s2stem chec/ at startup and with which priorit2 ' U =o Aontrol & U High priorit2 (boot partition) - U Aontrol with secondar2 priorit2

OpKione default user nouser auto noauto exec noexec ro rw as2nc s2nc suid nosuid dev nodev noatime gidUxxx uidUxxx umas/Uxxx

'es riKione 7et basic options! rw, suid, dev, exec, auto, nouser, as2nc 8t also allows normal users to mount the files2stem 8t does not allow normal users to mount the files2stem 1ll files2stem with this option mentioned in fstab are mounted at boot (mountFa) 0he files2stem must be mounted explicitl2 1llows execution of programs on the files2stem 8t does not allow programs to run on the files2stem Mount the files2stem readFonl2 Mount the files2stem read " write all 8 " O to the file s2stem should be as2nchronous all , ; # to t!e +le s*stem must be s*nc!ronous 1llows the suid and sgid bits to ta/e effect 8t does not allow the use of device files on the files2stem 3llows t!e use of device +les on t!e +les*stem 8t does not allow the use of device files on the files2stem 4o not update the access time for each access to the inode 8t increases the speed of data access

5ota S

SS SS

8ndicates the permissions of the user group with the logic of S the command >chmod> (ever2 x is from ' to L) W 9id U xxx F indicates the userEs permissions S

7et the permissions of the files2stem 0O 3@MOD@ 0HO7@ O# S 7P70@M (with the logic chmod), umas/ U LLL even root can change permissions of an2 file S 8f the after the default option, 2ou insert another option, contrar2 to one of those present in the default set this option will overwrite the previous one 7o we can use the default option as a base and then change the options adding others SS%a"in( careful to use t!ese o$tions.

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 84 of 116

1;.+3 Ena<le . disa<le C1-* D )*1 D (acks%ace to restart A


Pou can enable or disable the /e2 combination Atrl % 1lt % 5ac/space, directl2 from M#dra/e, ?ust select the appropriate item Open the Aonfigure Pour 4es/top Hardware section 2ou choose >Aonfigure the graphics s2stem> On the form that opens, select the >Options> button and unchec/ the >4isable A03L % 1L0 % 5ac/space> :ress OQ Pou will be prompted to save the changes, then press >Pes> #or earlier versions continue to use the old method! 0he /e2 combination Atrl % 1lt % 5ac/space to restart the M server and disabled, to reactivate need to edit the file "etc"M&&"xorg conf adding in the 7erver#lags section the following option! Option >4ontZap> >false> GGGGGGGGGGGGGGGGGGGGGG 7ection >7erver#lags> Option >Minerama> >'> Option <'ontRap< <false< @nd7ection GGGGGGGGGGGGGGGGGGGGGG

1;.+4 Change the Ea/a /ersion in use


Often 2ou need to use the applications that reJuire a particular version of Yava, in this case ?ust install the correct version from the repositor2, without removing those alread2 installed 0o chec/ the version currentl2 in use, 2ou can use the command! R:rompt eT f ?avaFversion which returns! java version <1%M%0011-i edtea< OpenH'I 2untime ?nvironment 4OpenMandriva 8sso iation-2%1%1%2-x./0/19 OpenH'I /1-:it (erver DM 4build 21%0-b&0; mixed mode9 via the alternative command (2ou must be an administrator) can chec/ the available alternatives and switch to another version! R:rompt eT W alternatives F config ?ava which returns! 0here is onl2 one alternative in lin/ group ?ava (providing "usr"bin"?ava)! "usr"lib"?vm"?reF& L 'F open?d/ x),G,."bin"?ava =othing to configure

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 85 of 116

,f , !ad installed ot!er virtual mac!ine would +nd a list from w!ic! , could select w!ic! one to use. -oteQ t!ere is no lon(er t!e o$tion to install directl* from t!e re$ositor* Hava #racle <ex 40-=, also b* downloadin( it directl* from t!e r$m $ac"a(e, will not see !im in t!e list of alternatives. >e s!all t!erefore $ut it on t!e alternatives at !andQ Downloaded from t!e r$m $ac"a(e *ou want <HDA, H/' 32bit or 28bit= seeQ 7.28.1 install it b* clic"in( on it or usin( t!e command from "onsole ur$mi. W ur$mi Gd"-5u89-linux-x28.r$m <will be installed in ; usr;Gava;Gd"1.5.0X89 ;= (ive t!e followin( commands <if *ou install t!e Gre *ou !ave to c!an(e t!e strin(s accordin(l*=
update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk1.7.0_ !/bin/java" 1 update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/jdk1.7.0_ !/bin/javac" 1 update-alternatives --install "usr/java/jdk1.7.0_ !/libjavaplugin.so" ""o#illa-javaplugin.so" "/usr/java/jdk1.7.0_ !/jre/lib/a"d$ /libnpjp%.so" 1 update-alternatives --install "/usr/bin/java&s" "java&s" "/usr/java/jdk1.7.0_ !/bin/java&s" 1

-ow t!ere are two alternativesQ UrootYGold2 ZVW alternatives --con+( Gava .!ere are 2 c!oices for t!e alternative Gava <$rovidin( ;usr;bin;Gava=. 4election )at! )riorit* 4tatus

-----------------------------------------------------------[0 1 2 ;usr;lib;Gvm;Gre-1.5.0-o$enGd".x82X28;bin;Gava 150011 ;usr;Gava;Gd"1.5.0X89;bin;Gava 1 auto mode

manual mode manual mode

;usr;lib;Gvm;Gre-1.5.0-o$enGd".x82X28;bin;Gava 150011

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx 10%21%1 Install Ora le Hava

Page 86 of 116

8f 2ou prefer, or do 2ou absolutel2 need to install the ?ava provided b2 Oracle go directl2 to the website http!""www oracle com"technetwor/"?ava"?avase"downloads"index html :ress the button >4ownload free ?ava>, and in the list select the appropriate items rpm, depending on 2our s2stem, so +-bit or ,.bit 4ownload it[ ?reFLu.*FlinuxFx,. rpm ?d/FLu.*FlinuxFx,. rpm or ?reFLu.*FlinuxFi*), rpm for +-bit s2stem and install it (?ust doubleFclic/ and enter the administrator password) 0hese rpm install ?ava in " usr " ?ava then in addition to not fall in the lists of the alternatives we have to perform a few simple steps to use it in 2our internet browser &) go to "usr"lib,."mo6illa"plugins" or "usr"lib"mo6illa"plugins" for +-bit and delete s2mbolic lin/s to the librar2 lib?avaplugins -) create a s2mbolic lin/ "usr"?ava"latest"lib"amd,."libnp?p- so then! cd " usr"lib,."mo6illa"plugins " and lnFs " usr"?ava"latest"lib"amd,."libnp?p- so restarting firefox plugins 2ou will find in the Yava Oracle"7un

1;.+" 5ontaggio automatico dei filesystem 8 & =auto!s>


8nstall the pac/age autofs 1s an administrator, edit the file "etc"autofs"auto master TAromptUE vi ,et ,autofs,auto%master and decomentare the following line ,net -hosts save the file and restart the service TAromptUE servi e autofs restart 1t this point we will be able to automaticall2 mount the =#7 shared director2 7ara simpl2 putting " net " machine name to contact to have it automaticall2 mounted under " net, we can do it directl2 from dolphin $reat for also to simplif2 sharing files and folders in the home environment using =#7

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 87 of 116

1;.+3 Check )udio &%eakers


7ince the onboard sound in our :As now offer at least , channels, there might wanna tr2 one of those set of * & spea/ers Once 2ou have placed and connected to the :A, we can use the spea/erFtest program to verif2 proper operation and correct position ;e can go on the small icon of /mix in the s2stem tra2, rightFopen the menu and select >1udio 7etup>

Yust clic/ on the buttons corresponding to the case and hear a voice, in @nglish, we will specif2 the location of the chest under test Pou do not need to install an2 additional program

0he traditional method was to install the program >spea/erFtest> 0he program must be installed, and is obviousl2 alread2 present in the repositor2, then install it as usual using MAA directl2 or from the terminal with W urpmi spea/erFtest H@=0@3I #irst of all there is the capabilit2 of 2our sound card with apla2FL that returns all possible configurations

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx
R:romptTfapla2 FL HinvioI
!rontFKAG;2#ntel,;) 20 O;A -nte0, A;1&8N An!0$% :r$nt s+e!6ers s7rr$7n1403KAG;2-nte0,;) 20 O;A -nte0, A;1&8N An!0$% 4.0 "7rr$7n1 $7t+7t t$ :r$nt !n1 Ge!r s+e!6ers s7rr$7n1413KAG;2-nte0,;) 20 O;A -nte0, A;1&8N An!0$% 4.1 "7rr$7n1 $7t+7t t$ :r$nt, Ge!r !n1 "79w$$8er s+e!6ers s7rr$7n1'03KAG;2-nte0,;) 20 O;A -nte0, A;1&8N An!0$% '.0 "7rr$7n1 $7t+7t t$ :r$nt, Kenter !n1 Ge!r s+e!6ers surround"1FKAG;2#ntel,;) 20 O;A -nte0, A;1&8N An!0$% '.1 "7rr$7n1 $7t+7t t$ :r$nt, Kenter, Ge!r !n1 "79w$$8er s+e!6ers s7rr$7n1M13KAG;2-nte0,;) 20 O;A -nte0, A;1&8N An!0$% M.1 "7rr$7n1 $7t+7t t$ :r$nt, Kenter, "i1e, Ge!r !n1 W$$8er s+e!6ers n700 ;is4!r1 !00 s!m+0es >+0!y9!46) $r %ener!te =er$ s!m+0es >4!+t7re) %ulse P70seA71i$ "$7n1 "er#er 1e8!70t ;e8!70t AL"A *7t+7t >47rrent0y P70seA71i$ "$7n1 "er#er)

Page 88 of 116

0he easiest wa2 is to choose how the device server :9L7@ 7ound, LetEs tr2 it with headphones giving two different commands but getting the same result spea#er-test -'pulse - 2 -twav -l1 spea#er-test -'front$Intel - 2 -twav -l1 Doice on the boxes and print!
s+e!6erCtest 1.0.21

P0!y9!46 1e#i4e is 1e8!70t "tre!m +!r!meters !re 48000O=, "1LEL), 2 4h!nne0s WA 50e>s) G!te set t$ 48000O= >reP7este1 48000O=) ,7Qer si=e r!n%e 8r$m &L t$ 1048'ML Peri$1 si=e r!n%e 8r$m 32 t$ 34&'2L <sin% m!N 97Qer si=e 1048'ML Peri$1s 2 4 w!s set +eri$1Esi=e 2 2L2144 w!s set 97QerEsi=e 2 1048'ML 0 C :r$nt Le8t

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx
1 C :r$nt Gi%ht Time +er +eri$1 2 3,8L0220

Page 89 of 116

so letEs chec/ our s2stem to , channels with the command spea#er-test -'pulse - / -twav -l1 LetEs see what the various options! -' 'pecifies t(e device to be tested and it is obtained b) t(e different device na"es returned b) t(e co""and apla)-* sa& earlier. +or e,a"plesurround713KAG;2#ntel,;) 20

#irst part! name card thus surroundM1!Intel 3ecall that the default value for the omission of option 4 is
4efault 1L71 Output (currentl2 :ulse1udio 7ound 7erver)

ourselves to )0&4'=

4o )0&4' <if we !ave one sound card entrust

-cQ c!annel number to be tested con+(urations include 2,8,9,2,5,8 -tQ t*$e of test, pin/ ! noise sine ! 4inusoidal si(nal w!ose frePuenc* can be varied wit! t!e-f o$tion followed b* t!e frePuenc* in 6M wav ! *ou run t!e wav +le in ;usr;s!are;sounds;alsa;, nobod* forbids to re$lace t!em wit! its own +le. -l ! -umber of test runs, if *ou omit it *ou use t!e default value of 0 is ePuivalent to t!e in+nite loo$, and t!us to sto$ t!e test must $ress 1./& F 1. Aommands list! R:romptTfspea#er-test -'pulse - / -twav -l1

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 90 of 116

1;.+7 Collegamento da remoto alla macchina =1iger48C>


.o connect to a wor"in( session E alread* o$en E on *our )1 *ou can use diRerent $ro(rams vncserver , .i(!tV-1 and .i(erV-1 are available in t!e re$ositories of #$en%andriva . &et s start wit! t!e searc! for and install t!e $ro(ram via E,nstall and /emove 4oftware E >e tr* ti(ervnc , *ou select ti(ervnc < V-1 viewer to connect to ot!er servers = ti(ervnc - server <our server = for $ro$er o$eration ta"es onl* a few ste$sQ 1= 1reate a $assword for *our user , t!en a terminal, (ive t!e command U$rom$t V \ vnc$asswd S'-.'/T and t!en t*$e t!e $assword a(ain to verif* it. From t!e )1 *ou want to ma"e controllable (ive t!e command U$rom$t V \ x0vncserver - )asswordFile Z;.vnc;$asswd S'-.'/T From t!e )1 to w!ic! we will connect to t!e server launc! a vnc viewer an* < not sa* t!at *ou can c!oose from= U$rom$t V \ vncviewer Si$addressT Q 9700 S'-.'/T will be $rom$ted for t!e $assword for V-1 $reviousl* set and *ou will enter t!e des"to$ remote +ndin( $ro(rams alread* runnin( on it.

2= 3=

.!e command for launc!in( t!e V-1 server can , of course, be added to a scri$t. Hust edit a +le < for exam$le startV-1 = b* insertin( W ; bin ; bas! x0vncserver - )asswordFile Z ; .vnc ; $asswd save it and ma"e it executable < ri(!t-clic" ] )ro$erties ] )ermissions and select t!e o$tion 'C'10.3:&' .!is scri$t can be called from t!e control center AD' 3DV3-1'D tab ] 30.#4.3/. selectin( add scri$t. .!is will run automaticall* at ever* entr* in our wor" session. ?ou can do t!e same on t!e (nome des"to$ mana(er and ot!ers .

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 91 of 116

10%2M%1 A7 on N ma V(?5R8W Monitor


8f 2ou use this simple configuration on a :A, for an2 reason, we wanted to put in our networ/ but ;80HO90 MO=80O3, Q@P5O134 1=4 MO97@, we will have to change the configuration b2 performing a few simple steps! &) #rom the 58O7 loo/ for the entr2 that allows the :A to boot even without the presence of Qe2board and Mouse, 0he voice depends on the 58O7 manufacturer, and other factors -) @nable 1utomatic Login (MAA g 7tart g 1utomatic Login) +) 1dd the script to start the D=A server session startup, as previousl2 seen .) 590 15OD@ edit " etc"M&&"xorg con to have the following strings!
7ection >7erver#lags>
Option >4ontZap> >#alse> W disable HAtrlIH1ltIH57I (server abort) 1llowMouseOpen#ail W allows the server to start up even if the mouse does not wor/ W4ontZoom W disable HAtrlIH1ltIHQ:G%I"HQ:GFI (resolution switching) @nd7ection

7ection >Module> Load >dbe> W 4oubleF5uffering @xtension Load >v.l> W Dideo for Linux Load >extmod> Load >glx> W +4 la2er Load >dri> W direct rendering @nd7ection 7ection >4evice> 8dentifier >D=A 4evice> 4river >vesa> @nd7ection 7ection >7creen> 8dentifier >D=A 7creen> 4evice >D=A 4evice> Monitor >D=A Monitor> 7ub7ection >4ispla2> W Modes >&'-.xL,)> Modes >&-)'x&'-.> @nd7ub7ection @nd7ection 7ection >Monitor> 8dentifier >D=A Monitor> Hori672nc +'FL' Dert3efresh *'FL* @nd7ection

Otherwise, without a monitor, Q4M (as well as $4M, M4M, etc ) will remain >H9=$>, until *ou enter t!e monitor, wit!out lo((in( in automaticall* and eRectivel*
ne(atin( all *our eRorts. Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx
-oteQ t!e followin( strin(s s$ecif* t!e resolution t!at *ou will use. %odes E1028x528E %odes E1280x1028

Page 92 of 116

1;.+? &hared Directory


Often there is the need to share directories with other computers on the same networ/, whether at home or in the office, more and more often the devices that we bu2 have this possibilit2, see, for example, mediaFcenter, televisions etc 7haring a director2 it can be obtained in several wa2s but the easiest is via =#7 and 7M5, it is absolutel2 necessar2 in a mixed networ/ (linux " windows) or when it has to do with the above eJuipment that might 8 have a Linux on board but ta/e it for granted that it should be used >even> with windows :A Let us see how we can ma/e available a diretor2 on our :A

10%2.%1 (M: F samba server

10.28.1.1 "pen#an$r! a Control Center


MAA section >=etwor/ 7haring> select! >7hare dis/s and folders with ;indows (7M5)> 2ou open this form of warning press >OQ> Leave the default and press >OQ>

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 93 of 116
Here 2ou must set up the wor/group and the name of the :A and press >OQ>

7elect Mode as Esecurit2E 7hare E, so as to not have to enter password to access from other computers (onl2 in case of needE special use user) 8n the 1llowed Hosts 2ou can leave it blan/ or enter &(- &,) & S 0o restrict access 2ou :A on 2our networ/ :ress >OQ>

1t this point we insert a message that the other :As will see associated with our shared director2

:ress >OQ>

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 94 of 116
Leave the default settings and press >OQ>

1 summar2 screen will ta/e 2ou to the end of configuration press OQ

and OQ again

;hat 2ou get is the initial configuration of the 7M5 service are now going to enter a director2 to be shared!

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx
0he @nd of the previous configuration we find ourselves in a window li/e the one shown here! ;e use the >1dd> button to insert a shared director2

Page 95 of 116

:ress >OQ> 0he new entr2 will appear Eunder >homes> 7elect it and press @dit et the three items public writable and =avigable 2es press OQ and close all

3emember to ma/e writable shared director2 RpromptTWchmod LLL "opt"share" and restart the service with the command RpromptTWs2stemctl restart smb service

10.28.1.2 Sa%&a'swat
8f 2ou have special needs of one or more complex sharing of files between the :A at home or office, 2ou can entrust us to a more comprehensive tool, but also more complex http!""www samba org"samba"docs"man"7ambaFHO;0OFAollection"7;10 html ;e start with installing the needed pac/ages to ma/e the pac/age install sambaFswat 2ou bring bac/, as dependencies, all the necessar2 pac/ages 7ambaFswat allows us to easil2 configure our samba server, without going to directl2 edit the smb conf file located in "etc"samba" 0his file has a number of settings that cover an impressive number of needs even if 8 describe the procedure to share a director2 remember that with this application we can perform an2 operation

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 96 of 116

0he interface allows us to /now the role of each written with a simple clic/ on H@L: (ver2 educational) 5efore 2ou can access the web interface of the classic swat address! http!""localhost!('& we need to enable the swat service that is disabled b2 default, to do this ?ust edit "etc"xinetd d" swat, of course, as an administrator
D 1e8!70t3 $Q D 1es4ri+ti$n3 "WAT is the "!m9! We9 A1min T$$0. <se sw!t R D D t$ 4$n5%7re y$7r "!m9! ser#er. T$ 7se "WAT, R 4$nne4t t$ +$rt &01 with y$7r 8!#$rite we9 9r$wser.

ser#i4e sw!t S +$rt 2 &01 2 stre!m 2 n$ 2 12M.0.0.1 2 r$$t 2 T7srTs9inTsw!t

s$46etEty+e w!it $n0yE8r$m 7ser ser#er

0$%E$nE8!i07re I2 <")G-; disa<le U G no

?ust change the last line as shown above 1t this point starting the service with the redo command system4t0 rest!rt Ninet1.ser#i4e ;e access the web interface of swat b2 connecting previousl2 reported ;e insert the root user and password, we will find ourselves in front of the web browser to the following page ;ith the convenient buttons located in the top line, each dedicated to a 7ection and a specific tas/ 0hose who serve us we are $LO51L 7H13@7 and D8@;

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 97 of 116

;e begin b2 $LO51L, in this section we are going to set some important parameters including the wor#"roup (wor/group or omvgroup) enough that all :As are in the same group the alias with which we find (usuall2 the hostname) and the type of sharin" (securit2), which in our case must be 7H13@

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 98 of 116

Ahange onl2 the three specified items, and do not worr2 about the rest 3emember that before moving on to another section 2ou will need to save the changes with the appropriate button ;e create at this point the actual sharing! 7ection 7H13@7

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 99 of 116

;e put a share name and press A3@10@ 7H13@ will be shown in the drop down menu ?ust above, 7elect it and press AHOO7@ 7H138=$ 8n this picture are absolutel2 important fields A8TC, and Ethe full path of the director2 to be shared 2ead only, which must be set to =O Luest OQ, 5rowsable and 1vailable to be set to P@7 1gain, remember that before moving on to another section 2ou will need to save the changes with the appropriate button 0he section view shows ?ust the file "etc"samba"smb conf file 2ou ?ust edited Pou ?ust have to restart the service with the command s2stemctl restart smb service given in a terminal as an administrator

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 100 of 116

10.2( &@&1E5D H 5anage system and ser/ices


@ven OpenMandriva Lx using s2stemd init s2stem called (72stem Manager, and services for Linux) let Ecommands to manage ever2thing

10.21.1 system tl F 3e mana"e servi es


0he first command helps us to manage and monitor the various services LetEs see some of the options available to us s2stemctl listFunits (displa2s active services and their status) s2stemctl F failed (7ee services alone failed) s2stemctl status Hservice nameI shows various interesting information such as status the cgroup assigned the location of the configuration file ("etc"rc d"init d"smb) programs and related cascade :84 Rroot\iron userTW system tl status smb%servi e smb service F 7amba 7M5 4aemon Loaded! loaded ("lib"s2stemd"s2stem"smb serviced enabled) 1ctive! active (running) since gio -'&+F&&F-& &(!',!+. A@0d -h &-min ago Main :84! &L'. (smbd) A$roup! "s2stem slice"smb service jk&L'. "usr"sbin"smbd lk&L)& "usr"sbin"smbd =O0@7! & the service name has to be written complete - the information is different if 2ou run it as administrator

system tl start,stop,reload,restart *5ome del serviKio+ 7tart, charging, stops and restarts the specified service it can still be done with the command service HserviceI start " stop " restart for example

s*stemctl restart s*stemd-smb.service

or
Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx
s2stemctl restart smb service

Page 101 of 116

and also with the old command service

service smb restart


3estarting smb (via s2stemctl)! R OQ T

0here are man2 other commands, with different features, ranging from the management of the s2stem to dellEspegnimento creations snapshot bac/up system tl halt system tl poweroG system tl reboot 7hut down and halt the s2stem 7hut down and powerFoff the s2stem 7hut down and reboot the s2stem

10%2S%2 systemd- "ls F Dediamo il ontenuto di un 7"roup


$iving as an administrator command W systemd- "ls systemd$,system,smb%servi e the terminal gives us the processes associated with the specified cgroup s2stemd!"s2stem"smb service! j &,*)' smbd F4 j &,*), smbd F4 l &,*)( nmbd F4 =ote that the list of cgroups created b2 the s2stemd 2ou can get even launching the single command W systemd- "ls

10.21.3 8nalyKe the boot - systemd-analyKe


1mong the various features that provides, what we will involve more and Eparalleli6ation starting services, with which the2 should be able to start at the same time and in the right time different service ( 7ervice) in such a wa2 as to obtain a boot more Juic/l2 and efficientl2 8nstalling the pac/age s2stemdFtools will be made available commands that will allow us to anal26e the boot in its most complete form as a function of process and execution times Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx
0he commands to use to do this t2pe of anal2sis are!

Page 102 of 116

P systemd-analyKe time 7tartup finished in , ,-.s (/ernel) % &* (*'s (userspace) U -- *L*s b2 an indication of the timing of the boot dividing them into three main parts Qernel, initrd and userspace ;ith the option 5L1M@ weEre going to chec/ the execution time of each service there, but we have no indication of how man2 processes are started or run in parallel P systemd-analyKe blame * )*-s s2stemdFvconsoleFsetup service . *&,s networ/Fup service + ,+Ls s2stemdFfsc/Froot service + +,.s mandrivaFever2time service - L-,s /modFstaticFnodes service - L-,s s2sF/ernelFdebug mount - L-*s devFmJueue mount - L-*s mandrivaF/msgFloglevel service - L-.s devFhugepages mount - *&)s fedoraFloadmodules service - .(,s tmp mount - '&*s networ/ service & &,'s s2stemdFudevFtrigger service (,'ms resolvconf service L--ms =etwor/Manager service L'Lms lmGsensors service
m

finall2 with

P systemd-analyKe plot + boot%sv" create a graph that represent processes over time also giving detail of paralleli6ation

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 103 of 116

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx 1;.3; P*@5$'1H I 1he gra%hical <oot

Page 104 of 116

0he s2stem that handles the issues that we see throughout the boot process is called pl2mouth 0he OpenMandriva Lx -'&+ running version ' ) ) 8n case 2ou want to replace the theme, and then the loo/ with which the s2stem is presented to boot, we will need to /now some commands LetEs start b2 sa2ing that the director2 containing the themes resides in pl2mouth "usr"share"pl2mouth"themes" and that the list of installed themes (?ust inside the director2 content themes 2ou can see it with the command! E plymouth-set-default-theme --list which returns details OpenMandriva text =ote that the command must be given as an administrator 1t this point we have to loo/ on the repositor2 or on /deFloo/ the issue that most satisfies us 8f we find it on the repositor2 (so to install software) simpl2 select it and install it 8f we find it on the http!www /deFloo/ org download and unpac/ the archive somewhere 0a/e, for example, from the website http!www /deFloo/ org the theme of the friends of M85! >M85FOx2genF9ltimateF:l2mouth tar g6> unpac/ it and cop2 it to the director2 as an administrator in the right place with the command

E p -rf MI:-Ossi"eno-@ltimate-Alymouth ,usr,share,plymouth,themes, 1t this point the issue and Eavailable and we ?ust have to set it as the theme to use, do we use the following command! E plymouth-set-default-theme MI:-Ossi"eno-@ltimate-Alymouth Frebuild-initrd

we can do is tr2 restarting 2our computer

10.31 &ome in!ormation a<out Kontact6 8e%omuk and )konadi


8f li/e me 2ou normall2 use /ontact and /mail mail, and then 2ou will have alread2 ta/en steps to install it from the repositories, 2ou should /now that Qontact and its components, as well as several properties of plasma, have started using a/onadi as a centrali6ed bod2 to store and retrieve different t2pes of personal information 0his centrali6ation will provide several benefits in the future, but as alwa2s happens in the initial phase can cause several problems

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 105 of 116

7o we /eep in mind a few simple steps and indicate some command to see the current status of the various services 1ll ma?or components of /ontact use a/onadi, and ever2 time 2ou start each program will start automaticall2 even a/onadi Pou can chec/ the status of a/onadi /omando with the following! f a#onadi tl status
A6$n!1i K$ntr$03 r7nnin% A6$n!1i "er#er3 r7nnin% A6$n!1i "er#er "e!r4h "7++$rt3 n$t !#!i0!90e

0his is the state after disabling nepomu/ and strigi from the control center of Q4@ in the 4es/top 7earch However, because /ontact to wor/ properl2, 2ou have the need to have a/onadi and nepomu/ running 8mportant =ote! 8t is not absolutel2 necessar2 to enable strigi (indexing of the des/top) accordingl2 from the control center Q4@ select 7@13AH 4@7Q0O: and suppl2 of =@:OM9Q enabling and disabling 7trigi ;e give the command again to chec/ the status of a/onadi! f a#onadi tl status
1/onadi Aontrol! running 1/onadi 7erver! running 1/onadi 7erver 7earch 7upport! available (bac/end! Dirtuoso)

he control command that we used a/onadictl also allows 2ou to start " stop and restart the server, using the start, stop and restart instead of status 3emember that 2ou can start a/onaditra2 (do it with alt % f- or directl2 from the terminal) that will place an icon in the s2stem tra2 blue from where 2ou can stop and start a/onadi, but also perform and restore bac/ups, which we will see later, and start the configuration dialog a/onadi configured via the voice

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 106 of 116


=,n t!e +rst tab t!ere are all t!e resources con+(ured, t!en e-mail <$o$ or ima$= section etc.. t!e add button allows access to a list of substantial resources to mana(e.

0he resource :@37O=1L AO=01A07 normall2 tip to the director2! e" local"share"contacts

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 107 of 116

Here we do not change an2thing m

=ow we have virtuall2 ever2thing 2ou need to run smoothl2 and man2 other programs /de /ontact native

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 108 of 116

1a$itolo

10
11 ettings and circumstances on ?.bit systems
0here would be no need to hold a separate section for these s2stems , ?ust remember that the addition of the repositories 2ou have to choose , of course, those ,.bit 3emember that in order to ensure compatibilit2 with +-Fbit programs are not 2et adapted , or with some commercial software , 2ou must install the +-bit repositor2 7ee the relevant section 8n the repositor2 +-bit we can find , for example, audio and video codecs win+- Fcodecs 0he problems with the proprietar2 programs such as , for example, Xashpla2er , are outdated , installing the plugins will follow exactl2 the same procedure used for +-Fbit s2stems , then installing the pac/age XashFpla2erFplugin (2ouEll see that it will be mar/ed x), F,. ), which will download the appropriate version of Xash Fpla2er without an2 need for further manual intervention 7ome libraries such as those for the correct reading of the 4D4s have a slightl2 different name from the +-bit version to identif2 them, and LibdvdcssLibdvdnav. Lib,.dvdcssLib,.dvdnav.

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 109 of 116

1a$itolo

11
%- Miscellaneous
1+.1 ilters !or the amily
#rom OpenMandriva Aontrol Aenter 2ou can get a program dedicated to the protection of children while surfing the internet Often the2 are hesitant to leave their children on the internet, which is alwa2s a good wa2 of learning and /nowledge 0his s2stem allows us to alleviate our fears, ma/e it more en?o2able browsing and computer use to children, and give the temporal rules on the use of the :A and the networ/

0hrough the voice in MAA g 7ecurit2 g #ilters for the famil2 leads to the main window, but when 2ou first access the following screen will appear with which we will enable access control 1AL Aress B?(
1 second notice will tell 2ou to restart the computer, but we can anticipate the options chosen Aress OI

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 110 of 116


8n the main window 2ou have the option of! &) to enable a filter to stop 2ou from going to sites potentiall2 dangerous or else -) 3estrict access to the networ/ at a time ver2 precise and limited in time 0o do so, please mar/ a) >@nable :arental Aontrols> b) choose the level of control H8$H for Poung Ahildren M@489M for children 5O9L4@3 for larger (but 8Em afraid that at that time the2 will manage the computer) c) Move in the right window, using the 144 button the user name >adults> that the2 will not use an2 filter and the2 will not have limitations

9sing the tabs 5lac/ List and 7afe List 2ou can change the filters ma/ing accessible or less some sites we /now

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 111 of 116

1a$itolo

12
%, *sefull Links
13.1 *#8'A
1i%o OpenMandriva OpenMandriva #orum 8talia #ndiriJJo internet http/00111.open%andriva.org http/00foru%s.open%andriva.org 8ote 3:M pac/ages reJuest, repositor2 http$,,mib%pianetalinux%or",blo", and forum for OpenMandriva"3osa LinuxFAorner a Hanboo/ e reviews #ind information about Linux #ind 3:M Q4@Es 0hemes and :rograms Q4@. 0rovare informa6ioni Q4@ #1] Q4@ 4ocuments http!""www linuxFcorner it http!""www google com"linux http!""rpmfind net" http!""www /deFloo/ org" http!""www /de org" http!""www google com" http!""docs /de org"stable"en"/debase"faJ" http!""docs /de org"stable"en"/debase in 8talian

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx 13.+ D#&1-#('K#$8#


8$5E *+en(!n1ri#! 3osa Lab 9buntu #edora 797@ Aha/ra Qnoppix #ndiriJJo internet htt+3TTwww.$+enm!n1ri#!.$r%T http!""www rosalab com http!""www ubuntulinux org" http!""fedora redhat com" http!""www suse com" http!""www cha/raFpro?ect org" http!""www /noppix org"

Page 112 of 116

8ote

4ebian 7lac/ware Madeinlinux 0urbolinux 4inebolic $eexbox 4amnsmalllinux Linspire 7cientific linux

http!""www debian org http!""www slac/ware com" http!""www madeinlinux com" http!""www turbolinux com" http!""www d2nebolic org" http!""www geexbox org" http!""www damnsmalllinux org" http!""www lindows com" https!""www scientificlinux org"

=ote! One of the most attractive features of free software , Open 7ource and Linux is that an2one can potentiall2 create a distribution, on the one hand this leads to thousands of distributions , on the other hand leads to a high rate of development and a high rate of innovation, unthin/able in an2 other model of software development On the forums there is often a real wars of opinion between the various distributions 8n principle, there are three points to consider & ) 1ll distributions can do the same thing , the2 differ for the applications with which we will configure the various programs 0he rest are personal preferences, for example, have the root password , or use 794O 9sing $nome , Q4@, M#A@ or another 4M, or the t2pe of pac/aging programs 3:M , 4@5 , 0$Z , and more -) 0he securit2 is obtained 8f 8 start to use the root password as root , do not enable or disable the firewall , and use trivial passwords , it will be difficult to tal/ about safet2 , with an2 distribution + ) 8 thin/ it is of fundamental importance the number of available pac/ages for 2our distribution , and their freJuentl2 update Davide Garatti www.linux-corner.it

Handbook OpenMandriva Lx

Page 113 of 116

13.3 H)-D0)-E
0he best thing when 2ou bu2 a :A or an2 other part of the s2stem is to start loo/ing for different devices, assuming 2ou want to use >also>, so to spea/, Linux 0his is not entirel2 different from what 2ou normall2 do when 2ou bu2 a 1pple s2stem rather than a tablet or a smartphone 2ou see/ for 2our gaming peripherals Man2 manufacturers (increasingl2) release drivers for Linux and other operating s2stems, and the competition the2 must follow Most of the components such as the chipset drivers using O7 same for the various manufacturers see drivers for 975, 84@, etc also list some sites where 2ou can find information about :A, Laptop, ect various devices Produttore Dideo Aard (nvidia) H: Linux 8n/?et 4river :ro?ect 4D4"A4 burners 7tampanti Multifun6ione 5rother Linux drivers webcams for :hilips #ndiriJJo internet http!""www nvidia com www hpin/?et sourceforge net http!""www son2Foptiarc com" 8ote Good drivers 4river Linux $ood

http!""solutions brother com"linux"e 38MO77O nGus"index html 975 www smcc demon nl"webcam www lhd 6dnet com www linuxhardware org www tuxmobil org"laptopGmanufact L1:0O: urer html =on ufficiali

Linux Hardware 4atabase LinuxHardware org 0uxMobil Laptop Manufacturers 7ee also paragrafe + +

On www linuxFcorner it 8 added a page where 8 will insert Hardware 4atabase all the hardware that 8Eve got to tr2

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx 13.4 &$ 10)-E

Page 114 of 116

0he following list of sites where 2ou can download the latest software release of some programs that 8 would call basis Programma Libreoffice #irefox $imp Yava 79= 1dobe 1crobat 3eader Dirtual5ox *ink http!""www Libreoffice org" http!""www mo6illa com http!""www gimp org" http!""www ?ava com"it"download" http!""www adobe it !tt$sQ;;www.virtualbox.or(; 8ote

Obviousl2, the distributions have pac/ages read2 for these programs

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 115 of 116

1a$itolo

13
%. Licen>a
0his manual, as all the manuals on http!""www linuxFcorner it is released under creative commons license

http!""creativecommons org"licenses"b2FncFnd"- *"

0he 0rademar/s OpenMandriva>

and

Logos

are

OpenMandriva

Lx

owners

association

>1ssociation

http!""openmandriva org"en"about

Davide Garatti

www.linux-corner.it

Handbook OpenMandriva Lx

Page 116 of 116

1a$itolo

18
%0 'ote ;inali
- wr$te these 9$$6s in the 9e0ie8 th!t $ne $8 the 9r!6es t$ the 7se $8 Lin7N is the #ei0 $8 the 1iQi470ties th!t we h!#e !00 he0+e1 t$ 4re!te. -n 8!4t, Lin7N is n$t h!r1er $r e!sier th!n !ny $ther $+er!tin% system. - thin6 m!ny $8 7s w$701 0i6e t$ h!#e the $++$rt7nity t$ %et the 9est 8r$m e#erythin%, in the sh$rtest +$ssi90e time. T$ 9e%in then, 4!0m0y t$ 0e!rn, i8 y$7 w!nt ..... it is n$t s!i1 ....

Davide Garatti

www.linux-corner.it

Das könnte Ihnen auch gefallen