WebYaST presentation at LinuxTag 2010
-
Upload
lslezak -
Category
Technology
-
view
2.565 -
download
0
Transcript of WebYaST presentation at LinuxTag 2010
Novell Corporate Presentation Template 2007 - blue
WebYaST
Remote Web based system management
Ladislav [email protected] Linux s.r.o.
Content
YaST, the predecessor
WebYaST features
Live demo
Implementation details, solved problems
Installation, customization
Questions
YaST
YaST Yet another Setup Tool
System management tool for Linux
System installer
Open source (GPLv2+)
Included in openSUSE, SUSE Linux Enterprise
Desktop application, administration account needed
YaST Installation
YaST Control Center
YaST Package Manager
YaST Package Manager
WebYaST
WebYaST Features
Successor to YaST
Access via a web browser
Open source (GPLv2 and LGPLv2)
WebYaST Target Users
Beginner users
Experts (remote system monitoring)
Appliance (virtual machine) management
Comparing YaST and WebYaST
YaST
SSHVNC
HTTPS
Remote access
WebYaST
No special SW needed, just a web browser
OS/HW independent
Comparing YaST and WebYaST
Authorization and security
AdminPassword
User administrator
SW administrator
?
YaST
WebYaST
No password sharing
Access control
Role based access
User administrator
SW administrator
User'spasswordUser'spassword
AccessrightsAccessrights
WebYaST Demo
WebYaST
WebYaST
WebYaST
WebYaST
WebYaST in Details
YaST Architecture
UI(Qt, Gtk, ncurses)Application Logic
Low LevelAccess
SystemPrivileged user (root)
YaST
WebYaST Architecture
Web browserWeb client
HTML/HTTPS
XML/HTTP
Web service(REST service)YaST DBusservice
PackageKitSystemNon-privilegeduser
Non-privilegeduser
Privilegeduser
DBus
Direct non-privileged access
...REST Service
WebClient
WebYaST
WebYaST Details
WebYaST uses Ruby on Rails framework
Reusing existing YaST code
UI(Qt, Gtk, ncurses)
Application Logic
Low LevelAccess
SystemPrivileged user (root)
DBusWrapper
DBus
Access control
PolicyKit
DBus service
Legacy YaST
REST Service
The backend which actually configures system
XML or JSON format over HTTP
Can be also used by 3rd party softwareor from commadline (via curl, wget)
REST Service
Key components/featuresSmall privileged part DBus service
Access control using PolicyKit
Reusing existing YaST components
Web Client
HTML output over HTTPS
Key featuresXML communication with REST Rails ActiveResource
Cross-browser compatibility jQuery JavaScript library
Localization support GetText
WebYaST Customization
Web Client Customization
First boot mode first time configurationSet of modules started before the main application
Started just once
Custom icon/link in the control panel
WebYaST Plugins
Plugin designBasic and shared functionality in base packages
Plugins implement the actual functionality
Plugins make WebYaST easily extensible
Installing WebYaST
WebYast Installation
Already preinstalled
Installing from RPM packageshttp://download.opensuse.org/repositories/YaST:/Web/
Running directly from sources (GIT)The latest version for developers
See http://en.opensuse.org/YaST/Web/Installation
WebYaST Development
Interested in WebYaST development?
Open source (GPLv2 and LGPLv2)
Contact:[email protected]
IRC freenode.net #yast
Resources
WebYaST Documentationhttp://en.opensuse.org/WebYaST
User and Vendor
Guidehttp://www.novell.com/documentation/webyast/
book_webyast_use/data/cha_webyast_user_overview.html
http://www.novell.com/documentation/webyast/
book_webyast_vendor/data/cha_webyast_vendor_overview.html
General TermsREST: http://en.wikipedia.org/wiki/Representational_State_Transfer
Questions?
Click to enter the title (44pt)
Second line or subtitle (22pt)
Presenter Name (16pt)Presenter Title (14pt)Company/email (14pt)
Click to Edit Section Break Text (32pt)
Right Justified
piece in master that I can't get rid of
Click to edit the outline text formatSecond Outline LevelThird Outline LevelFourth Outline LevelFifth Outline LevelSixth Outline LevelSeventh Outline LevelEighth Outline LevelNinth Outline Level
Click to edit the title text format
Click to edit the title text format (32pt)
Click to edit the outline text format (24pt)Second Outline Level (20pt)Third Outline Level (16 pt)Fourth Outline Level (14pt)Fifth Outline Level (12pt)
Novell Inc. All rights reserved
Click to edit the title text format
Click to edit the outline text formatSecond Outline LevelThird Outline LevelFourth Outline Level