Disclaimer: This guide is hardly what you need to set up a server, this are the main steps to do it, each individual step must be done looking at other sources, and maybe some research by your own. This guide includes how to install Linux (Ubuntu Gutsy gibbon or newer). It requires an Intel processor, because the server won't run on Amd (which screwed me)
1. Download your LiveCDhttp://www.ubuntu.com/getubuntu/download
Linux is free, and opensource. So you won't have to pay a dime for it. But, if you will, you can donate to the project buying a CD.
ALSO! you could download the Server version and skip the sql install (on the end of this guide)
2. Defrag your windows partitionSo I guess, you're the typical windows user who has a big partion something like
MAIN HARD DISK
[WINDOWS C: x gb (NTFS)]
If you have another partitions or whatever, defrag the one you're going to resize. Or if you already have some empty space, leave it unformatted.
So defrag.
3. Boot with the LiveCDPut the ubuntu cd on the cd reader (duh), and reboot your computer. If it enter windows, then reboot again, enter the BIOS, and change the boot order so CD/DVD/whatever starts first, then the hard disk.
4. On the liveCDStart with the first option, it will enter on the LiveCD, which is a OS running from the ram (it is not installed, don't fear!). Follow this instructions, is pretty straight forward:
http://www.howtoforge.com/the_perfect_desktop_ubuntu_gutsy_gibbon
5. Once installedGuessing you're now on ubuntu, and don't mind setting the graphics card properly, then have the server files and a guide:
Here's a guide to install the server:
http://www.mmorpg-dev.com/forum/showthread.php?t=95
Here's the server file (150mb):
http://dll.misie.org/PW.7z (from this topic)
Other thingsYou'll need a MySQL server and client to do the dirty work. To do that, you must install the packages. Do this:
Alt+F2
type "gnome-terminal"
now a shell is open. Copy paste the following line:
- Quote :
- sudo apt-get install mysql-server mysql-client mysql-admin
That will install both client and server. When installing the server it will prompt for a password for the root of mysql (the administrator), invent one.
Now I added the mysql-admin to the command, so you can have a graphical interface for it. It's located in Applications>Programming>MySQL Admin.
(Image compression ftw)
Deprecated.
To enter the mysql prompt you must do:
- Quote :
- sudo mysql -p
The funny thing, is that you'll be prompted for your password (on the local machine) and then the password for the sql server. If everything is right, you'll have a sql prompt
- Quote :
- mysql>
Luck with that. I got to this point (when discoverd that my AMD won't work as a server =( ). So if anyone could tell.
Btw, "~/pwserver/gamedbd/gamesys.conf" on line 6 has the direction to the MySQL server. So I guess you must create a user in the mysql server with lower permitions (not root!), and give it something like 127.0.0.1 and it will connect with an arbitrary name (which I don't know)
Other useful stuffMySQL documentation: http://dev.mysql.com/doc/