Last active
December 15, 2015 02:09
-
-
Save ikawka/5184794 to your computer and use it in GitHub Desktop.
nginx php mysql
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
# 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