Skip to content

Instantly share code, notes, and snippets.

@kramarama
Created March 21, 2014 19:59
Show Gist options
  • Save kramarama/9695059 to your computer and use it in GitHub Desktop.
Save kramarama/9695059 to your computer and use it in GitHub Desktop.
centos fresh install
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