Server Setup
From Triangle Wiki
Contents |
Introduction
This page outlines the processes to set the admin up on a new server.
Dual Boot
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).
- PEAR_HTTP_Download - pear install -a HTTP_Download
- PEAR_Archive_Zip - pear install -a Archive_Zip
- PEAR_Benchmark - pear install -a Benchmark
- PEAR_CacheLite - pear install -a Cache_Lite
- PEAR_PHP_Compat - pear install -a PHP_Compat
- PEAR_Date - pear install -a Date
- PEAR_MDB2 - pear install -a MDB2
- PEAR_MDB2_Driver_mysql - pear install -a MDB2_Driver_mysql
- PEAR_MDB2_Driver_mysqli - pear install -a MDB2_Driver_mysqli
- PEAR_DB_DataObject - pear install -a DB_DataObject
- PEAR_DB_DataObject_Formbuilder - pear install -a DB_DataObject_FormBuilder
- PEAR_HTML_Table - pear install -a HTML_Table
- PEAR_HTML_QuickForm - pear install -a HTML_QuickForm
- PEAR_HTTP_Upload - pear install -a HTTP_Upload
- PEAR_Log - pear install -a Log
- PEAR_Mail - pear install -a Mail
- PEAR_Mail_Mime - pear install -a Mail_Mime
- PEAR_Net_FTP - pear install -a Net_FTP
- PEAR_Pager - pear install -a Pager
- PEAR_Services_ExchangeRates - pear install -a Services_ExchangeRates
- PEAR_HTTP_Request - pear install -a HTTP_Request
- PEAR_Structures_DataGrid - pear install -a Structures_DataGrid
- All Datasources - pear install -a Structures_DataGrid#datasources
- All Renderers - pear install -a Structures_DataGrid#renderers
- PEAR_Text_Captcha - pear install -a Text_Captcha
- PEAR_Text_Wiki_BBCode - pear install -a Text_Wiki_BBCode
- PEAR_Text_Wiki - pear install -a Text_Wiki
- 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

