Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
WebYaST Remote Web based system management Ladislav Slezák [email_address] SUSE Linux s.r.o.
Content <ul><li>YaST, the predecessor
WebYaST features
Live demo
Implementation details, solved problems
Installation, customization
Questions </li></ul>
YaST
YaST – Yet another Setup Tool <ul><li>System management tool for Linux
System installer
Open source (GPLv2+)
Included in openSUSE, SUSE Linux Enterprise </li></ul><ul><li>Desktop application, administration account needed </li></ul>
YaST – Installation
YaST – Control Center
YaST – Package Manager
YaST – Package Manager
WebYaST
WebYaST Features <ul><li>Successor to YaST
Access via a web browser
Open source (GPLv2 and LGPLv2) </li></ul>
WebYaST – Target Users <ul><li>Beginner users
Experts (remote system monitoring)
Appliance (virtual machine) management </li></ul>
Comparing YaST and WebYaST YaST SSH VNC HTTPS <ul><li>Remote access </li></ul>WebYaST <ul><li>No special SW needed,
just a web browser
OS/HW independent </li></ul>
Comparing YaST and WebYaST <ul><li>Authorization and security </li></ul>YaST WebYaST <ul><li>No password sharing
Access control
Role based access </li></ul>Admin Password User administrator SW administrator ? User administrator SW administrator User'...
WebYaST Demo
WebYaST
WebYaST
WebYaST
WebYaST
Upcoming SlideShare
Loading in …5
×

WebYaST presentation at LinuxTag 2010

2,600 views

Published on

Here are the slides from WebYaST presentation at LinuxTag 2010 event in Berlin.

Published in: Technology
  • Be the first to comment

WebYaST presentation at LinuxTag 2010

  1. 1. WebYaST Remote Web based system management Ladislav Slezák [email_address] SUSE Linux s.r.o.
  2. 2. Content <ul><li>YaST, the predecessor
  3. 3. WebYaST features
  4. 4. Live demo
  5. 5. Implementation details, solved problems
  6. 6. Installation, customization
  7. 7. Questions </li></ul>
  8. 8. YaST
  9. 9. YaST – Yet another Setup Tool <ul><li>System management tool for Linux
  10. 10. System installer
  11. 11. Open source (GPLv2+)
  12. 12. Included in openSUSE, SUSE Linux Enterprise </li></ul><ul><li>Desktop application, administration account needed </li></ul>
  13. 13. YaST – Installation
  14. 14. YaST – Control Center
  15. 15. YaST – Package Manager
  16. 16. YaST – Package Manager
  17. 17. WebYaST
  18. 18. WebYaST Features <ul><li>Successor to YaST
  19. 19. Access via a web browser
  20. 20. Open source (GPLv2 and LGPLv2) </li></ul>
  21. 21. WebYaST – Target Users <ul><li>Beginner users
  22. 22. Experts (remote system monitoring)
  23. 23. Appliance (virtual machine) management </li></ul>
  24. 24. Comparing YaST and WebYaST YaST SSH VNC HTTPS <ul><li>Remote access </li></ul>WebYaST <ul><li>No special SW needed,
  25. 25. just a web browser
  26. 26. OS/HW independent </li></ul>
  27. 27. Comparing YaST and WebYaST <ul><li>Authorization and security </li></ul>YaST WebYaST <ul><li>No password sharing
  28. 28. Access control
  29. 29. Role based access </li></ul>Admin Password User administrator SW administrator ? User administrator SW administrator User's password User's password Access rights Access rights
  30. 30. WebYaST Demo
  31. 31. WebYaST
  32. 32. WebYaST
  33. 33. WebYaST
  34. 34. WebYaST
  35. 35. WebYaST in Details
  36. 36. YaST Architecture Privileged user (root) YaST UI (Qt, Gtk, ncurses) Application Logic Low Level Access System
  37. 37. WebYaST Architecture HTML/HTTPS XML/HTTP Non-privileged user Non-privileged user Privileged user DBus Direct non-privileged access REST Service Web Client WebYaST Web browser Web client Web service (REST service) YaST DBus service PackageKit System ...
  38. 38. WebYaST – Details <ul><li>WebYaST uses Ruby on Rails framework
  39. 39. Reusing existing YaST code </li></ul>Privileged user (root) DBus service Legacy YaST UI (Qt, Gtk, ncurses) Application Logic Low Level Access System DBus Wrapper DBus Access control PolicyKit
  40. 40. REST Service <ul><li>The backend which actually configures system
  41. 41. XML or JSON format over HTTP
  42. 42. Can be also used by 3 rd party software </li><ul><li>or from commadline (via curl, wget) </li></ul></ul>
  43. 43. REST Service <ul><li>Key components/features </li><ul><li>Small privileged part – DBus service
  44. 44. Access control – using PolicyKit
  45. 45. Reusing existing YaST components </li></ul></ul>
  46. 46. Web Client <ul><li>HTML output over HTTPS
  47. 47. Key features </li><ul><li>XML communication with REST – Rails ActiveResource
  48. 48. Cross-browser compatibility – jQuery JavaScript library
  49. 49. Localization support – GetText </li></ul></ul>
  50. 50. WebYaST – Customization
  51. 51. Web Client – Customization <ul><li>First boot mode – first time configuration </li><ul><li>Set of modules started before the main application
  52. 52. Started just once </li></ul><li>Custom icon/link in the control panel </li></ul>
  53. 53. WebYaST – Plugins <ul><li>Plugin design </li><ul><li>Basic and shared functionality in base packages
  54. 54. Plugins implement the actual functionality </li></ul><li>Plugins make WebYaST easily extensible </li></ul>
  55. 55. Installing WebYaST
  56. 56. WebYast – Installation <ul><li>Already preinstalled
  57. 57. Installing from RPM packages </li><ul><li>http://download.opensuse.org/repositories/YaST:/Web/ </li></ul><li>Running directly from sources (GIT) </li><ul><li>The latest version for developers
  58. 58. See http://en.opensuse.org/YaST/Web/Installation </li></ul></ul>
  59. 59. WebYaST – Development <ul><li>Interested in WebYaST development?
  60. 60. Open source (GPLv2 and LGPLv2)
  61. 61. Contact: </li><ul><li>[email_address]
  62. 62. IRC freenode.net #yast </li></ul></ul>
  63. 63. Resources <ul><li>WebYaST Documentation </li><ul><li>http://en.opensuse.org/WebYaST </li></ul></ul><ul><li>User and Vendor Guide </li><ul><li>http://www.novell.com/documentation/webyast/ book_webyast_use/data/cha_webyast_user_overview.html
  64. 64. http://www.novell.com/documentation/webyast/ book_webyast_vendor/data/cha_webyast_vendor_overview.html </li></ul></ul><ul><li>General Terms </li><ul><li>REST: http://en.wikipedia.org/wiki/Representational_State_Transfer </li></ul></ul>
  65. 65. Questions?

×