-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmds.txt
68 lines (48 loc) · 1.18 KB
/
cmds.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
sudo apt-get remove openjdk*
java -version
sudo apt update
sudo apt install openjdk-8-jdk openjdk-8-jre
ass1: thread client/server ps(1)
javac *.java
rmic AddServerImpl
rmiregistry
java AddServer
java AddClient 127.0.0.1 8 4
Client Server Socket : Ps(2)
javac *.java
java server
java client
type>>"hello"
(basically chatting from both ends Client and Server)
ass2: CORBA ps(3,4)
idlj -fall ReverseModeule.idl
javac *.java REverseModule/*.java
orbd -ORBInitialPort 1056&
java ReverseServer -ORBInitialPort 1056&
java RevrerseClient -ORBInitialPort 1056
ass3: MPI/MPJ Jar wala ps(5)
search > dwnld mpj express > select first site >select MPJ Express Software
export MPJ_HOME=/path-to-mpj/
export PATH=MPJ_HOME/bin:$PATH
javac -cp $MPJ_HOME/lib/mpj.jar arrSum.java
$MPJ_HOME/bin/mpjrun.sh -np 4 arrSum
ass4:Berkeley : Clock sync ps(6)
javac *.java
java Server
java Client
ass5: Token Ring : ps(7)
javac *.java
java filename
ass6: Bully & Ring ps(8)
javac *.java
java Bully
inp=> 2, 5, 3, 2
java Ring
inp=> 3, 5 6 8, 1, 2
ass7: Netbeans/Web Services ps(9)
BHAGWAN BHAROSE
//Command to delete previous all cmd from terminal
history -d
//If CORBA port error
lsof -i tcp:1050
kill -9 <pid>