Changes

From SME Server
Jump to navigationJump to search
added checking repositories section
Line 45: Line 45:  
===Yum Repositories===
 
===Yum Repositories===
 
Yum repositories on SME Server are to be configured by the internal configuration database. Repositories are stored in the yum_repositories database. The yum configuration file, located at /etc/yum.conf holds the actual configuration and is generated using the data in the yum_repositories database.
 
Yum repositories on SME Server are to be configured by the internal configuration database. Repositories are stored in the yum_repositories database. The yum configuration file, located at /etc/yum.conf holds the actual configuration and is generated using the data in the yum_repositories database.
 +
 +
====Checking status of installed repositories====
 +
To check which repositories are installed and their status do
 +
/sbin/e-smith/audittools/repositories
 +
On an unmodified sme server only the following are enabled
 +
 +
base: enabled
 +
 +
smeaddons: enabled
 +
 +
smeextras: enabled
 +
 +
smeos: enabled
 +
 +
smeupdates: enabled
 +
 +
updates: enabled
 +
 +
Any other repository that is installed and listed should have a status of disabled.
 +
This is to prevent the inadvertant and potentially undesirable update of packages.
 +
To update packages from other repos, use the --enablrepo=reponame switch in the yum update command eg
 +
yum update --enablerepo=dag
 +
which will also bring in any rpm updates from the dag repo (only for packages that are already installed on your system). See more details below.
    
====Installing or modifying a repository====
 
====Installing or modifying a repository====
624

edits

Navigation menu