It is currently Sat Dec 21, 2024 1:58 pm

News News of Lik`s forum

Site map of Lik`s forum » Forum : Lik`s forum

cPanel/WHM/OpenVZ/Xen/Linux/IPMI Lik`s forum

Automatic Updates for MaxMind GeoIP Databases

Automatic Updates for MaxMind GeoIP free Databases (GeoIP Legacy Databases):

1. Use official MaxMind GeoIP Update program. GeoIP updates require an active GeoIP subscription.
Can find more information at http://dev.maxmind.com/geoip/geoipupdate/

2. Manual download of free (*lite* in terms of MaxMind) databases:
geoipupdate.sh:
#!/bin/sh

GEOIP_MIRROR="https://mailfud.org/geoip-legacy"
GEOIPDIR=/usr/share/GeoIP
TMPDIR=

DATABASES="GeoIP GeoIPv6 GeoIPCity GeoIPCityv6 GeoIPASNum GeoIPASNumv6 GeoIPISP GeoIPOrg"

if [ "${1}" = -f ] || [ "${1}" = --force ]; then
force=true
fi

if [ -d "${GEOIPDIR}" ]; then ...
Read more : Automatic Updates for MaxMind GeoIP Databases | Views : 5002 | Replies : 0 | Forum : Linux specific








Extract file(s) from an RPM package

Sometimes, only one or several files from an .rpm package are required and there is no need to install it on the system.
Let`s find where file(s) will be put after .rpm package install:
Code: Select all
# rpm -qlp nagios-plugins-1.4.15-2.el5.rf.x86_64.rpm | grep rbl
/usr/lib64/nagios/plugins/contrib/check_rbl.c

And extract only it from the archive:
Code: Select all
# rpm2cpio nagios-plugins-1.4.15-2.el5.rf.x86_64.rpm | cpio -ivd ./usr/lib64/nagios/plugins/contrib/check_rbl.c
Read more : Extract file(s) from an RPM package | Views : 6451 | Replies : 1 | Forum : Linux specific


Page Speed Service

https://developers.google.com/speed/pagespeed/service
Page Speed Service is an online service to automatically speed up loading of your web pages.

How to use this service

You sign up and provide us with your serving and reference domains.
You send traffic to Page Speed Service by pointing your DNS CNAME entry to ghs.google.com.

Google serves requests received for your serving domain by fetching content from your reference domain and rewriting it.
Read more : Page Speed Service | Views : 2651 | Replies : 0 | Forum : Interesting links






Disable clamav/clamd on cPanel server Disable clamav/clamd on cPanel server

To completely remove ClamAV from your cPanel-based server please use WHM interface, feature
Code: Select all
WHM -> Plugins -> Manage Plugins

Uncheck 'clamavconnector' box and hit 'Uninstall clamavconnector'.

Tips for those who prefer to remove ClamAV via CLI interface.
Code: Select all
cd /usr/local/cpanel/modules-install/clamavconnector-Linux-x86_64/
./uninstall
sed -i '/clamavconnector/d' /var/cpanel/addonmodules

You can find more details inside 'uninstall' bash script.

Disable and remove clamd from the cpanel check service daemon configuration file:
Code: Select all
sed -i '/clamd/d' /etc/chkserv.d/chkservd.conf

Also remove clamd check description:
rm ...
Read more : Disable clamav/clamd on cPanel server | Views : 5598 | Replies : 0 | Forum : Server Side Actions


init: /dev/initctl: no such file or directory (TODO)

Code: Select all
mkfifo /dev/initctl
reboot -f
Read more : init: /dev/initctl: no such file or directory (TODO) | Views : 5387 | Replies : 0 | Forum : Linux specific


 

Login


Statistics

Total posts 505 • Total topics 442 • Total members 22

cron