Skip to content

Instantly share code, notes, and snippets.

Working from home

Masum UbuntuEvangelist

Working from home
View GitHub Profile
View Ruby Install Ubuntu 20.04 LTS
sudo -i
apt install gcc autoconf curl g++ gnupg automake bison libc6-dev libffi-dev libgdbm-dev libncurses5-dev libsqlite3-dev pkg-config sqlite3 zlib1g-dev libtool libyaml-dev make libgmp-dev libreadline-dev libssl-dev
gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL | bash -s stable --rails
source /etc/profile.d/
usermod -a -G rvm $USER
rvm user gemsets
rvm install 2.6.5
rvm use 2.6.5 --default
ruby -v
View Enable SSH CentOS
2 shutdown -r 0
3 ping -t
4 ping
5 shutdown -r 0
6 free
7 shutdown -r 0
8 shutdown 0
9 fail2ban
10 fail2ban-client
11 fail2ban-client status
UbuntuEvangelist / RVM Setup For Ubuntu 20.04 LTS
Last active Jan 11, 2022
RVM Setup For Ubuntu 20.04 LTS
View RVM Setup For Ubuntu 20.04 LTS
sudo -i
apt install software-properties-common
apt-add-repository -y ppa:rael-gc/rvm
apt update -y && apt upgrade -y
apt install rvm
source /etc/profile.d/
usermod -a -G rvm $USER
rvm user gemsets
rvm install ruby
View How To Install Brave Ubuntu 20.04 LTS
apt install apt-transport-https curl
curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
apt update
apt install brave-browser
View Basic DoS Protection For Ubuntu Linux
sudo apt-get update
sudo apt-get install denyhosts
sudo apt-get install fail2ban
sudo service denyhosts restart
sudo service fail2ban restart
sudo service fail2ban status
sudo iptables -A INPUT -p tcp --dport 80 -m state --state NEW -m limit --limit 50/minute --limit-burst 200 -j ACCEPT
sudo iptables -A INPUT -m state --state RELATED,ESTABLISHED -m limit --limit 50/second --limit-burst 50 -j ACCEPT
sudo iptables -A INPUT -i eth0 -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -j DROP
sudo iptables -A INPUT -i eth0 -p tcp -m tcp --tcp-flags FIN,SYN FIN,SYN -j DROP
UbuntuEvangelist /
Created Dec 25, 2021 — forked from rakibulinux/
How to Install Netdata on Ubuntu 18.04 LTS
sudo apt-get update
sudo apt-get upgrade
bash <(curl -Ss
#Confirm Netdata is running
sudo netstat -pnltu | grep 19999
sudo systemctl status netdata
View Successful Trainees Who Learn And Earn From School Of Freelancing
Rakibul Islam
Al Amin Sheikh
UbuntuEvangelist /
Created Dec 21, 2021 — forked from maxivak/
Let's encrypt SSL certificates using certbot in docker

Directories on host machine:

  • /data/certbot/letsencrypt

  • /data/certbot/www

  • Nginx server in docker container

docker run -d --name nginx \
View PlaySMS Web Interface Deployment Online
If you need playSMS Remote Related Service, please contact me:
WhatsApp: +19085837582
Telegram" @zaitechus
Skype: scooper6543
PlaySMS is a web interface for SMS gateway and bulk SMS services. PlaySMS is a free and open source SMS gateway software
# Update all your packages
sudo apt update
sudo apt upgrade -y
# Add postgresql repository and key
sudo sh -c 'echo "deb [arch=$(dpkg --print-architecture)] $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - | sudo apt-key add -
# Update again