Created
March 21, 2014 19:59
-
-
Save kramarama/9695059 to your computer and use it in GitHub Desktop.
centos fresh install
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 update | |
yum upgrade | |
tzselect | |
yum groupinstall "Web Server" | |
yum groupinstall "MySQL Database Server" | |
yum groupinstall "PHP Support" | |
service mysqld start | |
mysql_secure_installation | |
service httpd start | |
chkconfig httpd on | |
chkconfig mysqld on | |
service httpd status | |
yum install php-mysql | |
iptables --list | |
iptables -I INPUT -p tcp --dport 80 -j ACCEPT | |
service iptables save | |
yum install wget | |
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
rpm -ivh epel-release* | |
yum repolist | |
yum install phpmyadmin | |
rpm -e epel-release-6-8.noarch | |
yum install bind-utils |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment