Installation Guide: Running EQEmulator on cEntOS 6.2
Installation Guide: Running EQEmulator on cEntOS 6.2
This guide well tell you, step by step, how to install cEntOS 6.2 and get up and running with the latest EQEmulator. A few references are made to previous guides where it makes sense. I enjoyed writing and testing the guide, and hope it may help other cEntOS fans out there. Although it is possible to get everything running on 64 bit, the returns are diminishing, and as of today, there is no compelling reason to go the 64 bit route. So, for all intents and purposes, this guide is for i386 (32 bit). Requirements A server, desktop, or laptop with the following specifications and features:
Assumptions This guide assumes you have a basic understanding of how to use google.com to find answers before asking here, basic understanding of vim (aka vi) editor (or the ability to google it and learn in 2 minutes), same with puTTy, and know how to forward ports on your router. Step 1: Getting cEntOS 6.2 Download and burn cEntOS 6.2 http://mirror.centos.org/centos/6.2/isos/i386/CentOS-6.2-i386-bin-DVD1to2.torrent You will only need to burn Disk 1 Step 2: Preparing the cEntOS 6.2 installation disk Boot your server to the DVD or USB drive you burned the install disk to. Choose "Basic Server" from the install list, and don't worry about trying to setup the firewall, etc at this time. After the installation is complete, your server will reboot. Step 3: Activate your Ethernet Adapter Now you are ready to begin preparing your server. Login as root, and enable your eth0 adapter (your Ethernet adapter) by editing the ifcfg-eth0 file: Code:
vi /etc/sysconfig/networking/devices/ifcfg-eth0Code:
ONBOOT=yesCode:
ifconfigCode:
eth0 Link encap:Ethernet HWaddr F8:0F:41:3B:EC:84With a network connection, now it's time to get your server ready to become headless (without a keyboard, mouse, and monitor). Install and Start SSH, so you can puTTy instead of your current keyboard and monitor. Q: Why? You may ask? A: So you can cut/paste for the rest of this guide and save space and power. Install SSH Code:
yum -y install openssh-server openssh-clientsCode:
chkconfig sshd onEdit /etc/sysconfig/iptables (IPv4 firewall), Code:
# vi /etc/sysconfig/iptablesCode:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPTCode:
-A RH-Firewall-1-INPUT -s 192.168.1.0/24 -m state --state NEW -p tcp --dport 22 -j ACCEPTCode:
-A RH-Firewall-1-INPUT -m tcp -p tcp --dport 22 -j ACCEPTCode:
# service iptables restartStep 5: Installing the necessary software Now it's time to install the software needed to compile and maintain EQEmulator. Code:
yum install -y openssl mysql-server gcc mysql-devel svn perl-IO-stringy make gcc-c++ perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker perl-ExtUtils-Embed cpan httpd mod_sslStep 6: Installing Webmin Code:
wget http://www.webmin.com/download/rpm/webmin-current.rpmStep 7: Getting and Compiling EQEmulator Now, we will add a user called eqemu, then checkout the latest EQEmulator source code Code:
adduser eqemuStep 8: Moving the compiled binaries to their new home Code:
cd /home/eqemuCode:
rmdir -rf questsThe Maps file is HUGE and will take some time to download. It tooke me almost 30 minutes with Comcast cable. Code:
wget http://downloads.sourceforge.net/project/eqemulator/EQEmulator%20Map%20Files/EQEmulator%20Map%20Pack%201.0/Maps.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Feqemulator%2Ffiles%2FEQEmulator%2520Map%2520Files%2FEQEmulator%2520Map%2520Pack%25201.0%2F&ts=1341628165&use_mirror=voxelFollow Database Setup and Patching instructions here: http://www.eqemulator.net/wiki/wikka...nLinuxOnVMware Step 11: Editing your configuration files Follow EQEmu Setup instruction here http://www.eqemulator.net/wiki/wikka...nLinuxOnVMware Step 12: Creating Statup/Shutdown Scripts Follow the "Create your Server start and stop files" from this guide: http://www.eqemulator.net/wiki/wikka...nLinuxOnVMware Now change the ownership of your /home/eqemu folder to eqemu:users Code:
chown -R eqemu:users /home/eqemuedit your iptables file Code:
vi /etc/sysconfig/iptablesCode:
# Firewall configuration written by system-config-firewallCode:
service iptables restartA few things that will make life easier for you as an admin: Learn to use Webmin
|
For some reason, I can't edit.. Anyway, I posted the wrong firewall info. Here is the correct info for etc/sysconfig/iptables
Code:
# Firewall configuration written by system-config-firewall |
Updated iptables
This is an updated iptables that allows local connection (192.168.1.0/24 assumed) to FTP (vsftpd), Webmin, and Samba, as well as the ports needed to allow remote access to your EQEmulator and Apache. Also includes some protection against DDOS to port 80.
I would have updated previous post, but will not allow me to edit. Code:
# Firewall configuration written by system-config-firewall |
I'm trying to install on CentOS 5.11. However, yum cannot find some of the dependencies needed to install. Any ideas?
|
Which ones?
I recommend upgrading centos to 6 or 7. |
I stopped at git and svn, since I couldn't get those.
I agree, I need to upgrade. It's a VPS though and there's no easy way to upgrade from 5.11 to 6, without breaking cPanel. And cPanel doesn't support 7 yet... |
Yeah, then 6 is good. That's what my VPS is running with WHM/cPanel.
If not, you will need to manually do everything. FTP the server files up, configure manually, etc. |
|
Thought I'd drop this in here.
I'm running: centos 5.11 x86_64 cmake version 2.8.11.2 gcc 4.7.2-5 This is the build I'm using: https://github.com/EQEmu/Server/tree/web_interface This is the Make error I can't figure out: (This error is Web_Interface related Only) http://wiki.eqemulator.org/i?M=Pastebin&Paste=Uz07zMQW These are random Make errors that I bypassed by commenting out lines. (These errors are also present in the main Eqemu build, as well as the Web_Interface build) http://wiki.eqemulator.org/i?M=Pastebin&Paste=7IivrkLX |
| All times are GMT -4. The time now is 05:26 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.