Skip to content

Instantly share code, notes, and snippets.

View afahitech's full-sized avatar

Ataur Rahman afahitech

View GitHub Profile
@afahitech
afahitech / Geos.sh
Created December 7, 2021 16:11
How to install GeoSever into Ubunut 20.04 LTS
#!/bin/sh
# Install Java
sudo apt install default-jre
java --version
ufw status
sudo ufw status
sudo enable ufw
sudo ufw enable
@afahitech
afahitech / GroceryDeliveryApp.sh
Created October 14, 2021 16:51
How to install GroceryDeliveryApp on Ubuntu 20.04 LTS
#!/bin/sh
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
sudo apt install nodejs -y
git clone https://github.com/SchoolOfFreelancing/Grocery-Delivery-App-Frontend.git
cd Grocery-Delivery-App-Frontend
npm install
npm start
http://localhost:3000/
@afahitech
afahitech / jenkins.sh
Created October 13, 2021 17:14
How to install Jenkins on Ubuntu 20.04 LTD
#!/bin/sh
sudo apt update
sudo apt install openjdk-11-jdk
java -version
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt update
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9B7D32F2D50582E6
systemctl status jenkins
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 / plex.sh
Created August 8, 2021 17:43
How to install Plex on Ubuntu 20.04 LTS
#!/bin/sh
sudo apt update
echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -
echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
sudo apt update
sudo apt install plexmediaserver
sudo systemctl status plexmediaserver
sudo nano /etc/ufw/applications.d/plexmediaserver
@afahitech
afahitech / ansibleawx.sh
Created August 8, 2021 17:38
How to install Ansible AWX on Ubuntu 20.04LTS
#!/bin/sh
apt update
apt install -y docker-ce docker-ce-cli containerd.io
sudo usermod -aG docker $USER
sudo systemctl restart docker
docker version
curl -s https://api.github.com/repos/docker/compose/releases/latest | grep browser_download_url | grep docker-compose-Linux-x86_64 | cut -d '"' -f 4 | wget -qi -
sudo chmod +x docker-compose-Linux-x86_64
docker-compose version
@afahitech
afahitech / saleor.sh
Created August 4, 2021 17:41
How to install Saleor into Ubuntu 20.4 Lts
sudo apt update
sudo reboot
sudo apt update && sudo apt-get upgrade -y --fix-missing && sudo apt -y install build-essential checkinstall && sudo apt -y install ubuntu-restricted-extras && sudo apt -y install software-properties-common
sudo apt install apt-transport-https ca-certificates curl software-properties-common
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 focal stable"
sudo apt update
git clone https://github.com/mirumee/saleor-platform.git
cd saleor-platform
@afahitech
afahitech / Radius.sh
Created July 13, 2021 17:51
How to install FreeRadius in Ubuntu 20.04LTS
#!/bin/sh
apt-get update -y
apt-get upgrade -y
#Install Apache
sudo apt-get install apache2
#Install PHP
sudo apt-get install php libapache2-mod-php php-gd php-common php-mail php-mail-mime php-mysql php-pear php-db php-mbstring php-xml php-curl