Skip to content

Instantly share code, notes, and snippets.

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

Juadul Ahmed parallaxhub

🏠
Working from home
View GitHub Profile
@parallaxhub
parallaxhub / Install Ruby on the Linux
Created March 30, 2022 17:01 — forked from UbuntuEvangelist/Install Ruby on the Linux
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:
# !/bin/sh
sudo -i
groupadd mastodon
useradd -d /home/mastodon -s `which bash` -g mastodon -m mastodon
echo "mastodon ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
passwd mastodon
usermod -aG sudo mastodon
su - mastodon
sudo apt update
@parallaxhub
parallaxhub / How To Use Nano
Created October 25, 2021 17:23 — forked from UbuntuEvangelist/How To Use Nano
How To Use Nano
# To check
nano --version
# To edit any file.txt
nano file.txt
# Find any word using nano
ctrl+w
# To save and exit from nano
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
@parallaxhub
parallaxhub / Completely Uninstall LAMP Ubuntu
Created September 7, 2021 16:12 — forked from UbuntuEvangelist/Completely Uninstall LAMP Ubuntu
Completely Uninstall LAMP Ubuntu 20.04 LTS
#!/bin/bash
# This will remove Apache
sudo service apache2 stop
sudo apt-get purge apache2 apache2-utils apache2.2-bin
sudo apt remove apache2.*
sudo apt-get autoremove
whereis apache2
sudo rm -rf /etc/apache2