Skip to content

Instantly share code, notes, and snippets.

View afahitech's full-sized avatar

Ataur Rahman afahitech

View GitHub Profile
sudo apt-get remove nginx nginx-common
sudo apt-get purge nginx nginx-common
sudo rm -rf /etc/nginx
sudo apt update -y
sudo apt upgrade -y
sudo apt-get autoremove
# This will remove PHP version. Type your php version before run below command. I am using php7.2
sudo apt-get purge `dpkg -l | grep php7.2| awk '{print $2}' |tr "\n" " "`
sudo apt-get purge php7.*
sudo -i
apt update -y
apt-get upgrade -y
apt update -y
apt install build-essential checkinstall
apt install ubuntu-restricted-extras
apt install software-properties-common
apt install apt-show-versions
apt upgrade -o APT::Get::Show-Upgraded=true
apt-show-versions | grep upgradeable
This is a walk through of this github repo: https://github.com/kurokobo/awx-on-k3s
Thanks to @kurokobo for making these steps. Check his github on the link above.
If this video helped you get the AWX-operator working, please give the video a like and subscribe to my channel.
I appreciate it!
Links:
Rancher: https://rancher.com/docs/k3s/latest/en/
YouTube Video: https://youtu.be/xVOnBDvpbK0
@afahitech
afahitech / Python-3.8.6.sh
Last active June 20, 2021 16:44 — forked from UbuntuEvangelist/How To Install Python Ubuntu 22.04 LTS
How To Install Python-3.8.6 Into Ubuntu 20.04 LTS
# !/bin/sh
sudo apt update
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev
sudo apt-get install build-essential checkinstall
sudo apt autoremove
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
cd /opt
sudo wget https://www.python.org/ftp/python/3.8.6/Python-3.8.6.tgz
sudo tar xzf Python-3.8.6.tgz
@afahitech
afahitech / SSH.sh
Created February 20, 2021 16:47
Enable SSH
#!/bin/sh
sudo apt-get install openssh-server
sudo nano /etc/ssh/sshd_config
# Find (ctrl+w) this line and set
PermitRootLogin yes
PubkeyAuthentication yes
PasswordAuthentication yes
# Save & exit ctrl+s and ctrl+x then hit enter
sudo service ssh restart
@afahitech
afahitech / gist:4b5438f0e3c0734be58ee99aeeadd3c4
Last active January 25, 2021 15:36 — forked from kewogc/gist:1d679c6c83977d69106f
HOW TO INSTALL KANNEL ON UBUNTU
If you need installation help, contact with me:
Skype: aataur1
Telegram: @AutoDevOps
WhatsApp: +8801751643484
Email: afahitech@gmail.com
===============================================
~# uname -a
@afahitech
afahitech / DockerDockerCompose.sh
Created November 30, 2020 16:29 — forked from UbuntuEvangelist/Docker Compose
Docker and Docker Compose Install Ubuntu 20.04 LTS
#!/bin/sh
# Docker Install
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common -y
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
@afahitech
afahitech / Ruby.sh
Last active January 25, 2021 15:37 — forked from UbuntuEvangelist/Install Ruby on the Linux
How to Install Ruby on the Linux
#!/bin/bash
If you need installation help, contact with me:
Skype: aataur1
Telegram: @AutoDevOps
WhatsApp: +8801751643484
Email: afahitech@gmail.com
===========================================================
@afahitech
afahitech / RubyInstall.sh
Last active January 25, 2021 15:38
Ruby Install Script
#!/bin/sh
If you need installation help, contact with me:
Skype: aataur1
Telegram: @AutoDevOps
WhatsApp: +8801751643484
Email: afahitech@gmail.com
===========================================================
@afahitech
afahitech / ruby.sh
Last active January 25, 2021 15:38 — forked from UbuntuEvangelist/ruby.sh
Ruby Uninstall Linux
#!/bin/bash
If you need installation help, contact with me:
Skype: aataur1
Telegram: @AutoDevOps
WhatsApp: +8801751643484
Email: afahitech@gmail.com
===========================================================