Top 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

…ew years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only serving static HTML files. This presents challenges in security as well as performance tuning. It is impossible to predict whether a certain configuration will work properly for a given server, unless the hardware, software, […]

Continue Reading 7
APC INFO Monitor

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

…/VirtualHost> You must “babysit” the configuration: use the APC monitor (apc.php) to see how many files are being cached, and how much memory (apc.shm_size) is needed to avoid fragmentation, which will cause the 500 errors. If fragmentation rises quickly to 100%, memory usage is full, and cache full count rises above 0, you will almost […]

Continue Reading 53
wordpress-installation

Automated WordPress Installation Via Custom Virtualmin Script Installer

Updated: please read instructions again and find link to new example file. WordPress (or any other script) can automatically install during Virtualmin > Create Virtual Server. Virtualmin automatically creates users, MySQL database, and installs WordPress in the public_html root, then gives a link to the WordPress Installer. You can even create a custom installer with […]

Continue Reading 39
virtualmin-nginx-wordpress-permalinks-apc

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

Virtualmin now includes support for Nginx web server. I deploy many WordPress sites with W3 Total Cache and APC Alternative PHP Cache, so I was very interested to see how Nginx performance compares to Apache for WordPress, and whether APC and W3TC would play nice with Nginx. I prefer to install WordPress in public_html/wordpress for […]

Continue Reading 18
utc-edu-bootstrap-site

University Website and Blog Redesign

…otstrap components, but now Jasny’s Bootstrap 3.0 fork (jasny.github.io/bootstrap) has a similar extension. LESS 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 […]

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 extension .php) find . -type f -name ‘*.php’ -exec chmod 644 {} \;… 2, 0, 2, 0 and 182.17

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

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

phpMyAdmin database display I recently ran into a problem with the upgraded 3.5.2 phpMyAdmin package provided via the rpmforge.repo. Search no longer works, nor does pagination, etc. Plus, it’s out of date and vulnerable to an XSS exploit. I have solved this by changing to the EPEL repo, which maintains the latest version of phpMyAdmin. […]

Continue Reading 0
wordnish

Varnish VCL and Config for WordPress with W3 Total Cache

I have been working on a Varnish front-end for Apache, to be used with WordPress sites. I described the architecture in Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS. I now have a configuration that seems to work for all WordPress features, including logged-out commenting. This configuration also works well with W3 Total […]

Continue Reading 23
ss4-postbox

WordPress Content Management

If you don’t need the power of a full-blown Content Management System, and want a site that’s easier to manage, WordPress is a great choice. It’s just right for small businesses and non-profit or service organizations. WordPress grows increasingly powerful, with an active development community building amazing plugins and themes that add to the software’s core […]

Continue Reading