Skip to content

Instantly share code, notes, and snippets.

View MohamedBasaleh's full-sized avatar
😄
Work Hard

Mohamed Basaleh MohamedBasaleh

😄
Work Hard
View GitHub Profile
@MohamedBasaleh
MohamedBasaleh / Setup.sh
Last active December 20, 2021 17:31
Setup Ngnix + MySQL + Postgres + Redis + RVM + Ruby Version + Ruby On Rails + SSH + Git + Cola + Oh-My-Zsh
# Step 1 — Installing Nginx
sudo apt-get update
sudo apt-get upgrade -y
sudo apt install nodejs
sudo apt-get install curl git-core nginx -y
# Step 2 — Installing Databases
# before install , update apt-get
$ sudo apt-get update
@MohamedBasaleh
MohamedBasaleh / setting_deploy.sh
Last active June 21, 2022 06:24
Deploying a Rails App on Ubuntu 14.04 with Capistrano, Nginx, and Puma
# Step 1 — Installing Nginx
$ sudo apt-get update
$ sudo apt-get upgrade -y
$ sudo apt-get install curl git-core nginx -y
# Step 2 — Installing Databases
# before install , update apt-get
$ sudo apt-get update
# choose one or both,