Linux – CentOS – Set Timezone

Background Playing around with Linux, queried the system for the current time, and noticed it is a bit off.   OS OS - Linux - CentOS Our OS is CentOS/Version 8. Command hostnamectl We can issue hostnamectl, to get the OS Name and Version. Output Outline timedatectl timedatectl status timedatectl list-timezones timedatectl set-timezone timedatectl show … Continue reading Linux – CentOS – Set Timezone

Linux – File System – Listing File Systems

Background What is the File System on our disks? Outline Commands df ( Disk Free ) lsblk ( List Information on the block devices ) lshw ( List Hardware ) file ( File Command ) mount ( List Mount Points ) blkid ( List Information on Available Block Devices ) System Configuration File /etc/fstab Commands … Continue reading Linux – File System – Listing File Systems

Linux – OS – Bitness

Background Let us figure out the bitness of our Linux OS. Outline Commands lscpu Commands lscpu Syntax Sample Output Output - Image Output - Textual Explanation Architecture Meaning:- Processor ( Hardware ) Common Values x86_64 64-bit CPU CPU op-mode(s) Meaning:- Based on OS Installed, CPU Operating Mode ( Software ) Common Values 32-bit, 64-bit Supports both … Continue reading Linux – OS – Bitness

Install Powershell on Linux/CentOS

Background Back playing around with a Linux box and wanted to see if it is any easier for me to understand the steps for installing Powershell. Outline Configure Source Repositories Review available Microsoft Repository for your OS/Version ( https://packages.microsoft.com/config/rhel/ ) Redhat Repository - Local Review "Local" Redhat Repository Is Microsoft repository registered? If Microsoft Repository … Continue reading Install Powershell on Linux/CentOS

Linux – cent-OS – Application – Installed Location & Application Name – “Azure Data Studio”

Background Yesterday evening I installed Microsoft's Azure Data Studio on a Linux Cent-OS box. Use It Naturally, I wanted to start using it. But, I couldn't find it. OS MS Windows In MS Windows, I will simply access the Start button and trek the start menu. Linux - Cent-OS My Cent-OS does not have a start … Continue reading Linux – cent-OS – Application – Installed Location & Application Name – “Azure Data Studio”

Linux Install Image – Burn to USB

Background Need to quickly install Linux. In this case, CentOS. Version The current version is 8. Artifacts Mirrors Install Images are available from various mirrors; listed here:- Mirrors US Link World Wide Link Metadata Here are some metadata :- Image Size :- 7.5 GB Burn ISO Image to USB Options Here are some of the … Continue reading Linux Install Image – Burn to USB

Cisco – Anyconnect Secure Mobility Client – Configuration

Background Launched the Cisco AnyConnect Client on my laptop and noticed I did not have pre-configured VPN servers listed. It quickly dawned on me that this was due to the fact the computer I currently was using as a self install version of the software. On my work computer our Tech Support group performs the … Continue reading Cisco – Anyconnect Secure Mobility Client – Configuration

Yum – Warning – “Repository packages-microsoft-com-prod is listed more than once in the configuration”

Background There is a bit of an annoying error that I get whenever I issue yum commands against my Linux CentOS host. Error The error reads :- Image Textual Troubleshooting Yum Repository /etc/yum.repos.d Objective Let us look into our /etc/yum.repos.d folder and see which files reference packages-microsoft-com-prod Command Syntax Sample Output Output - Image Output … Continue reading Yum – Warning – “Repository packages-microsoft-com-prod is listed more than once in the configuration”

Keep your laptop running when LID is Closed

Background There is really not much need to keep a laptop's lid opened when connected to an external monitor. OS Linux Outline Launch terminal sudo to root edit /etc/systemd/logind.conf Change folder to /etc/systemd Backup current logind.conf Launch editor ( vi) and pass along file name ( logind.conf ) Keep current HandleLidSwitch=suspend commented out Add HandleLidSwitch=lock Save … Continue reading Keep your laptop running when LID is Closed