Mini Servers: Ready To Go: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
mNo edit summary
Line 140: Line 140:


'''''[[#top | Top]]'''''
'''''[[#top | Top]]'''''
=== Mini Server 21 - Xoops 2.3.1 ===
=== Mini Server 21 - Xoops 2.3.2b ===
XOOPS is an extensible, OO (Object Oriented), easy to use dynamic web content management system written in PHP.  
XOOPS is an extensible, OO (Object Oriented), easy to use dynamic web content management system written in PHP.  


Home page:  [http://www.xoops.org/ Xoops]
Home page:  [http://www.xoops.org/ Xoops]


'''''Mini Server Download'':'''
'''''Mini Server Download v1.1'':'''
 
:File: mini_server_21_xoops_v1_1.exe Download from SourceForge [http://sourceforge.net/project/showfiles.php?group_id=53691&package_id=275691 Project Page]
:Info:  Server 21 Portable  (6.94MB/44.3MB) Port 8101/3321 Xoops 2.3.2b
 
Notes:
* Xoops: Upgraded to 2.3.2b
* mainfile.php: Modified to use relative paths
* en.css: Added
 
'''''Mini Server Download v1.0'':'''


:File: mini_server_21_xoops.exe Download from SourceForge [http://sourceforge.net/project/showfiles.php?group_id=53691&package_id=275691 Project Page]  
:File: mini_server_21_xoops.exe Download from SourceForge [http://sourceforge.net/project/showfiles.php?group_id=53691&package_id=275691 Project Page]  
Line 155: Line 166:
'''''[[#top | Top]]'''''  
'''''[[#top | Top]]'''''  


==== Potential problem and solution ====
==== Potential problem and solution v1.0 ====
After publishing I discovered during installation a few paths are hard coded. Unless it is the first server to be started these absolute paths prevent this server running alongside other mini-servers. Should this be an issue apply the following fix:
After publishing I discovered during installation a few paths are hard coded. Unless it is the first server to be started these absolute paths prevent this server running alongside other mini-servers. Should this be an issue apply the following fix:



Revision as of 20:15, 15 December 2008

MPG UniCenter

Mini Servers: Ready To Go

Ready To Go
Uniform Mini-Servers


The following are self-contained single application mini servers. Each sever is fully portable and independent allowing you to run more than one server at the same time. They use Uniform Server 3.5-Apollo’s architecture with cut down versions of Apache 2.2.9, PHP 5.2.6 and MySQL 5.0.51b. Each server is pre-loaded with a single full version of an application however in order to reduce size only English is supported.

Although they may be put on-line the real intention is to allow you to explore the application packages without the need to install on a server. That said the Wiki contains information how to install each application on Uniform Sever 3.5-Apollo.

Installation

There is no installation required each file is a self-extraction archive. Download one of the files save to a folder of your choice; double clicking the file starts the extraction process. A folder is created with the same name as the file, inside this you will find two files server_start.bat and server_stop.bat these start and stop the servers respectively.

Top

Running

Start the servers by double clicking on the file server_start.bat your browser if not already running will automatically start. An introduction page is displayed this includes the name and password required to access the application.

Stop the servers by double clicking on the file server_stop.bat this shutdowns both Apache and MySQL servers in addition removes the virtual drive.

Note: Each application has not been changed in anyway other than the name and password. This has been done on purpose allowing you to start at a point just after installation. Email facilities have been disabled however most applications allow this to be set-up via admin if required.

Top

Download Section

Info section:

Server name, server type, (compressed/uncompressed) Port (Apache/MySQL) Application

Top


Mini Server 15 - MediaWiki 1.12.0

MediaWiki is a free software wiki package originally written for Wikipedia.

Home page: Mediawiki Org

Mini Server Download:

File: mini_server_15_mediawiki.exe Download from SourceForge Project Page
Info: Server 15 Portable (5.68MB/29.3MB) Port 8095/3315 MediaWiki 1.12.0

Related: Installing MediaWiki on 3.5-Apollo

Top


Mini Server 16 - WordPress 2.6.1

A semantic personal publishing platform with a focus on aesthetics, web standards, and usability

Home page: Wordpress Org

Mini Server Download:

File: mini_server_16_wordpress.exe Download from SourceForge Project Page
Info: Server 16 Portable (5.23MB/26.8MB) Port 8096/3316 WordPress 2.6.1

Related: Installing WordPress

Top


Mini Server 17 - phpBB-3.0.2

phpBB is widely used open source bulletin board system with a wide range of built in features.

Home page: phpbb com

Mini Server Download:

File: mini_server_17_phpbb.exe Download from SourceForge Project Page
Info: Server 17 Portable (5.33MB/28.9MB) Port 8097/3317 phpBB-3.0.2

Related: Installing phpBB V2 | Installing phpBB V3

Top


Mini Server 18 - Joomla 1.5.6

Joomla is a very popular content management system (CMS), which enables you to build Web sites and powerful online applications.

Home page: Jooomla Org

Mini Server Download:

File: mini_server_18_joomla.exe Download from SourceForge Project Page
Info: Server 18 Portable (6.82/32.6MB) Port 8098/3318 Joomla 1.5.6

Related: Installing Joomla

Top


Mini Server 19 - Vcalendar 1.1.5.3

VCalendar (Virtual Calendar) is an open source Web calendar application for posting and maintaining events and schedules online, in calendar format.

Home page: Ultraapps Com

Mini Server Download:

File: mini_server_19_vcalendar.exe Download from SourceForge Project Page
Info: Server 19 Portable (4.6MB/23.5MB) Port 8099/3319 Vcalendar 1.1.5.3

Related: Installing VCalendar

Top


Mini Server 20 - Reverse Proxy

This mini sever is covered in the reverse proxy tutorial. It contains two servers the main proxy server (all modules and mod proxy html) and a slightly modified mini-server 6 to demonstrate various aspects of proxing.

Mini Server Download:

File: mini_server_20_reverse_proxy.exe Download from SourceForge Project Page
Info: Server 20 Portable 3.43(MB) Port 80 Proxy Port 8096 Server 6+

Related: Reverse Proxy Server Introduction


Top

Mini Server 21 - Xoops 2.3.2b

XOOPS is an extensible, OO (Object Oriented), easy to use dynamic web content management system written in PHP.

Home page: Xoops

Mini Server Download v1.1:

File: mini_server_21_xoops_v1_1.exe Download from SourceForge Project Page
Info: Server 21 Portable (6.94MB/44.3MB) Port 8101/3321 Xoops 2.3.2b

Notes:

  • Xoops: Upgraded to 2.3.2b
  • mainfile.php: Modified to use relative paths
  • en.css: Added

Mini Server Download v1.0:

File: mini_server_21_xoops.exe Download from SourceForge Project Page
Info: Server 21 Portable (6.96MB/44MB) Port 8101/3321 Xoops 2.3.1

Related:

Top

Potential problem and solution v1.0

After publishing I discovered during installation a few paths are hard coded. Unless it is the first server to be started these absolute paths prevent this server running alongside other mini-servers. Should this be an issue apply the following fix:

Edit server_start.bat add the last two lines shown just below the first two.

rem ## Save drive letter to file. Used by stop bat 
(set /p dummy=%Disk%) >udrive\usr\local\apache2\logs\drive.txt <nul

rem ## Save drive letter to file. Used by Xoops to resolve absolute paths 
(set /p dummy=%Disk%) >udrive\www\xoops\drive.php <nul

This creates a file in Xoops folder and writes the current virtual drive letter to it.

Edit file mainfile.php found in the xoops folder (you will need to remove read only attribute)

Add the small block (three lines) of code to read content of file drive.php. The variable $vdrive now contains the current virtual drive letter.

Replace every occurrence of drive letter “Z” with the variable $vdrive as show in the lines outdented.

    define("XOOPS_MAINFILE_INCLUDED", 1);

//===== MPG =======
$fh = fopen("", 'r');      // Open file
$vdrive = fread($fh, 1);   // Read first character
fclose($fh);               // Close file

    // XOOPS Physical Paths
    
    // Physical path to the XOOPS documents (served) directory WITHOUT trailing slash
//define( 'XOOPS_ROOT_PATH', 'Z:/www/xoops' );
define( 'XOOPS_ROOT_PATH', $vdrive.':/www/xoops' );

    // For forward compatibility
    // Physical path to the XOOPS library directory WITHOUT trailing slash
//define( 'XOOPS_PATH', 'Z:/home/xoops_lib' );
define( 'XOOPS_PATH', $vdrive.':/home/xoops_lib' );
    // Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
//define( 'XOOPS_VAR_PATH', 'Z:/home/xoops_data' );
define( 'XOOPS_VAR_PATH', $vdrive.':/home/xoops_data' );

Note: After saving the file set it’s file attribute back to read only.

A more eligant solution may be found on this page Installing Xoops

Top



Ric