
A Principled Technologies test report 9
Red Hat Enterprise Linux 6: Performance advantages with an
open source software stack
APPENDIX B - HOW WE TESTED
We used the same hardware configuration for each Web-application stack: a single Dell PowerEdge R710 with
132GB of RAM and Dell PowerVault MD1220 direct attached storage. The Web and database tiers both ran on this
server. To increase the load on the hardware and operating system, we added independent DVD Store instances to the
server (up to three). We chose to use virtual Web sites running on a single instance of the Apache Web server in order to
better compare the two stacks: Windows supports only a single instance of IIS. Accordingly, we gave each DVD Store
instance its own instance of MySQL.
Installing the Red Hat Enterprise Linux 6.2 Operating System
1. Insert and boot from the Red Hat Enterprise Linux 6.2 x86_64installation DVD.
2. At the welcome screen, select Install or upgrade an existing system, and press Enter.
3. At the Media test screen, select Skip, and press Enter.
4. At the Red Hat Enterprise Linux 6 title screen, click Next.
5. At the Choose an Installation Language screen, select English, and click Next.
6. At the Keyboard Type screen, select U.S. English, and click Next.
7. At the Storage Devices screen, select Basic Storage Devices, and click Next.
8. If a warning for device initialization appears, select Yes, discard any data.
9. At the Name the Computer screen, type the host name, and click Configure Network.
10. At the Network Connections screen, select the server’s main or management network interface, and click Edit.
11. At the Editing network interface screen, check Connect Automatically.
12. On the same screen, Select the IPv4 Settings tab, change the Method to Manual, and click Add.
13. On the same screen, enter the IP address, Netmask, Gateway, and DNS server. Click Apply.
14. Click Close on the Network Connections screen, and click Next on the Name the Computer screen.
15. At the Time zone selection screen, select the appropriate time zone, and click Next.
16. Enter the root password in the Root Password and Confirm fields, and click Next.
17. At the Partition selection screen, select Replace Existing Linux System(s), and click Next.
18. If a warning appears, click Write changes to disk.
19. At the default installation screen, click Next to begin the installation.
20. At the Congratulations screen, click Reboot.
21. After the system reboots, login in as root.
22. Disable SELinux by editing the file /etc/selinux/config, and change the line SELINUX=enforcing to
SELINUX=disabled. These changes take effect after rebooting:
23. 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
24. Enable and configure the cpuspeed service. Edit the file /etc/sysconfig/cpuspeed and modify the line containing
GOVENOR to GOVERNOR=performance. Run this command-line script:
chkconfig cpuspeed on
service cpuspeed start
Komentáře k této Příručce