Linux serverNETWORK ADMINISTRATIONS

How to install Apache PHP MariaDB (Lamp) on Centos 7 Minimal HD

Install LAMP(Linux Apache MariaDB PHP) on CentOS 7 Server
yum update
systemctl disable firewalld.service
systemctl stop firewalld.service
uname -a
vi /etc/sysconfig/selinux
reboot
uname -a
yum install httpd
chkconfig httpd on
service httpd start
systemctl list-units
yum install mariadb-server mariadb
systemctl enable mariadb
systemctl start mariadb
mysql_secure_installation
yum install php
systemctl restart httpd.service
vi /var/www/html/info.php
yum install php-mysql php-gd php-imap php-ldap php-mbstring php-odbc php-pear php-xml php-xmlrpc
systemctl restart httpd.service

source

centos 7

One thought on “How to install Apache PHP MariaDB (Lamp) on Centos 7 Minimal HD

Comments are closed.