Paramiko SSH client I wrote a sub class from paramiko in order add on functionality to assist myself to work with Ansible AWX 9.2.0 (dockerless version). The subclass works with my CentOS which hosts the Ansible AWX, the purpose is to use the SSHClient class to download and upload playbooks, check the existence of project … Continue reading [python]Paramiko’s SSHClient
There are a few things not included in the minimal installation of CentOS 7. So here's a record on the things which I need. I have installed Arch, CentOS and Debian Linux, I need to give appreciation to the teams who have compiled the packages and easily download from the repository, because the complexity of … Continue reading [CentOS] Tools not included in CentOS 7 minimal
So I have installed Centos, I was logged in as a normal user which i created during installation, but my normal user is not added to the sudo, so I need to login as root su -, then I run usermod -aG wheel your_username where your_username has to be replaced with your actual username, there … Continue reading [linux]Add normal user to run sudo in centos
So i was using an image which is CentOS-8-x86_64-1905-boot.iso, there is an installation source which you need to select, so I went to this site to find out the address of the mirror. I found the one nearest to me by using the kickstart one. See below for what i mean. As usual... Centos expects … Continue reading [linux]Installation source for installing CentOS 8
There are times when disabling SELinux is required for some webapp to work. You can modify the SELinux from /etc/selinux/config Modifying the config file will make SELinux to be enabled (default), permissive or disabled upon boot up. To temporarily disable SELinux use setenforce 0 command.
I really like Debian based linux, and I really prefer apt to yum. Searching packages from apt is easier than from yum in my humble opinion. CentOS rename the package the same as RedHat I supposed, apache cannot be found from yum list. A search with yum search apache revealed that the package is named … Continue reading CentOS6.2: Installing apache webserver
I am a debian linux user, the way CentOS configures is slightly different, this post is a reminder for myself. Statically assign ip address to an interface on boot Edit the script file /etc/sysconfig/network-scripts/ifcfg-eth0 Use a text editor to put these ONBOOT if set to yes will activate the interface id specified in DEVICE after … Continue reading CentOS6.2: Static IP and default gateway
GRUB legacy is the predecessor of GRUB2, recently I have been doing backups of a HDD and need to transfer the contents into a new HDD. The previous HDD was using CentOS 6.2, CentOS is using grub 0.97 which is grub legacy. http://pkgs.org/centos-6-rhel-6/centos-rhel-i386/grub-0.97-75.el6.i686.rpm.html gives insights on where the files are if the location is at its … Continue reading GRUB legacy