💿Configuring the server
we are recommending using our environment to make the project work will we are using ubuntu Linux and laravel valet +
Install BackBox Linux
we are like to use BackBox Linux it has a lot of tools and supports our environment, so from the link we keep downloading the ISO image and putting it in USB using Rufus and then booting your computer into it
Install dependencies packages
let's start by opening our terminal and updating the system to the last one, and after that install some packages
sudo add-apt-repository -y ppa:nginx/stable
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get updatesudo apt-get upgradeafter it finished reboot your computer and after that run this command
sudo apt-get install network-manager libnss3-tools jq xselInstall PHP & its extensions
sudo apt install php8.2-fpmsudo apt install php8.2-cli php8.2-common php8.2-curl php8.2-mbstring php8.2-opcache php8.2-readline php8.2-xml php8.2-zip php8.2-mysql php8.2-gdInstall MySql Server
sudo apt-get -y install mysql-serversudo mysql_secure_installationuse 0 for the password and use any password something like 12345678
after the installation is finished, start MySQL server
sudo mysqland on the MySQL server console use this command
mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '12345678';mysql> FLUSH PRIVILEGES;mysql> exit;Install Composer
sudo apt install curlcurl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composerLast updated
Was this helpful?