ITeye博客

yanwenhan

yanwenhan · 共 48 篇文章

apache tomcat 整合配置

环境: CentOS release 5 (Final) httpd-2.2.10.tar.gz apache-tomcat-5.5.17.tar.gz tomcat-connectors-1.2.27-src.tar.tar httpd.conf ... LoadModule jk_module modules/mod_jk.so JkWorkersFile "conf/workers.properties" JkLogFile "/hyw/logs/jklog/mod_jk.log" JkLogLevel info ... Include conf/vhosts.conf ... vho…

2009-02-14 11:49 · apache + tomcat · 评论(0)

Install zabbix Server

Install zabbix Server  Install mysql 【mysql】 Version:mysql-5.0.51.tar.gz Run: #groupadd mysql #useradd -g mysql mysql cd mysql-5.0.51 Run: ./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql cp support-files/my-medium.cnf /etc/my.cnf cd /usr/local/mysql bin/mysql_install_db --user=mysql…

2008-07-24 16:13 · 流量监控 · 评论(0)

Install Net-SNMP

Install Net-SNMP 1. If you plan to use any hosts with SNMP v2c support, you must download and install the Net-SNMP libraries. Net-SNMP provides installers to install their product. However, caution must be taken not to use long file names as Cacti does not support them in this version. We suggest y…

2008-07-24 16:10 · 流量监控 · 评论(0)

windows系统安装cacti

Installing Cacti on Windows Installations Download and install the following pieces of software: * (optional) Apache and install it to c:apache or c:apache2. Make sure to install it as a service. * Cacti and extract it to the root of your web server directory. Typically c:inetpubwwwroot or c:apache…

2008-07-24 16:09 · 流量监控 · 评论(0)

Solaris系统安装cacti

Installing Cacti on Solaris INTRODUCTION 1.1 Disclaimer Use the information in this document at your own risk. I disavow any potential liability for the contents of this document. Use of the concepts, examples, and/or other content of this document is entirely at your own risk. All copyrights are o…

2008-07-24 16:09 · 流量监控 · 评论(0)

Linux系统安装cacti

Installing Cacti on Linux 1.Mysql source code installation shell> groupadd mysql shell> useradd -g mysql mysql shell> gunzip < mysql-VERSION.tar.gz | tar -xvf - shell> cd mysql-VERSION shell> ./configure --prefix=/usr/local/mysql shell> make shell> make install shell> cp support-files/my-medium.cnf…

2008-07-24 16:07 · 流量监控 · 评论(0)

shell 过滤数字/字符命令

echo 12345adsfdsf90|tr -cd 0-9 echo 12345adsfdsf90|tr -cd a-z

2008-07-10 13:42 · Linux常用命令 · 评论(0)

date 前n天

date --date '1 days ago' '+%Y-%m-%d'

2008-07-07 15:03 · Linux常用命令 · 评论(0)

perl工具包安装

http://search.cpan.org/ urllist http://cpan.modperl.cn/ http://mirrors.xueron.com/CPAN/ http://cpan.linuxforum.net/ cpan install Date::Simple

2008-06-30 13:04 · Perl · 评论(0)

pear 安装工具包

需要的pear包可以到官网下载安装http://pear.php.net/packages.php 例如: /usr/local/bin/pear install --alldeps http://download.pear.php.net/package/HTTP_Request-1.4.2.tgz /usr/local/bin/pear install --alldeps http://download.pear.php.net/package/Log-1.10.1.tgz

2008-05-22 16:35 · PHP · 评论(0)

spring + XFire 构建webservic 通过WSDL文件生成客户端调用程序

将WSDL文件存到classes目录下 如:EchoService.wsdl WebServiceClientTest2.java文件 package test; import org.codehaus.xfire.client.Client; import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.Resource; public class WebServiceClientTest2 { /** * @param args */ public static void …

2008-03-17 15:15 · webservice · 评论(0)

spring + XFire 构建webservic 客户端根据服务地址创建客户端调用

example-client.xml配置文件 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <bean id="baseService" class="org.codehaus.xfire.spring.remoting.XFireClientFactoryBean" lazy-init="false" abstract="true"/> …

2008-03-17 15:08 · webservice · 评论(0)

spring + XFire 构建webservic 例二

User.java文件 package com.hyw.example; import java.io.Serializable; public class User implements Serializable { private static final long serialVersionUID = 2814532266609852960L; private String username; private String password; public void setUsername(String username) { this.username = username; } p…

2008-03-17 14:53 · webservice · 评论(0)

spring + XFire 构建webservic 例一

Echo.java文件 package com.hyw.example; public interface Echo { String echo( String in ); } EchoImpl.java文件 package com.hyw.example; public class EchoImpl implements Echo { public String echo(String in) { return in; } }

2008-03-17 14:50 · webservice · 评论(0)

spring + XFire 构建webservic 相关lib和配置文件

XFire 下载地址:http://xfire.codehaus.org/Download lib目录需要下列文件: activation-1.1.jar commons-beanutils-1.7.0.jar commons-codec-1.3.jar commons-httpclient-3.0.jar commons-logging-1.0.4.jar jaxws-api-2.0.jar jdom-1.0.jar jsr173_api-1.0.jar log4j-1.2.11.jar mail-1.4.jar saaj-api-1.3.jar saaj-impl-1.3.jar spr…

2008-03-17 14:45 · webservice · 评论(1)