UGCC on an Apache2 server to control remote game servers?
-
- Posts: 24
- Joined: Wed Jun 13, 2012 3:54 pm
UGCC on an Apache2 server to control remote game servers?
Hello,
I am rethinking my current game server/control panel/monitor architecture. The current hardware setup includes:
1. A dedicated full machine that runs all of the game servers on Deb 7.3 amd64 with multiarch i386 and required 32bit libraries. This machine currently has ugcc installed with the monitor running in remote mode.
2. A dedicated SSD VPS with 1GB RAM (can be increased in necessary) in another data center in the same city that hosts my website on a Deb 7.1 i386 LAMP stack. Latency between the full machine and VPS is <1ms.
What I would like to do is remove any web server services (apache or xsp) from the dedicated game server machine in order to keep all of the system resources free for game servers and to close potential security risks from a web server.
Questions:
Can ugcc be installed with the monitor on the dedicated VPS web server and use the existing Apache2 service instead of xsp2 to remotely monitor/control all of the game servers on the dedicated machine? If yes, how do I setup ugcc on the web server? Are there any potential issues with this configuration?
Thank you,
PG
I am rethinking my current game server/control panel/monitor architecture. The current hardware setup includes:
1. A dedicated full machine that runs all of the game servers on Deb 7.3 amd64 with multiarch i386 and required 32bit libraries. This machine currently has ugcc installed with the monitor running in remote mode.
2. A dedicated SSD VPS with 1GB RAM (can be increased in necessary) in another data center in the same city that hosts my website on a Deb 7.1 i386 LAMP stack. Latency between the full machine and VPS is <1ms.
What I would like to do is remove any web server services (apache or xsp) from the dedicated game server machine in order to keep all of the system resources free for game servers and to close potential security risks from a web server.
Questions:
Can ugcc be installed with the monitor on the dedicated VPS web server and use the existing Apache2 service instead of xsp2 to remotely monitor/control all of the game servers on the dedicated machine? If yes, how do I setup ugcc on the web server? Are there any potential issues with this configuration?
Thank you,
PG
www.patriot-games.net
High Performance Game Servers
High Performance Game Servers
-
- Site Admin
- Posts: 3617
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: UGCC on an Apache2 server to control remote game servers
Yes you can use apache with the panel. Just need mono, review the Ubuntu install guide for guidance on how to set it all up.
The remote monitor is still required to be running on the game server, and you have to use MySQL. You'd also need to purchase a license for the web panel to run on the server you want to host from.
If you have more questions or need help let us know.
The remote monitor is still required to be running on the game server, and you have to use MySQL. You'd also need to purchase a license for the web panel to run on the server you want to host from.
If you have more questions or need help let us know.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-
- Posts: 24
- Joined: Wed Jun 13, 2012 3:54 pm
Re: UGCC on an Apache2 server to control remote game servers
Having re-read the Unbutu guide, I want to make sure I understand the installation for this remote configuration:Masher wrote:Yes you can use apache with the panel. Just need mono, review the Ubuntu install guide for guidance on how to set it all up.
The remote monitor is still required to be running on the game server, and you have to use MySQL. You'd also need to purchase a license for the web panel to run on the server you want to host from.
If you have more questions or need help let us know.
1. mono-complete package should be installed on the game sever machine for the monitor to function.
2. The control panel components (everything from Deploy/WWWPanel-Linux) should be installed on the web server for the panel to function.
3. The mysql db can be on either the game server machine or the web server.
Finally, are you saying that I need to purchase a second license for this remote configuration to work correctly?
Thank you,
PG
www.patriot-games.net
High Performance Game Servers
High Performance Game Servers
-
- Site Admin
- Posts: 3617
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: UGCC on an Apache2 server to control remote game servers
Sorry for late reply.
1.) Yes, required for web server as well
2.) Yep
3.) Yes, but the panel is usually much more responsive feeling if the MySQL db is on the same host as the web server
And yes, all parts of the panel much be licensed to function in remote mode. If you will not be running game servers on the web host I'll give you a discount. PM me if interested.
1.) Yes, required for web server as well
2.) Yep
3.) Yes, but the panel is usually much more responsive feeling if the MySQL db is on the same host as the web server
And yes, all parts of the panel much be licensed to function in remote mode. If you will not be running game servers on the web host I'll give you a discount. PM me if interested.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-
- Posts: 24
- Joined: Wed Jun 13, 2012 3:54 pm
Re: UGCC on an Apache2 server to control remote game servers
Hi Masher,
I should have asked this before attempting the apache2-mono installation because it keeps hanging. Do I need to install all of these packages on my webserver that already has apache2 installed and running? *Note: I deleted "apache2" from apt-get install command as it is already installed.
Thank you,
PG
I should have asked this before attempting the apache2-mono installation because it keeps hanging. Do I need to install all of these packages on my webserver that already has apache2 installed and running? *Note: I deleted "apache2" from apt-get install command as it is already installed.
Specifically, apt-get install hangs at this step:Setup Apache with mono auto hosting
We recommend hosting the panel with apache, here we'll setup apache and the panel to work with apache.
apt-get install apache2 libapache2-mod-mono mono-apache-server mono-apache-server2
Code: Select all
/usr/bin/perl -w /usr/share/dbconf/frontend /var/lib/dpkg/info/mono-apache2.postint configure
mono-apache-ser
PG
www.patriot-games.net
High Performance Game Servers
High Performance Game Servers
-
- Site Admin
- Posts: 3617
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: UGCC on an Apache2 server to control remote game servers
Yeah you'll need all those packages. Try googling that output for help. Not sure.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-
- Posts: 24
- Joined: Wed Jun 13, 2012 3:54 pm
Re: UGCC on an Apache2 server to control remote game servers
Hi,
Figured it out. I needed to manually stop apache2 before the mono configuration could complete. Once I ran "service apache2 stop" as root the configuration process completed and all is well. Maybe worth adding a note about this in the Ubuntu setup manual?
PG
Figured it out. I needed to manually stop apache2 before the mono configuration could complete. Once I ran "service apache2 stop" as root the configuration process completed and all is well. Maybe worth adding a note about this in the Ubuntu setup manual?
PG
www.patriot-games.net
High Performance Game Servers
High Performance Game Servers
-
- Posts: 24
- Joined: Wed Jun 13, 2012 3:54 pm
Re: UGCC on an Apache2 server to control remote game servers
Hi,
I have a couple more quesions:
1. After installing:
to the existing apache2 installation on the webserver, do I also have to install the mono-complete package as directed at the beginning of the Ubuntu Install guide?
2. I've installed all of the ugcc components in the default directory /ugcc. Since I have a WowrdPress website already running, I am not sure where to copy the panel components from /ugcc/www. Rather than using var/www as the root website folder, my website is setup as a virtual domain in var/www/patriot-games.net so that other domains could be added later (e.g. var/www/newwebsite.com). Where should the panel's components be located?
Thank you,
PG
I have a couple more quesions:
1. After installing:
Code: Select all
apt-get install libapache2-mod-mono mono-apache-server mono-apache-server2
2. I've installed all of the ugcc components in the default directory /ugcc. Since I have a WowrdPress website already running, I am not sure where to copy the panel components from /ugcc/www. Rather than using var/www as the root website folder, my website is setup as a virtual domain in var/www/patriot-games.net so that other domains could be added later (e.g. var/www/newwebsite.com). Where should the panel's components be located?
Thank you,
PG
www.patriot-games.net
High Performance Game Servers
High Performance Game Servers
-
- Site Admin
- Posts: 3617
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: UGCC on an Apache2 server to control remote game servers
1.) If mono-complete hasn't been installed yet, then yes it should be.
2.) It's entirely up to you in regards to where to put it.
2.) It's entirely up to you in regards to where to put it.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-
- Posts: 24
- Joined: Wed Jun 13, 2012 3:54 pm
Re: UGCC on an Apache2 server to control remote game servers
1. Mono-complete is now installed.Masher wrote:1.) If mono-complete hasn't been installed yet, then yes it should be.
2.) It's entirely up to you in regards to where to put it.
2. Understood, but what I am asking is where do the panel components need to be installed to work correctly? I created a ugccpanel folder within the var/www/patriot-games.net folder and copied all of the panel components there. But when trying to access patriot-games.net/ugccpanel/Check.aspx I get an error and menu.aspx will not load:
If I click on the broken link for menu.aspx I get a 404 error: What am I doing wrong?
PG
www.patriot-games.net
High Performance Game Servers
High Performance Game Servers
-
- Site Admin
- Posts: 3617
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: UGCC on an Apache2 server to control remote game servers
I haven't tried using the panel in a subfolder on Linux. There might be something special needed in the mono config. Wil check when i get a chance. Might want to use a new virtual site for now.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-
- Site Admin
- Posts: 3617
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: UGCC on an Apache2 server to control remote game servers
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-
- Site Admin
- Posts: 3617
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: UGCC on an Apache2 server to control remote game servers
Tested this on Linux. I copied the panel to /var/www/ugccpanel.
The broken link is just the header image; you can edit the header.inc page to point to the correct url/image. Once you login the menu seems to work fine. Remember; the menu doesn't show unless you're logged in.
The broken link is just the header image; you can edit the header.inc page to point to the correct url/image. Once you login the menu seems to work fine. Remember; the menu doesn't show unless you're logged in.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-
- Site Admin
- Posts: 3617
- Joined: Thu Apr 20, 2006 2:54 pm
- Location: America's Heartland
- Contact:
Re: UGCC on an Apache2 server to control remote game servers
I changed Header.inc to the below, restarted apache and it seemed to work.
Code: Select all
<center><a href="menu.aspx"><img src="images/ugcc.png" complete="true" alternatetext="Ultimate Game Server Control Center Panel" /></a></center>
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.
NEW Join our Discord!
-
- Posts: 24
- Joined: Wed Jun 13, 2012 3:54 pm
Re: UGCC on an Apache2 server to control remote game servers
Masher,Masher wrote:I changed Header.inc to the below, restarted apache and it seemed to work.
Code: Select all
<center><a href="menu.aspx"><img src="images/ugcc.png" complete="true" alternatetext="Ultimate Game Server Control Center Panel" /></a></center>
Thank you for taking the time to try and solve my issue, especially as it stems from a non-standard ugcc installation. As always, great support.
Editing the Header.inc solved the problem and I am able to access Default.aspx and use the panel. As a security precaution a .htaccess file denies all access to the directory except from a specific ip.
Now on to the game server side of the installation.
Thank you,
PG
www.patriot-games.net
High Performance Game Servers
High Performance Game Servers