Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to install LAMP in CentOs 7?

sudo yum install httpd //install httpd
 
sudo systemctl enable httpd.service //enable httpd<
 
sudo yum install mariadb-server mariadb //Installing MariaDB
 
sudo systemctl start mariadb //start MariaDB
 
sudo mysql_secure_installation //set user and password
 
sudo mysql //login to database
 
exit //exit from database
 
sudo yum install php php-mysql //Installing PHP
Source by install-packages.github.io #
 
PREVIOUS NEXT
Tagged: #How #install #LAMP #CentOs
ADD COMMENT
Topic
Name
2+3 =