Updated script per shiloh request 5/5/14

See eb5 for an example of what this is supposed to be.

Also note it is not necessary to set an entry in the hosts file for the
public hostname such as eb5.idthq.com as in each case I am configuring
dns for each public name before deploying.

Ron

On 5/2/2014 3:46 PM, Ron E. wrote:
Also the /etc/hosts file should not be being overwritten I am setting
those each time. That is also where there is an entry pointing to
base.idt for the micro VMs.

The ::1 entry must never be in /etc/hosts as that is ipv6 local host
and we are not running ipv6 and the presence of that will actually
prevent the mail server from running properly.

Let me know if any questions.

Ron

On 5/2/2014 3:26 PM, Shiloh Pettyjohn wrote:
Hi Nick,

Some modifications to our standard setup script for Magento VMs. This
will save some config time for me and help standardize.
These steps can be done before OR after ISPconfig is installed.

Install this - yum install locate
Then run - updatedb

Edit this : /etc/httpd/conf/httpd.conf

Change:  Timeout 60
To: Timeout 2

Change: MaxRequestsPerChild  4000
To: MaxRequestsPerChild  1000
(requires service httpd restart)

Edit this: /etc/php.d/apc.ini

Change:apc.shm_size=64M
To: apc.shm_size=128M
Change:apc.num_files_hint=1024
To:apc.num_files_hint=10024
Change: apc.user_entries_hint=4096
To: apc.user_entries_hint=40096
Change:apc.enable_cli=0
To:apc.enable_cli=1
Change:apc.max_file_size=1M
To:apc.max_file_size=8M
Change: apc.stat=1
To: apc.stat=0
(requires service httpd restart)

Edit this: /etc/my.cnf

UNDER THIS LINE: symbolic-links=0

Add the following:
query_cache_size = 128M
join_buffer_size = 4M
thread_cache_size = 8
table_cache = 256
tmp_table_size = 64M
max_heap_table_size = 64M
innodb_buffer_pool_size = 512M
(requires service mysqld restart)

Shiloh Pettyjohn
323.667.1067
shiloh@webstudioswest.com
Changed named config

Set recursion to “no”
Shut off named