joomlaer.blogg.se

Install git debian 10
Install git debian 10





Login to your MySQL server and create MySQL database and user.Įdit the. You may also require creating a database for your Laravel application.

install git debian 10

envĪPP_KEY=base64:Wer9JfZHN4qYQt9i8Hn1hLt8LWPeT3urzdI0hVqfzJM= Also, make sure APP_KEY is properly set as generated in above command. env configuration file and update the required settings. Then, generate base64 random number encryption key, which used by the Illuminate encrypter service. This will use to setup application environment for the project. chown -R www-data.www-data /var/www/laravel After successfully installing all dependencies, set the proper permissions on all files. The dependencies installation may take some time as per your network speed. Navigate to the Laravel code directory and use the composer to install all dependencies required for the Laravel framework. Just execute the following command to do it. Sudo mv composer.phar /usr/local/bin/composerĬlone the latest Laravel source code from its official git repository to your local system. So use the below commands to download and use as a command in our system. The composer is required for installing Laravel dependencies. Install MySQL sudo apt install mysql-server php-mysql

install git debian 10

Install Apache2 sudo apt install apache2 libapache2-mod-php Sudo apt install php php-mcrypt php-gd php-mbstring php-xml Install PHP 7 sudo apt-get install git python-software-propertiesĮcho "deb buster main" | sudo tee /etc/apt//php.list The system has already running LAMP stack skip this step else use the following commands to set up the lamp on Debian 10 system. You need to install the recommended PHP version with the required modules before starting the Laravel installation.







Install git debian 10