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...") |
(→install PHP) |
||
Line 15: | Line 15: | ||
mysql_secure_installation #to setup mysql password | mysql_secure_installation #to setup mysql password | ||
</pre> | </pre> | ||
− | == | + | ==Install PHP== |
<pre> | <pre> | ||
yum install php php-mysql | yum install php php-mysql | ||
</pre> | </pre> | ||
See [[RHEL Yum]] for installing php-mbstring in centOS 7 | See [[RHEL Yum]] for installing php-mbstring in centOS 7 |
Revision as of 18:17, 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