Difference between revisions of "SME Server:Documentation:Developers Manual:Chapter16"

From SME Server
Jump to navigationJump to search
m (Documentation Links)
 
(3 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
----
 
----
  
==Chapter 16. Other sources of information==
+
==Other sources of information==
  
 
===Perl modules===
 
===Perl modules===
Line 31: Line 31:
 
The documentation can be accessed from the Linux command line on your SME Server by typing '''perldoc esmith::ConfigDB''' (or whatever module name you're interested in).
 
The documentation can be accessed from the Linux command line on your SME Server by typing '''perldoc esmith::ConfigDB''' (or whatever module name you're interested in).
  
More information about building RPMs can be found at http://www.rpm.org/RPM-HOWTO/build.html. This is especially recommended if you wish to use anything more than the extremely simple outline given above. For instance, you may wish to to build RPMs using original source and patches or include more detail and functionality in your spec file.
+
More information about building RPMs can be found at http://www.rpm.org/wiki/Docs#PackagerDocumentation. This is especially recommended if you wish to use anything more than the extremely simple outline given above. For instance, you may wish to to build RPMs using original source and patches or include more detail and functionality in your spec file.
  
 
</div></div>
 
</div></div>
Line 41: Line 41:
 
   -Fedora Documentation - http://fedora.redhat.com/docs/
 
   -Fedora Documentation - http://fedora.redhat.com/docs/
 
   -Fedora Developers Guide - http://fedora.redhat.com/docs/developers-guide/
 
   -Fedora Developers Guide - http://fedora.redhat.com/docs/developers-guide/
   -Fedora Documentaion Guide - http://fedora.redhat.com/docs/documentation-guide/
+
   -Fedora Documentation Guide - http://fedora.redhat.com/docs/documentation-guide/
 
   -Maximum RPM Book - http://www.rpm.org/max-rpm-snapshot/
 
   -Maximum RPM Book - http://www.rpm.org/max-rpm-snapshot/
 
   -Fedora RPM Guide (draft) - http://fedora.redhat.com/docs/drafts/rpm-guide-en/
 
   -Fedora RPM Guide (draft) - http://fedora.redhat.com/docs/drafts/rpm-guide-en/

Latest revision as of 10:28, 20 December 2013


Other sources of information

Perl modules

If you are not already familiar with the Perl programming language, you will need to read up on at least the basics. One online course is available from http://sourceforge.net/projects/spork.

The SME Server has a wealth of Perl libraries to perform common functions including manipulating the configuration database, performing common CGI tasks, etc. The modules available include:

  • esmith::ConfigDB
  • esmith::AccountsDB
  • esmith::NetworksDB
  • esmith::HostsDB
  • esmith::NetworkServicesDB
  • esmith::DB
  • esmith::FormMagick
  • CGI::FormMagick
  • Text::Template

The following libraries are also installed for compatibility with older code, but they should no longer be used. These libraries may be removed in future releases.

  • esmith::util (deprecated)
  • esmith::db (deprecated)
  • esmith::cgi (deprecated)

The documentation can be accessed from the Linux command line on your SME Server by typing perldoc esmith::ConfigDB (or whatever module name you're interested in).

More information about building RPMs can be found at http://www.rpm.org/wiki/Docs#PackagerDocumentation. This is especially recommended if you wish to use anything more than the extremely simple outline given above. For instance, you may wish to to build RPMs using original source and patches or include more detail and functionality in your spec file.

Documentation Links

 -Managing Software with Yum - http://mirror.centos.org/centos/4/docs/html/yum/
 -CentOS 4/RHEL4 Documentation - http://mirror.centos.org/centos/4/docs/
 -Fedora Documentation - http://fedora.redhat.com/docs/
 -Fedora Developers Guide - http://fedora.redhat.com/docs/developers-guide/
 -Fedora Documentation Guide - http://fedora.redhat.com/docs/documentation-guide/
 -Maximum RPM Book - http://www.rpm.org/max-rpm-snapshot/
 -Fedora RPM Guide (draft) - http://fedora.redhat.com/docs/drafts/rpm-guide-en/
 -Fedora Wiki - Building Packages Guide - http://fedoraproject.org/wiki/Docs/Drafts/BuildingPackagesGuide
 -Fedoraproject.org RPM Packaging Guidelines - http://fedoraproject.org/wiki/PackagingGuidelines
 -Fedoraproject.org Package Review Guidelines - http://fedoraproject.org/wiki/PackageReviewGuidelines
 -Fedoraproject.org RPM Spec File Scriptlet Snippets - http://fedoraproject.org/wiki/ScriptletSnippets