sudo du -h --max-depth=1
- Clean docker logs
truncate -s 0 /var/lib/docker/containers/**/*-json.log
| # laravel new-app | |
| alias laravel="git clone -o laravel -b develop https://github.com/laravel/laravel.git" | |
| alias artisan="php artisan" | |
| alias migrate="php artisan migrate" | |
| alias serve="php artisan serve" | |
| alias dump="php artisan dump" | |
| alias t="phpunit" | |
| # Generators Package |
| ############################################################################### | |
| # Install nGinx and PHP 7 on Ubuntu 16.04 LTS | |
| ############################################################################### | |
| # Install nGinx Server | |
| apt install nginx | |
| # Install PHP & and it's respective packages | |
| apt install php-common php-fpm php-mysql php7.0-cli php7.0-common php7.0-fpm php7.0-json php7.0-mysql php7.0-opcache php7.0-readline php-bcmath php-bz2 php-calendar php-ctype php-curl php-date php-enchant php-gd php-intl php-mbstring php-mcrypt php-mongodb php-soap php-sqlite3 php-tidy php-xdebug php-xml php-xml-parser php-xml-rpc2 php-xml-serializer php-xml-svg php-xmlrpc php-zip |