Skip to content

Instantly share code, notes, and snippets.

@ikawka
Last active December 15, 2015 02:09
Show Gist options
  • Save ikawka/5184794 to your computer and use it in GitHub Desktop.
Save ikawka/5184794 to your computer and use it in GitHub Desktop.
nginx php mysql
# repositories
sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
# mysql
sudo yum install mysql mysql-server
sudo /etc/init.d/mysqld start
mysql_secure_intallation
# nginx
sudo yum install nginx
sudo /etc/init.d/nginx start
ifconfig eth0 | grep inet | awk '{ print $2 }'
#php-fpm
sudo yum --enablerepo=remi install php-fpm php-mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment