≡ Menu

Package Management

How to install wget on RHEL/CentOS 7 using yum

I am trying to download a file using ‘wget http://url’ syntax, but I am getting an error:
bash: wget: command not found

How do I fix this problem? How can I install wget on a CentOS/RHEL 7 or 6 server using yum command?
[click to continue…]

Sysadmin because even developers need heroes!!!

How to remove all old and outdated brew packages on MacOS

I am using Homebrew to install packages on MacOS Sierra or Mac OS X. I noticed multiple version of bash or curl installed in /usr/local/Cellar/bash/. How can I delete an outdated version of brew packages and only keep the latest version on my system?
[click to continue…]

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 do I solve this problem and use cURL with HTTP/2 on Mac OS X or MacOS Sierra?
[click to continue…]

How to install PHP 7 on Debian Linux 8.6/7.x [jessie/wheezy]

I wanted to use PHP 7 on Debian 8.x. How do I install and configure PHP 7 on Debian Linux 8.x server? How do I install PHP 7 on Debian Linux 7.x “wheezy” VPS server hosted in cloud?
[click to continue…]

How to live patch Ubuntu Linux Kernel without rebooting the server

Kernel live patching enables runtime correction of critical security issues in running kernel without rebooting. How do I enable or patch my Ubuntu Linux 16.04 LTS server without rebooting the box?
[click to continue…]

How to apply patches on OpenBSD system/kernel and packages easily

I am a regular Linux system user. In Linux (especially CentOS), I am used to applying updates a few times a week using yum command, but how do I do that on my OpenBSD severer? How do I apply updates on OpenBSD operating system?
[click to continue…]

How to see PCI devices info on CentOS 7 and RedHat Enterprise Linux 7

I wanted to see PCI devices information on my CentOS/RHEL 7 box. But, I’m getting an error that read as, “-bash: lspci: command not found”. How do I solve this problem and see PCI devices information on CentOS/RHEL 7?
[click to continue…]

How to see CPU temperature on CentOS 7 and RedHat Enterprise Linux 7

I am a new sysadmin of CentOS 7 server. How do I get my CPU temperature Information on CentOS Linux 7 or Red Hat Enterprise Linux 7 server?
[click to continue…]

How do I speed up my apt-get or apt command to download packages from multiple repos on a Ubuntu Linux 16.04 or 14.04 LTS server? How do I use apt-fast command on a Debian Linux server?
[click to continue…]

How to install htop on pfSense firewall

I am using pfSense version 2.3.2-RELEASE (FreeBSD 10.3-RELEASE-p5). How do I install htop version 2.x on a pfSense firewall?
[click to continue…]