Contact Menu

Search results for "chmod files only"


Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment

…fer seems to be fine JOINS Current join_buffer_size = 132.00 K You have had 0 queries where a join could not use an index properly Your joins seem to be using indexes properly OPEN FILES LIMIT Current open_files_limit = 1024 files The open_files_limit should typically be set to at least 2x-3x that of table_cache if […]

Continue Reading 9
APC INFO Monitor

How to Configure APC Cache on Virtual Servers with PHP running under FCGId

…ed off, your settings/configuration files will remain cached, and this will cause you a lot of frustration. W3 Total Cache in particular is difficult to get configured properly with apc.stat=0 because the config settings and files are dependent upon database and php, which will be cached as files or opcode. After you have sorted out […]

Continue Reading 54

WordPress with W3 Total Cache on Nginx with APC (Virtualmin)

…Nginx Website (see attached image…). This config is for WP installed in /public_html/wordpress, so you will need to omit or change /wordpress if WP is installed in a different directory. location ^~ /files/ { rewrite /files/(.+) /wordpress/wp-includes/ms-files.php?file=$1 last; } location @wordpress { fastcgi_pass localhost:9000; fastcgi_param SCRIPT_FILENAME $document_root/index.php; include /etc/nginx/fastcgi_params; fastcgi_param… 5, 0, 0, 0 and […]

Continue Reading 18

University Website and Blog Redesign

…Files: along with the entire development site (was easier to zip this way). Download & unzip, it will run as a local site if you like… Start with kickstrap.less, see what it includes — mostly the standard Bootstrap LESS files. Next look at theme.less, which jumps to Kickstrap/themes/utcms/theme.less, which has all of the custom stuff […]

Continue Reading 0
Screen Shot 2013-04-19 at 6.32.51 PM

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013

…substitute, created via experimentation with RegExr: failregex = .*auth.*pam.*dovecot.*(?:authentication failure).*rhost=.* How to create a valid RegEx to match the failures to ban? For that, one must monitor log files. In the case of Dovecot on Amazon Linux 2013, that would be /var/log/secure — same as it has ever been with RedHat downstreams. However, the logging […]

Continue Reading 1
Screen Shot 2012-09-07 at 11.09.50 AM

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)

…uleInheritance Off # # NginX Edit nginx.conf for the hostname’s server_name website location /phpMyAdmin { root /usr/share/; index index.php; location ~ ^/phpMyAdmin/(.+\.php)$ { try_files $uri =404; root /usr/share/; fastcgi_pass localhost:9002; fastcgi_param HTTPS on; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /usr/share$fastcgi_script_name; include /etc/nginx/fastcgi_params;… 1, 0, 0, 0 and 66.85

Continue Reading 0

Varnish VCL and Config for WordPress with W3 Total Cache

…ackend IP settings. Varnish Config (/etc/sysconfig/varnish) # Configuration file for varnish # # /etc/init.d/varnish expects the variable $DAEMON_OPTS to be set from this # shell script fragment. # # # Maximum number of open files (for ulimit -n) NFILES=131072 # # Locked shared memory (for ulimit -l) # Default log size is 82MB + header […]

Continue Reading 23

Web Hosting

Decades of experience hosting websites, from small local sites with only a few html pages, to high-traffic sites with thousands of users and pages.  Website hosting, evolved Web hosting has changed dramatically in the last few years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only […]

Continue Reading