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?
View ArticleHow 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...
View ArticleHow to configure a static IP address on CentOS 7 / RHEL 7
I am a new sysadmin and CentOS user. My system is configured to use DHCP. How can I switch from DHCP to static IP address configuration in a CentOS 7 desktop system? How do I setup a static TCP/IP...
View ArticleHow to make make disk image with dd on Linux or Unix
How do I create disk image using dd command? How do I perform disk cloning from a live Linux cd for backup or recovery purpose?
View ArticleHow to create snapshot in Linux KVM VM/Domain
Before upgrading my virtual machine, I would like to make a snapshot. I want to revert a domain/VM to a snapshot if something goes wrong with my upgrade. Is there a command to create a snapshot of...
View ArticleHow To Patch and Protect Linux Kernel Zero Day Local Privilege Escalation...
A very serious security problem has been found in the Linux kernel. A 0-day local privilege escalation vulnerability has existed for eleven years since 2005. This bug affects all sort of of Android or...
View ArticleHow to delete KVM VM guest using virsh command
I am a new Linux and KVM user. How do I delete a VM guest with virsh command line on Linux operating system? How do I delete a virtual machine called vps42 on Ubuntu or CentOS Linux server?
View ArticleHow to check if port is in use on Linux or Unix
How do I determine if a port is in use under Linux or Unix-like system? How can I verify which ports are listening on Linux server?
View ArticleHow 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...
View ArticleHow to change the ssh port on Linux or Unix server
I am a new Linux/Unix server admin. How do I change the SSH Port for my Linux or Unix server using command line option?
View ArticleChange Shell To Bash
How do I switch from a ksh shell to bash on Linux or Unix system? How to change shells on Unix-like system?
View ArticleLinux / 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: python: command not found...
View ArticleHow to copy a single file to multiple directories in Linux or Unix
If I want to copy a single file into three locations (directories), by using a single cp command (e.g. cp file /dir1/ /dir2/ /dir3/. Would that be possible? If yes, please provide the command for...
View ArticleLinux/Unix: Force ssh client to use only password auth authentication when...
I configured and use my openssh server to accept only public key based authentication. I need to test if my server accepting password. How to allow ssh client to use only password auth when pubkey auth...
View ArticleHow to map static IP address using dnsmasq under LXD (Linux containers)
I am using LXD (Linux container) to host Apache, MySQL, Perl and PHP-based app. I would like to assign or map fixed IP address to my MySQL container. How do I allow dnsmasq DHCP server to assign a...
View ArticleHow to ignore invalid and self singed ssl connection errors with curl command
I wanted to curl command to ignore SSL certification warning. Does curl command have a --no-check-certificate option like wget command on Linux or Unix-like system?
View ArticlePHP Fatal error: Call to undefined function curl_init() in...
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...
View ArticleHow to rename LXD / LXC container
How do I rename an LXD managed LXC container under a Linux operating system? You can move or rename containers within or in between lxd instances. In this quick tutorial, I will show how to rename an...
View ArticleHow to clone existing KVM virtual machine images on Linux
I wanted to clone my Debian or Ubuntu Linux KVM VM for testing purpose. How do I clone existing virtual machine images under KVM?
View ArticleHow to rename KVM virtual machine (VM) domain with virsh command
How do I rename KVM-powered virtual machine from foo to bar using virsh command line option on Linux?
View Article