Difference between revisions of "Installation:lua prerequisites"

From PrometheusIPN Wiki
Jump to: navigation, search
(Installing prerequisites for Prometheus' lua portion)
 
(30 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
Install the [[Installation:website|web files]] first
 
Install the [[Installation:website|web files]] first
  
You need to install either tMySQL or MySQLoo. You install the one that you find you need for other MySQL based addons as well. The socket module is completely optional.                      
+
You need to install either tMySQL or MySQLoo. We recommend MySQLoo, but you can use tMySQL as well. This documentation only covers MySQLoo as tMySQL is deprecated.
  
 
==== MySQLoo ====
 
==== MySQLoo ====
The MySQLoo module from [http://facepunch.com/showthread.php?t=1357773 here]
+
The MySQLoo 9 module from [https://github.com/syl0r/MySQLOO/releases/ here]
  
Download [https://github.com/KingofBeast/gmsv_mysqloo/blob/master/RELEASE/libmysql_win32.zip?raw=true this for windows] or [https://github.com/KingofBeast/gmsv_mysqloo/blob/master/RELEASE/libmysql_linux.tar.gz?raw=true this for linux] and put it here:
+
Download [https://github.com/syl0r/MySQLOO/releases/ HERE] for Linux server use gmsv_mysqloo_linux.dll, but for Windows server use gmsv_mysqloo_win32.dll, choose the latest release that has your version and put it here:
  
<br><br>
+
(You need to create the lua/bin folder manually if you do not already have it.)
[[File:Lua1.png|900px|thumb|center|Mysqloo 1]]
 
<br><br>
 
  
Download [https://github.com/KingofBeast/gmsv_mysqloo/blob/master/RELEASE/gmsv_mysqloo_win32.dll?raw=true this for Windows] or [https://github.com/KingofBeast/gmsv_mysqloo/blob/master/RELEASE/gmsv_mysqloo_linux.dll?raw=true this for Linux] and put it here:
+
Note: As of 3/20/2021 Linux OS must use MySQLoo 9.6 or older. MySQLoo 9.6.1 will not work on Linux at this time.
  
<br><br>
+
[[File:Bin.png]]
[[File:Lua2.png|900px|thumb|center|Mysqloo 2]]
+
<div style="text-decoration: line-through">
<br><br>
+
You are also going to need either [https://github.com/syl0r/MySQLOO/raw/master/MySQL/lib/windows/libmysql.dll libmysql] on Windows or [https://github.com/syl0r/MySQLOO/raw/master/MySQL/lib/linux/libmysqlclient.so.18 libmysqlclient] on Linux.
 +
They have to be placed within the root folder of your server (the one that contains srcds.exe or srcds_run)
 +
</div>
 +
As of the latest MySQLoo version (9.6 and newer) you no longer need the second file(libmysql) on the server. So if you use MySQLoo 9.6 or newer you only need the first, MySQLoo file.
  
You need to create the lua/bin folder manually if you do not already have it.
+
'''Done''' Continue with the [[Installation:lua|lua files]] installation
 
 
==== tMySQL ====
 
 
 
You may also want to use the socket module for Garry's Mod with NeutronAdmin if you do not want to use RCon or MySQL as your main form of communication with your server(s). '''Keep in mind you still need tMySQL or MySQLoo for certain things.'''
 
 
 
[http://facepunch.com/showthread.php?t=1442438 Link to tMySQL]
 
 
 
Download [https://github.com/KingofBeast/gmsv_mysqloo/blob/master/RELEASE/libmysql_win32.zip?raw=true this for windows] or [https://github.com/KingofBeast/gmsv_mysqloo/blob/master/RELEASE/libmysql_linux.tar.gz?raw=true this for linux] and put it here:
 
 
 
<br><br>
 
[[File:Lua1.png|900px|thumb|center|tMySQL 1]]
 
<br><br>
 
 
 
Download [http://breakpoint.me/gmsv_tmysql4_win32.dll this for Windows] or [http://breakpoint.me/gmsv_tmysql4_linux.dll this for Linux] and put it in ''garrysmod/garrysmod/lua/bin''
 
 
 
You need to create the lua/bin folder manually if you do not already have it.
 
 
 
==== Bromsock Socket module ====
 
 
 
Download [https://github.com/Bromvlieg/gm_bromsock/blob/master/Builds/gmsv_bromsock_win32.dll?raw=true this for Windows] or [https://github.com/Bromvlieg/gm_bromsock/blob/master/Builds/gmsv_bromsock_linux.dll?raw=true this for Linux] and put it in ''garrysmod/garrysmod/lua/bin''
 
 
 
You need to create the lua/bin folder manually if you do not already have it.
 
 
 
 
 
'''Done''' Continue with the [Installation:lua lua files] installation
 

Latest revision as of 13:46, 20 March 2021

Installing prerequisites for Prometheus' lua portion

Install the web files first

You need to install either tMySQL or MySQLoo. We recommend MySQLoo, but you can use tMySQL as well. This documentation only covers MySQLoo as tMySQL is deprecated.

MySQLoo

The MySQLoo 9 module from here

Download HERE for Linux server use gmsv_mysqloo_linux.dll, but for Windows server use gmsv_mysqloo_win32.dll, choose the latest release that has your version and put it here:

(You need to create the lua/bin folder manually if you do not already have it.)

Note: As of 3/20/2021 Linux OS must use MySQLoo 9.6 or older. MySQLoo 9.6.1 will not work on Linux at this time.

Bin.png

You are also going to need either libmysql on Windows or libmysqlclient on Linux. They have to be placed within the root folder of your server (the one that contains srcds.exe or srcds_run)

As of the latest MySQLoo version (9.6 and newer) you no longer need the second file(libmysql) on the server. So if you use MySQLoo 9.6 or newer you only need the first, MySQLoo file.

Done Continue with the lua files installation