Line 22: |
Line 22: |
| yum --enablerepo=smecontribs --enablerepo=base localinstall sme-unjunkmgr-1.1.2-1.noarch.rpm | | yum --enablerepo=smecontribs --enablerepo=base localinstall sme-unjunkmgr-1.1.2-1.noarch.rpm |
| | | |
− | ====Upgrading from previous releases==== | + | ====Upgrading==== |
| + | |
| + | wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/swerts-knudsen/SME7/UnJunkMgr/sme-unjunkmgr-1.1.2-1.noarch.rpm |
| + | yum --enablerepo=smecontribs --enablerepo=base localupdate sme-unjunkmgr-1.1.2-1.noarch.rpm |
| | | |
| {{Note box|Note that I have found a bug in the older releases (1.0.x) causing updates to fail (main directory will be deleted by post install script...). This means that in order to upgrade to 1.1.2-1 you will need to uninstall the old version first and then do the install of the new. Side effect is that your old log files (statistics) will also be deleted. If you want to avoid this you need to save a copy of all *.old and *.log files within /usr/local/unjunkmgr directory. These can be copied back after install is completed.}} | | {{Note box|Note that I have found a bug in the older releases (1.0.x) causing updates to fail (main directory will be deleted by post install script...). This means that in order to upgrade to 1.1.2-1 you will need to uninstall the old version first and then do the install of the new. Side effect is that your old log files (statistics) will also be deleted. If you want to avoid this you need to save a copy of all *.old and *.log files within /usr/local/unjunkmgr directory. These can be copied back after install is completed.}} |
| | | |
− | ====De-installation or de-activation==== | + | ====Uninstall==== |
− | You can simply remove the package again with the usual rpm command. | + | You can simply remove the package again with the usual yum command. |
| | | |
− | rpm –e sme-unjunkmgr-1.1.2-1 | + | yum remove sme-unjunkmgr |
| | | |
− | If you are uninstalling version '''1.0.0-1''' you also need to also expand templates. | + | NOTE: If you are uninstalling version '''1.0.0-1''' you also need to also expand templates. |
| expand-template /etc/crontab | | expand-template /etc/crontab |
| expand-template /etc/httpd/conf/httpd.conf | | expand-template /etc/httpd/conf/httpd.conf |
| /etc/rc.d/init.d/httpd-e-smith restart | | /etc/rc.d/init.d/httpd-e-smith restart |
− |
| |
− | or disable the functionality with (default: yes):
| |
− |
| |
− | /sbin/e-smith/db configuration set unjunkmgr service enabled <no|yes>
| |
| | | |
| ==Configuration== | | ==Configuration== |