Archives
- February 2025
- January 2025
- 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: January 2013
subsys is locked
If you get this error when doing service {servicename} status: {servicename} dead but subsys is locked You need to remove the {servicename} lock file rm /var/lock/subsys/{servicename}
Posted in Linux
Comments Off on subsys is locked
Checking whether a security cipher (ECDSA) is available
[root@ssltest test]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.3 (Santiago) [root@ssltest test]# openssl version OpenSSL 1.0.0-fips 29 Mar 2010 [root@ssltest test]# openssl ciphers -v | grep ECDSA
Posted in Linux, OPENSSL and TLS
Comments Off on Checking whether a security cipher (ECDSA) is available
hardcode the WordPress siteurl to dev.mysite.com
When creating a dev version of a wordpress site, put the following in your wp-config for an immediate fix: define(‘WP_HOME’,’http://dev.mysite.com’); define(‘WP_SITEURL’,’http://dev.mysite.com’); Another option is to edit the wp_options table as follows: select * from wp_options where option_name=’siteurl’; update option_value set … Continue reading
Posted in Linux
Comments Off on hardcode the WordPress siteurl to dev.mysite.com
Translating Apache’s SSL Cipher Suite Directive
You can translate that to a readable list of algorithms with this command: openssl ciphers -v ‘ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP’ Read more on this site: http://unhandledexpression.com/2013/01/25/5-easy-tips-to-accelerate-ssl/
Posted in Linux, OPENSSL and TLS
Comments Off on Translating Apache’s SSL Cipher Suite Directive
Timezones in MySQL
Timezone [root@server02 ~]# date Fri Feb 24 02:11:38 CST 2012 MySQL time-zone: mysql> show global variables like ‘%time_zone%’; +——————+——–+ | Variable_name | Value | +——————+——–+ | system_time_zone | CST | | time_zone | SYSTEM | +——————+——–+ 2 rows in … Continue reading
Posted in Linux
Comments Off on Timezones in MySQL
testing your site
Here are a couple of websites you can use to verify whether the site slowness is common for most clients or just your local network. http://host-tracker.com/ http://internetsupervision.com
Posted in Linux
Comments Off on testing your site
How to check sessions
#Add this script to the DocRoot and browse to it. The session_id shouldn’t change if it is preserving sessions < ?php // DONT FORGET TO CHECK FOR VARNISH RUINING EVERYTHING ini_set( ‘display_errors’, 1); session_start(); echo ‘HOSTNAME: ‘ . gethostname() . … Continue reading
Posted in Linux
Comments Off on How to check sessions
SSH Agent stuff
Use the -i option to specify a new key ssh -i newkey root@108.166.84.188 How to strip a passphrase from an openssl key cp filename.key filename.key.encrypted openssl rsa -in filename.key -out filename.key.nopass cp filename.key.nopass filename.key How to add or change a … Continue reading
Webmin foo
to change the password, use this command: which changepassword.pl /usr/libexec/webmin/changepass.pl /etc/webmin root PASSWORD http://www.webmin.com/faq.html
Posted in Linux
Comments Off on Webmin foo
Using traceroute
/Users/vick4522 ==> traceroute vickistan.com traceroute to vickistan.com (108.166.91.129), 64 hops max, 52 byte packets 1 72.32.115.226 (72.32.115.226) 172.771 ms 83.839 ms 89.278 ms 2 67.192.56.50 (67.192.56.50) 95.320 ms 95.043 ms 92.113 ms 3 coreb.dfw1.rackspace.net (74.205.108.26) 94.737 ms corea.dfw1.rackspace.net (74.205.108.10) 109.197 … Continue reading
Posted in Linux
Comments Off on Using traceroute