LinuxHowto

How to hide nginx version?

With default Nginx configuration, Nginx response contains the Nginx Version number in the Headers , In the “Server” Header. N ... feel free to drop us a note if you have any queries or feedbacks using our comment form below. Always happy to help you ????

How to create/write Nrpe plugins using BASH/Python

NRPE is a Open source Project from Nagios , which allows you to remotely execute Nagios plugins on other Linux/Unix machines. ... openfiles=os.popen(“cat /proc/sys/fs/file-nr | awk ‘{print $1}'”).readline().strip() openfiles=int(openfiles) if openfiles

Docker container monitoring using Ctop

CTOP provides a linux “top” alike interface for monitoring the Docker containers running on the machine. It provides concise ... feel free to drop us a note if you have any queries or feedbacks using our comment form below. Always happy to help you ????

How to install readline and readline-devel on Ubuntu?

How to install “readline” and “readline-devel” on Ubuntu ? The “Readline” library provides a set of functions for use by appl ... 2/2   Installed: readline–devel.x86_64 0:6.2–9.el7   Dependency Installed: ncurses–devel.x86_64 0:5.9–13.20130511.el7    

How to install «development tools» for Ubuntu using apt-get?

In linux you will need to install ‘Development Tools’ group if you want to  compile software and build new rpms. These tools ... xt git indent intltool libtool make patch patchutils rcs redhat–rpm–config rpm–build rpm–sign subversion swig systemtap  

Comparing CollectD,Telegraf and NetData

Comparing CollectD,Telegraf and NetData In this article we will compare three popular metrics collector agents which are Netd ... : Graphite, Opentsdb and Prometheus Cons 1.Still in evolving phase, time-series backends support was added recently.  

How to install «docker-compose» on Centos/linux?

Docker Compose is a tool for defining and running multi-container Docker applications. With “docker Compose”, you can use a s ... ory (default: the path of the compose file)   Please let me know if you have any questions. Always happy to help   

How to fix «rsync: Failed to exec ssh: No such file or directory»?

I was getting following error while trying to copy one file to another server using rsync 1 2 3 4 5 6 7   [root@te ... ======================================= Install 1 Package (+1 Dependent package)   After this rsync was working properly.

How to fix mysql error «ERROR 1290 (HY000): Unknown error 1290»?

Fixing error “ERROR 1290 (HY000): Unknown error 1290”  I was trying to export the mysql User table into a csv file for a secu ... the following 1 secure_file_priv=“/tmp” Don’t forget to restart mysql service once changes are done.   

How to install docker-machine on Centos/Linux machine?

In this article we will explain how to install docker-machine on Centos/Linux machine docker-machine is a command-line tool u ... local machines. Whatever command you run with “docker” will be executed on the new VM you created and not on your machine.   

How to Restrict ssh access for users from specific IP address?

How to restrict ssh  access for a user  from ip ? sshd (OpenSSH Daemon) is the daemon program for ssh. With sshd server and s ... To allow a user from a particular subnet , use the following 1 AllowUsers [email protected].* Canning Recipes

Resolved «Unknown column 'password' in 'field list'»

I was trying to recover Mysql root password through mysql safe mode .  When i tried to update the Mysql “user” table with new ... t; Bye   Compared to MySQL 5.6, the changes are quite extensive in 5.7 . Please see the complete list of changes here  

How to fix the error «TCP: time wait bucket table overflow»?

How to fix the error “TCP: time wait bucket table overflow” ? I was getting the following error in the “/var/log/messages” on ... both “ipv4.tcp_tw_recycle” and “ipv4.tcp_tw_reuse”  set to 1 now. I never seen those errors after making the above changes.  

How to disable selinux on Centos7 machine without reboot/restart?

How to disable selinux on Centos machine without reboot/restart ? In this article we will explain how to disable selinux on C ... d     Then, save and exit the file. This way we ensure that “selinux” will be disabled even after the next server reboot.

Running «sql slave skip counter» for mysql Multisource Replication

How to skip one transaction in one channel of a Mysql multisource replication setup?  Recently Mysql announced a new feature ... ion by skipping the transactions in a particular channel Please let me know if you face any issue.  Always Happy to help ????

Enable write graphite plugin in Collectd

Most of the linux distros come with collectd without “write_graphite” enabled, which is used for sending time series data to ... ll   make && make install If there are no errors, you should be able to see Collectd installed under “/opt/collectd/”

Error g++: command not found

On Linux machine while running “make” command, following error came and make command exited   1 2 3   ../lib ... kages such as supporting libraries. Most of these popular packages are available in yum repositories, making our life easy.  

Custom Collectd plugins for Linux/Ubuntu

About Collectd Collectd is an application which collects system/application metrics periodically and provides ways to store t ... graphite..If any errors, it will show up un the logs. Please let me know incase you face any issue, always glad to assist.  

How to run nginx on Docker?

How to run nginx on Docker? I have Nginx installed on a Docker container, and was trying to run it like this   1 ...  nginx –g ‘daemon off;’     This will start a container with nginx running on foreground, henc container will  not exit.

Installing Grafana on Centos/Ubuntu

Grafana is a a popular open source application for visualizing large-scale timescale data . It support all the popular  time- ... erver Start Grafana On Centos7 Systemctl start grafana Configure Grafana to start on boot time Systemctl enable grafana