Here you are advised to set up your ubuntu environment to run laravel projects with an Nginx server. You can seem to link your Nginx server with PHPMyAdmin. You can install MySQL server with PHP-8 on your ubuntu machine.
sudo apt update
sudo apt upgrade
sudo apt install curl
sudo apt install nginx
sudo apt install php8.0-fpm
sudo add-apt-repository ppa:ondrej/nginx
sudo systemctl status php8.0-fpm
sudo nginx -t
sudo systemctl restart nginx
sudo apt-get install network-manager libnss3-tools jq xsel
sudo apt-get install php8.0-zip
sudo apt-get install php-mbstring
sudo apt-get install php8.0-curl
curl -sS https://getcomposer.org/installer -o composer-setup.php
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
composer global require cpriego/valet-linux
test -d /.composer && bash /.composer/vendor/bin/valet install || bash ~/.config/composer/vendor/bin/valet install
sudo apt install mysql-server -y
sudo mysql
sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl
ln -s /usr/share/phpmyadmin /var/www/phpmyadmin
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt install nodejs
sudo apt-get install --reinstall nodejs-legacy # fix /usr/bin/node
sudo apt install -y protobuf-compiler
protoc --version # Ensure compiler version is 3+
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
export GO_PATH=~/go
export PATH=$PATH:/$GO_PATH/bin
sudo snap install skype
journalctl --disk-usage
sudo journalctl --rotate
sudo journalctl --vacuum-time=2days
sudo systemctl start snapd
sudo systemctl enable snapd
sudo apt autoremove --purge snapd
sudo apt install snapd
sudo snap install code --classic
wget --version
wget https://dl.google.com/linux/direct/
google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb