随笔分类 -  项目工具

摘要:1,确保将要切换的目标服务使用正常。2,更改nginx.conf中被代理的虚拟主机地址,将其改为上面的目标服务(可能是测试,可能是线上其他服务器集群中的一台)。如 vim /opt/nginx/conf/nginx.conf server { listen 80; ... 阅读全文
posted @ 2014-04-15 18:28 xu's thinking 阅读(637) 评论(0) 推荐(0)
摘要:一)前言:服务器端图片上传逻辑改版,将文件自己压缩成3份然后上传至某云进行存储。选择GraphicsMagick+IM4Java,放弃并发能力弱的ImageMagick+Jmagick。网上可供学习GraphicsMagick与IM4Java的资料是在太少,翻来覆去就那么几篇,碰到异常只能一遍又一遍的研读官方文档!这也是我写这篇文章的原因之一。im4java参考资料: 1)请详见Developer's Guide: http://im4java.sourceforge.net/docs/dev-guide.html 2)github上im4java的源码:https://githu.. 阅读全文
posted @ 2014-04-12 18:43 xu's thinking 阅读(3608) 评论(1) 推荐(0)
摘要:下载的二进制包GraphicsMagick-LATEST.tar.gz用了网上各种方法如官网的 gzip -b GraphicsMagick-LATEST.tar.gz | tar -xvf -解压后依然安装不上。各种坑爹,最后搜索白天的结果是(不好意思承认自己用的是百度):解压方法没问题,我用的是tar -xvf GraphicsMagick-LATEST.tar.gz就可以解压。问题出现在没有权限。包里面的configure文件的默认安装路径是=====================================================安装方法完全按照官网的README.txt 阅读全文
posted @ 2014-04-01 10:21 xu's thinking 阅读(520) 评论(0) 推荐(0)
摘要:添加格式:mvn install:install-file -Dfile= -DgroupId= -DartifactId= -Dversion= -Dpackaging= -DgeneratePom=true Where: the path to the file to load the group that the file should be registered under the artifact name for the file the version o... 阅读全文
posted @ 2014-04-01 10:10 xu's thinking 阅读(386) 评论(0) 推荐(0)