Changes

Jump to navigation Jump to search
1,540 bytes added ,  20:07, 9 April 2021
Line 8: Line 8:     
=== Description ===
 
=== Description ===
Check4updates is a contrib which regularly checks the determined repositories and send email to the admin, for informing of all new rpms which need an update
+
Check4updates is a contrib which regularly checks the determined repositories and send email to the admin, for informing of all new rpms which need an update.
    
=== Requirements ===
 
=== Requirements ===
You need to enable [[stephdl]] repository
+
You need to enable [[stephdl]] repository.
    
=== Installation ===
 
=== Installation ===
 +
 +
<tabs container><tab name="For SME 10">
 +
 +
Install in the usual way:
 +
 +
yum install smeserver-check4updates --enablerepo=smecontribs
 +
</tab><tab name="For SME 9">
 
This contrib is currently held in an external non default repository. You must first configure the stephdl repository on your SME server by following the steps here [[stephdl]] (if not already configured).  
 
This contrib is currently held in an external non default repository. You must first configure the stephdl repository on your SME server by following the steps here [[stephdl]] (if not already configured).  
   Line 22: Line 29:  
Then run the following commands to install the Check4updates contrib on your SME Server.<br />
 
Then run the following commands to install the Check4updates contrib on your SME Server.<br />
   −
* '''for sme8'''
+
yum --enablerepo=smecontribs install smeserver-check4updates
  yum --enablerepo=stephdl install smeserver-check4updates
+
You have to set the repositories you want to check, you must enabled them before as it is asked [http://wiki.contribs.org/Category:Yum_Repository on this page]<br />
 +
 
 +
'''Repositories have to be separated by a coma ',''''<br />
 +
 
 +
for example
 +
config setprop check4updates repositories fws,stephdl
 +
 
 +
Then activate the database changes as follows:
 +
  signal-event post-upgrade;  signal-event reboot
 +
or if you do not want to restart the server, simply do
 +
signal-event console-save
 +
 
 +
</tab>
 +
<tab name="For SME 8">
 +
This contrib is currently held in an external non default repository. You must first configure the stephdl repository on your SME server by following the steps here [[stephdl]] (if not already configured).
 +
 
 +
You can check the repo status as follows
 +
db yum_repositories show stephdl
 +
If you receive no output then the repo is not configured on your SME server.
 +
 
 +
Then run the following commands to install the Check4updates contrib on your SME Server.<br />
   −
* '''for sme9'''
   
  yum --enablerepo=smecontribs install smeserver-check4updates
 
  yum --enablerepo=smecontribs install smeserver-check4updates
 
You have to set the repositories you want to check, you must enabled them before as it is asked [http://wiki.contribs.org/Category:Yum_Repository on this page]<br />
 
You have to set the repositories you want to check, you must enabled them before as it is asked [http://wiki.contribs.org/Category:Yum_Repository on this page]<br />
Line 38: Line 64:  
or if you do not want to restart the server, simply do
 
or if you do not want to restart the server, simply do
 
  signal-event console-save
 
  signal-event console-save
 +
yum --enablerepo=stephdl install smeserver-check4updates
 +
 +
</tab>
 +
</tabs>
    
===Usage===
 
===Usage===
  # config show check4update
+
  # config show check4updates
 
   check4updates=configuration
 
   check4updates=configuration
 
     emailaddress=admin-yum
 
     emailaddress=admin-yum
Line 47: Line 77:  
     repositories=
 
     repositories=
    +
for example, this is mine configuration (some rpm must be excluded from epel)
 +
 +
check4updates=configuration
 +
    emailaddress=admin-yum
 +
    excludes=GeoIP,dar,libdar,oidentd,perl-Net-Server,perl-Razor-Agent,php-pear-Auth-SASL,pkcs11-helper,pptpd,rssh,php-horde-horde,proftpd,php-pear-Net-LDAP2
 +
    frequence=daily
 +
    repositories=fws,epel,stephdl,sogo,remi-roundcube,remi
     
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu