How did I renew Red Hat Developer Subscription

If you’re reading this post, it’s quite likely that you’re fully aware that Red Hat provide a no-cost Red Hat Developer Subscription for individuals. With this subscript you can use it run RHEL for free. The subscription only lasts one year, and when it expires it can’t be renewed. You must re-register. I have a test RHEL vm, but I hardly use. So today when I turned it on and logged into it, the following message came up when i tried to update the system:...

August 30, 2023 · 3 min · 571 words · kenno

Fix cc: error trying to exec 'cc1plus' on openSUSE Leap

It’s currently almost 23:15, and I’m already sleepy. Therefore, this is going to be a short note on how I fixed an minor but annoying issue nvim-treesiter (Neovim’s plugin) on openSUSE Leap (15.5). The error message is or was as below: nvim-treesitter[yaml]: Error during compilation cc: error trying to exec 'cc1plus': execvp: No such file or directory Press ENTER or type command to continue I don’t code in C++ nowadays, but the error looks like the C or C++ compiler was missing....

August 29, 2023 · 2 min · 247 words · Kenno

Installing AWS CLI on AlmaLinux

I already wrote a blog post on How to install AWS CLI on RockyLinux, where I shared how to leverage the RPM package from EPEL repository. So what do I need to create a post here? Well, when I tried to use the same method to install the AWS CLI on an AlmaLinux 9.2, there was an issue with dependency. Here is what happened: [kenno@wedev1 ~]$ sudo dnf install awscli [sudo] password for kenno: Last metadata expiration check: 0:05:08 ago on Sun 20 Aug 2023 18:35:23....

August 20, 2023 · 2 min · 226 words · kenno

How to delete AWS Workspace with AWS CLI

When you are finished with a WorkSpace, you can delete it. You can also delete related resources. In this post, I’ll be using AWS CLI to delete a WorkSpace that is no longer needed. To delete a WorkSpace using AWS CLI, we can use terminate-workspaces command [2]. But first, I’d need to find the workspace id. ➜ aws workspaces describe-workspaces --query 'Workspaces[].WorkspaceId' --output text ws-9xm222222 Now that I got the WorkSpace id as ws-9xm222222, I can proceed to terminate this WorkSpace....

August 10, 2023 · 3 min · 538 words · kenno

How to stop AWS Workspace with CLI

I need to stop a WorkSpace now and I don’t want to login to AWS WorkSpace console. The following is the steps I’m literally taking to achieve this goal. Find out the WorkSpace ID, assuming that my AWS CLI has been setup correctly. ❯ aws workspaces describe-workspaces { "Workspaces": [ { "WorkspaceId": "ws-9xm222222", "DirectoryId": "d-9767555555", "UserName": "kenno", "IpAddress": "172.xx.x.xx", "State": "AVAILABLE", "BundleId": "wsb-clj855555", "SubnetId": "subnet-0a4ae4b324a799999", "ComputerName": "A-2B99WV33TITAN", "WorkspaceProperties": { "RunningMode": "AUTO_STOP", "RunningModeAutoStopTimeoutInMinutes": 60, "RootVolumeSizeGib": 80, "UserVolumeSizeGib": 50, "ComputeTypeName": "STANDARD", "Protocols": [ "PCOIP" ] }, "ModificationStates": [] } ] } We can see that the WorkSpace ‘ws-9xm222222’ is in AVAILABLE state....

August 9, 2023 · 2 min · 249 words · kenno