How to use curl command with http/2 on MacOS X

I am using a MacOS sierra (version 10.12.1). How do I use curl command with http2/ protocol? I am getting an error that read as follows: curl -I –http2 https://google.com curl: (1) Unsupported protocol How…

Linux / Unix: “-bash: python: command not found” error and solution

I am a new user and trying to run Python program. I have a cloud based VM/VPS and when I type python mycode.py at the terminal of my server, I get the following error: -bash:…

Error while loading shared libraries: libXrender.so.1 on Linux

I am trying to use wkhtmltopdf command to create and convert html pages to a pdf. However, I am running into errors though as follows when try to use wkhtmltopdf via a shell or Python…

How to find out why squid proxy exited due to signal 9 with status 0

I am getting an error that read as “The proxy server is refusing connections.” I am using Squid 3 with Ubuntu Linux 16.04 LTS server and how can I find out why my squid proxy…

PHP Fatal error: Call to undefined function gzinflate()

I have a php script and whenever I run it, I get the following error message in my log file: 2017/02/05 23:25:46 [error] 9696#9696: *10 FastCGI sent in stderr: “PHP message: PHP Fatal error: Call…

PHP Fatal error: Call to undefined function curl_init() in /home/httpd/a/includes/functions.php(1)

I setup a LEMP (Linux, Nginx,MySQL, PHP ) stack. But, getting the following error in /var/log/nginx/error.log file: PHP Fatal error: Call to undefined function curl_init() in /home/httpd/a/includes/functions.php(1) How do I solve this problem on Linux…

How to set rsync speed limit from eating all bandwidth with –bwlimit option

T he rsync command is eating all my bandwidth from a backup script and generating tons of I/O. How do I set a limit for file transfer speed of rsync command on Linux or Unix-like…

Failed to set locale, defaulting to C warning message on CentOS Linux when running yum

W henever I run yum command, I get an error or warning that read as Failed to set locale, defaulting to C. How do I fix this issue on CentOS 7 Linux server? Why do…

How to check whether AMT is enabled and provisioned under Linux

H ow do I check whether Intel Active Management Technology (AMT) and Intel Standard Manageability (ISM) enabled or disabled under Linux using command line for CVE-2017-5689 vulnerability?   The CVE-2017-5689 vulnerability defined as: An unprivileged…

Ansible: Could not find aptitude. Please ensure it is installed Error and Solution

I am running the ‘ansible-playbook -i hostnames upgrade.yml‘ command but getting an error that read as follows fatal: [db1]: FAILED! => {“changed”: false, “failed”: true, “msg”: “Could not find aptitude. Please ensure it is installed.“}…