Skip to content

Instantly share code, notes, and snippets.

View UbuntuEvangelist's full-sized avatar
🏠
Working from home

Masum UbuntuEvangelist

🏠
Working from home
View GitHub Profile
@UbuntuEvangelist
UbuntuEvangelist / Things To Do After Installing Ubuntu Desktop Linux
Last active January 15, 2024 16:47
Things To Do After Installing Ubuntu
#!/bin/sh
# This Gist specially design for School Of Freelancing remote training.
# FORK THIS GIST THEN RUN ALL COMMANDS ONE BY ONE
# Select The Fastest Apt Mirror and Adjust Ubuntu Default Setting: https://youtu.be/lWHOECQ7t9Q
# Then follow Ubuntu Default settings https://youtu.be/IxmYFA9vneo
# Follow Workground 1 and Workground 2 as attached into this Gist comment section then RUN ALL COMMANDS ONE BY ONE.
# Open your terminal by ctrl+alt+t and run all commands one by one. You can copy and paste into terminal too.
sudo -i
@UbuntuEvangelist
UbuntuEvangelist / ruby.sh
Last active January 10, 2024 17:49
Ruby Uninstall Linux
#!/bin/bash
# This script will do Ruby Uninstall Linux and reboot Linux
sudo apt-get purge ruby
sudo rm -rf /usr/local/lib/ruby
sudo rm -rf /usr/lib/ruby
sudo rm -f /usr/local/bin/ruby
sudo rm -f /usr/bin/ruby
sudo rm -f /usr/local/bin/irb
@UbuntuEvangelist
UbuntuEvangelist / Install Ruby on the Linux
Last active January 4, 2024 15:38
How to Install Ruby on the Linux
#!/bin/bash
# Process:
# Install Stable Ruby From Source
# Install Ruby from the Ubuntu Repository
# Installing Ruby with RVM
# Install Ruby Using rbenv
# Install Ruby From Source:
━━━ Yarn Package Manager - 3.2.1 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
$ yarn <command>
━━━ General commands ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
yarn add [--json] [-E,--exact] [-T,--tilde] [-C,--caret] [-D,--dev] [-P,--peer] [-O,--optional] [--prefer-dev] [-i,--interactive] [--cached] [--mode #0] ...
add dependencies to the project
yarn bin [-v,--verbose] [--json] [name]
To install playsms with nginx on Ubuntu Linux, you can follow these steps:
1. Update your Ubuntu system:
sudo apt update
sudo apt upgrade
2. Install the necessary packages:
@UbuntuEvangelist
UbuntuEvangelist / Things To Do After Installing Ubuntu 20.04 LTS Cloud Server
Last active December 4, 2023 19:54
Things To Do After Installing Ubuntu 20.04 LTS Cloud Server
sudo -i
apt update -y && apt 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
apt install git
Contact Me For Install Opigno LMS Linux:
Telegram: https://t.me/LinuxGun
WhatsApp: https://wa.link/o9zcd5
Skype: https://join.skype.com/wjhRb0v3AeoM
SMS: +8801890757616
IMO: +8801890757616
BiP: +8801890757616
Viber: +8801890757616
Signal: +8801890757616
Discord: blockchain#9191
@UbuntuEvangelist
UbuntuEvangelist / Redis,sh
Created November 15, 2020 22:19
Install Redis on Ubuntu
#!/bin/bash
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install redis-server
sudo systemctl enable redis-server.service
sudo nano /etc/redis/redis.conf
# Update the following values in Redis configuration file
maxmemory 1024mb
@UbuntuEvangelist
UbuntuEvangelist / Things to Do After Minimal CentOS
Last active October 18, 2023 16:57
Things to Do After Minimal RHEL/CentOS Installation
yum update
yum upgrade
yum groupinstall "Development Tools"
yum group list
yum install net-tools
yum clean all
yum install curl nano wget
yum install NetworkManager
reboot
@UbuntuEvangelist
UbuntuEvangelist / How To Install MongoDB in Ubuntu 22.04 LTS
Last active October 9, 2023 16:20
Install MongoDB in Ubuntu 22.04 LTS
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
sudo apt update
sudo apt install mongodb-org
sudo systemctl enable mongod
sudo systemctl start mongod
sudo systemctl daemon-reload
sudo systemctl restart mongod
sudo systemctl status mongod
mongod --version