Horje
How to install LAMP in CentOs? Code Example
How to install LAMP in CentOs?
sudo dnf install httpd //install httpd
 
sudo systemctl start httpd //start httpd
 
sudo firewall-cmd --permanent --add-service=http //allow firewall
 
sudo firewall-cmd --permanent --list-all //check firewall
 
sudo firewall-cmd --reload //reload firewall
 
sudo dnf install mariadb-server //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 dnf install php php-mysqlnd //Installing PHP
 
sudo systemctl restart httpd //restart httpd




Shell

Related
import local varibles inside .sh file Code Example import local varibles inside .sh file Code Example
serverless deploy missing credentials in config Code Example serverless deploy missing credentials in config Code Example
batch color change Code Example batch color change Code Example
git deinit repo Code Example git deinit repo Code Example
how to create a patch file between 2 branches git Code Example how to create a patch file between 2 branches git Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10