220 likes | 515 Views
DCE RPC for Linux. Distributed Systems Homework 1. Outline. Supported platforms for Linux Install DCE RPC for Linux Environment testing Note Homework References. Supported platforms for Linux. Mandrake v9.1 Suse v7.3 SuSE v9.0 SuSE v9.1 Fedora Core 1 Fedora Core 2
E N D
DCE RPC for Linux Distributed Systems Homework 1
Outline • Supported platforms for Linux • Install DCE RPC for Linux • Environment testing • Note • Homework • References
Supported platforms for Linux • Mandrake v9.1 • Suse v7.3 • SuSE v9.0 • SuSE v9.1 • Fedora Core 1 • Fedora Core 2 • Fedora Core 3 (recommand)
Install DCE RPC for Linux(1/2) • Step 1 download DCE RPC • Download linux-dcerpc-1.1.tar.bz2 • Step 2 • tar jxvof linux-dcerpc-1.1.tar.bz2 • Step 3 go to the dce-rpc directory • cd dce-rpc
Install DCE RPC for Linux(2/2) • Step 4 install dcethreads package • cd dcethreads • ./configure • make • make install • Step 5 install freedce • cd freedce • ./configure • make • make install
Environment testing(1/5) • Step 1 go to the /opt/dce/bin directory • cd /opt/dce/bin • Step 2 execution RPC endpoint mapper daemon • ./rpcd
Environment testing(2/5) • Step 3 execution echo_server application • ./echo_server
Environment testing(3/5) • Step 4 execution echo_client application • ./echo_client
Environment testing(4/5) • echo_client: execution result
Environment testing(5/5) • echo_server: execution result
Note • Example for Red Hat 9 • Red Hat 9 does not support DCE RPC
Homework(1/7) • go to the dce-rpc/freedce/demos/echo_server directory Client A Msg Client B Server Msg Msg Client C
Homework(3/7) • echo.idl
Homework(4/7) • echo_server.c • implement method
Homework(5/7) • echo_client.c • call method
Homework(6/7) • Compiler program • make clean;make
Homework(7/7) • Demo • Dealline:2008-4-15
References • ftp://ftp.opengroup.org/pub/dce-mall/dce1.1 • http://www.opengroup.org/onlinepubs/9629399/toc.htm • http://www.opengroup.org/dce/info/ • http://www.dcerpc.net/ • http://sourceforge.net/project/showfiles.php?group_id=9521