Changes

From SME Server
Jump to navigationJump to search
2,469 bytes added ,  22:43, 8 December 2014
Created page with "{{Languages}} == Check4update for SME Server == === Maintainer === [mailto:stephdl@de-labrusse.frStephane de Labrusse aka stephdl]<br /> === Version === {{ #..."
{{Languages}}
== Check4update for SME Server ==

=== Maintainer ===
[mailto:stephdl@de-labrusse.fr[[User:stephdl|Stephane de Labrusse aka stephdl]]]<br />
=== Version ===
{{ #smeversion: smeserver-check4update }}

=== Description ===
Check4update is a contrib which regularly checks the determined repositories and send email to the admin, for informing him of all new rpms that need an update

=== Requirements ===
You need to enable [[stephdl]] repository

=== Installation ===
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 Check4update contrib on your SME Server.<br />

'''for sme8 or sme9'''
yum --enablerepo=stephdl install smeserver-check4update

You have to set the repositories you want to check, you have to enabled them before as asked [[Category:Yum_Repository|on this page]]
'''Repositories have to be separated by a coma ',''''
for example
config setprop check4update 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

===Usage===
*repositories
config setprop check4update repositories repo1,repo2,repo3
signal-event console-save

*email recipients
The recipient is admin but you can change this by a db command

config setprop check4update emailaddress "foo@foo.com"
or if you need several recipients
config setprop check4update emailaddress "foo@foo.com foo@foo.be foo@foo.fr"

and then
signal-event console-save

* frequence
config setprop check4update frequence daily
signal-event console-save

daily is the default value but you can set also

weekly
monthly

=== Uninstall ===
yum remove smeserver-check4update
=== Bugs ===
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
and select the smeserver-foo component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-foo|title=this link}}.

{{#bugzilla:columns=id,product,version,status,summary |sort=id|order=desc |component=smeserver-foo|noresultsmessage="No open bugs found."}}
[[Category: Contrib]]

Navigation menu