Difference between revisions of "AWS Redhat RHEL Install LAMP"
From Hawk Wiki
(Created page with "=Install LAMP on redhat 5.4, Cent OS 7== ==Install apache== <pre> sudo su yum install httpd apachectl start </pre> ==Install mysql== Mysql is different in Cent OS 7<br> see https...") |
(No difference)
|
Revision as of 18:16, 16 March 2015
Contents
Install LAMP on redhat 5.4, Cent OS 7=
Install apache
sudo su yum install httpd apachectl start
Install mysql
Mysql is different in Cent OS 7
see https://www.digitalocean.com/community/questions/can-t-install-mysql-on-centos-7
yum -y install mariadb-server mariadb systemctl start mariadb.service systemctl enable mariadb.service mysql_secure_installation #to setup mysql password
install PHP
yum install php php-mysql
See RHEL Yum for installing php-mbstring in centOS 7