Edit environtment vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
| #!/bin/bash | |
| # Uninstall old version | |
| sudo apt-get remove docker docker-engine docker.io | |
| # Update apt package index | |
| sudo apt-get update | |
| # Install packages to allow apt to use a repo over HTTPS | |
| sudo apt-get install apt-transport-https ca-certificates curl software-properties-common | |
| # Add Docker offical GPG Key | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - |
| #!/bin/bash | |
| # setup an environment for laravel on Red Hat 7.3 | |
| # Nginx | |
| # PHP 7.1 | |
| # optional MySQL 5.7 or PostgreSQL 9.6 | |
| # Composer | |
| # Supervisor | |
| # check for root user |