Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-18-2021, 06:29 AM
Hurb
Fire Beetle
 
Join Date: Nov 2021
Location: Seattle WA
Posts: 27
Arrow GUIDE: EQEmu Public Server - Amazon EC2 t2.2xlarge 32gb 8 CPU Server - Client Win 10

Thank you EQEmu for the Server installation guides here:
https://docs.eqemu.io/server/categor...allation-linux

and to ALL the amazing people working so hard to make this project continue! The forums answered ALL my questions .. so, now I will have more!~

I tried the amazing Akkadius akk-stack but it was too complicated for me at this point... soon i will know to use those tools... I would recommend looking into all his stuff
https://github.com/Akkadius/akk-stack
https://github.com/Akkadius/Occulus

I used telnet / unix in elementary school... and haven't used a command line for a good while since... mySQL/mariaDB also fairly new.. so this was not easy for me, but now, will be easier for you!


Me logged in on client and SSH on HurbQuest PUBLIC server
http://www.eqemulator.org/index.php?...o&worldid=3264


With Amazon Web Services, ANYONE can REMOTELY set up a PUBLIC SERVER to play with EQ Titanium Client!

...protected inside the Amazon Virtual Private Cloud... I just wanted to see if this was possible!

you NEED a PHONE/Email/CREDIT CARD to sign up :( so .. sorry.. not totally free .. but faster than building a server!

... To play you need a client PC!~

**I use a WINDOWS 10 PRO PC with Titanium install***

To COMPILE the data, use a larger instance than the free tier 1gb RAM...

I will see how hosting on the Free Tier t2 will work... after I learn more about a running server.. i used to play as a Guide (Daedul the Diligent on Saryrn server ~2000) so I'd love to put on events again...

** THIS IS AN INITAL LAUNCH -- PUBLIC SERVER is available but NOT TESTED and I WILL BREAK IT

Amazon Web Service has Image back-up for this launch so I can reset.. doing it on the fly with install.sh took about 2 hours including setting up the EC2 instance with cmake... so no back up really needed.


-----------
Running a client in Windows 10 Pro required changing compatibility to XP Service Pack 2 and Run as Administrator.

Client eqgame.exe -> launched via .bat file with patchme

eqhost.txt was edited for eqemulator login (I have NOT tried to run a public login server... i use eqemulator.net! .. but soon we could TRY to make alternate logins "just in case")

I have NOT set up mysql for remote connections.

Open your amazon web service ports... i haven't needed to use "ufw allow" or any iptable/nftable access, yet..


FOLLOW ALL INSTRUCTIONS to set up your WORLD SERVER here on the EQEmulator page http://www.eqemulator.org/index.php?pageid=ws_mgmt

Debian 10 SSH login default is "admin"

I use PuTTY for my command line interface console for Windows https://www.putty.org/

sudo apt update/upgrade, and then apt install cmake to be able to compile.

when you run install.sh, the mysql root password can be nothing, because the system has <password> as the default... I just hit enter and the made my DB name/user/pw, but during the install i had to enter the root pw .. hitting enter did NOT work, but typing password did!



if you set up remote login, you can use the online PEQ editor
http://eoc.akkadius.com/EOC2/

if you set up apache2 web server, you could host your own mypHp / Occulus admin stuff.
https://eqemu.gitbook.io/server/cate...atabase-editor

sudo bash server_start_with_login.sh

sudo bash server_status.sh

Open your ports in your AWS security groups you set up to obtain your RSA key for PuTTy login

---

Here is my set up which I am connected to ABOVE on my PC client:

https://docs.eqemu.io/server/categor...r-eqemu_config

I leave legacy set to 1 instead of deleting that line, but i delete loginserver2 etc

use 127.0.0.1 for localhost

use YOUR external public ip, and world server account login/pw for EQEmu!

eqemu_login.json


login.json
Reply With Quote
  #2  
Old 11-18-2021, 08:11 PM
Hurb
Fire Beetle
 
Join Date: Nov 2021
Location: Seattle WA
Posts: 27
Default

the t2.2xlarge 8 CPU 32GB RAM runs very well but they are saying the t3 instances are better AND cheaper ..

... and you CAN change your AWS EC2 instance to a difference tier, THAT is easy..

so lets try a t3.small and see how that goes!~ then work thru the next tiers

the Elastic File Storage .. definitely keep that to 30GB free tier, you can EXPAND any time... that cost me more money than the CPU..but like $60~


Quote:
Instance type | vCPUs Architecture | Memory (GiB) Network performance On-Demand Linux pricing On-Demand Windows pricing

t2.nano 1 i386, x86_64 0.5 - - Low to Moderate 0.0058 USD per Hour 0.0081 USD per Hour

t2.micro 1 i386, x86_64 1 - - Low to Moderate 0.0116 USD per Hour 0.0162 USD per Hour

t2.small 1 i386, x86_64 2 - - Low to Moderate 0.023 USD per Hour 0.032 USD per Hour

t2.medium 2 i386, x86_64 4 - - Low to Moderate 0.0464 USD per Hour 0.0644 USD per Hour

t2.large 2 x86_64 8 - - Low to Moderate 0.0928 USD per Hour 0.1208 USD per Hour

t2.xlarge 4 x86_64 16 - - Moderate 0.1856 USD per Hour 0.2266 USD per Hour

t2.2xlarge 8 x86_64 32 - - Moderate 0.3712 USD per Hour 0.4332 USD per Hour

t3.nano 2 x86_64 0.5 - - Up to 5 Gigabit 0.0052 USD per Hour 0.0098 USD per Hour

t3.micro 2 x86_64 1 - - Up to 5 Gigabit 0.0104 USD per Hour 0.0196 USD per Hour

t3.small 2 x86_64 2 - - Up to 5 Gigabit 0.0208 USD per Hour 0.0392 USD per Hour

t3.medium 2 x86_64 4 - - Up to 5 Gigabit 0.0416 USD per Hour 0.06 USD per Hour

t3.large 2 x86_64 8 - - Up to 5 Gigabit 0.0832 USD per Hour 0.1108 USD per Hour
----------

I wanted to see if the t2.micro would crash the server and it did because of MEMORY again ... no big deal lets TRY another INSTANCE and crash that too

http://www.eqemulator.org/index.php?pageid=serverinfo&
Code:
Last login: Fri Nov 19 05:24:34 2021 from x.x.x.x
admin@ip:~$ cd /.
admin@ip:/$ cd home/eqemu/server
admin@ip:/home/eqemu/server$ sudo vi eqemu_config.json
admin@ip:/home/eqemu/server$ sudo bash server_start_wit
[SharedMemory] [Info] Shared Memory Loader Program
[SharedMemory] [Info] Connecting to database
[SharedMemory] [Info] [MySQL] Connection [default] database [hurbque
[SharedMemory] [Info] Loaded [77] log categories
[SharedMemory] [Info] Loaded default rule set 'default'
[SharedMemory] [Info] Initialized dynamic dictionary entries
[SharedMemory] [Info] Current expansion is [-1] (All Expansions)
[SharedMemory] [Info] Loading items
[SharedMemory] [Info] Loading factions
[SharedMemory] [Info] Loading loot
[SharedMemory] [Info] Loading skill caps
[SharedMemory] [Info] Loading spells
[SharedMemory] [Info] Loading base data
Server started - use server_status.sh to check server status
admin@ip:/home/eqemu/server$
Akka's Linux Server Launcher
Loginserver set to run...
Zones to launch: 30
admin@ip:/home/eqemu/server$ sh: 0: Cannot fork
sh: 1: ./zone: Cannot allocate memory
sh: 1: ./zone: Cannot allocate memory
sh: 0: Cannot fork
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
cannot allocate TLS data structures for initial thread
sh: 0: Out of space
terminate called after throwing an instance of 'std::bad_alloc'
./zone: error while loading shared libraries: libgnutls.so.30: failed to map segment from shared object
  what():  std::bad_alloc
./zone: error while loading shared libraries: libmariadb.so.3: failed to map segment from shared object
./zone: error while loading shared libraries: libcrypto.so.1.1: failed to map segment from shared object
./zone: error while loading shared libraries: libsodium.so.18: failed to map segment from shared object
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
ps: error while loading shared libraries: libprocps.so.7: cannot create shared object descriptor: Cannot allocate memory
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
./world: error while loading shared libraries: libp11-kit.so.0: failed to map segment from shared object
./zone: error while loading shared libraries: libz.so.1: failed to map segment from shared object
sh: 0: Cannot fork
terminate called after throwing an instance of 'St9bad_alloc'
  what():  std::bad_alloc
terminate called after throwing an instance of 'std::bad_alloc'
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
  what():  std::bad_alloc
./zone: error while loading shared libraries: libperl.so.5.28: failed to map segment from shared object
Error in GnuTLS initialization: ASN1 parser: Element was not found.
terminate called after throwing an instance of 'terminate called after throwing an instance of 'std::bad_alloc'
std::bad_alloc'
  what():  std::bad_alloc
  what():  std::bad_alloc
Out of memory!
./zone: error while loading shared libraries: libtasn1.so.6: failed to map segment from shared object
./zone: error while loading shared libraries: libperl.so.5.28: failed to map segment from shared object
sh: 1: ./zone: Cannot allocate memory
terminate called after throwing an instance of 'terminate called after throwing an instance of 'std::bad_alloc'
std::bad_alloc'
  what():  std::bad_alloc
  what():  std::bad_alloc
sh: 1: ./zone: Cannot allocate memory
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
./zone: error while loading shared libraries: libmariadb.so.3: cannot map zero-fill pages
./zone: error while loading shared libraries: libcrypt.so.1: cannot map zero-fill pages
sh: 0: Out of space
./zone: error while loading shared libraries: libstdc++.so.6: cannot map zero-fill pages
sh: 0: Cannot fork
Error in GnuTLS initialization: ASN1 parser: Identifier was not found
sh: error while loading shared libraries: libc.so.6: failed to map segment from shared object
out of memory
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
./zone: error while loading shared libraries: libp11-kit.so.0: failed to map segment from shared object
./zone: error while loading shared libraries: libc.so.6: failed to map segment from shared object
sh: error while loading shared libraries: libc.so.6: cannot create shared object descriptor: Cannot allocate memory
PANIC: unprotected error in call to Lua API (not enough memory)
Out of memory!
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Out of memory!
Out of memory!
./queryserv: error while loading shared libraries: libcrypto.so.1.1: failed to map segment from shared object
./zone: error while loading shared libraries: libtasn1.so.6: failed to map segment from shared object
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
./zone: error while loading shared libraries: libc.so.6: failed to map segment from shared object
./zone: error while loading shared libraries: libidn2.so.0: failed to map segment from shared object
terminate called after throwing an instance of 'std::bad_alloc'
./zone: error while loading shared libraries: libuuid.so.1: failed to map segment from shared object
  what():  std::bad_alloc
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
./zone: error while loading shared libraries: libstdc++.so.6: failed to map segment from shared object
./zone: error while loading shared libraries: liblua5.1.so.0: cannot create shared object descriptor: Cannot allocate memory
out of memory
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
./zone: error while loading shared libraries: libcrypt.so.1: cannot map zero-fill pages
Out of memory!
./zone: error while loading shared libraries: libcrypto.so.1.1: failed to map segment from shared object
./zone: error while loading shared libraries: libidn2.so.0: failed to map segment from shared object
terminate called after throwing an instance of 'std::bad_alloc'
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
  what():  std::bad_alloc
sh: 0: Cannot fork
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
PANIC: unprotected error in call to Lua API (not enough memory)
ps:ps/output.c:2174: please report this bug
./zone: error while loading shared libraries: libpthread.so.0: cannot map zero-fill pages
./world: error while loading shared libraries: cannot allocate symbol search list: Cannot allocate memory
sh: 1: ./zone: Cannot allocate memory
PANIC: unprotected error in call to Lua API (not enough memory)
terminate called after throwing an instance of 'std::system_error'
  what():  Resource temporarily unavailable
./zone: error while loading shared libraries: libunistring.so.2: failed to map segment from shared object
./zone: error while loading shared libraries: libpthread.so.0: cannot map zero-fill pages
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
./world: error while loading shared libraries: libm.so.6: failed to map segment from shared object
./loginserver: error while loading shared libraries: libgmp.so.10: failed to map segment from shared object
./zone: error while loading shared libraries: libmariadb.so.3: failed to map segment from shared object
sh: 0: Cannot fork
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
./queryserv: error while loading shared libraries: libsodium.so.18: failed to map segment from shared object
./zone: error while loading shared libraries: libcrypt.so.1: cannot map zero-fill pages
Out of memory!
terminate called without an active exception
sh: 0: Cannot fork
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
./queryserv: error while loading shared libraries: libhogweed.so.4: failed to map segment from shared object
./zone: error while loading shared libraries: liblua5.1.so.0: cannot create shared object descriptor: Cannot allocate memory
./zone: error while loading shared libraries: libpthread.so.0: failed to map segment from shared object
./zone: error while loading shared libraries: libidn2.so.0: failed to map segment from shared object
Error in GnuTLS initialization: ASN1 parser: Generic parsing error.
out of memory
terminate called after throwing an instance of 'terminate called after throwing an instance of 'std::bad_alloc'
std::bad_alloc'
  what():  std::bad_alloc
  what():  std::bad_alloc
sh: 1: ./zone: Cannot allocate memory
./zone: error while loading shared libraries: libunistring.so.2: failed to map segment from shared object
PANIC: unprotected error in call to Lua API (not enough memory)
Out of memory!
terminate called after throwing an instance of 'std::bad_alloc'
terminate called after throwing an instance of 'std::bad_alloc'
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
  what():  std::bad_alloc
  what():  std::bad_alloc
./zone: error while loading shared libraries: libtasn1.so.6: failed to map segment from shared object
PANIC: unprotected error in call to Lua API (not enough memory)
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
sh: 0: Cannot fork
./zone: error while loading shared libraries: cannot allocate symbol search list: Cannot allocate memory
./zone: error while loading shared libraries: libmariadb.so.3: failed to map segment from shared object
./zone: error while loading shared libraries: libperl.so.5.28: failed to map segment from shared object
cannot allocate TLS data structures for initial thread
sh: 1: ./zone: Cannot allocate memory
PANIC: unprotected error in call to Lua API (not enough memory)
./zone: error while loading shared libraries: libffi.so.6: failed to map segment from shared object
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
./zone: error while loading shared libraries: libuuid.so.1: failed to map segment from shared object
sh: 0: Cannot fork
Error in GnuTLS initialization: ASN1 parser: Element was not found.
Error in GnuTLS initialization: ASN1 parser: Element was not found.
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
sh: 1: ./zone: Cannot allocate memory
worldid=3264
Reply With Quote
  #3  
Old 11-19-2021, 06:48 PM
Hurb
Fire Beetle
 
Join Date: Nov 2021
Location: Seattle WA
Posts: 27
Default

the t3.small seems nice ... cost like ... ~$4 to have the server up for ~day with no real load

On-Demand Linux pricing
0.0208 USD per Hour

Free-Tier eligible
false
Free Trial available
false
Bare metal
false
vCPUs
2
Architecture
x86_64
Cores
1
Valid cores
1
Threads per core
2
Valid threads per core
1,2
Sustained clock speed (GHz)
2.5
Memory (GiB)
2
Current generation
true
Instance type
t3.small
Instance family
t3
Instance size
small
Hypervisor
nitro
Auto Recovery support
true
Supported root device types
ebs
Dedicated Host support
true
On-Demand Hibernation support
true
Burstable Performance support
true

Launch time
Thu Nov 18 2021 23:39:37 GMT-0800 (Pacific Standard Time) (about 15 hours)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:26 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3