Top Menu

Search results for "chmod recursive only on directory"

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

…ache login failure IP blacklisting. For Amazon EC2, a good practice is to create a discrete database server, and only allow access to it inside a VPC security group, or from specific IP addresses enabled in that security group. That way, you can safely Allow from ALL hosts, because the VPC firewall will prevent other access. Install phpMyAdmin on a separate web server, and restrict access to PMA’s directory (see below). # phpMyAdmin – We… 13, 0, 0, 0 and 674.58

Continue Reading 0

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 {} \;… 1, 0, 1, 0 and 324.33

Continue Reading 4
APC INFO Monitor

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

…a good example of a common WordPress theme plugin that may not need to be cached. Because the apc.filters RegExp only works with filenames, it is not possible to filter out an entire PHP script package, component or plugin based on the directory where it resides. So if you do not wish to use APC cache on a particular script package, you should run it in a separate website. Some PHP script packages such as Gallery2 have an incredibly large number… 6, 0, 0, 0 and 311.34

Continue Reading 53

Cpanel Mailman mailing lists: cannot manage lists after migrating to new host

…dmin Links No such list listname_domainname.com There currently are no publicly-advertised Mailman mailing lists on cpanel1.hosting.com.To visit the administrators configuration page for an unadvertised list, open a URL similar to this one, but with a ‘/’ and the right list name appended. If you have the proper authority, you can also create a new mailing list. This turned out to be a permissions issue: root@cpanel1 [/usr/local/cpanel… 1, 0, 1, 0 and 90.81

Continue Reading 2

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 a set of plugins and themes. To create a custom script installer with plugin… 1, 0, 0, 0 and 51.89

Continue Reading 35

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

…to experiment with Nginx, and you already have a Virtualmin Pro license, you are permitted to set up Virtualmin on a second server for testing and migration. I run the extra Virtualmin Pro system on a VPS that I use for backups, slave DNS, and testing. The Nginx modules are also available for the free Virtualmin GPL version. To install the modules, go to Virtualmin Package Updates (wbm-virtualmin-nginx and wbm-virtualmin-nginx-ssl). WordPress Pl… 1, 0, 0, 0 and 51.89

Continue Reading 18
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…r is for a small number of personal clients, so I adjust the APC settings for each individual account, depending on the number and type of PHP script packages running on the account. These accounts are all administered by myself, not by the clients. I do not think APC is the correct cache for most shared web hosting servers, given the number of virtual hosts. You will probably have better results if you remove APC and concentrate on Apache perfor… 1, 0, 0, 0 and 51.89

Continue Reading 2