-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL
More file actions
63 lines (54 loc) · 2.17 KB
/
Copy pathINSTALL
File metadata and controls
63 lines (54 loc) · 2.17 KB
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
Fontana Stefano - Network Backup
Installation instructions
1. Installing dependencies
Libraries needed for compile code correctly:
- gmp (libgmp-dev packet)
- libssh (libssh-dev packet)
- bzip2 (libbzip2-dev packet)
Applications used for compiling and testing
- make
- cmake
- python3
* python libraries required
* pycrypto (`pip3 install pycrypto`)
- openssl
- openssh-server
- ctest
- g++
- wget
- unzip
On linux run command `apt-get make cmake python3 openssl openssh-server ctest g++ install libgmp-dev libssh-dev libbz2-dev wget unzip` or equivalent
1.1 Systems limitation
It's impossible to build the server executable on windows system due to POSIX system call mmap unavailable on microsoft systems.
====================================================================
2. Generating make instruction for compiling
Create build directory running
- mkdir build && cd build
Generate make instruction running
- cmake ..
2.1. Compile executables and tests
Run
- make
2.2. Finalize compilation and generate necessary files
Run
- cp ../finalize.sh finalize.sh
- sh finalize.sh
2.3. Compiled files in correct configuration and dependencies are now available inside "build/Compiled" directory.
Make sure Utils and Server directories aren't available on the same machin for securety reasons.
Configure client by editing "client.properties" inside "build/Compiled/Client" directory
Configure server by editing "config.propeties" inside "build/Compiled/Server" directory
2.4. Run test by executing
- cd Test/test
- ctest
================================OR==================================
2b. Run Install script if you are in Linux env
Run
- sh install_linux.sh
====================================================================
3. OUTPUT
4. (GLASSFISH MONITORING SERVER)
3.1 Run create.sql in your mysql environment
3.2 Add Connector/J lib to glassfish and domain
3.3 Configure Glassfish for your mysql connection with connection pool named "mysql" and relative resource
3.4 add monitor_compiled folder to your glassfish domain
5. Enjoy =)