Skip to content

Instantly share code, notes, and snippets.

@MnMTech
MnMTech / Update the $PATH in Ubuntu 14.04 to make Laravel executable available.sh
Last active August 29, 2015 14:22
Update the $PATH in Ubuntu 14.04 to make Laravel executable available
export PATH=$PATH:~/.composer/vendor/bin
@MnMTech
MnMTech / Create a new Laravel 5 skeleton project in the current directory.sh
Last active August 29, 2015 14:22
Create a new Laravel 5 skeleton project in the current directory
laravel new projectname
@MnMTech
MnMTech / Install Laravel Installer using Composer.sh
Last active August 29, 2015 14:22
Install Laravel Installer using Composer
composer global require "laravel/installer=~1.1"
@MnMTech
MnMTech / Alias php composer.phar.sh
Last active August 29, 2015 14:22
Alias php composer.phar
alias composer="php /var/www/html/composer.phar"
@MnMTech
MnMTech / Install Composer.sh
Last active August 29, 2015 14:22
Install Composer
curl -sS https://getcomposer.org/installer | php
@MnMTech
MnMTech / Install PHPMyAdmin in Ubuntu 14.04.sh
Last active August 29, 2015 14:22
Install PHPMyAdmin in Ubuntu 14.04
apt-get install phpmyadmin
@MnMTech
MnMTech / Create symlink to PHPMyAdmin in Ubuntu 14.04.sh
Last active January 20, 2023 12:51
Create symlink to PHPMyAdmin in Ubuntu 14.04
@MnMTech
MnMTech / Create an admin folder in the web root of Ubuntu 14.04.sh
Last active August 29, 2015 14:22
Create an admin folder in the web root of Ubuntu 14.04
mkdir /var/www/html/admin
cd /var/www/html/admin
@MnMTech
MnMTech / Nano apach2.conf.sh
Last active August 29, 2015 14:22
Nano apach2.conf
nano /etc/apache2/apache2.conf
@MnMTech
MnMTech / Restart Apache.sh
Last active August 29, 2015 14:22
Restart Apache
service apache2 restart