1 yum update
2 df
3 yum -y install mariadb-server mariadb
4 systemctl start mariadb.service
5 systemctl enable mariadb.service
6 mysql_secure_installation
7 yum -y install httpd
8 systemctl start httpd.service
9 systemctl enable httpd.service
10 firewall-cmd --permanent --zone=public --add-service=http
11 firewall-cmd --permanent --zone=public --add-service=https
12 firewall-cmd --reload
13 ifconfig
14 yum -y install php
15 systemctl restart httpd.service
16 cd /var/www/html/
17 vi info.php
18 yum -y install php-mysql
19 yum -y install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-snmp php-soap curl curl-devel
20 cd /tmp/
21 wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
22 yum install epel-release-latest-7.noarch.rpm
23 yum install phpMyAdmin.noarch
Thursday, September 11, 2014
install phpMyAdmin on CentOS 7
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment