Perfect Linux Desktop - OpenSuSE 12.2


Published on

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Perfect Linux Desktop - OpenSuSE 12.2

  1. 1. OpenSUSE 12.2 Building the Perfect Desktop SolutionDavor GuttierrezSystem Integrations
  2. 2. What we want?● Replacement for Windows desktop● All software that people need to do the things they do on their Windows desktop● Secure system● System that works on old hardware● All with Open Source and Free Software
  3. 3. Why we choose OpenSuSE Linux?● A lot of software in OpenSource repositories● Very good management● Very good support
  4. 4. Which software we need?● The Gimp, F-Spot, Picasa● Opera, Chrome, Flash plugin, FileZila, Evolution, Skype, Xchat, Empathy, Google Earth● OpenOffice or LibreOffice, Acrobat Reader● Mplayer, XMMS, Helix Player, Win32 Codecs● Bluefish, Quanta● VirtualBox● NTFS 3G, Java, TT Fonts● Novell® Client and Groupwise® Client
  5. 5. How to make initial installation?
  6. 6. Installation mode● Dont use „Automatic Installation“
  7. 7. Clock and Time Zone● Hardware clock set to UTC● All UNIX System clock is set to UTC● Why?
  8. 8. Which Desktop To use?● Desktop Environment or Window Manager?● Whats the diference?
  9. 9. Create first user● Allways create non-root user and use it !!!
  10. 10. Partitioning● We choose Custom Partitioning (for expert): /boot max. 200 MB P EXT4 swap 2x memory P SWAP / 10 GB P EXT4 /home 10 GB E EXT4 /var 2 GB E EXT4 /tmp 500 MB E EXT4
  11. 11. Boot Loader options● Use Grub password for security
  12. 12. Software selection 
  13. 13. After installation task● Set Hostname● Set Network – on Desktop use Network Manager● Firewall must be enabled● Enable VNC Remote Administration (not Win like)● Read Release Notes● Make hardware configuration for printer, TV card, sound system, ...
  14. 14. Make online update● Dont use graphical frontend … its slow● Use CLI like real man … „zypper up“● Its about 700 MB of download RPMs● Reboot your system after upgrade
  15. 15. Try Software from Community repos● Use OpenSuSE Build Service
  16. 16. Optimization and performance tuning● Disk subsystem tuning /proc/sys/vm/dirty_background_ratio The value “10” defines at what percentage of main memory the pdflush daemon should write data out to the disk - a larger value will cause less frequent flushes sysctl -w vm.dirty_background_ratio=25
  17. 17. Shoot The Beagle● SUSE® Linux Enterprise Desktop and openSUSE come with an application called "beagle", kind of a search engine, that tries to index your whole system (emails, IM, visited websites,... ).● While in theory this sounds like a good idea, itll be also a considerable performance hog.● To get rid of it, simply remove the package "beagle".● Note: You cannot (easily) deinstall the "libbeagle" shared libs.
  18. 18. Unneded Deamons / Services● DHCP - if your network topology is simple and set, you just might want to switch to static IP address settings● Auditd - nice thing to have, if you are interested in watching what your programs do. If you dont, disable it.● AppArmor - nice thing to have, if you dont trust yourself (or use untrusted third party software). AppArmor has its own menuitem in YaST controlcenter, where it can be disabled.● CUPS - if all your print jobs go to a remote printer, you do not need to run a local cups demon. In this case, you might also want to prevent loading of parallelport modules, which can be done by moving the according file in /etc/sysconfig/hardware away.● mdsnd - Got a Mac? No? Ok!● Once a day, CRON runs updatedb. One could consider this as an earlier version of beagle and expendable as well. if you do not use locate(1), than you can probably also live without this service. Disable it in /etc/sysconfig/locate.● YaST has been offering Software RAID as a partitioning option for some time now. Unless you explicitly choose to enable it, it is not used by default. However, upon bootup the according modules are loaded into the kernel. Easiest way to stop this, is to deinstall the "mdadm" package.● By default, SUSE® starts six getties (linux textconsole). As X is nowadays standard, you can probably live with less. Disable as many as you like in /etc/inittab (but keep at least one).● Do you need gpg-agent and ssh-agent? They can both be disabled in /etc/X11/xdm/sys.xsession● Do you need ipv6 networking? You can disable it by writing the following two lines to /etc/modprobe.conf.local: alias net-pf-10 off alias ipv6 off
  19. 19. Files system tuning / recompile kernel● Disable accesstime logging● Use noatime option in /etc/fstab● Partitions /home and /tmp should live on partitions of their own● Recompile kernel – its easy
  20. 20. The Obvious Stuff● Try to use "simple" wallpapers. Photorealistic, high resolution wallpapers will eat several MB of RAM. Especially of transparancy effects for the panel are activated.● Try to keep the number of applets low. Throw out, whats not used.● Disable animations (using gconf-editor) in the panel.● Use lightweight themes. Small can also be beautiful.● Disable preview in nautilus
  21. 21. And now were using Linux Desktop● Need Internet Explorer?● Now we have fast and secure desktop● We can use virtualization with VirtualBox or with XEN● We can also implement Windows 7 Theme (but why?)● …● …● ...
  22. 22. Check it out yourself ... Thank You ...