How to install man pages on a CentOS Linux 6/7
I have installed both CentOS Linux version 6.x and 7.x using LXD vm. I am unable to access man pages and getting the following error: $ man date bash: man: command not found How to install man...
View ArticleHow to install keychain manager for ssh-agent on CentOS 6/7
OpenSSH offers RSA and DSA authentication to remote systems without supplying a password. keychain is a special bash script designed to make key-based authentication incredibly convenient and...
View ArticleHow to hide PHP 5/7 version when using Nginx
I am using PHP 5.6.xx and Nginx server on an Apline Linux server. I want to hide 'X-Powered-By: PHP/5.6.32' HTTP header. How can I hide PHP version when using Nginx along with PHP-fpm5 or PHP-fpm7?...
View ArticleTurn off color in Linux terminal/bash session
I am a new GNU/Linux user. I see a colorful bash prompt. Traditional command such as grep command or ls command also display output in colors. I would also like a turn off colors in vim text editor. I...
View ArticleHow to patch Meltdown CPU Vulnerability CVE-2017-5754 on Linux
A very serious security problem has been found in the Intel CPUs. Meltdown CPU Vulnerability CVE-2017-5754 breaks the most fundamental isolation between user applications and the operating system....
View ArticleHowto patch Spectre Vulnerability CVE-2017-5753/CVE-2017-5715 on Linux
A very serious security problem has been found in the Intel/AMD/ARM CPUs. Spectre CPU Vulnerability CVE-2017-5753/CVE-2017-5715 breaks the isolation between different applications. It allows an...
View Articleyum find out path where is package installed to on CentOS/RHEL
I have install htop package on a CentOS/RHEL. I wanted find out where and at what path htop package installed all files. Is there an easy way to tell yum where is package installed on a CentOS/RHEL?...
View ArticleHow to check Linux for Spectre and Meltdown vulnerability
How do I check if my Linux server is still vulnerable to Spectre and Meltdown CPU bugs? The post How to check Linux for Spectre and Meltdown vulnerability appeared first on nixCraft.
View ArticleHow to install and setup Docker on RHEL 7/CentOS 7
How do I install and setup Docker container on an RHEL 7 (Red Hat Enterprise Linux) server? How can I setup Docker on a CentOS 7? How to install and use Docker CE on a CentOS Linux 7 server? Docker is...
View ArticleHow to install and use Nginx on CentOS 7 / RHEL 7
How do I install and configure the latest version of Nginx web server on a CentOS 7 or RHEL 7 server using the CLI and host a static site? The post How to install and use Nginx on CentOS 7 / RHEL 7...
View ArticleHow to install PHP 7.2 on CentOS 7/RHEL 7
How do I Install PHP 7.2 on CentOS 7 server? How can I setup and install PHP 7.2 on RHEL 7 server along with Nginx web server? How do I configure PHP-fpm version 7.2 with Nginx server running on a...
View ArticleHow to configure Nginx with Let’s Encrypt on CentOS 7
How do I secure my Nginx web server with Let's Encrypt free ssl certificate on my CentOS 7 or RHEL 7 server? How to configure Nginx with Let's Encrypt on CentOS 7? The post How to configure Nginx with...
View ArticleHow to install KVM on CentOS 7 / RHEL 7 Headless Server
How do I install and configure KVM (Kernel-based Virtual Machine) on a CentOS 7 or RHEL (Red Hat Enterprise Linux) 7 server? How can I setup KMV on a CentOS 7 and use cloud images/cloud-init for...
View ArticleHow to build Perl module rpm file with cpanspec on RHEL/CentOS Linux
I am using CentOS/RHEL 7.x heavily, and many needed CPAN modules missing. I want to distribute Perl modules from CPAN to 100s of VMs and bare metal servers. Unfortunately running cpanm Module::Name OR...
View ArticleHow to create AWS ec2 key using Ansible
I wanted to create Amazon EC2 Key pair using Ansible tool. I do not want to use AWS CLI. Is it possible to create AWS ec2 key using Ansible? You need to use ec2_key module of Ansible. This module has a...
View ArticleHow to find ip address of Linux KVM guest virtual machine
How do I find out an IP address of Linux KVM guest from Linux host itself? I wanted to ssh into KVM guest VM. How can I find the IP address of a KVM Virtual Machine Guest on a CentOS Linux 7.x server?...
View ArticleHow to find serial number of Lenovo laptop from Linux
I need to list serial number of Lenovo laptop to check warranty. How do I find a serial number of Lenovo laptop from Linux command line without rebooting and opening BIOS option? The post How to find...
View ArticleHow to update Lenovo BIOS from Linux without using Windows
I am using Lenovo laptop. I want to update my BIOS but do not have Windows installed my system. How do I update Lenovo BIOS from Linux without using MS-Windows operating system with the help of a USB...
View ArticleHow to add comments to iptables rules on Linux
I am a new Linux sysadmin. How can I add comments to iptables rules on Linux using the iptables command? The post How to add comments to iptables rules on Linux appeared first on nixCraft.
View ArticleLinux list a KVM vm guest using virsh command
How do I list a KVM vm guest using virsh command on a Linux based hypervisor? The post Linux list a KVM vm guest using virsh command appeared first on nixCraft.
View Article