<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://oldwiki.eq2classic.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Hippsta</id>
	<title>EQ2Emulator - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://oldwiki.eq2classic.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Hippsta"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Special:Contributions/Hippsta"/>
	<updated>2026-07-11T16:50:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.3</generator>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=302</id>
		<title>Admins:Linux Server:CentOS</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=302"/>
		<updated>2008-05-01T06:50:40Z</updated>

		<summary type="html">&lt;p&gt;Hippsta: /* Guide Written By: Hippsta */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on CentOS Linux.&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to install the dependencies, download the latest version of the source code from the repository, compile it and start a server.&lt;br /&gt;
As CentOS is based on the RHEL kernel, this tutorial is likely valid for most redhat-based distros.&lt;br /&gt;
&lt;br /&gt;
== CentOS / Fedora / RedHat ==&lt;br /&gt;
&lt;br /&gt;
Before you even touch the emulator you must install/update the following packages, as well as their required dependencies from the repositories. (I'm assuming you are logged in as root, if not use sudo or su - )&lt;br /&gt;
But first we're going to enable the atomic turtle repo.&lt;br /&gt;
&lt;br /&gt;
 wget http://www.atomicrocketturtle.com/RPM-GPG-KEY.art.txt&lt;br /&gt;
 rpm --import RPM-GPG-KEY.art.txt&lt;br /&gt;
 wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
 yum install mysql-* mysqlclient14* binutils subversion glibc* zlib gcc*&lt;br /&gt;
&lt;br /&gt;
== Lua 5.1.3 ==&lt;br /&gt;
Once those are done, you must now download and compile Lua 5.1.3:&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 wget http://www.lua.org/ftp/lua-5.1.3.tar.gz&lt;br /&gt;
 tar xvzf lua-5.1.3.tar.gz&lt;br /&gt;
 cd lua-5.1.3&lt;br /&gt;
&lt;br /&gt;
Building Lua on Unix systems should be very easy. First do &amp;quot;make&amp;quot; and see if your platform is listed. If so, just do &amp;quot;make xxx&amp;quot;, where xxx is your platform name. (The platforms currently supported are: aix ansi bsd freebsd generic linux macosx mingw posix solaris)&lt;br /&gt;
&lt;br /&gt;
Eventhough we are using linux, lets use posix to make lua.. otherwise the dynamic linker (ld) fails during make of the emulator.&lt;br /&gt;
&lt;br /&gt;
 make posix&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
and finally the main event!&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called eq2emulator.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://eq2emulator.svn.sourceforge.net/svnroot/eq2emulator eq2emulator&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd eq2emulator/Source/World/&lt;br /&gt;
&lt;br /&gt;
Open the makefile and change -llua5.1 to -llua&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called eq2world.&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 /eq2emulator/Source/World/eq2world&lt;br /&gt;
 /eq2emulator/Config Files/EQ2_Structs.xml&lt;br /&gt;
 /eq2emulator/Config Files/LoginServer.ini&lt;br /&gt;
 /eq2emulator/Config Files/world_db.ini&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/WorldStructs.xml&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/charactersheet_struct.txt&lt;br /&gt;
 /eq2emulator/Config Files/Common\ Structs/CommonStructs.xml&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First open LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server.&lt;br /&gt;
&lt;br /&gt;
Make sure this User / Database exists, and that the user has full permissions on every table.&lt;br /&gt;
&lt;br /&gt;
 GRANT ALL ON dbname.* TO user IDENTIFIED BY 'password'&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation, and pre-req setup process without error, the following will start your world server.&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
To stop your world the following will need to be typed&lt;br /&gt;
&lt;br /&gt;
 'Ctrl-C'&lt;br /&gt;
 killall -9 eq2world*&lt;br /&gt;
&lt;br /&gt;
== Security ==&lt;br /&gt;
&lt;br /&gt;
Now is when we want to create a different user for the eq2world server to run as. &lt;br /&gt;
It is very wise to run as few services as root as possible.&lt;br /&gt;
&lt;br /&gt;
 useradd name -G group -d /path/to/emulator&lt;br /&gt;
 cd ..&lt;br /&gt;
 chown -R name:group eq2server/&lt;br /&gt;
&lt;br /&gt;
Make sure to also open/forward ports 9000, 9100, 9101, and 9102 in your firewall/router.&lt;br /&gt;
&lt;br /&gt;
If anyone has any questions, or if I forgot something;&lt;br /&gt;
Feel free to PM me on the forum.&lt;br /&gt;
&lt;br /&gt;
Thanks! :)&lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Hippsta ====&lt;br /&gt;
Special Thanks to Andrew, for the parts I didn't feel like rewriting :P&lt;/div&gt;</summary>
		<author><name>Hippsta</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server&amp;diff=301</id>
		<title>Admins:Linux Server</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server&amp;diff=301"/>
		<updated>2008-05-01T05:29:35Z</updated>

		<summary type="html">&lt;p&gt;Hippsta: /* Linux Distribution List */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Linux Distribution List===&lt;br /&gt;
*[[Admins:Linux Server:ArchLinux|ArchLinux]]&lt;br /&gt;
*[[Admins:Linux Server:Gentoo|Gentoo]]&lt;br /&gt;
*[[Admins:Linux Server:Ubuntu|Ubuntu]]&lt;br /&gt;
*[[Admins:Linux Server:CentOS|CentOS]]&lt;/div&gt;</summary>
		<author><name>Hippsta</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=300</id>
		<title>Admins:Linux Server:CentOS</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=300"/>
		<updated>2008-05-01T05:27:13Z</updated>

		<summary type="html">&lt;p&gt;Hippsta: /* Lua 5.1.3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on CentOS Linux.&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to install the dependencies, download the latest version of the source code from the repository, compile it and start a server.&lt;br /&gt;
As CentOS is based on the RHEL kernel, this tutorial is likely valid for most redhat-based distros.&lt;br /&gt;
&lt;br /&gt;
== CentOS / Fedora / RedHat ==&lt;br /&gt;
&lt;br /&gt;
Before you even touch the emulator you must install/update the following packages, as well as their required dependencies from the repositories. (I'm assuming you are logged in as root, if not use sudo or su - )&lt;br /&gt;
But first we're going to enable the atomic turtle repo.&lt;br /&gt;
&lt;br /&gt;
 wget http://www.atomicrocketturtle.com/RPM-GPG-KEY.art.txt&lt;br /&gt;
 rpm --import RPM-GPG-KEY.art.txt&lt;br /&gt;
 wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
 yum install mysql-* mysqlclient14* binutils subversion glibc* zlib gcc*&lt;br /&gt;
&lt;br /&gt;
== Lua 5.1.3 ==&lt;br /&gt;
Once those are done, you must now download and compile Lua 5.1.3:&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 wget http://www.lua.org/ftp/lua-5.1.3.tar.gz&lt;br /&gt;
 tar xvzf lua-5.1.3.tar.gz&lt;br /&gt;
 cd lua-5.1.3&lt;br /&gt;
&lt;br /&gt;
Building Lua on Unix systems should be very easy. First do &amp;quot;make&amp;quot; and see if your platform is listed. If so, just do &amp;quot;make xxx&amp;quot;, where xxx is your platform name. (The platforms currently supported are: aix ansi bsd freebsd generic linux macosx mingw posix solaris)&lt;br /&gt;
&lt;br /&gt;
Eventhough we are using linux, lets use posix to make lua.. otherwise the dynamic linker (ld) fails during make of the emulator.&lt;br /&gt;
&lt;br /&gt;
 make posix&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
and finally the main event!&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called eq2emulator.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://eq2emulator.svn.sourceforge.net/svnroot/eq2emulator eq2emulator&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd eq2emulator/Source/World/&lt;br /&gt;
&lt;br /&gt;
Open the makefile and change -llua5.1 to -llua&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called eq2world.&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 /eq2emulator/Source/World/eq2world&lt;br /&gt;
 /eq2emulator/Config Files/EQ2_Structs.xml&lt;br /&gt;
 /eq2emulator/Config Files/LoginServer.ini&lt;br /&gt;
 /eq2emulator/Config Files/world_db.ini&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/WorldStructs.xml&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/charactersheet_struct.txt&lt;br /&gt;
 /eq2emulator/Config Files/Common\ Structs/CommonStructs.xml&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First open LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server.&lt;br /&gt;
&lt;br /&gt;
Make sure this User / Database exists, and that the user has full permissions on every table.&lt;br /&gt;
&lt;br /&gt;
 GRANT ALL ON dbname.* TO user IDENTIFIED BY 'password'&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation, and pre-req setup process without error, the following will start your world server.&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
To stop your world the following will need to be typed&lt;br /&gt;
&lt;br /&gt;
 'Ctrl-C'&lt;br /&gt;
 killall -9 eq2world*&lt;br /&gt;
&lt;br /&gt;
== Security ==&lt;br /&gt;
&lt;br /&gt;
Now is when we want to create a different user for the eq2world server to run as. &lt;br /&gt;
It is very wise to run as few services as root as possible.&lt;br /&gt;
&lt;br /&gt;
 useradd name -G group -d /path/to/emulator&lt;br /&gt;
 cd ..&lt;br /&gt;
 chown -R name:group eq2server/&lt;br /&gt;
&lt;br /&gt;
Make sure to also open/forward ports 9000, 9100, 9101, and 9102 in your firewall/router.&lt;br /&gt;
&lt;br /&gt;
If anyone has any questions, or if I forgot something;&lt;br /&gt;
Feel free to PM me on the forum.&lt;br /&gt;
&lt;br /&gt;
Thanks! :)&lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Hippsta ====&lt;/div&gt;</summary>
		<author><name>Hippsta</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=299</id>
		<title>Admins:Linux Server:CentOS</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=299"/>
		<updated>2008-05-01T05:24:50Z</updated>

		<summary type="html">&lt;p&gt;Hippsta: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on CentOS Linux.&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to install the dependencies, download the latest version of the source code from the repository, compile it and start a server.&lt;br /&gt;
As CentOS is based on the RHEL kernel, this tutorial is likely valid for most redhat-based distros.&lt;br /&gt;
&lt;br /&gt;
== CentOS / Fedora / RedHat ==&lt;br /&gt;
&lt;br /&gt;
Before you even touch the emulator you must install/update the following packages, as well as their required dependencies from the repositories. (I'm assuming you are logged in as root, if not use sudo or su - )&lt;br /&gt;
But first we're going to enable the atomic turtle repo.&lt;br /&gt;
&lt;br /&gt;
 wget http://www.atomicrocketturtle.com/RPM-GPG-KEY.art.txt&lt;br /&gt;
 rpm --import RPM-GPG-KEY.art.txt&lt;br /&gt;
 wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
 yum install mysql-* mysqlclient14* binutils subversion glibc* zlib gcc*&lt;br /&gt;
&lt;br /&gt;
== Lua 5.1.3 ==&lt;br /&gt;
Once those are done, you must now download and compile Lua 5.1.3:&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 wget http://www.lua.org/ftp/lua-5.1.3.tar.gz&lt;br /&gt;
 tar xvzf lua-5.1.3.tar.gz&lt;br /&gt;
 cd lua-5.1.3&lt;br /&gt;
&lt;br /&gt;
Building Lua on Unix systems should be very easy. First do &amp;quot;make&amp;quot; and see if your platform is listed. If so, just do &amp;quot;make xxx&amp;quot;, where xxx is your platform name. The platforms currently supported are: aix ansi bsd freebsd generic linux macosx mingw posix solaris&lt;br /&gt;
Eventhough we are using linux, lets use posix to make lua.. otherwise the dynamic linker (ld) fails during make of the emulator.&lt;br /&gt;
&lt;br /&gt;
 make posix&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
and finally the main event!&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called eq2emulator.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://eq2emulator.svn.sourceforge.net/svnroot/eq2emulator eq2emulator&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd eq2emulator/Source/World/&lt;br /&gt;
&lt;br /&gt;
Open the makefile and change -llua5.1 to -llua&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called eq2world.&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 /eq2emulator/Source/World/eq2world&lt;br /&gt;
 /eq2emulator/Config Files/EQ2_Structs.xml&lt;br /&gt;
 /eq2emulator/Config Files/LoginServer.ini&lt;br /&gt;
 /eq2emulator/Config Files/world_db.ini&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/WorldStructs.xml&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/charactersheet_struct.txt&lt;br /&gt;
 /eq2emulator/Config Files/Common\ Structs/CommonStructs.xml&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First open LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server.&lt;br /&gt;
&lt;br /&gt;
Make sure this User / Database exists, and that the user has full permissions on every table.&lt;br /&gt;
&lt;br /&gt;
 GRANT ALL ON dbname.* TO user IDENTIFIED BY 'password'&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation, and pre-req setup process without error, the following will start your world server.&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
To stop your world the following will need to be typed&lt;br /&gt;
&lt;br /&gt;
 'Ctrl-C'&lt;br /&gt;
 killall -9 eq2world*&lt;br /&gt;
&lt;br /&gt;
== Security ==&lt;br /&gt;
&lt;br /&gt;
Now is when we want to create a different user for the eq2world server to run as. &lt;br /&gt;
It is very wise to run as few services as root as possible.&lt;br /&gt;
&lt;br /&gt;
 useradd name -G group -d /path/to/emulator&lt;br /&gt;
 cd ..&lt;br /&gt;
 chown -R name:group eq2server/&lt;br /&gt;
&lt;br /&gt;
Make sure to also open/forward ports 9000, 9100, 9101, and 9102 in your firewall/router.&lt;br /&gt;
&lt;br /&gt;
If anyone has any questions, or if I forgot something;&lt;br /&gt;
Feel free to PM me on the forum.&lt;br /&gt;
&lt;br /&gt;
Thanks! :)&lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Hippsta ====&lt;/div&gt;</summary>
		<author><name>Hippsta</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=298</id>
		<title>Admins:Linux Server:CentOS</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=298"/>
		<updated>2008-05-01T05:21:17Z</updated>

		<summary type="html">&lt;p&gt;Hippsta: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on CentOS Linux.&lt;br /&gt;
&lt;br /&gt;
As CentOS is based on the RHEL kernel, this tutorial is likely valid for most redhat-based distros.&lt;br /&gt;
(CentOS, Fedora, RHEL3+)&lt;br /&gt;
In this tutorial we are going to install the dependencies, download the latest version of the source code from the repository, compile it and start a server.&lt;br /&gt;
&lt;br /&gt;
== CentOS / Fedora / RedHat ==&lt;br /&gt;
&lt;br /&gt;
Before you even touch the emulator you must install/update the following packages, as well as their required dependencies from the repositories. (I'm assuming you are logged in as root, if not use sudo or su - )&lt;br /&gt;
But first we're going to enable the atomic turtle repo.&lt;br /&gt;
&lt;br /&gt;
 wget http://www.atomicrocketturtle.com/RPM-GPG-KEY.art.txt&lt;br /&gt;
 rpm --import RPM-GPG-KEY.art.txt&lt;br /&gt;
 wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
 yum install mysql-* mysqlclient14* binutils subversion glibc* zlib gcc*&lt;br /&gt;
&lt;br /&gt;
== Lua 5.1.3 ==&lt;br /&gt;
Once those are done, you must now download and compile Lua 5.1.3:&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 wget http://www.lua.org/ftp/lua-5.1.3.tar.gz&lt;br /&gt;
 tar xvzf lua-5.1.3.tar.gz&lt;br /&gt;
 cd lua-5.1.3&lt;br /&gt;
&lt;br /&gt;
Building Lua on Unix systems should be very easy. First do &amp;quot;make&amp;quot; and see if your platform is listed. If so, just do &amp;quot;make xxx&amp;quot;, where xxx is your platform name. The platforms currently supported are: aix ansi bsd freebsd generic linux macosx mingw posix solaris&lt;br /&gt;
Eventhough we are using linux, lets use posix to make lua.. otherwise the dynamic linker (ld) fails during make of the emulator.&lt;br /&gt;
&lt;br /&gt;
 make posix&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
and finally the main event!&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called eq2emulator.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://eq2emulator.svn.sourceforge.net/svnroot/eq2emulator eq2emulator&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd eq2emulator/Source/World/&lt;br /&gt;
&lt;br /&gt;
Open the makefile and change -llua5.1 to -llua&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called eq2world.&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 /eq2emulator/Source/World/eq2world&lt;br /&gt;
 /eq2emulator/Config Files/EQ2_Structs.xml&lt;br /&gt;
 /eq2emulator/Config Files/LoginServer.ini&lt;br /&gt;
 /eq2emulator/Config Files/world_db.ini&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/WorldStructs.xml&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/charactersheet_struct.txt&lt;br /&gt;
 /eq2emulator/Config Files/Common\ Structs/CommonStructs.xml&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First open LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server.&lt;br /&gt;
&lt;br /&gt;
Make sure this User / Database exists, and that the user has full permissions on every table.&lt;br /&gt;
&lt;br /&gt;
 GRANT ALL ON dbname.* TO user IDENTIFIED BY 'password'&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation, and pre-req setup process without error, the following will start your world server.&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
To stop your world the following will need to be typed&lt;br /&gt;
&lt;br /&gt;
 'Ctrl-C'&lt;br /&gt;
 killall -9 eq2world*&lt;br /&gt;
&lt;br /&gt;
== Security ==&lt;br /&gt;
&lt;br /&gt;
Now is when we want to create a different user for the eq2world server to run as. &lt;br /&gt;
It is very wise to run as few services as root as possible.&lt;br /&gt;
&lt;br /&gt;
 useradd name -G group -d /path/to/emulator&lt;br /&gt;
 cd ..&lt;br /&gt;
 chown -R name:group eq2server/&lt;br /&gt;
&lt;br /&gt;
Make sure to also open/forward ports 9000, 9100, 9101, and 9102 in your firewall/router.&lt;br /&gt;
&lt;br /&gt;
If anyone has any questions, or if I forgot something;&lt;br /&gt;
Feel free to PM me on the forum.&lt;br /&gt;
&lt;br /&gt;
Thanks! :)&lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Hippsta ====&lt;/div&gt;</summary>
		<author><name>Hippsta</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=297</id>
		<title>Admins:Linux Server:CentOS</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=297"/>
		<updated>2008-05-01T05:20:11Z</updated>

		<summary type="html">&lt;p&gt;Hippsta: /* Lua 5.1.3 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on CentOS Linux.&lt;br /&gt;
&lt;br /&gt;
As CentOS is based on the RHEL kernel, this tutorial is likely valid for most redhat-based distros.&lt;br /&gt;
(CentOS, Fedora, RHEL3+)&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to install the dependencies, download the latest version of the source code from the repository, compile it and start a server.&lt;br /&gt;
&lt;br /&gt;
== CentOS / Fedora / RedHat ==&lt;br /&gt;
&lt;br /&gt;
Before you even touch the emulator you must install/update the following packages, as well as their required dependencies from the repositories. (I'm assuming you are logged in as root, if not use sudo or su - )&lt;br /&gt;
But first we're going to enable the atomic turtle repo.&lt;br /&gt;
&lt;br /&gt;
 wget http://www.atomicrocketturtle.com/RPM-GPG-KEY.art.txt&lt;br /&gt;
 rpm --import RPM-GPG-KEY.art.txt&lt;br /&gt;
 wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
 yum install mysql-* mysqlclient14* binutils subversion glibc* zlib gcc*&lt;br /&gt;
&lt;br /&gt;
== Lua 5.1.3 ==&lt;br /&gt;
Once those are done, you must now download and compile Lua 5.1.3:&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 wget http://www.lua.org/ftp/lua-5.1.3.tar.gz&lt;br /&gt;
 tar xvzf lua-5.1.3.tar.gz&lt;br /&gt;
 cd lua-5.1.3&lt;br /&gt;
&lt;br /&gt;
Building Lua on Unix systems should be very easy. First do &amp;quot;make&amp;quot; and see if your platform is listed. If so, just do &amp;quot;make xxx&amp;quot;, where xxx is your platform name. The platforms currently supported are: aix ansi bsd freebsd generic linux macosx mingw posix solaris&lt;br /&gt;
Eventhough we are using linux, lets use posix to make lua.. otherwise the dynamic linker (ld) fails during make of the emulator.&lt;br /&gt;
&lt;br /&gt;
 make posix&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
and finally the main event!&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called eq2emulator.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://eq2emulator.svn.sourceforge.net/svnroot/eq2emulator eq2emulator&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd eq2emulator/Source/World/&lt;br /&gt;
&lt;br /&gt;
Open the makefile and change -llua5.1 to -llua&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called eq2world.&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 /eq2emulator/Source/World/eq2world&lt;br /&gt;
 /eq2emulator/Config Files/EQ2_Structs.xml&lt;br /&gt;
 /eq2emulator/Config Files/LoginServer.ini&lt;br /&gt;
 /eq2emulator/Config Files/world_db.ini&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/WorldStructs.xml&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/charactersheet_struct.txt&lt;br /&gt;
 /eq2emulator/Config Files/Common\ Structs/CommonStructs.xml&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First open LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server.&lt;br /&gt;
&lt;br /&gt;
Make sure this User / Database exists, and that the user has full permissions on every table.&lt;br /&gt;
&lt;br /&gt;
 GRANT ALL ON dbname.* TO user IDENTIFIED BY 'password'&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation, and pre-req setup process without error, the following will start your world server.&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
To stop your world the following will need to be typed&lt;br /&gt;
&lt;br /&gt;
 'Ctrl-C'&lt;br /&gt;
 killall -9 eq2world*&lt;br /&gt;
&lt;br /&gt;
== Security ==&lt;br /&gt;
&lt;br /&gt;
Now is when we want to create a different user for the eq2world server to run as. &lt;br /&gt;
It is very wise to run as few services as root as possible.&lt;br /&gt;
&lt;br /&gt;
 useradd name -G group -d /path/to/emulator&lt;br /&gt;
 cd ..&lt;br /&gt;
 chown -R name:group eq2server/&lt;br /&gt;
&lt;br /&gt;
Make sure to also open/forward ports 9000, 9100, 9101, and 9102 in your firewall/router.&lt;br /&gt;
&lt;br /&gt;
If anyone has any questions, or if I forgot something;&lt;br /&gt;
Feel free to PM me on the forum.&lt;br /&gt;
&lt;br /&gt;
Thanks! :)&lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Hippsta ====&lt;/div&gt;</summary>
		<author><name>Hippsta</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=296</id>
		<title>Admins:Linux Server:CentOS</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=296"/>
		<updated>2008-05-01T05:18:20Z</updated>

		<summary type="html">&lt;p&gt;Hippsta: /* CentOS / Fedora / RedHat */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on CentOS Linux.&lt;br /&gt;
&lt;br /&gt;
As CentOS is based on the RHEL kernel, this tutorial is likely valid for most redhat-based distros.&lt;br /&gt;
(CentOS, Fedora, RHEL3+)&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to install the dependencies, download the latest version of the source code from the repository, compile it and start a server.&lt;br /&gt;
&lt;br /&gt;
== CentOS / Fedora / RedHat ==&lt;br /&gt;
&lt;br /&gt;
Before you even touch the emulator you must install/update the following packages, as well as their required dependencies from the repositories. (I'm assuming you are logged in as root, if not use sudo or su - )&lt;br /&gt;
But first we're going to enable the atomic turtle repo.&lt;br /&gt;
&lt;br /&gt;
 wget http://www.atomicrocketturtle.com/RPM-GPG-KEY.art.txt&lt;br /&gt;
 rpm --import RPM-GPG-KEY.art.txt&lt;br /&gt;
 wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
 yum install mysql-* mysqlclient14* binutils subversion glibc* zlib gcc*&lt;br /&gt;
&lt;br /&gt;
== Lua 5.1.3 ==&lt;br /&gt;
Once those are done, you must now download and compile Lua 5.1.3:&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 wget http://www.lua.org/ftp/lua-5.1.3.tar.gz&lt;br /&gt;
 tar xvzf lua-5.1.3.tar.gz&lt;br /&gt;
 cd lua-5.1.3&lt;br /&gt;
&lt;br /&gt;
Building Lua on Unix systems should be very easy. First do &amp;quot;make&amp;quot; and see if your platform is listed. If so, just do &amp;quot;make xxx&amp;quot;, where xxx is your platform name. The platforms currently supported are:&lt;br /&gt;
    aix ansi bsd freebsd generic linux macosx mingw posix solaris&lt;br /&gt;
Eventhough we are using linux, lets use posix to make lua.. otherwise the dynamic linker (ld) fails during make of the emulator.&lt;br /&gt;
&lt;br /&gt;
 make posix&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
and finally the main event!&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called eq2emulator.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://eq2emulator.svn.sourceforge.net/svnroot/eq2emulator eq2emulator&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd eq2emulator/Source/World/&lt;br /&gt;
&lt;br /&gt;
Open the makefile and change -llua5.1 to -llua&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called eq2world.&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 /eq2emulator/Source/World/eq2world&lt;br /&gt;
 /eq2emulator/Config Files/EQ2_Structs.xml&lt;br /&gt;
 /eq2emulator/Config Files/LoginServer.ini&lt;br /&gt;
 /eq2emulator/Config Files/world_db.ini&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/WorldStructs.xml&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/charactersheet_struct.txt&lt;br /&gt;
 /eq2emulator/Config Files/Common\ Structs/CommonStructs.xml&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First open LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server.&lt;br /&gt;
&lt;br /&gt;
Make sure this User / Database exists, and that the user has full permissions on every table.&lt;br /&gt;
&lt;br /&gt;
 GRANT ALL ON dbname.* TO user IDENTIFIED BY 'password'&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation, and pre-req setup process without error, the following will start your world server.&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
To stop your world the following will need to be typed&lt;br /&gt;
&lt;br /&gt;
 'Ctrl-C'&lt;br /&gt;
 killall -9 eq2world*&lt;br /&gt;
&lt;br /&gt;
== Security ==&lt;br /&gt;
&lt;br /&gt;
Now is when we want to create a different user for the eq2world server to run as. &lt;br /&gt;
It is very wise to run as few services as root as possible.&lt;br /&gt;
&lt;br /&gt;
 useradd name -G group -d /path/to/emulator&lt;br /&gt;
 cd ..&lt;br /&gt;
 chown -R name:group eq2server/&lt;br /&gt;
&lt;br /&gt;
Make sure to also open/forward ports 9000, 9100, 9101, and 9102 in your firewall/router.&lt;br /&gt;
&lt;br /&gt;
If anyone has any questions, or if I forgot something;&lt;br /&gt;
Feel free to PM me on the forum.&lt;br /&gt;
&lt;br /&gt;
Thanks! :)&lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Hippsta ====&lt;/div&gt;</summary>
		<author><name>Hippsta</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=295</id>
		<title>Admins:Linux Server:CentOS</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=295"/>
		<updated>2008-05-01T05:14:50Z</updated>

		<summary type="html">&lt;p&gt;Hippsta: /* Security */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on CentOS Linux.&lt;br /&gt;
&lt;br /&gt;
As CentOS is based on the RHEL kernel, this tutorial is likely valid for most redhat-based distros.&lt;br /&gt;
(CentOS, Fedora, RHEL3+)&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to install the dependencies, download the latest version of the source code from the repository, compile it and start a server.&lt;br /&gt;
&lt;br /&gt;
== CentOS / Fedora / RedHat ==&lt;br /&gt;
&lt;br /&gt;
Before we even touch the emulator you must install/update the following packages, as well as their required dependencies needed from the repositories. (I'm assuming you are logged in as root, if not use sudo or su - )&lt;br /&gt;
But first we're going to enable the atomic turtle repo.&lt;br /&gt;
&lt;br /&gt;
 wget http://www.atomicrocketturtle.com/RPM-GPG-KEY.art.txt&lt;br /&gt;
 rpm --import RPM-GPG-KEY.art.txt&lt;br /&gt;
 wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
 yum install mysql-* mysqlclient14* binutils subversion glibc* zlib gcc*&lt;br /&gt;
&lt;br /&gt;
== Lua 5.1.3 ==&lt;br /&gt;
Once those are done, you must now download and compile Lua 5.1.3:&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 wget http://www.lua.org/ftp/lua-5.1.3.tar.gz&lt;br /&gt;
 tar xvzf lua-5.1.3.tar.gz&lt;br /&gt;
 cd lua-5.1.3&lt;br /&gt;
&lt;br /&gt;
Building Lua on Unix systems should be very easy. First do &amp;quot;make&amp;quot; and see if your platform is listed. If so, just do &amp;quot;make xxx&amp;quot;, where xxx is your platform name. The platforms currently supported are:&lt;br /&gt;
    aix ansi bsd freebsd generic linux macosx mingw posix solaris&lt;br /&gt;
Eventhough we are using linux, lets use posix to make lua.. otherwise the dynamic linker (ld) fails during make of the emulator.&lt;br /&gt;
&lt;br /&gt;
 make posix&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
and finally the main event!&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called eq2emulator.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://eq2emulator.svn.sourceforge.net/svnroot/eq2emulator eq2emulator&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd eq2emulator/Source/World/&lt;br /&gt;
&lt;br /&gt;
Open the makefile and change -llua5.1 to -llua&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called eq2world.&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 /eq2emulator/Source/World/eq2world&lt;br /&gt;
 /eq2emulator/Config Files/EQ2_Structs.xml&lt;br /&gt;
 /eq2emulator/Config Files/LoginServer.ini&lt;br /&gt;
 /eq2emulator/Config Files/world_db.ini&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/WorldStructs.xml&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/charactersheet_struct.txt&lt;br /&gt;
 /eq2emulator/Config Files/Common\ Structs/CommonStructs.xml&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First open LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server.&lt;br /&gt;
&lt;br /&gt;
Make sure this User / Database exists, and that the user has full permissions on every table.&lt;br /&gt;
&lt;br /&gt;
 GRANT ALL ON dbname.* TO user IDENTIFIED BY 'password'&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation, and pre-req setup process without error, the following will start your world server.&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
To stop your world the following will need to be typed&lt;br /&gt;
&lt;br /&gt;
 'Ctrl-C'&lt;br /&gt;
 killall -9 eq2world*&lt;br /&gt;
&lt;br /&gt;
== Security ==&lt;br /&gt;
&lt;br /&gt;
Now is when we want to create a different user for the eq2world server to run as. &lt;br /&gt;
It is very wise to run as few services as root as possible.&lt;br /&gt;
&lt;br /&gt;
 useradd name -G group -d /path/to/emulator&lt;br /&gt;
 cd ..&lt;br /&gt;
 chown -R name:group eq2server/&lt;br /&gt;
&lt;br /&gt;
Make sure to also open/forward ports 9000, 9100, 9101, and 9102 in your firewall/router.&lt;br /&gt;
&lt;br /&gt;
If anyone has any questions, or if I forgot something;&lt;br /&gt;
Feel free to PM me on the forum.&lt;br /&gt;
&lt;br /&gt;
Thanks! :)&lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Hippsta ====&lt;/div&gt;</summary>
		<author><name>Hippsta</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=294</id>
		<title>Admins:Linux Server:CentOS</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server:CentOS&amp;diff=294"/>
		<updated>2008-05-01T05:12:06Z</updated>

		<summary type="html">&lt;p&gt;Hippsta: CentOS, Fedora, RedHat Tutorial&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
This page details how to Install the Emulator on CentOS Linux.&lt;br /&gt;
&lt;br /&gt;
As CentOS is based on the RHEL kernel, this tutorial is likely valid for most redhat-based distros.&lt;br /&gt;
(CentOS, Fedora, RHEL3+)&lt;br /&gt;
&lt;br /&gt;
In this tutorial we are going to install the dependencies, download the latest version of the source code from the repository, compile it and start a server.&lt;br /&gt;
&lt;br /&gt;
== CentOS / Fedora / RedHat ==&lt;br /&gt;
&lt;br /&gt;
Before we even touch the emulator you must install/update the following packages, as well as their required dependencies needed from the repositories. (I'm assuming you are logged in as root, if not use sudo or su - )&lt;br /&gt;
But first we're going to enable the atomic turtle repo.&lt;br /&gt;
&lt;br /&gt;
 wget http://www.atomicrocketturtle.com/RPM-GPG-KEY.art.txt&lt;br /&gt;
 rpm --import RPM-GPG-KEY.art.txt&lt;br /&gt;
 wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&lt;br /&gt;
 yum install mysql-* mysqlclient14* binutils subversion glibc* zlib gcc*&lt;br /&gt;
&lt;br /&gt;
== Lua 5.1.3 ==&lt;br /&gt;
Once those are done, you must now download and compile Lua 5.1.3:&lt;br /&gt;
&lt;br /&gt;
 cd /etc&lt;br /&gt;
 wget http://www.lua.org/ftp/lua-5.1.3.tar.gz&lt;br /&gt;
 tar xvzf lua-5.1.3.tar.gz&lt;br /&gt;
 cd lua-5.1.3&lt;br /&gt;
&lt;br /&gt;
Building Lua on Unix systems should be very easy. First do &amp;quot;make&amp;quot; and see if your platform is listed. If so, just do &amp;quot;make xxx&amp;quot;, where xxx is your platform name. The platforms currently supported are:&lt;br /&gt;
    aix ansi bsd freebsd generic linux macosx mingw posix solaris&lt;br /&gt;
Eventhough we are using linux, lets use posix to make lua.. otherwise the dynamic linker (ld) fails during make of the emulator.&lt;br /&gt;
&lt;br /&gt;
 make posix&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
and finally the main event!&lt;br /&gt;
&lt;br /&gt;
== Download the source ==&lt;br /&gt;
&lt;br /&gt;
To compile and run the server you must install download the source code. For this example we are going to run our server in a folder called eq2server and download the code into a folder called eq2emulator.&lt;br /&gt;
&lt;br /&gt;
 mkdir eq2server&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 svn co https://eq2emulator.svn.sourceforge.net/svnroot/eq2emulator eq2emulator&lt;br /&gt;
&lt;br /&gt;
== Compile it ==&lt;br /&gt;
&lt;br /&gt;
Now we have downloaded the source we need to compile it. If you are compiling the source on a 64 bit OS then you will need to change the makefile located in the Source/World folder.&lt;br /&gt;
&lt;br /&gt;
 cd eq2emulator/Source/World/&lt;br /&gt;
&lt;br /&gt;
Open the makefile and change -llua5.1 to -llua&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
This should compile the source code and you will be left with a program called eq2world.&lt;br /&gt;
&lt;br /&gt;
== Setting it up ==&lt;br /&gt;
&lt;br /&gt;
Now you have built the program you need to put all the pieces together. Copy the following files into the eq2server folder.&lt;br /&gt;
&lt;br /&gt;
 /eq2emulator/Source/World/eq2world&lt;br /&gt;
 /eq2emulator/Config Files/EQ2_Structs.xml&lt;br /&gt;
 /eq2emulator/Config Files/LoginServer.ini&lt;br /&gt;
 /eq2emulator/Config Files/world_db.ini&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/WorldStructs.xml&lt;br /&gt;
 /eq2emulator/Config Files/World\ Structs/charactersheet_struct.txt&lt;br /&gt;
 /eq2emulator/Config Files/Common\ Structs/CommonStructs.xml&lt;br /&gt;
&lt;br /&gt;
Once you have done that you will now have to edit a few files. First open LoginServer.ini&lt;br /&gt;
&lt;br /&gt;
 worldname=WORLD_NAME_HERE&lt;br /&gt;
 worldaddress=EXTERNAL_IP_HERE&lt;br /&gt;
 #internalworldaddress=INTERNAL_IP_HERE (If used, otherwise blank)&lt;br /&gt;
&lt;br /&gt;
* worldname should be the name you registered your server as on eq2emulator.net. &lt;br /&gt;
* worldaddress should be your IP address as seen by other people. If you do not know your IP address you can get it from [http://www.whatismyip.com/ whatismyip.com]&lt;br /&gt;
* internalworldaddress is your internal IP address in cases where you are behind a router you may have a different IP address as seen from the outside.&lt;br /&gt;
&lt;br /&gt;
After that you must then edit world_db.ini which holds your database information.&lt;br /&gt;
&lt;br /&gt;
 host=ip address&lt;br /&gt;
 user=username&lt;br /&gt;
 password=password&lt;br /&gt;
 database=eq2&lt;br /&gt;
&lt;br /&gt;
* host refers to your MySQL IP address. If your MySQL database is on the same computer that is running that server then put &amp;quot;localhost&amp;quot; (without quotes)&lt;br /&gt;
* user is your MySQL username that you want the login server to connect to your database with&lt;br /&gt;
* password is your MySQL password&lt;br /&gt;
* database is the name of the database on your MySQL server.&lt;br /&gt;
&lt;br /&gt;
Make sure this User / Database exists, and that the user has full permissions on every table.&lt;br /&gt;
&lt;br /&gt;
 GRANT ALL ON dbname.* TO user IDENTIFIED BY 'password'&lt;br /&gt;
&lt;br /&gt;
== Starting Your World ==&lt;br /&gt;
&lt;br /&gt;
After you have completed the entire compilation, and pre-req setup process without error, the following will start your world server.&lt;br /&gt;
&lt;br /&gt;
 cd eq2server&lt;br /&gt;
 ./eq2world&lt;br /&gt;
&lt;br /&gt;
To stop your world the following will need to be typed&lt;br /&gt;
&lt;br /&gt;
 'Ctrl-C'&lt;br /&gt;
 killall -9 eq2world*&lt;br /&gt;
&lt;br /&gt;
== Security ==&lt;br /&gt;
&lt;br /&gt;
Now is when we want to create a different user for the eq2world server to run as. &lt;br /&gt;
It is very wise to run as few services as root as possible.&lt;br /&gt;
&lt;br /&gt;
Useradd name -G group -d /path/to/emulator&lt;br /&gt;
cd ..&lt;br /&gt;
chown -R name:group eq2server/&lt;br /&gt;
&lt;br /&gt;
Make sure to also open/forward ports 9000, 9100, 9101, and 9102 in your firewall/router.&lt;br /&gt;
&lt;br /&gt;
If anyone has any questions, or if I forgot something;&lt;br /&gt;
Feel free to PM me on the forum.&lt;br /&gt;
&lt;br /&gt;
Thanks! :)&lt;br /&gt;
&lt;br /&gt;
==== Guide Written By: Hippsta ====&lt;/div&gt;</summary>
		<author><name>Hippsta</name></author>
		
	</entry>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server&amp;diff=293</id>
		<title>Admins:Linux Server</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=Admins:Linux_Server&amp;diff=293"/>
		<updated>2008-05-01T04:20:29Z</updated>

		<summary type="html">&lt;p&gt;Hippsta: /* Linux Distribution List */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Linux Distribution List===&lt;br /&gt;
[[Admins:Linux Server:ArchLinux|ArchLinux]]&lt;br /&gt;
[[Admins:Linux Server:Gentoo|Gentoo]]&lt;br /&gt;
[[Admins:Linux Server:Ubuntu|Ubuntu]]&lt;br /&gt;
[[Admins:Linux Server:CentOS|CentOS]]&lt;/div&gt;</summary>
		<author><name>Hippsta</name></author>
		
	</entry>
</feed>