README 1.4 KB
Newer Older
W
william.liangf 已提交
1 2 3 4
0. Install the subversion and maven command line:

	yum install subversion
	or: apt-get install subversion
W
william.liangf 已提交
5 6 7 8 9

    wget http://www.apache.org/dist//maven/binaries/apache-maven-2.2.1-bin.tar.gz
    tar zxvf apache-maven-2.2.1-bin.tar.gz
    export PATH=$PATH:apache-maven-2.2.1/bin

W
william.liangf 已提交
10 11 12 13 14 15
1. Checkout the dubbo source code:

    svn co http://code.alibabatech.com/svn/dubbo/trunk dubbo
	cd dubbo

2. Build the dubbo binary package:
W
william.liangf 已提交
16 17

    mvn clean install -Dmaven.test.skip
W
william.liangf 已提交
18 19
	cd dubbo/target
	ls
W
william.liangf 已提交
20

W
william.liangf 已提交
21
3. Import the dubbo source code to eclipse project:
W
william.liangf 已提交
22 23 24 25

    mvn eclipse:eclipse
	Eclipse -> Menu -> Import -> Exsiting Projects to Workspace -> Browse -> Finish

W
william.liangf 已提交
26
4. Install the demo provider:
W
william.liangf 已提交
27 28 29 30 31 32

   cd dubbo-demo-provider/target
   tar zxvf dubbo-demo-provider-2.0.10-assembly.tar.gz
   cd dubbo-demo-provider-2.0.10/bin
   ./start.sh

W
william.liangf 已提交
33
5. Install the demo consumer:
W
william.liangf 已提交
34 35 36 37 38 39 40

   cd dubbo-demo-consumer/target
   tar zxvf dubbo-demo-consumer-2.0.10-assembly.tar.gz
   cd dubbo-demo-consumer-2.0.10/bin
   ./start.sh
   tail -f ../logs/stdout.log

W
william.liangf 已提交
41
6. Install the simple monitor:
W
william.liangf 已提交
42 43 44 45 46 47 48

   cd dubbo-simple-monitor/target
   tar zxvf dubbo-simple-monitor-2.0.10-assembly.tar.gz
   cd dubbo-simple-monitor-2.0.10/bin
   ./start.sh
   http://127.0.0.1:8080

W
william.liangf 已提交
49
7. Install the simple registry:
W
william.liangf 已提交
50 51 52 53 54

   cd dubbo-simple-registry/target
   tar zxvf dubbo-simple-registry-2.0.10-assembly.tar.gz
   cd dubbo-simple-registry-2.0.10/bin
   ./start.sh