mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-05 23:42:31 +00:00
Updated Linux server setup (markdown)
parent
aea8cd00fb
commit
c56bc9d489
@ -10,45 +10,51 @@ Note: If you are using CentOS Enterprise or any other *nix package with a GCC v
|
||||
Steps
|
||||
-----
|
||||
|
||||
1. Open a terminal window.
|
||||
2. First make sure you have dependencies installed. On Ubuntu this is done with: `sudo apt-get install subversion mysql-server libmysqlclient-dev libboost-dev build-essential git liburi-escape-xs-perl`.
|
||||
3. Additional optional dependencies: `sudo apt-get install phpmyadmin`
|
||||
4. Clone the repository from github: `git clone git://github.com/EQEmu/Server.git eqemu`
|
||||
* Open a terminal window.
|
||||
* First make sure you have dependencies installed. On Ubuntu this is done with: `sudo apt-get install subversion mysql-server libmysqlclient-dev libboost-dev build-essential git liburi-escape-xs-perl`.
|
||||
* Additional optional dependencies: `sudo apt-get install phpmyadmin`
|
||||
* Clone the repository from github: `git clone git://github.com/EQEmu/Server.git eqemu`
|
||||
OR if behind a firewall/proxy `git https://://github.com/EQEmu/Server.git eqemu`
|
||||
5. `cd eqemu`
|
||||
6. If you do not have make or cmake installed already, `sudo apt-get install cmake make`
|
||||
7. `cmake -G "Unix Makefiles" -Wno-dev -i .` build types are "Debug Release RelWithDebInfo MinSizeRel"
|
||||
8. `make`
|
||||
9. If you get errors about CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found, then try `sudo apt-get install build-essential`
|
||||
10. If you get errors about Could NOT find PerlLibs (missing: PERL_LIBRARY), then try running ``cmake . -DPERL_LIBRARY=`locate -n 1 libperl.so` ``
|
||||
11. If you get errors about missing lua.h try `sudo apt-get install liblua5.1-0-dev`
|
||||
12. Go to http://peqtgc.com/releases and download the peqbeta_ and quests_ files.
|
||||
13. The peqbeta archive contains SQL data that needs to be loaded into your database.
|
||||
14. The quests archive contains a quests folder that should be copied to your eqemu directory.
|
||||
15. Inside the quest folder are two folders called `lua_modules` and `plugins`. Move these to the root of your eqemu directory.
|
||||
16. Download the maps from Google Code. From your eqemu directory: `svn checkout http://eqemumaps.googlecode.com/svn/trunk/ .`
|
||||
17. Copy the default config file to eqemu root directory: `cp utils/defaults/eqemu_config.xml.full ./eqemu_config.xml`
|
||||
18. Create a database named `eq` and load the .sql files from the peqbeta_ archive into it. Also copy the eqtime.cfg file to the eqemu root directory
|
||||
19. Create a user with privileges on `eq` and add the credentials to `eqemu_config.xml`.
|
||||
20. Copy `eqtime.cfg` from the peqbeta_ archive into the eqemu root directory.
|
||||
21. Copy `spells_us.txt` from your Everquest installation into the eqemu root directory.
|
||||
22. Create the logs directory: `mkdir logs`.
|
||||
* `cd eqemu`
|
||||
* If you do not have make or cmake installed already, `sudo apt-get install cmake make`
|
||||
* `cmake -G "Unix Makefiles" -Wno-dev -i .` build types are "Debug Release RelWithDebInfo MinSizeRel"
|
||||
* `make`
|
||||
* If you get errors about CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found, then try `sudo apt-get install build-essential`
|
||||
* If you get errors about Could NOT find PerlLibs (missing: PERL_LIBRARY), then try running ``cmake . -DPERL_LIBRARY=`locate -n 1 libperl.so` ``
|
||||
* If you get errors about missing lua.h try `sudo apt-get install liblua5.1-0-dev`
|
||||
* Go to http://peqtgc.com/releases and download the peqbeta_ and quests_ files.
|
||||
* The peqbeta archive contains SQL data that needs to be loaded into your database.
|
||||
* The quests archive contains a quests folder that should be copied to your eqemu directory.
|
||||
* Inside the quest folder are two folders called `lua_modules` and `plugins`. Move these to the root of your eqemu directory.
|
||||
* Download the maps from Google Code. From your eqemu directory: `svn checkout http://eqemumaps.googlecode.com/svn/trunk/ .`
|
||||
* Copy the default config file to eqemu root directory: `cp utils/defaults/eqemu_config.xml.full ./eqemu_config.xml`
|
||||
* Create a database named `eq` and load the .sql files from the peqbeta_ archive into it. Also copy the eqtime.cfg file to the eqemu root directory
|
||||
* Create a user with privileges on `eq` and add the credentials to `eqemu_config.xml`.
|
||||
* Copy `eqtime.cfg` from the peqbeta_ archive into the eqemu root directory.
|
||||
* Copy `spells_us.txt` from your Everquest installation into the eqemu root directory.
|
||||
* Create the logs directory: `mkdir logs`.
|
||||
Copy default log.ini to eqemu root `cp utils/defaults/log.ini ./`
|
||||
23. Create the shared memory directory: `mkdir shared`.
|
||||
24. Run `Bin/shared_memory` to populate the shared directory
|
||||
25. Run `ln -s utils/patches/patch_RoF.conf patch_RoF.conf` in the eqemu root directory
|
||||
26. Run `ln -s utils/patches/patch_SoD.conf patch_SoD.conf` in the eqemu root directory
|
||||
27. Run `ln -s utils/patches/patch_SoF.conf patch_SoF.conf` in the eqemu root directory
|
||||
28. Run `ln -s utils/patches/patch_Titanium.conf patch_Titanium.conf` in the eqemu root directory
|
||||
29. Run `ln -s utils/patches/patch_UF.conf patch_UF.conf` in the eqemu root directory
|
||||
30. Run `ln -s utils/patches/patch_RoF2.conf patch_RoF2.conf` in the eqemu root directory
|
||||
31. Run `ln -s utils/defaults/mime.types mime.types` in the eqemu root directory
|
||||
32. Run `ln -s utils/defaults/worldui.pl worldui.pl` in the eqemu root directory
|
||||
33. Run `ln -s utils/defaults/plugin.pl plugin.pl` in the eqemu root directory
|
||||
34. Run `ln -s utils/defaults/commands.pl commands.pl` in the eqemu root directory
|
||||
35. Run `ln -s utils/defaults/templates/ templates` in the eqemu root directory. This is the magic that makes the HTTP service(default port 9080) work.
|
||||
36. Run `Bin/world` and wait for it to finish initializing.
|
||||
37. Once the world server is running, open a new terminal window and run `Bin/eqlaunch zone`. If Bin/zone is not in your path, you can edit your eqemu_config.xml to include:<br />
|
||||
* Create the shared memory directory: `mkdir shared`.
|
||||
* Run `Bin/shared_memory` to populate the shared directory
|
||||
* Create symlinks to needed configs
|
||||
~~~
|
||||
ln -s utils/patches/patch_RoF.conf patch_RoF.conf
|
||||
ln -s utils/patches/patch_SoD.conf patch_SoD.conf
|
||||
ln -s utils/patches/patch_SoF.conf patch_SoF.conf
|
||||
ln -s utils/patches/patch_Titanium.conf patch_Titanium.conf
|
||||
ln -s utils/patches/patch_UF.conf patch_UF.conf
|
||||
ln -s utils/patches/patch_RoF2.conf patch_RoF2.conf
|
||||
ln -s utils/patches/opcodes.conf opcodes.conf
|
||||
ln -s utils/patches/mail_opcodes.conf mail_opcodes.conf
|
||||
ln -s utils/defaults/mime.types mime.types
|
||||
ln -s utils/defaults/worldui.pl worldui.pl
|
||||
ln -s utils/defaults/plugin.pl plugin.pl
|
||||
ln -s utils/defaults/commands.pl commands.pl
|
||||
~~~
|
||||
|
||||
* Run `ln -s utils/defaults/templates/ templates` in the eqemu root directory. This is the magic that makes the HTTP service(default port 9080) work.
|
||||
* Run `Bin/world` and wait for it to finish initializing.
|
||||
* Once the world server is running, open a new terminal window and run `Bin/eqlaunch zone`. If Bin/zone is not in your path, you can edit your eqemu_config.xml to include:<br />
|
||||
\<launcher><br />
|
||||
\<exe>Bin/zone\</exe><br />
|
||||
\</launcher><br />
|
||||
Loading…
x
Reference in New Issue
Block a user