Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

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
Comment

PREVIOUS NEXT
Code Example
Shell :: fedora dnf remove repo 
Shell :: how to get un merged branch git 
Shell :: create new users and add them in group in linux 
Shell :: wsl access network share 
Shell :: install rust cargo 
Shell :: install nose 
Shell :: npm install web3 vue 
Shell :: remove all local changes git 
Shell :: install cyberpanel centos 7 
Shell :: git config --list 
Shell :: Make an existing Git branch track a remote branch 
Shell :: youtube video player react native 
Shell :: linux sync files between folders 
Shell :: get current path unix 
Shell :: linux make file 
Shell :: task manager ubuntu 
Shell :: linux services 
Shell :: vim change all spaces to tabs 
Shell :: disable swap kubernetes ansible 
Shell :: how to open new terminal in ubuntu 
Shell :: astro with tailwind setup 
Shell :: Git - fetch changes from remote repo for current branch 
Shell :: composer add package 
Shell :: ppsspp debian 10 
Shell :: pip install webview error 
Shell :: git with ssh instead of https 
Shell :: install npm in windows 
Shell :: raspberry pi ubuntu server raspi-config 
Shell :: spotify ubuntu 
Shell :: linux add user with home directory 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =