Category: Linux

Knowing why server was shutdown

Sometimes we may want to investigate why a linux system was shutdown unexpectedly .  As you know already , the only place we get this information from is /var/log directory . last -x  command will display some information about shutdown/reboot like below . runlevel (to lvl 3)   2.6.32-754.17.1. Sat Sep  7 16:24 – 18:41  […]

Disable Elasticsearch listening on ipv6

By default elastic search is listening on ipv6 and not ipv4 when installed . We can make it listen on on ipv4 by adding this line network.host: _non_loopback:ipv4_ to /etc/elasticsearch/elasticsearch.yml configuration file . Or we can disable ipv6 at Operating system level by adding below lines to /etc/sysctl.conf file net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 […]

Configuring Local RPM repository on RHEL and Cent OS

———————————————————– Sometimes we may need to install a bunch of rpm files at once . If we configure local yum repository , we can install all rpm files at once with yum command. If a vendor is frequently updating the packages in the remote repository and you just want to stick with old packages , […]

Back To Top