Changes

From SME Server
Jump to navigationJump to search
→‎Installing software: RestrictRepo and RestrictRpm
Line 7: Line 7:     
===Installing software===
 
===Installing software===
 +
====Server Manager====
 
SME Server has an option to install software using the Software Installer option in the server-manager, after enabling 'Manage Individual Packages' you can install rpms from enabled repositories and if you know exactly what you are doing, you can also remove rpms.  
 
SME Server has an option to install software using the Software Installer option in the server-manager, after enabling 'Manage Individual Packages' you can install rpms from enabled repositories and if you know exactly what you are doing, you can also remove rpms.  
    +
From SME 7.2 you can restrict the software that is shown in the 'Software Installer' - 'Available packages' dialog. Use this to hide software software that we don't want. eg desktop software such as oppenoffice from the centos repositories.
 +
 +
We can allow one or more terms that are contained in the repository name
 +
config setprop yum RestrictRepo smeserver,dungog
 +
 +
Or one or more terms that are contained in the rpm name
 +
config setprop yum RestrictRpm perl
 +
 +
If you add both these example only rpms with perl in there name '''and''' are in any of the smeserver or dungog repositories will be visible.
 +
 +
yum_update_dbs
 +
to update the database, or wait overnight for the next updates check
 +
 +
====Command Line====
 
SME Server uses yum to install software, this is a newer and improved version of the well-known rpm command. Yum makes use of so-called repositories in which a lot of pacakges (RPMs) are stored. The big advantage of yum over rpm is that it can not only determine it's own dependencies, but if can also download required dependencies from enabled repositories.
 
SME Server uses yum to install software, this is a newer and improved version of the well-known rpm command. Yum makes use of so-called repositories in which a lot of pacakges (RPMs) are stored. The big advantage of yum over rpm is that it can not only determine it's own dependencies, but if can also download required dependencies from enabled repositories.
 
With everyone having yum repositories set up the same way, Howto authors can now use instructions like:
 
With everyone having yum repositories set up the same way, Howto authors can now use instructions like:

Navigation menu