5.2 ;extension=fileinfo.so [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 512 apc.user_entries_hint = 1024 apc.ttl = 0 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/apc/apc\.php$” apc.slam_defense = 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc-accountname.XXXXXX ;OR apc.mmap_file_mask = /dev/zero apc.fil… 1, 0, 0, 0 and 12148.48
Search results for "change apc mmap_file_mask per virtual host"

WordPress with W3 Total Cache on Nginx with APC (Virtualmin)
…djust to your requirements) [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 256 apc.user_entries_hint = 1024 apc.ttl = 0 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/scripts-not-to-cache/.*,-/home/username/public_html/apc/.*” apc.slam_defense = 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc.XXXXXX apc.file_… 5, 0, 0, 0 and 5045.91

APC Cache Considerations for Virtual Hosting Environments
…almin for a shared hosting environment with APC cache, because it does allow to set php.ini and fcgiwrapper for every individual virtual host, and so to set an individual configuration for APC per virtual server. However with 200+ virtual hosts all running PHP script packages, as is the case with a commodity shared hosting server, this will use a lot of memory, and you will need somewhere in the neighborhood of 10-30GB apc.shm_size if you attempt… 2, 0, 1, 0 and 1996.84

Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment
…he = 1600 max_allowed_packet = 4M key_buffer = 1G interactive_timeout = 2 wait_timeout = 5 long_query_time = 1 log_slow_queries = ON open_files_limit = 3200 innodb_buffer_pool_size = 26M join_buffer_size = 4M tmp_table_size = 72M max_heap_table_size = 72M max_connections = 80 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid This is for example only! table_cache should be set a little higher than the total number of… 2, 1, 1, 0 and 597.86

Varnish VCL and Config for WordPress with W3 Total Cache
…VARNISH_THREAD_TIMEOUT} \ -u varnish -g varnish \ -S ${VARNISH_SECRET_FILE} \ -s ${VARNISH_STORAGE}” # Varnish VCL (/etc/varnish/wordpress-varnish3.vcl) backend origin { .host = “10.11.12.13″; .port = “80″; .connect_timeout = 60s; .first_byte_timeout = 60s; .between_bytes_timeout = 60s; } # sub vcl_recv { # only using one backend set req.backend = origin; # # set standard proxied ip header for getting original remote address set req.http.X-Forwar… 4, 0, 0, 0 and 490.24

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013
…egEx, nor log file location, is going to work for every distribution. Neither can Fail2Ban account for every change in log file location or structure from version to version. What worked for Centos 5.x may not work for CentOS 6.x; what worked in kernel 2.8 may be invalid in kernel 3.4. Also stated earlier, it is well worth the time to learn a little about RegEx. One vehicle to propel the admin far along the path is RegExr. Author Greg Skinner pro… 2, 0, 0, 0 and 430.46

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)
erver to your requirements and your environment. phpMyAdmin MySQL server dashboard Incoming search terms for the article: phpmyadmin require ip nginx phpmyadmin centos install and open phpmyadmin using ipaddress nginx centos 6 nginx secure phpmyadmin nginx ssl phpmyadmin ssl phpmyadmin phpmyadmin ssl phpmyadmin ssl centos phpmyadmin with ssl ssl conf client denied by server configuration: /usr/share/phpMyAdmin/… 4, 0, 0, 0 and 430.46

Remote publishing to WordPress from Facebook via RSS
…deo. But be sure to add a tagline to “Say something about this…” This line becomes your Title in the RSS feed or WordPress post. Otherwise you will see a generic “Your Client’s Facebook Wall 07/12/2011 15:35:43″ as the title. And on the client’s site, you will see this: You may want to set up a WordPress Category for these posts. FeedWordPress can be configured to post to a specific Category, add Tags, etc. Y… 2, 0, 0, 0 and 286.97
Résumé
Chris Gilligan Information Architect, Web Server Administrator, Media Producer web • video • print chris@chrisgilligan.net chrisgilligan.com I design and produce information and communication media for university, corporate, small business, manufacturing and non-profit clients: web sites Information architecture and design for open source content management systems Linux Apache MySQL PHP web server administration Postfix Dovecot Sendmail [...]
WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux
VacantServer WordPress sites are getting hammered with bad logins and probes. We’ve implemented a plugin to log failed login attempts to syslog, and a Fail2Ban filter for the same. If you run these on RedHat, you’ll need some additional configuration info… here it is: WordPress login failure regex (error_log):
|
1 |
^%(__prefix_line)sAuthentication failure for .* from <HOST>$ |
Apache nohome regex (error_log):
|
1 |
[[]client <HOST>[]] File does not exist: .*/~.* |
[...]
-
How to Configure APC Cache on Virtual Servers with PHP running under FCGId
November 8, 2010
-
Automated WordPress Installation Via Custom Virtualmin Script Installer
May 17, 2012
-
WordPress with W3 Total Cache on Nginx with APC (Virtualmin)
March 12, 2012
-
Varnish VCL and Config for WordPress with W3 Total Cache
August 14, 2012
-
Remote publishing to WordPress from Facebook via RSS
July 25, 2011
- WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux April 27, 2013
-
Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013
April 19, 2013
-
Auto Mailer Form with Validation and reCAPTCHA
January 16, 2013
-
Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)
September 24, 2012
-
SSL and CloudFront CDN Support for WebFonts via .htaccess
September 5, 2012
-
manny: Hi Chris, Thank you for sharing the script, it ...
- Prestashop et APC en multiboutiques | Webiche : Blog de Michel Tomas: [...] Configure APC sur Apache avec mod-fcgid [......
-
Chris Gilligan: leonardo: Thanks for your kind words! I do not ...
-
leonardo: hey !! I am very happy I am publishing from facebo...
-
leonardo: Thats a very good tool !!! Thankyou very much I...
a little bird told me…
Follow @gilligoon on Twitter
