一、下载JMagick和ImageMagick
wget_ http://downloads.jmagick.org/6.4.0/jmagick-6.4.0-src.tar.gz
wget_ http://downloads.jmagick.org/6.4.0/ImageMagick-6.4.0-0.tar.gz
二、安装依赖包
yum install libpng
yum install libpng-devel
yum install libjpeg
yum install libjpeg-devel
yum install gd
yum install gd-devel
yum install libtiff
yum install libtiff-devel
三、安装ImageMagick
tar xzvf ImageMagick-6.4.0-0.tar.gz
cd ImageMagick-6.4.0
./configure --prefix=/usr/local/imgtools/JMagick
make
make install
四、安装并配置JMagick
tar xzvf jmagick-6.4.0-src.tar.gz
cd 6.4.0
./configure --with-java-home=/usr/java/default --with-magick-home=/usr/local/imgtools/JMagick
make
make install
# 拷贝libJMagick.so到JRE
cp /home/install/6.4.0/lib/libJMagick-6.4.0.so /usr/java/default//jre/lib/amd64/libJMagick.so
# 拷贝magick-6.4.0.jar到install目录备份
cp /home/install/6.4.0/lib/jmagick-6.4.0.jar /home/install/magick-6.4.0.jar
2 在$TOSROOT/support/sdk/c/blip/serial_tun.conf中配置边缘路由(Edge Router)地址为"addr 2001:da8:6000:291::64"
3 设置tinyos节点A(Activate):make tmote blip install.9 (运行的应用程序为UDPEcho)
4 假设internet中有个地址为:"2001:da8:6000:291:21f:d0ff:fed4:928c"的主机B要访问tinyos节点A,该如何设置呢?(至少发现在主机B中 "ping6 2001:da8:6000:291::9" ping不通)
解决办法:修改主机B的路由表
1 linux下解决办法:
#sudo ip -6 route add 2001:da8:6000:291::9 via 2001:da8:6000:291:6e62:6dff:fe53:d4be
2 windos下解决办法:
设置路由:
#netsh
#interface ipv6
查看目前路由:
#show routes
#添加新的路由:
#add route 2001:da8:6000:291::/64 6 2001:da8:6000:291:6e62:6dff:fe53:d4be ("2001:da8:6000:291::/64"修改为"2001:da8:6000:291::/64"也是没用的,因为该命 令只接受前缀)
删除默认路由:
#delete route 2001:da8:6000:291::/64 6 (一般为本地连接)
或者
##delete route 2001:da8:6000:291::/64 “本地连接”参考资料:http://technet.microsoft.com/zh-cn/279a413d-ab4b-4765-aab7-2c1e7b5a70eb
http://technet.microsoft.com/zh-cn/library/cc778075.aspx
http://ipv6.jnu.edu.cn/show.asp?id=23
文本框和验证码对齐
同时给input和img添加vertical-align:middle就行了
input,img {vertical-align:middle;}