Welcome
My name is Ulysses. Sr. Cloud Engineer at Cardinal Health.
About This Website
This is my static site based on Hugo.
My name is Ulysses. Sr. Cloud Engineer at Cardinal Health.
This is my static site based on Hugo.
Key-based SSH login is prompting a password despite it’s already setup to use keys. As turns out, the home directory was changed to 777. To fix, I changed home folder permissions and restarted SSH. It probably does not need a restart, but it doesn’t hurt. chown -R username:username /home/username find /home/username -type d -exec chmod 755 {} \; find /home/username -type f -exec chmod 644 {} \; sudo systemctl restart ssh
How to lock a package or software in RedHat. # For RHEL 5 yum install yum-versionlock # For RHEL 6 and 7 yum install yum-plugin-versionlock # For RHEL 8 and 9 yum install python3-dnf-plugin-versionlock Locking a package yum versionlock gcc-* List locked packages yum versionlock list
Here’s how to restore or set the Bash prompt on RHEL systems. echo "PS1='\u@\h \w]\$'" >> ~/.bashrc source ~/.bashrc
Here’s how to get health status of a GCP Load Balancer Backend Services. For all load balancers except target pool. gcloud compute backend-services get-health BACKEND_SERVICE_NAME \ --region us-central1 \ --project project-id For target pool load balancers, use this command. gcloud compute target-pools get-health TARGET_POOL_NAME \ --region us-central1 \ --project project-id
Here’s how to enable performance insights on a RDS instance. Enable aws rds modify-db-instance \ --db-instance-identifier sample-db-instance \ --enable-performance-insights \ --region us-east-1 \ --profile default Disable aws rds modify-db-instance \ --db-instance-identifier sample-db-instance \ --no-enable-performance-insights \ --region us-east-1 \ --profile default
Here’s how to list the luns for a particular volume. gcloud bms volumes luns list --project project-id --region us-central1 --volume at-xxxxxxx-volxxx
Here’s how to describe a Bare Metal Server (BMS). The output display storage LUNS and network information. gcloud bms instances describe INSTANCE --project PROJECT-ID --region us-central1
Here’s how to describe a Bare Metal Server (BMS) volume within a project. gcloud bms volumes describe at-xxxxxxx-vol001-data --project project_id --region us-central1
Here’s how to list all your Bare Metal Servers (BMS) volumes within a project. gcloud bms volumes list --project PROJECT_ID --region us-central1
Checking for new kernel on multiple distros. Redhat, Centos, Fedora, Rocky rpm -qa kernel yum list installed kernel Arch Linux pacman -Q | grep linux Fedora dnf list installed kernel SUSE rpm -qa | grep -i kernel zypper search -i kernel Debian, Ubuntu, Mint dpkg --list | grep linux-image