Просмотр файла manual/02.html

Размер файла: 4.42Kb
<html>
<head>
<title>Wap Portal Server Manual</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="css/admin.css" type="text/css">
</head>

<body>
<div align="center">
  <table border="0" width="600">
    <tr>
      <td><img src="images/logo.gif" width="200" height="40"></td>
      <td align="right" width="100%" valign="bottom"><span class="big">Manual 
        v1.2</span></td>
    </tr>
  </table>
  <br>
  <table width="600" border="0">
    <tr>
      <td>&nbsp;<a href="01.html">&lt;&lt;&nbsp;Prev</a>&nbsp;</td>
      <td width="100%" align="center"><a href='index.html' border=0>Content</a></td>
      <td>&nbsp;<a href="03.html">Next&nbsp;&gt;&gt;</a>&nbsp;</td>
    </tr>
  </table>
  <br>
  <table width="600">
    <tr>
      <td align="center" width="50%"><b>Installing</b></td>
    </tr>
    <tr>
      <td><b>To install and run the script you will need:</b>
        <ul>
          <li>Web server (host)
          <li>PHP4
          <li>mySQL
        </ul>
        <b></b>Installing your WAP portal is contained within a few simple steps.<br>
        <br>
        <b>1. Make changes in configuration file</b><br>
        Unpack the archive. Open the file called <b>config.php</b> in a plain
        text editor (like Notepad).<br>
        There are few, self explanatory changes you have to make in the config.php
        file: mySQL database information (database name, host, user and password),
        absolute path to your server (you should have received this information
        from your host) and language file settings. <b>Note</b> that absolute
        path is path to where this distribution will be installed and not just
        to web root.<br>
        The language file is used for WAP dialogs that are not changed often.
        There are several language files (besides English) already available.
        Take a look into the &quot;<b>lang</b>&quot; directory. If your language
        is not there you will have to translate dialogs in &quot;english.php&quot;
        and name your file i.e. spanish.php which then needs to be included in
        config.php.<br>
        <br>
        <b>2. Upload the package</b><br>
        <b>Create</b> a directory called i.e. <b>wap</b> on your web server and 
        <b>upload</b> the distribution package. Upload all files in ASCII besides 
        images (gif and wbmp) which are uploaded in binary mode. Preserve the 
        directory structure.<br>
        <b>CHMOD</b> directory <b>images/logo</b> to <b>777</b> (UNIX only).<br>
        <br>
        <b>3. Create database tables</b><br>
        You can create a new mySQL database called i.e. <b>wap</b> to be used
        by this script. You can also use an existing database as tables have unique
        names.<br>
        Now insert database tables from <b>wps.sql</b> file. Installation script 
        is included for this purpose. Just go to following address: <b>http://www.yoursite.com/wap/resources/install.php</b> 
        with your web browser and follow the instructions. The script will automatically 
        insert WPS database tables and direct you to administration area.<br>
        If you, by some reason, want to insert tables manually you can do it with 
        telnet/SSH going to &quot;<b>resources</b>&quot; directory and typing:<br>
        mysql -u&lt;user&gt; -p&lt;password&gt; wap &lt; wps.sql<br>
        where <b>wap</b> is the database name.<br>
        You can also insert database tables with <b>phpMyAdmin</b> or some other
        database handling script if you don't have shell access.<br>
        <br>
        <b>4. Done with installing</b><br>
        You are now done installing the script. You can go to <b>http://www.yoursite.com/wap/admin/</b> 
        and you should see a login form.<br>
        Login with <b>admin/admin</b> and continue setting up the portal from
        here.<br>
        If something is wrong go back to step 1. 2. and 3. and check those steps
        again. </td>
    </tr>
  </table>
  <br>
  <table width="600" border="0">
    <tr>
      <td>&nbsp;<a href="01.html">&lt;&lt;&nbsp;Prev</a>&nbsp;</td>
      <td width="100%" align="center"><a href='index.html' border=0>Content</a></td>
      <td>&nbsp;<a href="03.html">Next&nbsp;&gt;&gt;</a>&nbsp;</td>
    </tr>
  </table>
  <p><span class="small">Copyright &copy; 2002 Wap Portal Server</span></p>
</div>
</body>
</html>