Server Setup

From Triangle Wiki

Jump to: navigation, search

Contents

Introduction

This page outlines the processes to set the admin up on a new server.

Dual Boot

Wikipedia Article

Windows Time Synchronisation

Be sure to open UDP port 123 on the firewall at your network’s edge. This is because UDP port 123 is the default port used by SNTP, which is the protocol used by W32Time for time synchronization over a network. Furthermore, if you have deployed Windows XP Service Pack 2 then you need to ensure UDP port 123 is also opened on Windows Firewall on your desktop machines as well. Create entry in any IPSEC security policies also.

PEAR Packages Required

Alphabetical list of PEAR packages that are required by the admin programme. Package name first, (include file in parentheses).

  1. PEAR_HTTP_Download - pear install -a HTTP_Download
    1. PEAR_Archive_Zip - pear install -a Archive_Zip
  2. PEAR_Benchmark - pear install -a Benchmark
  3. PEAR_CacheLite - pear install -a Cache_Lite
  4. PEAR_PHP_Compat - pear install -a PHP_Compat
  5. PEAR_Date - pear install -a Date
  6. PEAR_MDB2 - pear install -a MDB2
  7. PEAR_MDB2_Driver_mysql - pear install -a MDB2_Driver_mysql
  8. PEAR_MDB2_Driver_mysqli - pear install -a MDB2_Driver_mysqli
  9. PEAR_DB_DataObject - pear install -a DB_DataObject
  10. PEAR_DB_DataObject_Formbuilder - pear install -a DB_DataObject_FormBuilder
    1. PEAR_HTML_Table - pear install -a HTML_Table
  11. PEAR_HTML_QuickForm - pear install -a HTML_QuickForm
  12. PEAR_HTTP_Upload - pear install -a HTTP_Upload
  13. PEAR_Log - pear install -a Log
  14. PEAR_Mail - pear install -a Mail
  15. PEAR_Mail_Mime - pear install -a Mail_Mime
  16. PEAR_Net_FTP - pear install -a Net_FTP
  17. PEAR_Pager - pear install -a Pager
  18. PEAR_Services_ExchangeRates - pear install -a Services_ExchangeRates
    1. PEAR_HTTP_Request - pear install -a HTTP_Request
  19. PEAR_Structures_DataGrid - pear install -a Structures_DataGrid
    1. All Datasources - pear install -a Structures_DataGrid#datasources
    2. All Renderers - pear install -a Structures_DataGrid#renderers
  20. PEAR_Text_Captcha - pear install -a Text_Captcha
  21. PEAR_Text_Wiki_BBCode - pear install -a Text_Wiki_BBCode
    1. PEAR_Text_Wiki - pear install -a Text_Wiki
  22. PEAR_Translation2 - pear install -a Translation2

Please follow the instructions for setting up the Translation2 decorator cache. PEAR_Translation2

Required Technologies

Currently the admin requires:

  • PHP 5+
  • MySQL 5+
  • Apache

The system is tested with:

  • Windows XP...

Server Variables

A typical readout from echo '<pre>'; print_r($_SERVER); echo '</pre>';

  • [HTTP_HOST] => www.txtiamsafe.com
  • [HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
  • [HTTP_ACCEPT] => text/xml, application/xml, application/xhtml+xml, text/html; q=0.9, text/plain; q=0.8, image/png, */*; q=0.5
  • [HTTP_ACCEPT_LANGUAGE] => en-gb
  • [HTTP_ACCEPT_ENCODING] => gzip,deflate
  • [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
  • [HTTP_KEEP_ALIVE] => 300
  • [HTTP_CONNECTION] => keep-alive
  • [HTTP_CACHE_CONTROL] => max-age=0


  • [PATH] => C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Subversion\bin;C:\Program Files\xampp\php
  • [SystemRoot] => C:\WINDOWS
  • [COMSPEC] => C:\WINDOWS\system32\cmd.exe
  • [PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
  • [WINDIR] => C:\WINDOWS


  • [SERVER_SIGNATURE] => Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b mod_autoindex_color PHP/5.1.4 Server at txtiamsafe.com Port 80
  • [SERVER_SOFTWARE] => Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b mod_autoindex_color PHP/5.1.4
  • [SERVER_NAME] => txtiamsafe.com
  • [SERVER_ADDR] => 217.158.161.210
  • [SERVER_PORT] => 80
  • [REMOTE_ADDR] => 124.32.152.147
  • [DOCUMENT_ROOT] => C:/Program Files/xampp/htdocs/triangle_clients/txt_i_am_safe
  • [SCRIPT_FILENAME] => C:/Program Files/xampp/htdocs/triangle_clients/txt_i_am_safe/index.php
  • [REMOTE_PORT] => 1083
  • [GATEWAY_INTERFACE] => CGI/1.1
  • [SERVER_PROTOCOL] => HTTP/1.1
  • [REQUEST_METHOD] => GET
  • [QUERY_STRING] =>
  • [REQUEST_URI] => /
  • [SCRIPT_NAME] => /index.php
  • [PHP_SELF] => /index.php
  • [REQUEST_TIME] => 1159233752

External Links

Personal tools