Skip to content

Instantly share code, notes, and snippets.

@BrandonKnudsen
Created June 9, 2016 22:11
Show Gist options
  • Select an option

  • Save BrandonKnudsen/b582d4cdf74059658bc44b2424e880c7 to your computer and use it in GitHub Desktop.

Select an option

Save BrandonKnudsen/b582d4cdf74059658bc44b2424e880c7 to your computer and use it in GitHub Desktop.

//made for centos 7.

Start sudo yum install epel-release w/o php wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm rpm -Uvh remi-release-7.rpm yum -y install yum-priorities vi /etc/yum.repos.d/epel.repo ... and add the line priority=10 to the [epel] section: yum update yum -y groupinstall 'Development Tools' yum -y install ntp mariadb-server phpmyadmin php-mcrypt systemctl enable mariadb.service systemctl start mariadb.service mysql_secure_installation vi /etc/httpd/conf.d/phpMyAdmin.conf …. Comment out required IP lines …. Add Require all granted below commented lines wget https://github.com/appserver-io/appserver/releases/download/1.0.6/appserver-runtime-1.0.7-21.el7.centos.x86_64.rpm wget https://github.com/appserver-io/appserver/releases/download/1.0.6/appserver-dist-1.0.6-12.el7.centos.x86_64.rpm (Dependancies) yum -y install libevent2 yum install icu yum install libicu yum install memcached libmemcached-devel (Dependancies) systemctl start memcached systemctl enable memcached rpm -Uvh appserver-ru*.rpm rpm -Uvh appserver-di*.rpm ln -s /usr/share/phpMyAdmin/ /opt/appserver/webapps/phpMyAdmin vi /opt/appserver/etc/appserver/appserver.xml … Change HTTP Port to 80 vi /opt/appserver/etc/php-fpm-fcgi.ini … Remove ; from extension=php_mysql.dll … Remove ; from extension=php_mysqli.dll vi /opt/appserver/etc/php.ini … Remove ; from extension=php_mysql.dll … Remove ; from extension=php_mysqli.dll /opt/appserver/server.php -s prod /etc/init.d/appserver restart /etc/init.d/appserver-php5-fpm restart …Go To IP Address ../phpMyAdmin …Try To Login with MariaDB root/password Doesn’t connect Finish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment