Difference between revisions of "Installation:lua prerequisites"

From NeutronAdmin
Jump to: navigation, search
(Bromsock Socket module(Optional))
 
(5 intermediate revisions by 3 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. We recommend tMySQL, but you can use MySQLoo as well.
+
You need to install either tMySQL or MySQLoo. We recommend MySQLoo, but you can use tMySQL as well.
  
 
The socket module is completely optional, but recommended.
 
The socket module is completely optional, but recommended.
Line 10: Line 10:
  
  
 +
==== MySQLoo ====
 +
The MySQLoo 9 module from [https://github.com/syl0r/MySQLOO/releases/ here]
  
==== tMySQL ====
+
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: 
  
[http://facepunch.com/showthread.php?t=1442438 Link to tMySQL]
+
(You need to create the lua/bin folder manually if you do not already have it.)
 
+
Download [https://github.com/blackawps/gm_tmysql4/releases/download/R1/gmsv_tmysql4_win32.dll this for Windows] or [https://github.com/blackawps/gm_tmysql4/releases/download/R1.01/gmsv_tmysql4_linux.dll this for Linux] and put it in ''garrysmod/garrysmod/lua/bin''
+
  
 
[[File:Bin.png]]
 
[[File:Bin.png]]
  
You need to create the lua/bin folder manually if you do not already have it.
+
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)
  
  
  
==== MySQLoo ====
+
==== tMySQL ('''Discontinued, not recommended!''') ====
The MySQLoo 9 module from [https://facepunch.com/showthread.php?t=1515853 here]
+
  
Download [https://github.com/syl0r/MySQLOO/raw/master/MySQL/lib/windows/libmysql.dll?raw=true this for windows] or [https://github.com/syl0r/MySQLOO/raw/master/MySQL/lib/linux/libmysqlclient.so.18?raw=true this for linux] and put it here:
+
[http://facepunch.com/showthread.php?t=1442438 Link to tMySQL]
  
''(The image shows libMySQL.dll which is for windows, but if you're on linux libmysqlclient.so.18 goes here)''
+
Download [https://github.com/bkacjios/gm_tmysql4/releases/download/R1.02/gmsv_tmysql4_win32.dll this for Windows] or [https://github.com/bkacjios/gm_tmysql4/releases/download/R1.02/gmsv_tmysql4_linux.dll this for Linux] and put it in ''garrysmod/garrysmod/lua/bin''
 
+
[[File:Libmysql.png]]
+
 
+
 
+
Download [https://github.com/syl0r/MySQLOO/blob/master/out/windows/gmsv_mysqloo_win32.dll?raw=true this for Windows] or [https://github.com/syl0r/MySQLOO/blob/master/out/linux/gmsv_mysqloo_linux.dll?raw=true this for Linux] and put it here:
+
  
 
[[File:Bin.png]]
 
[[File:Bin.png]]
  
 
You need to create the lua/bin folder manually if you do not already have it.
 
You need to create the lua/bin folder manually if you do not already have it.
 
  
  
 
==== Bromsock Socket module(Optional) ====
 
==== Bromsock Socket module(Optional) ====
  
Download it from [[https://github.com/Bromvlieg/gm_bromsock/tree/master/Builds HERE]](The correct one for your server OS) and put it in ''garrysmod/garrysmod/lua/bin''
+
Download it from [https://github.com/Bromvlieg/gm_bromsock/tree/master/Builds HERE](The correct one for your server OS) and put it in ''garrysmod/garrysmod/lua/bin''
  
 
If the normal one doesn't work, then try the nossl one.
 
If the normal one doesn't work, then try the nossl one.

Latest revision as of 22:05, 19 June 2019

Installing prerequisites for NeutronAdmin's 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.

The socket module is completely optional, but recommended.


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.


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.


Bromsock Socket module(Optional)

Download it from HERE(The correct one for your server OS) and put it in garrysmod/garrysmod/lua/bin

If the normal one doesn't work, then try the nossl one.

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