-
Notifications
You must be signed in to change notification settings - Fork 1
/
instalation guide
45 lines (32 loc) · 2.1 KB
/
instalation guide
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
Instalation guide:
Technical requirements:
- Unix Server, with Apache Tomcat Server, v. 7.0.34, and MySql Server, v. 5.6.11.
- Signed digital certificate with Java keytool.
- Maven installed, v. 3.0.4.
Note: In the file server.xml of the Apache Tomcat add this lines:
<Connector SSLEnabled="true" acceptCount="100" clientAuth="false"
disableUploadTimeout="true" enableLookups="false" maxThreads="25"
port="8443"
keystoreFile="PATH/.keystore"
keystorePass="password"
protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="https"
secure="true" sslProtocol="TLS" />
And modify the parameters 'keystoreFile' and 'keystorePass' with the setting of your signed digital certificate.
1. Installing data base SocialNetwork
In MySql Server, install the file socialNetwork_20130630.sql contains in the folder DB.
2. Create the folder structure where you will store the settings's application in te Unix Server:
2.1. Create in the path /usr/local the next structure:
/usr/local/snsangelguardfb
2.2. Create the folfer 'config' in the path /usr/local/snsangelguardfb
2.3. Create the folder 'harvested' in the path /usr/local/snsangelguardfb and copy the Java Proyect
harvestedSNSAngelGuardFB.
2.3. Create the folder 'logs' in the path /usr/local/snsangelguardfb/harvested
3. Copy the file config.properties in the path /usr/local/snsangelguardfb/config and change the settings of the host's server.
4. Copy the proyect harvestedSNSAngelGuard in the path /usr/local/snsangelguardfb/harvested. Modifies the script
harvestedSNSAngelGuardFB.sh the line:
mvn exec:java -Dexec.mainClass="es.uah.cc.ie.harvestedsnsangelguard.Main host pathToKeyStore passwdKeyStore
with the settings of the signed digital certificate installed in the Unix Server.
5. Modifies the cron file of the Unix Server adding the next sentence:
00 3 * * * root /usr/local/snsangelguardfb/harvested/harvestedSNSAngelGuard/script/harvestedSNSAngelGuardFB.sh
6. Copy SNSAngelGuardFB.war and SNSdataBaseIntegratorServer.war in the context of Apache Tomcat and start the Web Server.
For more information, see the file instalationGuide_ES.pdf