First we need to create the user before we create the ssh folder and the file authorized_keys Step one user creation Add user: sudo useradd theusername add user to the wheel group  ( -a = append G is group wheel …

add user and create ssh folder and add ssh key to authorized_keys centos Read more »

Tagged with: , , , , ,

Install Docker-machine on Linux first check latest release of Docker Machine here: https://github.com/docker/machine/releases/latest/ Replace v0.10.0 with the latest docker-machine version if it has a newer version when you read this. curl -L https://github.com/docker/machine/releases/download/v0.10.0/docker-machine-`uname -s`-`uname -m` >/tmp/docker-machine && chmod +x /tmp/docker-machine …

Install Docker-machine on Linux Read more »

nmtui

This is a guide to nmtui for CentOS 7 (RHEL 7) nmtui  stands for: Network Manager Text User Interface and it is used for controlling NetworkManager These are the commands: nmtui [ edit | connect | hostname ] [ … …

nmtui – Text User Interface for controlling NetworkManager Read more »

Tagged with: , , , , , ,

The ifconfig and netstat utilities has been marked as deprecated in the man pages for CentOS 5 and 6 for nearly a decade.  Redhat made the decision to no longer install the net-utils package by default in CentOS 7. The …

net-utils package deprecated ss and ip is the replacement commands for RHEL / CentOS / Fedora 7 Read more »

Tagged with: , , , , , ,

This time I want to explain firewalld for those that are new to CentOS 7 and like me are only used to iptables. This first blogpost is just a rewrite of the manual page for firewalld. This post is the …

Part – 1 firewalld – Dynamic Firewall Manager Explained ( CentOS 7, RHEL 7, Fedora) Read more »

Tagged with: , , , , , , , ,

If you need to generate a SHA512 encrypted password for kickstart or perhaps for bootstrapping you servers with automation tools like ansible you can do this easily with python. python -c ‘import crypt,getpass; print(crypt.crypt(getpass.getpass(), crypt.mksalt(crypt.METHOD_SHA512)))’ If you have python below …

Generate SHA512 password with CentOS 7,FEDORA 7, RHEL 7 Read more »

Tagged with: , , , ,

I just have to create a post about installing VirtualBox 5 on CentOS because I haven’t seen a good blog post about it at all. The repository will update it self to newer versions when they are available, on the …

install VirtualBox 5 on CentOS 7 using VirtualBox repository Read more »

Tagged with: , , , , ,

So you are staring with Automation, Then I recommend you to install Ansible from the EPEL repository. It super easy so I will not create a huge blog post about this. Requirements before we install Ansible with yum is of …

Installation instructions to install Ansible with yum on CentOS 7.x, RHEL 7.x, Fedora 7.x Read more »

Tagged with: , , , , , ,

What is EPEL? EPEL (Extra Packages for Enterprise Linux) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and its compatible spinoffs, such …

Install the EPEL repository on CentOS 7.x, RHEL 7.x, Fedora 7.x Read more »

Tagged with: , , , , ,

This post describes how to add a permanent search domain entry in the resolv.cof of a XenServer Host. Because if you try to manually edit resolv.conf to add search domains the entries are not persistent after the XenServer Host reboot. …

How to Add a Permanent Search Domain Entry in the Resolv.conf File of a XenServer Host Read more »

Tagged with: , ,