Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
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 https://get.rvm.io | bash -s stable --rails
source /etc/profile.d/rvm.sh
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 8.8.8.8 -t
4 ping 8.8.8.8
5 shutdown -r 0
6 free
7 shutdown -r 0
8 shutdown 0
9 fail2ban
10 fail2ban-client
11 fail2ban-client status
@UbuntuEvangelist
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/rvm.sh
usermod -a -G rvm $USER
rvm user gemsets
rvm install ruby
OR
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 https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ 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
UbuntuEvangelist / netdata.sh
Created Dec 25, 2021 — forked from rakibulinux/netdata.sh
How to Install Netdata on Ubuntu 18.04 LTS
View netdata.sh
#!/bash/sh
sudo apt-get update
sudo apt-get upgrade
bash <(curl -Ss https://my-netdata.io/kickstart.sh)
#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
https://www.freelancer.com/u/rakibulinux
https://www.fiverr.com/rakibulinuxs
Al Amin Sheikh
https://www.freelancer.com/u/linuxlinked
https://www.upwork.com/freelancers/~01d98a51705d64b0ce
https://gist.github.com/LinuxlinkedBD
https://www.youtube.com/channel/UCNjIOmjLNaZqed17QJ8n0rw/videos
https://about.me/linuxlinked
@UbuntuEvangelist
UbuntuEvangelist / _0__ssl_certbot_letsencrypt.md
Created Dec 21, 2021 — forked from maxivak/_0__ssl_certbot_letsencrypt.md
Let's encrypt SSL certificates using certbot in docker
View _0__ssl_certbot_letsencrypt.md

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
Email: zaitechus@gmail.com
Twitter: https://twitter.com/Zaitechus​​
Facebook: https://www.facebook.com/zaitechus/​​
LinkedIn: https://www.linkedin.com/in/zaitechus/​​
PlaySMS is a web interface for SMS gateway and bulk SMS services. PlaySMS is a free and open source SMS gateway software
View postgresql_13_pgadmin_4_ubuntu_20_04.sh
# 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)] http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
# Update again