How to install OCI CLI in CentOS 8 Stream
The steps mentioned in the internet is not working for me. So this is the working commands.
# yum install python38 -y
# ll /usr/bin/pip3.8
# ll /usr/bin/pip-3.8
# pip3.8 install oci-cli
# oci --version
How to install OCI CLI in CentOS 8 Stream
The steps mentioned in the internet is not working for me. So this is the working commands.
# yum install python38 -y
# ll /usr/bin/pip3.8
# ll /usr/bin/pip-3.8
# pip3.8 install oci-cli
# oci --version
How to redirect 404 error to the home page
Following steps helps to redirect all 404 error pages to the home page. Assume you already installed httpd in this server.
How to install letsencrypt on Amazon linux 2023
In Amazon linux 2023, EPEL is not available. All the documentations avaialble in internet is about EPEL and then install certbot. But here we need to use a different approach.
Single command to checkout all branches in git
[yourserver #] for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master `; do; git branch --track ${branch#remotes/origin/} $branch; done;
This is useful when we do git migrations.