JMX monitoring
JMX monitoring dataflow java app -> jmxagent -> jmxtrans -> jmx_output.log -> alert.sh -> send mail java app -> jmxagent -> Configuration jmx agent with authentication JMX dynamically allocated random port, and it will bind the port at internal address. If you connecting jmx through firewall or your servers on Amazon EC2, maybe can’t connect […]
手动升级wordpress的方法
手动升级wordpress的方法 进入到wordpress的后台管理发现有新版本更新时,使用系统自带的自动更新,总是出现300秒超时导致升级失败。 Downloading update from http://wordpress.org/wordpress-3.1.1.zip… Download failed.: Operation timed out after 300 seconds with 1340586 bytes received Installation Failed 使用terminal登陆到系统使用wget测试下载速度,发现服务器下载wordpress包的速度其慢无比,每秒只有3KB左右的速度。 # wget http://wordpress.org/wordpress-3.1.1.zip –2011-04-06 15:01:31– http://wordpress.org/wordpress-3.1.1.zip Resolving wordpress.org… 72.233.56.138, 72.233.56.139 Connecting to wordpress.org|72.233.56.138|:80… connected. HTTP request sent, awaiting response… 200 OK Length: unspecified [application/zip] Saving to: `wordpress-3.1.1.zip’ [ ] 17,114 3.70K/s 解决方法: 首先进入webserver的跟目录,然后手工下载wordpress的安装包,之后修改/etc/hosts的内容把wordpress.org的地址指到本地。 # […]