Difference between revisions of "Installation:lua prerequisites"

From PrometheusIPN Wiki
Jump to: navigation, search
Line 8: Line 8:
  
 
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:
 
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:
 +
(You need to create the lua/bin folder manually if you do not already have it.)
 +
[[File:Bin.png]]
 +
 +
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)
  
[[File:Bin.png]]
 
  
You need to create the lua/bin folder manually if you do not already have it.
 
  
==== tMySQL ====
+
==== tMySQL ([[Discontinued, not recommended!]]) ====
  
 
[http://facepunch.com/showthread.php?t=1442438 Link to tMySQL]
 
[http://facepunch.com/showthread.php?t=1442438 Link to tMySQL]

Revision as of 20:03, 29 June 2017

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.

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.) 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)


tMySQL (Discontinued, not recommended!)

Link to tMySQL

Download this for Windows or this for Linux and put it in garrysmod/garrysmod/lua/bin

Bin.png

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


Done Continue with the lua files installation