2018-06-28 08:45:45 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2018-08-05 11:36:12 +00:00
|
|
|
<title>Test Khanat</title>
|
2018-06-28 08:45:45 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
#command_shell{
|
|
|
|
background: #F3E2A9;
|
|
|
|
border:3px solid #151515;
|
|
|
|
color: #000000;
|
|
|
|
margin:10px;
|
|
|
|
padding:3px;
|
|
|
|
top:40px;left:3%;right:3%;
|
|
|
|
text-align:left;
|
|
|
|
max-width:100vw;
|
|
|
|
}
|
|
|
|
#title_info{
|
|
|
|
background: #00FFFF;
|
|
|
|
border:3px solid #8A0808;
|
|
|
|
color: #000000;
|
|
|
|
font-size:20px;
|
|
|
|
font-weight:500;
|
|
|
|
margin:50px;
|
|
|
|
padding:3px;
|
|
|
|
top:40px;left:3%;right:3%;
|
|
|
|
text-align:center;
|
|
|
|
}
|
|
|
|
#important_info{
|
|
|
|
background: #A9E2F3;
|
|
|
|
border:3px solid #088A08;
|
|
|
|
color: #000000;
|
|
|
|
font-size:15px;
|
|
|
|
font-weight:500;
|
|
|
|
margin:30px;
|
|
|
|
padding:3px;
|
|
|
|
top:40px;left:3%;right:3%;
|
|
|
|
text-align:left;
|
|
|
|
}
|
|
|
|
table, th, td {
|
|
|
|
border: 1px solid black;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
#alert_javascript{
|
|
|
|
background: #F3F781;
|
|
|
|
border:3px solid #610B0B;
|
|
|
|
color: #DF0101;
|
|
|
|
font-size:20px;
|
|
|
|
font-weight:700;
|
|
|
|
margin:0;
|
|
|
|
padding:3px;
|
|
|
|
top:40px;left:3%;right:3%;
|
|
|
|
text-align:center;
|
|
|
|
max-width:100vw;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
function setHref() {
|
|
|
|
document.getElementById('admin-href').href = window.location.protocol + "//" + window.location.hostname + ":40916/ams/";
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<noscript>
|
|
|
|
<div id='alert_javascript'>
|
|
|
|
This website need Javascript.<br>
|
|
|
|
Could you please enable Javascript?
|
|
|
|
</div>
|
|
|
|
</noscript>
|
|
|
|
|
|
|
|
<body onload="setHref()">
|
|
|
|
<p>
|
2018-08-05 11:36:12 +00:00
|
|
|
<a>Home</a>
|
2018-06-28 08:45:45 +00:00
|
|
|
<?php
|
2018-08-05 11:36:12 +00:00
|
|
|
if (file_exists('/home/gameserver/opennelmanager.flag')) {
|
|
|
|
echo "<a href=\"/opennelmanager.php\">OpenNelManager</a>";
|
|
|
|
} else {
|
|
|
|
echo "<a>OpenNelManager not used</a>";
|
|
|
|
}
|
2018-06-28 08:45:45 +00:00
|
|
|
?>
|
|
|
|
<a href="/EnableJavascript" id="admin-href" >Administration</a>
|
|
|
|
<a href="/phpmyadmin/">phpmyadmin</a>
|
|
|
|
<a href="/patch/">patch</a>
|
2019-10-24 17:02:40 +00:00
|
|
|
<a href="/info.php">info</a>
|
2018-08-05 11:36:12 +00:00
|
|
|
</p>
|
|
|
|
<div id='title_info'>KHANAT SERVER DOCKER (TEST ENVIRONMENT)</div>
|
|
|
|
<div id='important_info'><?php print "SERVER IP: ". getHostByName(gethostname()); ?> </div>
|
|
|
|
<br/>
|
2018-06-28 08:45:45 +00:00
|
|
|
<div>
|
|
|
|
script to download and convert launcher on our instance:
|
|
|
|
<a href="/prepare_environment_container_64.sh">prepare_environment_container_64.sh</a>
|
2018-07-09 21:28:48 +00:00
|
|
|
and after execute it.
|
2018-08-05 11:36:12 +00:00
|
|
|
<div id='command_shell'>
|
|
|
|
wget <?php print getHostByName(gethostname());?>/prepare_environment_container_64.sh<br>
|
|
|
|
bash prepare_environment_container_64.sh<br>
|
|
|
|
(cd Khanat_Linux64;./khanat_client)
|
|
|
|
</div>
|
2018-06-28 08:45:45 +00:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
Account / Password
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Account</th>
|
|
|
|
<th>Password</th>
|
|
|
|
<th>Where</th>
|
|
|
|
<th>Comment</th>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>gameserver</td>
|
|
|
|
<td>khanat</td>
|
|
|
|
<td>ssh</td>
|
|
|
|
<td>server access</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>root</td>
|
|
|
|
<td></td>
|
|
|
|
<td>phpmyadmin</td>
|
|
|
|
<td>(no password)</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>admin</td>
|
|
|
|
<td>admin</td>
|
|
|
|
<td>khanat</td>
|
|
|
|
<td>account (administration)</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>tester</td>
|
|
|
|
<td>tester</td>
|
|
|
|
<td>khanat</td>
|
|
|
|
<td>account (player)</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
Command to connect on khanat 'server' :
|
|
|
|
<div id='command_shell'>ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no gameserver@<?php print getHostByName(gethostname());?></div>
|
|
|
|
Use sudo to switch on root account
|
|
|
|
<div id='command_shell'>sudo bash</div>
|
|
|
|
</div>
|
2018-08-05 11:36:12 +00:00
|
|
|
<p>Khanat Server Docker</p>
|
2018-06-28 08:45:45 +00:00
|
|
|
</body>
|
|
|
|
</html>
|