- 浏览: 47394 次
- 性别:
- 来自: 广州
最新评论
文章列表
大型网站架构不得不考虑的10个问题
- 博客分类:
- java
http://developer.51cto.com/art/201105/261283.htm
十步构建大型网站架构
- 博客分类:
- java
http://developer.51cto.com/art/201105/259452.htm
1.在servers中新建的SERVER上右击——属性的General项下右边Location属性点击SwitchLocation按钮,设置成/Servers/Tomcat v7.0 Serverat localhost.server
(Server s : Properties -> General -> Location = /Servers/Tomcat v7.0 Server at localhost.server ;)
2.双击新建的server,修改Server Options设置:将Publish module contexts to separate XML ...
原文出处:http://www.sonatype.com/books/nexus-book/reference/maven-sect-single-group.html
<settings> <mirrors> <mirror> <!--This sends everything else to /public --> <id>nexus</id> <mirrorOf>*</mirrorOf> <url>http://localhost:8 ...
原文出处:http://blog.springsource.com/2007/01/23/dynamic-datasource-routing/
Spring 2.0.1 introduced an AbstractRoutingDataSource. I believe that it deserves attention, since (based on frequent questions from clients) I have a hunch that there are quite a few 'home-grown' solutions to this problem fl ...
quartz cron 表达式详解
字段 允许值 允许的特殊字符 秒 0-59 , - * / 分 0-59 , - * / 小时 0-23 , - * / 日期 1-31 , - * ? / L W C 月份 1-12 或者 JAN-DEC , - * / 星期 1-7 或者 SUN-S ...
vi /etc/sysconfig/i18n
LANG="zh_CN.UTF-8"
1.手动更改profile文件的命令:vi /etc/profile2.在文件的末尾添加以下两行命令:export LC_ALL="zh_CN.UTF-8"export LANG="zh_CN.UTF-8"
3.也可在/root/.bash_profile文件的末尾添加以下两行命令:export LC_ALL="zh_CN.UTF-8"export LANG="zh_CN.UTF-8"
org.apache.commons.net.ftp
http://voole.iteye.com/blog/624391
1.启动数据库
su - oracle
sqlplus /nolog
connect /as sysdba
startup
quit
lsnrctl start
2.关闭数据库
su - oracle
lsnrctl stop
sqlplus /nolog
shutdown immediate
quit
keytool -genkey {-alias alias} {-keyalg keyalg} {-keysize keysize} {-sigalg sigalg} [-dname dname] [-keypass keypass] {-validity valDays} {-storetype storetype} {-keystore keystore} [-storepass storepass]
如:
1.生成私钥:keytool -genkey -alias server -keyalg rsa -sigalg md5withrsa -keystore server ...
加密算法: 对称加密算法: DES、IDEA、RC2、RC4、AES、Skipjack ...... 非对称加密算法: RSA、DSA、DiffieHellman、PKCS、PGP ......单向的HASH算法属于报文摘要算法,虽然有些也出自OpenSSL库。 命令操作: 1、生成普通私钥:
[weigw@TEST src]$ openssl genrsa -out privatekey.key 1024
Generating RSA private key, 1024 bit long modulus ....++++++ ...... ...