suppliers:hvac.io:vigilia:installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
suppliers:hvac.io:vigilia:installation [2020/07/22 15:01] – old revision restored (2015/07/30 01:52) 95.91.41.38 | suppliers:hvac.io:vigilia:installation [2020/07/22 15:01] – old revision restored (2015/08/20 17:56) 95.91.41.38 | ||
---|---|---|---|
Line 11: | Line 11: | ||
They can all be installed on the same machine, or on separate servers and devices, depending on your network architecture. | They can all be installed on the same machine, or on separate servers and devices, depending on your network architecture. | ||
+ | |||
+ | Once this is done, you might want to take a look at [[#Adding Vigilia as a Service]] | ||
===== Database ===== | ===== Database ===== | ||
For the time being, Vigilia only supports [[http:// | For the time being, Vigilia only supports [[http:// | ||
Line 23: | Line 25: | ||
- | Download and install by following the instructions on this [[http://www.tokutek.com/ | + | Download and install by following the instructions on this [[https://www.percona.com/downloads/ |
===== Vigilia Server ===== | ===== Vigilia Server ===== | ||
Line 29: | Line 31: | ||
For maximum speed, we recommend you install the Vigilia server on the same machine as the database. | For maximum speed, we recommend you install the Vigilia server on the same machine as the database. | ||
- | Vigilia server runs on [[www.java.com|Java]], | + | Vigilia server runs on [[http://www.java.com|Java]], |
Line 59: | Line 61: | ||
===== Loggers ===== | ===== Loggers ===== | ||
+ | |||
+ | Wacnet... | ||
+ | |||
+ | |||
+ | ===== Adding Vigilia as a Service ===== | ||
+ | |||
+ | You might want to make sure the Vigilia server always starts as soon as the server boots, or that it restores itself in case of a crash. | ||
+ | |||
+ | For this, you'll have to add Vigilia as a service. | ||
+ | |||
+ | Start by creating a file named " | ||
+ | |||
+ | Open it and paste the following: | ||
+ | |||
+ | |||
+ | <code shell> | ||
+ | |||
+ | description " | ||
+ | author " | ||
+ | |||
+ | start on runlevel [2345] | ||
+ | stop on runlevel [!2345] | ||
+ | |||
+ | |||
+ | #Respawn the process if it crashes | ||
+ | #If it respawns more than 10 times in 60 seconds stop | ||
+ | respawn | ||
+ | respawn limit 10 60 | ||
+ | |||
+ | expect fork | ||
+ | |||
+ | #replace PATH-TO-THE-JAR with something like / | ||
+ | #replace PORT with the desired port number | ||
+ | script | ||
+ | cd PATH-TO-THE-JAR | ||
+ | java -jar vigilia-server.jar PORT & | ||
+ | end script | ||
+ | |||
+ | </ | ||
+ | |||
+ | Now, once you replaced PATH-TO-THE-JAR and PORT with their correct values, move the file to /etc/init: | ||
+ | |||
+ | < | ||
+ | sudo mv vigilia.conf / | ||
+ | </ | ||
+ | |||
+ | That's it! | ||
+ | Now reboot and Vigilia should start automatically. | ||
+ | |||
+ | This is only a barebone service. To get more info, see http:// | ||
+ |
suppliers/hvac.io/vigilia/installation.txt · Last modified: 2020/10/04 01:53 by 173.249.2.13