Posts

KB: Linux Cmds

 Linux KB: GREP: grep -rH "<search string>" /<path> --include *.pub grep rH "<search string>" /<path> JOURNALCTL: https://www.loggly.com/ultimate-guide/using-journalctl/ journalctl -u sshd journalctl -u sshd -r -n 1   #Reverse journal log journalctl -u sshd -f  #Live Monitor SSH: Copying SSH pub key between users: https://askubuntu.com/questions/1218023/copying-ssh-key-from-root-to-another-user-on-same-machine This is just one of a few different ways to do this. I am assuming you've just created your user and it has sudo access. mkdir /home/<user>/.ssh chmod 700 /home/<user>/.ssh cp /root/.ssh/authorized_keys /home/<user>/.ssh/authorized_keys chmod 600 /home/<user>/.ssh/authorized_keys chown -R <user>:<user> /home/<user>/.ssh

KB: Deploying AWX on Centos 7

Image
Deploying AWX on Centos * 7 Note below script(s) have been pulled together from various sites to ensure the smooth deployment of AWX on a centos OS. You may use the awxvertag variable value to select which release version you want to deploy. Note this is not a RPM deployment. Also, this works as of 03-2020, in case anything changes the script may require additional updates. For latest release version you may visit awx github repo:  https://github.com/ansible/awx/releases Install script. Create installawx.sh file in /tmp and paste the script below, chmod 0777 the sh file and execute the sh file. ----------------- #!/bin/bash #Enter the AWX Version here from github.... ############################ awxvertag=9.2.0 ############################ yum update -y yum install -y ansible ansible --version #Required steps to setup AWX ############################### #Install Enterprise Packages yum install -y epel-release yum-utils #Apply Firewall Settings #NOTE: Firew...