Instalar o ubunto --ssh sudo apt-get install openssh-server -y -configure ssh sudo nano /etc/ssh/sshd_config --liberar porta sudo ufw allow #PORTA sudo service ssh restart --apache sudo apt install apache2 sudo ufw app info "Apache Full" sudo ufw allow in "Apache Full" --deb sudo gedit /etc/apt/sources.list and make it look like this: deb http://archive.ubuntu.com/ubuntu bionic main multiverse restricted universe deb http://archive.ubuntu.com/ubuntu bionic-security main multiverse restricted universe deb http://archive.ubuntu.com/ubuntu bionic-updates main multiverse restricted universe Save and exit. Then update your repository: sudo apt update Then install php-mbstring: sudo apt install php7.2-mbstring --php sudo apt install curl sudo apt install php libapache2-mod-php sudo nano /etc/apache2/mods-enabled/dir.conf --antes DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm --depois DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm sudo apt install php7.2 libapache2-mod-php7.2 php7.2-mbstring php7.2-xmlrpc php7.2-soap php7.2-gd php7.2-xml php7.2-cli php7.2-zip --config php sudo nano /etc/php/7.2/apache2/php.ini --composer sudo apt update sudo apt install curl php-cli php-mbstring git unzip cd ~ curl -sS https://getcomposer.org/installer -o composer-setup.php curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer --instalar o laravel cd /var/www/html/ sudo composer create-project laravel/laravel GCWEB --prefer-dist sudo mkdir /var/www/html/GCWEB/ sudo chown -R www-data:www-data /var/www/html/GCWEB/ sudo chmod -R 755 /var/www/html/GCWEB/ --configurar site sudo nano /etc/apache2/sites-available/laravel.conf --colocar no arquivo ServerAdmin admin@example.com DocumentRoot /var/www/html/GCWEB/public ServerName example.com Options +FollowSymlinks AllowOverride All Require all granted ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined --abilitar conf sudo a2ensite laravel.conf sudo a2enmod rewrite sudo systemctl restart apache2.service --abilitar pdo-firebird sudo apt-get install php-interbase sudo systemctl restart apache2.service