Skip to content

Instantly share code, notes, and snippets.

@akhfa
Created June 14, 2018 16:24
Show Gist options
  • Save akhfa/349844b2f25da6c78f8d87e61afb4993 to your computer and use it in GitHub Desktop.
Save akhfa/349844b2f25da6c78f8d87e61afb4993 to your computer and use it in GitHub Desktop.
Install lamp for blesta
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