Skip to content

Latest commit

 

History

History
34 lines (34 loc) · 759 Bytes

README.md

File metadata and controls

34 lines (34 loc) · 759 Bytes

talex-lemp

sudo su
apt update

Installing NGINX

apt install nginx
service nginx start

Installing MySQL 8.0

apt update
apt install mysql-server
service mysql start

change root password

sudo mysql
mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
#or 
sudo mysql_secure_installation

find the ip

hostname -I

Installing PHP 7.4-FPM

apt install software-properties-common
add-apt-repository ppa:ondrej/php -y
apt install php7.4-fpm
apt install openssl php7.4-common php7.4-bcmath php7.4-curl php7.4-json php7.4-mbstring php7.4-mysql php7.4-tokenizer php7.4-xml php7.4-zip php7.4-dom php7.4-cli php7.4-gd php7.4-xml php7.4-json php7.4-mcrypt