Contact Menu

Search results for "recursively-chmod-directories"

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… (Search hits: 5 in body, 0 in title, 0 in categories, 3 in tags, 0 in other taxonomies, 0 in comments. Score: 309.84)

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

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

…ip 127.0.0.1 Require ip ::1 </RequireAny> </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 Order Deny,Allow Deny from All Allow from 127.0.0.1 Allow from ::1 </IfModule> </Directory> # These directories do not… (Search hits: 2 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 85.47)

Continue Reading 0

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): ^%(__prefix_line)sAuthentication failure for .* from <HOST>$ […]

Continue Reading 0