Archives
- October 2024
- August 2024
- June 2024
- May 2024
- February 2024
- December 2023
- October 2023
- June 2023
- April 2023
- August 2016
- June 2016
- May 2016
- February 2016
- December 2015
- October 2015
- May 2015
- April 2015
- January 2015
- December 2014
- November 2014
- October 2014
- January 2014
- December 2013
- November 2013
- October 2013
- August 2013
- July 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- April 2012
Categories
Meta
Monthly Archives: February 2013
Using grub
It is relatively easy to boot GNU/Linux from GRUB, because it somewhat resembles to boot a Multiboot-compliant OS. Set GRUB’s root device to the same drive as GNU/Linux’s. The command search –set=root –file /vmlinuz or similar may help you (see … Continue reading
Posted in Linux
Comments Off on Using grub
Stuff to review
http://www.codinghorror.com/blog/2007/10/a-visual-explanation-of-sql-joins.html rpm -V output: S file Size differs M Mode differs (includes permissions and file type) 5 MD5 sum differs D Device major/minor number mismatch L readLink(2) path mismatch U User ownership differs G Group ownership differs T mTime differs
Posted in Linux
Comments Off on Stuff to review
Best Practices for WordPress sites
Best practice from my experience when it comes to WordPress and permissions is: • Owner: SFTP/site user • Group: apache • Directory Permissions: 02775 (drwxrwsr-x) • File Permissions: 0664 (-rw-rw-r–) • Directory ACLs: default:user:siteUser:rwx, default:user:apache:rwx, user:siteUser:rwx, user:apache:rwx • File ACLs: … Continue reading
Posted in Linux
Comments Off on Best Practices for WordPress sites
Verifying port 443
openssl s_client -connect localhost:443 CONNECTED(00000003) 4504:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:588:
Posted in Linux, OPENSSL and TLS
Comments Off on Verifying port 443
w3 total cache
Disabling w3 total cache: edit the wp-config.php file define (WP_CACHE’, true); from true to false (i.e. define (‘WP_CACHE’,false); Command line method of clearing w3 total cache: delete files form the wp-contentw3tc/pgcache/ directory http://www.frandimore.com/blog-setup/how-to-delete-w3-total-cache-properly/
Posted in Linux
Comments Off on w3 total cache
Add openstack.compute
git clone git://github.com/jacobian/openstack.compute cd openstack.compute python setup.py build sudo python
Posted in Linux
Comments Off on Add openstack.compute
Find largest apache process
ps -ylC apache2 | awk ‘{s+=$8} END {print s/1024/(NR – 1)}’ ps -ylC httpd | awk ‘{s+=$8} END {print s/1024/(NR – 1)}’ To calculate mysql usage: Calculate MySQL Memory Usage – Quick Stored Procedure
Posted in Linux
Comments Off on Find largest apache process
check for mod_pagespeed
curl -D- http://example.com | grep X-Mod-Pagespeed shows all zeros if it isn’t installed if it is installed, % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 966 0 966 0 … Continue reading
Posted in Linux
Comments Off on check for mod_pagespeed