-
-
Notifications
You must be signed in to change notification settings - Fork 196
Compilling OTX3.2 on Linux
If you already done the dependencies part, you can just jump into the General Steps, they didn't change based on your distro.
First of all, make sure your system is updated, then download the dependencies with apt:
sudo apt-get update && sudo apt-get install git cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev libpugixml-dev libboost-iostreams-dev
First of all, make sure your system is updated, then download the dependencies with pacman:
sudo pacman -Syu && sudo pacman -S git cmake base-devel lua52 gmp mariadb-libs boost boost-libs pugixml
Downloading the source: Right, you installed the dependencies, what's next? If you're familiarized with git, you know what this one does, if not I'll tell you, this one downloads the otxserver source to a 'otxserver' folder. If you didn't change the cd of your terminal, the source must be under '/home/username/otxserver/':
git clone https://github.com/mattyx14/otxserver.git
And here comes the fun...
Go to the 'otxserver' folder you just downloaded in the step above, if you didn't change the terminal cd you can just:
cd otxserver
And ta-da, you're now in the 'otxserver' folder...
Now you can make things happen...
Just remember to change the <number_you_want>
for one of these _10_11
, _8_6
, _8_5
or _7_7
.
mkdir build && cd build && cmake ./../path_<number_you_want>/ && make -j $(nproc)
Example:
mkdir build && cd build && cmake ./../path_8_6/ && make -j $(nproc)
AND NOW, if you haven't break the matrix, you can try to run your server by typing this:
./tfs
it didn't worked, why?
Are you expecting me to explain this? I've did my part, now you need to do yours, I hope you bring us a good server, padawan...
Rename /data/xml to /data/XML
Note that upper cased 'XML', this really are important, the entire system is case-sensitive, remember this...
Service WEB:
Ubuntu 10.04+ (Desktop Version):
(Fix 127.0.1.1)
gksudo gedit /etc/hosts
BugForm:
127.0.0.1 localhost
127.0.1.1ubuntu-server-name
Fixed Form
127.0.0.1 localhost 127.0.0.1
ubuntu-user-name
if you came here, you're using apache and know whats are you doing, if you're not using apache, use it...