Principled Technologies, Inc. 13 
 
Dell PowerEdge C6220 and CentOS 6.2: A LAMP Reference 
Architecture
 
24. Disable SELinux by editing the file /etc/selinux/config, and change the line 
SELINUX=enforcing to SELINUX=disabled. This change will take effect 
after rebooting. 
25. Disable these unused services by running the following command-line 
script: 
CHK_OFFs="auditd autofs cups ip6tables iptables\ 
   nfslock netfs portreserve postfix qpidd rhnsd\ 
   rhsmcertd rpcgssd rpcidmapd rpcbind" 
for i in ${CHK_OFFs}; do 
   chkconfig $i off 
   service $i stop 
done > /dev/null 2>&1 
26. Update the operating system with patches and security fixes using yum. 
yum update 
27. Reboot the server. 
INSTALLING THE LAMP STACK ON CENTOS AND THE 
DELL POWEREDGE C6220 
The LAMP stack – An overview 
LAMP describes the components of a possible multi-tier software stack that an 
infrastructure may run: the Linux operating system, Apache Web server, MySQL 
database, and PHP scripting language. This application stack has been used for years by 
service providers to provide powerful and flexible multi-tier environments for 
customers. Below, we briefly describe each component and then review the specific 
methods for setting up a single-server LAMP stack on the Dell PowerEdge C6220. 
Apache 
Apache HTTP Server is an open-source Web server application that includes 
such features as Secure Sockets Layer and Transport Layer Security support, filtering 
support, and custom log files. For more information, visit http://www.apache.org/. 
MySQL 
MySQL is an open-source database that delivers high performance, high 
reliability, and is easy to use. Running on more than 20 operating system platforms and 
providing a range of database tools, MySQL delivers flexibility and performance to large-
scale deployments. For more information about MySQL, visit http://www.mysql.com/.