Install Composer
Step 1 :- sudo apt-get update && sudo apt-get install curl
Step 2 :- sudo curl -s https://getcomposer.org/installer | php
Step 3 :- sudo mv composer.phar /usr/local/bin/composer
Step 4 :- composer -v
Step 1 :- sudo apt-get update && sudo apt-get install curl
Step 2 :- sudo curl -s https://getcomposer.org/installer | php
Step 3 :- sudo mv composer.phar /usr/local/bin/composer
Step 4 :- composer -v
Step 1 :- wget https://files.phpmyadmin.net/phpMyAdmin/5.2.0/phpMyAdmin-5.2.0-all-languages.zip
Step 2 :- sudo apt install unzip -y
Step 3 :- unzip phpMyAdmin-5.2.0-all-languages.zip
Step 4 :- mv phpMyAdmin-5.2.0-all-languages /var/www/html/phpmyadmin
Step 5:- http://localhost/phpmyadmin/
Step 1 :- sudo apt update
Step 2 :- sudo apt-get -y install php php-cgi libapache2-mod-php php-common php-pear php-mbstring && sudo apt install -y php7.4 libapache2-mod-php7.4 php7.4-common php7.4-gmp php7.4-curl php7.4-intl php7.4-mbstring php7.4-xmlrpc php7.4-mysql php7.4-gd php7.4-bcmath php7.4-xml php7.4-cli php7.4-zip && sudo a2enmod rewrite && sudo apt-get install -y php7.4-{cli,bcmath,bz2,intl,gd,mbstring,mysql,zip,opcache,intl,bcmath,xsl,zip,bz2}
Step 3 :- php -v
Step 1 :- sudo apt update
Step 2 :- sudo apt install mariadb-server
Step 3 :- sudo systemctl start mariadb.service
Step 4 :- sudo mysql_secure_installation
then press Y set new password press Y,Y,Y
Set User and Password
Step 5 :- sudo mariadb
Then run This command
GRANT ALL ON *.* TO ‘root’@’localhost’ IDENTIFIED BY ‘Use last password‘ WITH GRANT OPTION;
FLUSH PRIVILEGES;
exit
sudo systemctl status mariadb