Created
June 14, 2018 16:24
-
-
Save akhfa/349844b2f25da6c78f8d87e61afb4993 to your computer and use it in GitHub Desktop.
Install lamp for blesta
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
yum -y install epel-release zip wget | |
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm | |
yum-config-manager --enable remi-php72 | |
yum -y install php php-pdo php-mysqlnd php-ioncube-loader php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml php-mcrypt php-imap php-mailparse php-gmp | |
vi /etc/yum.repos.d/MariaDB.repo | |
``` | |
[mariadb] | |
name = MariaDB | |
baseurl = http://yum.mariadb.org/10.1/centos7-amd64 | |
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB | |
gpgcheck=1 | |
``` | |
yum install MariaDB-server MariaDB-client | |
systemctl start mariadb | |
systemctl enable mariadb | |
mysql_secure_installation | |
yum install httpd -y | |
systemctl start httpd | |
systemctl enable httpd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment