How to install laravel on linux and windows

Published: 23 February 2020
on channel: webpinpoint
80
0

How to install Laravel 6 on Ubuntu

Linux Requirements:
+nodejs
Installing Nodejs:
1. sudo apt-get install curl
2. curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
3. sudo apt-get install nodejs
+composer
1. sudo apt update
2. sudo apt install wget php-cli php-zip unzip
3. php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
4. HASH="$(wget -q -O - https://composer.github.io/installer.sig)"
5. php -r "if (hash_file('SHA384', 'composer-setup.php') === '$HASH') { echo 'Installer verified';
} else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
Output: Installer verified
6. sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
All settings correct for using Composer
Downloading...

Composer (version 1.8.5) successfully installed to: /usr/local/bin/composer
Use it: php /usr/local/bin/composer
7. Final Step: type composer in the terminal
Output:
______
/ ___/__ ____ ___ ____ ____ ________ _____
/ / / _ \/ __ `_ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
+LAMP
-apache2
Installation:
1. sudo apt update
2. sudo apt install apache2
3. apache2 -version (to verify the installation)
4. sudo ufw app list (to Allow linux Firewall to accept the process)
5. sudo ufw allow 'Apache'
6. sudo ufw status
7. sudo systemctl status apache2 (To verify that the web server is running)
8. hostname -I (shows a lists your local IP address)
-php v(7.3)
Installation:
1. sudo apt install software-properties-common
2. sudo add-apt-repository ppa:ondrej/php
3. sudo apt install php7.3 php7.3-common php7.3-opcache php7.3-cli php7.3-gd php7.3-curl php7.3-mysql
-mysql
1. sudo apt update
2. sudo apt install mysql-server
3. sudo mysql_secure_installation
+phpmyadmin

Windows:
+nodejs
+composer
+XAMPP or WAMP
+gitBash (optional) - to use fake linux commands

Part 1 -    • How to create CRUD in Laravel | Part 1  
Part 2 -   • How to create CRUD in Laravel | Part 2  


Watch video How to install laravel on linux and windows online without registration, duration hours minute second in high quality. This video was added by user webpinpoint 23 February 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 80 once and liked it 0 people.