Changes

From SME Server
Jump to navigationJump to search
m
Line 2: Line 2:  
==Adding new software ==
 
==Adding new software ==
 
New software should be installed from RPMs<br>
 
New software should be installed from RPMs<br>
Red Hat or Centos Version .el4 rpms should be compatible for SME7, use .el5 for SME8<br>
+
Red Hat or Centos Version .el4 rpms should be compatible for SME7, use .el5 for SME8 and .el6 for SME9.<br>
 
Often these rpms are configured with a SME Server integration rpm.   
 
Often these rpms are configured with a SME Server integration rpm.   
   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 --enablerepo=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====
Line 89: Line 112:  
Now you have a clean install, you can re-add 3rd party repos as described above <br>
 
Now you have a clean install, you can re-add 3rd party repos as described above <br>
   −
  signal-event yum-update
+
  signal-event yum-modify
    
and check  
 
and check  
Line 95: Line 118:  
  yum update
 
  yum update
   −
<noinclude>[[Category:Howto]]</noinclude>
+
<noinclude>[[Category:Howto]][[Category:SME Server]]</noinclude>
3,054

edits

Navigation menu