MuOnline Server Setup Guide
Requirements: |
|
The better OS for this job is Windows 2000 Server, because: |
|
The disadvantage is that you need more memory. |
I installed Windows 2000 Server into a computer with the following specs: |
|
The Start: |
Ofcourse you can install SQL Server, MuOnline Server and IIS in different
machines, but i dont recommend that because you use 3 computers when
you can use 1 (if you have 3 computers then make 3 servers :). I used a second partition, anyway unzip the server files into D: drive.
After unzip finish you will have something like this: The above picture show us the directory structure after unzipping the
server files. |
How to Setup SQL Server: |
Now it is time to setup SQL Server. Open Enterprise Manager
(Start -> Programs -> Microsoft SQL Server -> Enterprise
Manager) and browse to Databases: Press the right mouse button and create a new database: |
How to Add a User to SQL (IF YOU DONT WANT TO INSTALL IIS AND HAVE WEB REGISTRATION SKIP THIS) : |
Add a user to SQL Server Logins. Click Security then
right click on Logins and select New Login...
option:![]() Follow the screens to add the user: ![]() Find the User IUSR_MU (MU is my computer name, it will be something else to you - make sure IIS is installed to continue, else this user might not exist, the full name of the user is Internet Guest Account): ![]() Then choose some options and click on Server Roles tab: ![]() Choose here the below option and then click on Database Access tab: ![]() Choose here also the below option and click ok: ![]() |
How to Setup ODBC Links: |
It is time to setup the ODBC logical links. Start Data Sources
(ODBC) (Start -> Programs -> Administrative Tools ->
Data Sources (ODBC)), browse to System DSN tab then click
the Add... button:![]() Select the SQL Server driver (bottom) and click Finish. Choose MuOnline for Name and your SQL Server for Server, click Next two times: ![]() Now change the default database to muonline and click Next then Finish and OK (you can also test the connection): ![]() Create also 4 System DSN links named MuOnlineJoinDB, USELOG, Event and MuOnlineReg (MuOnlineReg will be used for web registration) that use muonline as the default database. Create 1 System DSN named Ranking that use ranking as the default database and 1 System DSN named ExDB that use exdb as the default database. You will have something like this, click OK to Exit ODBC Data Source Administrator: ![]() |
How to Setup MuOnline Server: |
Now the edit thing. First find out you ip address (you can use ipconfig
/all in Command Prompt):
Then change the IP Addresses found as parameters to 5.lnk
and 9.lnk files below D:\MuServer\Links folder (right
click on them and select properties): |
How to Setup IIS: |
Open Internet Services Manager. Browse to Default
Web Site, right mouse button on it and choose New
-> Site:![]() Click Next and choose a Description for the Site (whatever you like), click Next and choose the IP Address and the TCP Port to use (i choosed for IP Address 192.10.10.199 and port 8090, so if i want to connect to the site i type in ie http://192.10.10.199:8090 ), click Next and choose a path that will hold the MuOnline Web Registration files (i used D:\MuReg , after creating the folder :), click Next 2 times and Finish. Right mouse button on your Site description (mine is mureg) and choose Properties, then browse to Documents tab, click the Add... button enter index.htm press OK and move it to the Top, then click OK to exit: ![]() |
How to Setup Web Registration: |
Unzip the Web Account registration files to D:\MuReg\ (or the directory
you choosed) and edit conn.asp and change connstr = "driver={sql server};server=192.168.0.2;uid=sa;pwd=pass;database=MuOnline" to connstr = "DSN=MuOnlineReg;" then point to http://192.10.10.199:8090 and test the creation of accounts. |
Other things: |
The databases are not empy, there are some accounts and characters you should delete before starting the server. Ofcourse you can leave as is. |
Starting MuOnline Server: |
Browse to D:\MuServer\Links and double click 1.lnk,
wait to load then double click 2.lnk, then 3.lnk
and so on until 9.lnk (lnk is the extention for shorcut
files). Always wait each program to load before continue to next shorcut. Start your client and connect to the server to test it. |
Tips and Copyright: |
Copyright blurcode have good luck and fun |