Skip to content

Instantly share code, notes, and snippets.

😍
Work Lover

Rakib Linux rakibulinux

😍
Work Lover
View GitHub Profile
View ubuntu_devops_workstation_setup.md

#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 Jul 7, 2020
Installing OpenSSL on Ubuntu 18.04 LTS
View OpenSSL.sh
#!/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 Jun 25, 2020
How To Install Grocery Delivery App App on Ubuntu 18.04
View GroceryDeliveryAppApp.sh
#!/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 Jun 25, 2020
How To Install EtherCalc on Ubuntu 18.04
View EtherCalc.sh
#!/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 Jun 25, 2020
How to Install Alfresco CMS on Ubuntu 18.04 LTS
View Alfresco.sh
#!/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 Jun 24, 2020
How to Install Plex Media Server on Ubuntu 18.04
View Plex.sh
#!/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 / FreeRADIUS-daloRADIUS.sh
Last active Jul 7, 2020
How to Install FreeRADIUS and daloRADIUS on Ubuntu 18.04 LTS
View FreeRADIUS-daloRADIUS.sh
#!/bin/sh
apt-get update -y
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 / pgAdmin4.sh
Created Jun 24, 2020
How to Install PostgreSQL and pgAdmin4 on Ubuntu 18.04 LTS
View pgAdmin4.sh
#!/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 / OpenLiteSpeed.sh
Created Jun 24, 2020
How to Install OpenLiteSpeed HTTP Server with PHP on Ubuntu 18.04 LTS
View OpenLiteSpeed.sh
#!/bin/sh
#Install OpenLiteSpeed
sudo -i
wget -O - http://rpms.litespeedtech.com/debian/enable_lst_debain_repo.sh | bash
sudo apt install openlitespeed -y
systemctl status openlitespeed
netstat -plntu
@rakibulinux
rakibulinux / OpenShift.sh
Created Jun 23, 2020
How to install OpenShift Origin on Ubuntu 18.04
View OpenShift.sh
#!/bin/bash
#install Docker CE
#Import the Docker GPG key with the command
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update && sudo apt -y install docker-ce
sudo usermod -aG docker $USER
You can’t perform that action at this time.