Skip to content

Instantly share code, notes, and snippets.

View rakibulinux's full-sized avatar
🥰
Work Lover

MD RAKIBUL ISLAM RAKIB rakibulinux

🥰
Work Lover
View GitHub Profile
@rakibulinux
rakibulinux / Hackrf.sh
Created May 27, 2021 09:14 — forked from UbuntuEvangelist/Hackrf.sh
HackRF One From Great Scott Gadgets Ubuntu Install
# NB: This Gist was made to understand how GSM network work. Not for bad hacking !
sudo apt update && sudo apt-get upgrade --fix-missing
sudo apt install build-essential checkinstall
sudo apt install ubuntu-restricted-extras
sudo apt install software-properties-common
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt update
sudo apt install wireshark
@rakibulinux
rakibulinux / IncreaseLogicalVolume.md
Created February 23, 2021 00:59
How to Increase the Size of the Logical Volume on Linux Server

Step 1: Access your Server via SSH

Step 2: Check your current Disk Space

# df -h
Filesystem             Size  Used Avail Use% Mounted on
/dev/md2                28G  565M   27G   3% /
devtmpfs                16G     0   16G   0% /dev
tmpfs 16G 0 16G 0% /dev/shm
@rakibulinux
rakibulinux / docker-compose.yaml
Created January 25, 2021 17:46 — forked from alinetskyi/docker-compose.yaml
Ethereum node deployment file
version: '3.6'
services:
geth:
image: ethereum/client-go:stable
restart: always
command: |
--rpc
--rpcaddr=0.0.0.0
--rpcport=8545
@rakibulinux
rakibulinux / GitPush.sh
Last active February 22, 2021 13:21
How to push code on GitHub
…or create a new repository on the command line
```sh
echo "# ss" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:rakibulinux/ss.git
git push -u origin main
```

#Ubuntu for Development and SRE Work

###Upstart Fix Ubuntu has recently made the switch to SystemD. Not a bad thing, but many scripts (like the SSH one coming up next) still use Upstart. Lukcily we have a quick fix to tide us ove in the interim.

sudo apt-get install -y systemd-sysv

###Remove CDROM from Soures sudo sed -i '/cdrom/d' /etc/apt/sources.list

@rakibulinux
rakibulinux / OpenSSL.sh
Last active August 10, 2023 06:23
Installing OpenSSL on Ubuntu 18.04 LTS
#!/bin/sh
sudo apt-get update && sudo apt-get upgrade
openssl version -a
#Install the necessary packages for compiling
sudo apt install build-essential checkinstall zlib1g-dev -y
#Download OpenSSL
cd /usr/local/src/
@rakibulinux
rakibulinux / GroceryDeliveryAppApp.sh
Created June 25, 2020 11:43
How To Install Grocery Delivery App App on Ubuntu 18.04
#!/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/
@rakibulinux
rakibulinux / EtherCalc.sh
Created June 25, 2020 11:26
How To Install EtherCalc on Ubuntu 18.04
#!/bin/sh
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
sudo apt install nodejs -y
sudo apt-get install gzip git curl python libssl-dev pkg-config build-essential
#Install EtherCalc
sudo npm install -g ethercalc
ethercalc
@rakibulinux
rakibulinux / Alfresco.sh
Created June 25, 2020 10:40
How to Install Alfresco CMS on Ubuntu 18.04 LTS
#!/bin/sh
sudo add-apt-repository ppa:opencpn/opencpn -y
sudo apt-get update -y
sudo apt-get install libfontconfig1 libsm6 libice6 libxrender1 libxt6 libcups2 opencpn libcairo2 ttf-mscorefonts-installer -y
#Install Alfresco Community Edition
wget https://download.alfresco.com/release/community/201707-build-00028/alfresco-community-installer-201707-linux-x64.bin
sudo chmod 755 alfresco-community-installer-201707-linux-x64.bin
sudo ./alfresco-community-installer-201707-linux-x64.bin
@rakibulinux
rakibulinux / Plex.sh
Created June 24, 2020 14:02
How to Install Plex Media Server on Ubuntu 18.04
#!/bin/sh
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 install apt-transport-https
sudo apt update
sudo apt install plexmediaserver
sudo systemctl status plexmediaserver
sudo chown -R plex: /opt/plexmedia