Created
May 25, 2016 20:51
-
-
Save xardit/a9f578d59c49322e54e20dde202b7dc7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.howtoforge.com/apache_php_mysql_on_centos_7_lamp | |
rpm -iUvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm | |
yum -y update | |
yum -y install mariadb-server mariadb httpd php | |
systemctl start mariadb.service | |
systemctl start httpd.service | |
systemctl enable mariadb.service | |
systemctl enable httpd.service | |
mysql_secure_installation | |
firewall-cmd --permanent --zone=public --add-service=http | |
firewall-cmd --permanent --zone=public --add-service=https | |
firewall-cmd --reload | |
yum -y install php-mysql php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap curl curl-devel phpMyAdmin | |
systemctl restart httpd.service | |
#configure add srv user+pass | |
vi /etc/phpMyAdmin/config.inc.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment