Linux Tips
How to list python Modules/Packages?
Python comes with many standard library modules like OS, Json,urllib, zipfile and re. There are vast number of third party mo ... e aifc imaplib setools
Crypto ansible imghdr sets
DLFCN anydbm imp setuptools
DbgPlugInDiggers argparse imputil sgmllib
Tuning nginx webserver to handle High Traffic
Nginx, already a popular webserver , is getting more so , according to various reports. It is being used by more than one-thi ... tor errors, 404 error etc . You can use tools like Graylog or Splunk for the same.
Please let me know if you face any issue.
Fixed 'sudo: no tty present and no askpass program specified'?
I was trying to run some commands on agent machines using Jenkins and those commands needed “sudo” access as Jenkins was n ... e file will make sure the new line will get the priority.
After adding this line i was able to run sudo command successfully.
Block access to.git folder in nginx
How to Block access to .git folder in nginx?
If you have your code in a git Repository and you are cloning that repository on ...
3
4
5
location ~ /\.svn {
deny all;
}
Don’t forget to restart nginx after making changes in configuration ????
Fixed: AC LIBLTDL CONVENIENCE: command not found
I was getting this error while configuring Collectd
1
2
3
4
5
6
7
./configure —enable–all–plugins
./configure: l ... brary
Fix : Install libtool
On Centos
1
2
3
yum install libtool–ltdl libtool–ltdl–devel libtool
How to start httpd/apache in foreground?
In this article we will discuss how to start Httpd/Apache in foreground.
How to start httpd/apache in foreground?
You can sta ... oaded module authn_anon_module
[Thu Feb 16 20:12:45 2017] [debug] mod_so.c(246): loaded module authn_dbm_module
How to run nginx on Foreground?
How to run nginx on Foreground?
By default, when you start nginx service it will start in self-daemonize mode, that mean ngin ... e command line
You can start nginx on foreground, using below command
1
2
3
nginx –g ‘daemon off;’
How to change width and length of cells,rows,columns in google sheets
Following video will explain how to change width and length of cells,rows,columns in google sheets
Haproxy Lua example
HAProxy is a powerful load balancer which can be used to Load Balance your Webservers, Database servers and many more. In Ver ... g
You can watch the messages on the console, if you face any issue.
Feel free to contact me if you face any issue ????
How to delete data from InfluxDB?
InfluxDB is one of the most popular Timeseries data stores. It’s useful for recording system metrics, events, and performing ... As always,please drop us a note if you have any questions or feedback using our comment form below.
Always Happy to Help ????
How to check Nagios Version on your server?
In this article we will explain how to check Nagios Version on your machine.
What Version of Nagios Core I am Running?
Easies ... ios”.
Please see the screenshot image below
You can see the Nagios Core release notes at their official website here
Upgrade git on Centos
Most of the Linux distros comes with git version 1.6/1.7 .If you want to upgrade it , you need to compile it from source
Inst ...
make all
make install
Now check git version using
1
2
git version
git version 2.10.1.502.g6598894
How to list modules compiled into nginx?
Unlike apache webserver, in Nginx , modules are built into nginx binary itself . It is not possible build these modules sepa ... =generic’ –with-ld-opt=’ -Wl,-E’
You can see that modules ipv6, ssl, realip , gzip and many more are enabled .
Fixed error «cpio: Digest mismatch»
When trying to install freetype rpm package, RPM was throwing the following error
Error: unpacking of archive failed on file ... .rpm
This command disables the digest check during package installation, and there wont be any errors related to digest check