Download the file Talweb

Extract it to ur desktop and edit this files:


"config.php"


<?php
define('DB_HOST', '127.0.0.1');
define('DB_USER', 'root');
define('DB_PASSWORD', 'YOUR_MYSQL_PASS');
define('DB_DATABASE', 'db_account');
?>


// *In the field YOUR_MYSWL_PASSchange it for ur MYSQL PASSWORD.





"dl.htm"

<html>

<head>

<title>Talisman Of Ram</title>
<style type="text/css">
<!--
.Estilo1 {
font-size: 16px;
font-weight: bold;
}
.Estilo2 {
font-size: larger;
color: #FFFFFF;
}
.Estilo3 {color: #FFFFFF}
-->
</style>
</head>


<body background="./gfx/ram serve 2.jpg" style="background-attachment: fixed; background-repeat: no-repeat;background-position: center center">


<h1 align="center"><font color="blue">Talisman Of Ram Client Download</font></h1>
<p>
<table width="459" height="80" align="center">
<tr>
<th align="left"><span class="Estilo3"><font size="4" color="#FFFFFF">
</span>
<div align="left" class="Estilo3">How to install and run the client:</div></th>
</tr>
<tr>
<th align="left"><span class="Estilo3"><font color="#000000">
</span>
<div align="left" class="Estilo3">1. Extract the folder ¨Talisman Of Ram¨ inside the .rar file to your Desktop</div></th>
</tr>
<tr>
<th align="left"><font color="#000000">
<div align="left"><span class="Estilo3">2. Double Click on the Launcher "TalismanOfRam.exe"</span></div></th>
</tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p align="center"><a href="http://www.megaupload.com/?d=01QD52B6"><img src="gfx/game.png" alt="Download Game" width="220" height="140" align="absmiddle" longdesc="Download Game"></a></p>
<div align="center" class="Estilo1"><a href="" title="Download" target="_blank" class="Estilo2"> Download</a></div>
</body>

</html>




// *On the megaupload link u'll writedown the link of ur file on the web.


after editing those two files. (U Might also edit the images inside the /gfx folder for ur own images)

NOW go to LINUX

open a Terminal and type

sudo chown USERNAME /var/www


*Note: USERNAME Reffers to YOUR username on ur Linux Machine.


Close the terminal and paste all the content of the folder inside ur LINUX MACHINE

in the directory: /var/www

and u should be good to go.. type ur IP from ur windows machine or (if u are using a router, any machine NOT connected to the network).And you should be good to go.




NOTE:

If u see '404 error'

First go to [Only registered and activated users can see links. ]
and register an account.

activate ur account. log in.
when u are logged in ur no-ip.com account

click on the button "Hosts/Redirects"

once inside click on

"Add a Host"

Hostname: *Whatever name u want.. for example MYTALISMANSERVER

it can have any termination:
*no-ip.org
*servegame.com
*sytes.net
*etc....

INSTALL no-ip on ur linux machine:

sudo apt-get install no-ip

and follow the steps till its done

Host Type *Select Port 80 Redirect

and its gonna ask u the WAN IP of ur server.

if u don't know what's the WAN IP of ur server.

go on linux, open firefox and type My WAN IP - IP Address Detection (mywanip.com)

and in port we will use the port 8080

then click "UPDATE" button.

(If u use a router: U should redirect ur port 8080 to ur LAN IP of ur Linux Machine (KNEMO IP))




NOW go on LINUX and open a terminal and type this:

sudo gedit /etc/apache2/ports.conf

and change

NameVirtualHost *:80
Listen 80

FOR THIS:

NameVirtualHost *:8080
Listen 8080

Save! and close the file ports.conf

Now STILL ON THE TERMINAL

type this

sudo gedit /etc/apache2/sites-available/default

And edit this:

<VirtualHost *:80>

CHANGE IT FOR THIS:

<VirtualHost *:8080>

Save and Close!

NOW, lets restart apache2.

in the terminal type:

sudo /etc/init.d/apache2 restart
nguồn Forum.ragezone.com