EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Debian Wiki Updates/Tweaks (https://www.eqemulator.org/forums/showthread.php?t=38561)

hayward6 08-04-2014 10:37 AM

I was able to get through the SharedMem issue by doing a forum search. I needed to copy that file to the /usr/lib directory. It seems fine now. The only think that is happening now is the mime.types file is not in the server directory. I am going back to figure out where that file is built and see if I can locate it.

hayward6 08-04-2014 10:49 AM

ok I was able to find mime.types in the source/utils/defaults directory, so I either skipped a couple steps where this and the other file are either copied, moved, or linked, or its missing from the wiki. Thanks again, this was very easy to follow and I believe I am all setup. I will probably run through a clean build again tonight just to make sure I understand it.

hayward6 08-04-2014 11:04 AM

I went here and used this script to start and stop the server and it seems to be working great. https://gist.github.com/mackal/7994207

Shin Noir 08-04-2014 02:39 PM

sudo mv libEMuShareMem.so /usr/lib
Added this to the instructions.

Yeah, there's tons of ways to write start/stop scripts.

demonstar55 08-04-2014 04:27 PM

Quote:

Originally Posted by hayward6 (Post 232513)
I went here and used this script to start and stop the server and it seems to be working great. https://gist.github.com/mackal/7994207

I would highly recommend using that script (I think I missed a ucs or something, but I'll blame whoever posted it originally :P)

The LD_LIBRARY_PATH line will also remove the need to copy that library to the system ... which I wouldn't recommend :P

hayward6 08-04-2014 06:09 PM

Yeah that script has been great! The only thing I seem to be dealing with now is my buffs dropping when I zone. I also have a couple user accounts that have signed on but not created a character, so I suspect some small linger issue there. Right now I am just tweaking things like mysql backups and making management easier.

hayward6 08-04-2014 07:10 PM

I was able to compress the entire server image down to 1.7GB, so staging a download where someone can go retrieve there own fresh server might not be that difficult... Again, I am not sure if it's really needed though.

vsab 08-05-2014 04:03 AM

1.7gb? Surely a stripped down linux vm should take up no more than 200MB HD and 64mb RAM? /troll ;)

Shin Noir 08-05-2014 04:05 AM

Quote:

Originally Posted by vsab (Post 232534)
1.7gb? Surely a stripped down linux vm should take up no more than 200MB HD and 64mb RAM? /troll ;)

It's actually possible, but not worth the effort. XD

vsab 08-05-2014 05:28 AM

Heh yeah I used to be a Slackware then Gentoo freak, trying to get it to run on my toaster like netBSD could.

I actually fancy having a stab at running a server on Ubuntu LTS 14.04, because it's half the price of a windows VM on Azure.

Shin Noir 08-05-2014 06:36 AM

I love slack. ./configure, make, make install or bust!
emerging the world, ehh, not so much.
My debian 7 tutorial is like 99% applicable to ubuntu LTS 14.04 server.

the vm instance on tutorial ends up being about 744mb ram to run the core, LAMP stack, SSHd, and world/eqlaunch 5 zones. each zone is about 25mb, world is ~6mb if I read it correctly. A loaded zone goes up to about 45mb. I should see how much memory goes up having a single character loaded in.

Shin Noir 08-05-2014 06:51 AM

Quote:

Originally Posted by demonstar55 (Post 232521)
I would highly recommend using that script (I think I missed a ucs or something, but I'll blame whoever posted it originally :P)

The LD_LIBRARY_PATH line will also remove the need to copy that library to the system ... which I wouldn't recommend :P

Adjusted tutorial to use the script and not the /usr/lib/ hack. :P

hayward6 08-05-2014 08:42 AM

Quote:

Originally Posted by vsab (Post 232534)
1.7gb? Surely a stripped down linux vm should take up no more than 200MB HD and 64mb RAM? /troll ;)

hehe the database and map files alone make that impossible :) I am running through this setup again because I can't seem to resolve the buffs dropping at zone in. Seems I may have picked up a copy of the source when it was a little unstable...

hayward6 08-05-2014 09:02 AM

I had to add a step here... the config.php file was actually named config.pfp.dist, so I changed it to config.php and got the editor working.

22 - Set up PHPEditor
First, we need to inject the schema file for phpeditor
$ sudo mysql -u eq -p -h 127.0.0.1 eq < /var/www/phpeditor/sql/schema.sql
Go to a web browser, access 10.0.0.110/phpeditor/
It should note database is not configured.
$ sudo nano /var/www/phpeditor/config.php
change the dbhost, 127.0.0.1
dbuser change to eq
password change to password
Refresh web page, should show prompt
Log in as admin/password

hayward6 08-05-2014 09:16 AM

Another interesting issue... I have never used the phpeditor before, so I may just need to familiarize myself...

Could not create logs/sql_log_08-2014.sql! Make sure the logs directory is writeable by your webserver.

Here's another issue I will just add as an edit to save posts. I cannot get the http management portal working. I have used it for years and I know how to turn it on in eqemu_config.xml and forward port 9080... I am just going through the tutorial looking for things like this so we know its 100%


All times are GMT -4. The time now is 07:39 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.