Contact Menu

Search results for "chmod-files-only"

LAMP-linux-apache-mysql-php

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 56
virtualmin-nginx-wordpress-permalinks-apc

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 20
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
utc-edu-bootstrap-site

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
chmod-linux-1

Recursive chmod Tricks

…Recursively chmod only directories find . -type d -exec chmod 755 {} \; Similarly, recursively set the execute bit on every directory chmod -R a+X * The +X flag sets the execute bit on directories only Recursively chmod only files find . -type f -exec chmod 644 {} \; Recursively chmod only PHP files (with […]

Continue Reading 7
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 99.98

Continue Reading 0
wordnish

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 24

Integrating Content from External Sources into OU Campus Using RSS, PHP, and JavaScript

…am require PHP API script for connection to signed apps. jquery.imagesloaded is helpful for the wall display Code Samples (A compilation zip including all code mentioned in the presentation will be available in early March, following the OUTC16 conference. Comment and subscribe to this post to be notified of updates.) WordPress plugin to add media […]

Continue Reading 0
ss4-postbox

WordPress Content Management

…mail marketing & newsletter management Flash or Javascript slideshow galleries Podcasting and more… Regardless of the plugin upgrades you choose, WordPress makes it very simple to add news, pages, upload images and files, and manage web links. You get WYSIWYG onscreen editing, metatag management, and search-engine friendly URLs to make it easy to create an […]

Continue Reading