When I installed goaccess in my virtual machine, I said I could not find GeoIP ... Embarrassed.
For the time being, I would like to update my Yum source because my system (Centos 6.5) is using the default source for GeoIP. Speed is slow, here first change the source, I use is the source of Ali.
The first step: Back up your original image file so that you can recover it after an error.
Mv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backup
Step two: Download the new Centos-base.repo to/etc/yum.repos.d/
5 -o/etc/yum.repos.d/centos-base.repo http://mirrors.aliyun.com/repo/ Centos-5.repo6 -o/etc/yum.repos.d/centos-base.repo http:// Mirrors.aliyun.com/repo/centos-6.repo7-o/etc/yum.repos.d/centos-base.repo http: Mirrors.aliyun.com/repo/centos-7.repo
Step three: Run the Yum makecache build cache
Yum Clean all #清除缓存目录下的软件包及旧的headersyum makecache # caches the package information on the server locally to increase the speed of the search installation software
Yum-y Update #全部更新 (optional) (-y auto-Select, automatic)
Replace the CentOS source