Skip to content

Instantly share code, notes, and snippets.

View rakibulinux's full-sized avatar
🤗
Work From Home

MD RAKIBUL ISLAM RAKIB rakibulinux

🤗
Work From Home
View GitHub Profile
@rakibulinux
rakibulinux / pgAdmin4.sh
Created June 24, 2020 09:31
How to Install PostgreSQL and pgAdmin4 on Ubuntu 18.04 LTS
#!/bin/sh
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
sudo apt update
sudo apt -y install postgresql postgresql-contrib
su - postgres
psql
@rakibulinux
rakibulinux / FreeRADIUS-daloRADIUS.sh
Last active May 22, 2026 06:38
How to Install FreeRADIUS and daloRADIUS on Ubuntu 20.04 LTS
#!/bin/sh
sudo apt-get update -y
sudo apt-get upgrade -y
#Install Apache
sudo apt-get install apache2
#Install PHP
sudo apt-get install php libapache2-mod-php php-gd php-common php-mail php-mail-mime php-mysql php-pear php-db php-mbstring php-xml php-curl
@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
@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 / 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 / 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 / OpenSSL.sh
Last active October 8, 2024 15:39
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/

#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 / 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
```
@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