dce rpc for linux
DESCRIPTION
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 - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/1.jpg)
DCE RPC for Linux
Distributed Systems
Homework 1
![Page 2: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/2.jpg)
Outline
Supported platforms for Linux Install DCE RPC for Linux Environment testing Note Homework References
![Page 3: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/3.jpg)
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)
![Page 4: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/4.jpg)
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
![Page 5: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/5.jpg)
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
![Page 6: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/6.jpg)
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
![Page 7: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/7.jpg)
Environment testing(2/5)
Step 3 execution echo_server application ./echo_server
![Page 8: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/8.jpg)
Environment testing(3/5)
Step 4 execution echo_client application ./echo_client
![Page 9: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/9.jpg)
Environment testing(4/5)
echo_client: execution result
![Page 10: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/10.jpg)
Environment testing(5/5)
echo_server: execution result
![Page 11: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/11.jpg)
Note
Example for Red Hat 9 Red Hat 9 does not support DCE RPC
![Page 12: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/12.jpg)
Homework(1/7) go to the dce-rpc/freedce/demos/echo_ser
ver directory
Client A
Client B
Client C
MsgMsgServer
Msg
![Page 13: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/13.jpg)
Homework(2/7)
![Page 14: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/14.jpg)
Homework(3/7) echo.idl
![Page 15: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/15.jpg)
Homework(4/7) echo_server.c
implement method
![Page 16: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/16.jpg)
Homework(5/7) echo_client.c
call method
![Page 17: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/17.jpg)
Homework(6/7)
Compiler program make clean;make
![Page 18: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/18.jpg)
Homework(7/7)
Demo Dealline : 2008-4-15
![Page 19: DCE RPC for Linux](https://reader036.vdocuments.us/reader036/viewer/2022081506/5681437b550346895daffa7d/html5/thumbnails/19.jpg)
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/showfi
les.php?group_id=9521