Skip to content

Instantly share code, notes, and snippets.

Working from home

Md. Morshadun Nur MohammadShawon

Working from home
Block or report user

Report or block MohammadShawon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View npm without sudo
~$ npm config set prefix ~/.npm
~$ echo 'export PATH="$HOME/.npm/bin:$PATH"' >> ~/.bashrc
~$ source ~/.bashrc
View Install Docker Ubuntu
Step One:
sudo snap install docker
Latest Version
sudo snap install --edge docker
Step Two:
Docker command run without sudo
1.sudo addgroup --system docker
MohammadShawon / Laravel on
Created Oct 19, 2017 — forked from peterbrinck/Laravel on
Laravel web templates for VestaCP
View Laravel on

I've made a new web template to make Laravel work easily on VestaCP, and so I wouldn't have to change my Laravel installation, if I ever wanted to deploy it elsewhere.

Each file should be put in /usr/local/vesta/data/templates/web/apache2

Then, when you edit your domain/site, you can change the web template to Laravel and just upload your whole project into public_html

View Laravel Homestead with vagrant (SSL Errpr 104 fixed)
All necessary elements:
Virtual Box
After setting up PHP & Git just setting up composer , Virtual box and vagrant. Downloads Link
MohammadShawon / LEMP
Created Dec 18, 2016
Install LEMP-(Linux Nginx MySQL PHP ) stack on Ubuntu 16.04
#The LEMP software stack is a group of software that can be used in dynamic websites and web Application. This is an acronym that describes a Linux operating system with an Nginx Web Server. MySQL database stored the data and dynamic data handled by PHP.
#Imstall Nginx as web server
$ sudo apt-get update //update our local index packages
$ sudo apt-get install nginx
# If ufw firewell running we need to allow cooection to nginx.We can enable this by this
$ sudo ufw allow 'Nginx HTTP'
# MySQL Installation
You can’t perform that action at this time.