This posting is based on clean installation of ubuntu 20.04 Open termainal.(ctrl+alt+T)

sudo passwd
su
cd
apt update
apt install nginx-extras
ufw status
ufw enable
ufw allow 'Nginx Full'
service nginx start
systemctl enable nginx
apt install php-fpm
service nginx reload
apt install mariadb-server php-mysql
mysql_secure_installation
mysql -uroot -p
use mysql;
update user set plugin='' where user='root';
flush privileges;
quit;
service nginx reload
0 Comments