nesez docs
Home
develop it
_server
__iis
__apache
__nginx
_web develop
_code
_programming
window it
linux it
android it
ios it
useful site
connect
policy
Home
nginx
How to install nginx+php-fpm+mariadb in ubuntu 20.04?
How to install nginx+php-fpm+mariadb in ubuntu 20.04?
nesez docs
August 25, 2020
This posting is based on clean installation of ubuntu 20.04 Open termainal.(ctrl+alt+T)
First installation, you should set root password
sudo
passwd
enter current password, enter new or current password to use root
su
get in root
cd
go to /
apt
update
update in apt.
apt
install
nginx-extras
We are going to install nginx-extras. (enter Y)
ufw
status
(option) check ufw status
ufw
enable
enable ufw(firewall)
ufw
allow
'Nginx Full'
allow http and https by nginx
service
nginx
start
start nginx
systemctl
enable
nginx
enable auto-start
apt
install
php-fpm
install php module (enter Y)
service
nginx
reload
reload nginx
apt
install
mariadb-
server
php-mysql
install mariadb (enter Y)
mysql_secure_installation
security configuration
enter
Y
Y
Y
Y
mysql -uroot -p
root configuration
use
mysql;
update
user
set
plugin
=
''
where
user
=
'root'
;
flush
privileges;
quit;
enter this commend in turn
service
nginx
reload
nginx reload
thanks for watching the post!
If you get error, reply plz!
Post a Comment
0 Comments
recent post
As previously announced, nesez will carry out maintenance for 5 days.
July 22, 2021
How can I add Referrer-Policy header in apache with htaccess?
July 03, 2020
how can I use the ssllab's ssltest?
July 01, 2020
conm.eu url shorter support ended
October 24, 2021
How can I add hsts header in apache with htaccess?
July 03, 2020
New function is opened!(url shorter)
October 08, 2021
how to use nesez siteblocker?
October 15, 2020
nesez services new uptime page!
June 06, 2021
How to install nginx+php-fpm+mariadb in ubuntu 20.04?
August 25, 2020
How can I download iis url rewite 2.0?
July 02, 2020
Popular Posts
how can I use cloudflare? (full explaination)
July 01, 2020
How can I add hsts header in apache with htaccess?
July 03, 2020
How can I add Referrer-Policy header in apache with htaccess?
July 03, 2020
Powered by Blogger
2020 copyright nesez net all right reserved
category
apache
iis
nginx
code
android
ios
linux
window
programming
web develop
window
programming
web develop
0 Comments