487
edits
m (→Download) |
(Punctuation and grammatical changes; changed categories.) |
||
Line 23: | Line 23: | ||
* All unused modules shall be disabled. | * All unused modules shall be disabled. | ||
Our mini server is intended to be small | Our mini server is intended to be small. In keeping with this philosophy only the Perl core and a few library elements shall be used it is relatively large at 2MB however this is small in comparison to the complete Perl package of 50MB. | ||
If the basic core and included library elements do not meet your requirements download the full Perl package and add libraries as required. | If the basic core and included library elements do not meet your requirements download the full Perl package and add libraries as required. | ||
Line 170: | Line 170: | ||
|} | |} | ||
== Perl - Core == | == Perl - Core == | ||
Line 176: | Line 175: | ||
=== Download === | === Download === | ||
We are not interested in installing Perl on our PC hence download a zip package | We are not interested in installing Perl on our PC, hence download a zip package. | ||
* The mini servers use ''' ActivePerl-5.10.0.1003-MSWin32-x86-285500.zip''' downloadable from [http://downloads.activestate.com/ActivePerl/Windows/5.10/ Activestate download page]. | * The mini servers use ''' ActivePerl-5.10.0.1003-MSWin32-x86-285500.zip''' downloadable from [http://downloads.activestate.com/ActivePerl/Windows/5.10/ Activestate download page]. | ||
* After downloading unzip to any folder | * After downloading, unzip to any folder; locate the files '''perl.exe''' and '''perl510.dll''' and copy them to the mini server folder '''<nowiki>*</nowiki>\mini_server_9\udrive\usr\bin''' | ||
* Create a new folder <nowiki>*</nowiki>'''\mini_server_9\udrive\usr\lib''' and add libraries as required. (I have included a small number of library elements in the support files) | * Create a new folder <nowiki>*</nowiki>'''\mini_server_9\udrive\usr\lib''' and add libraries as required. (I have included a small number of library elements in the support files.) | ||
== Perl ini == | == Perl ini == | ||
Believe it or not that’s all there is to the installation process. A Perl ini file is not required | Believe it or not, that’s all there is to the installation process. A Perl ini file is not required; it's provided in the core. | ||
=== Testing === | === Testing === | ||
Double click on '''server_start.bat''' and check the server runs. | Double click on '''server_start.bat''' and check the server runs. | ||
Line 205: | Line 203: | ||
The above are not real security measures they just provide a little fence to be jumped when a script kiddie wants to play. | The above are not real security measures they just provide a little fence to be jumped when a script kiddie wants to play. | ||
== Support files == | == Support files == | ||
Line 214: | Line 211: | ||
'''''Note'':''' Check out the mini server's [[Mini Servers: Support and download|support and download page]] detailing how to obtain full binaries for Apache and Perl. | '''''Note'':''' Check out the mini server's [[Mini Servers: Support and download|support and download page]] detailing how to obtain full binaries for Apache and Perl. | ||
=== Extract files === | === Extract files === | ||
Line 263: | Line 258: | ||
# Stop the server by double clicking on '''server_stop.bat''' | # Stop the server by double clicking on '''server_stop.bat''' | ||
=== Your web site === | === Your web site === | ||
Line 272: | Line 266: | ||
e.g. <nowiki>http://localhost:8089/somepage.html</nowiki> | e.g. <nowiki>http://localhost:8089/somepage.html</nowiki> | ||
== Problems - shebang == | == Problems - shebang == | ||
Line 286: | Line 279: | ||
Apache's error log: '''(OS 3) The system cannot find the path specified''' | Apache's error log: '''(OS 3) The system cannot find the path specified''' | ||
== Change Virtual Drive == | == Change Virtual Drive == | ||
Line 296: | Line 287: | ||
# Edit server_start.bat, locate the following line:<br> '''rem set Disk=w''' <br>Remove the rem and replace w with the letter you want to use for example:<br> '''set Disk=x''' Forces the server to use drive letter x | # Edit server_start.bat, locate the following line:<br> '''rem set Disk=w''' <br>Remove the rem and replace w with the letter you want to use for example:<br> '''set Disk=x''' Forces the server to use drive letter x | ||
== Change server default port == | == Change server default port == | ||
Line 307: | Line 297: | ||
'''''Note'':''' Type '''<nowiki>http://localhost:8080</nowiki>''' into a browser to view the site. | '''''Note'':''' Type '''<nowiki>http://localhost:8080</nowiki>''' into a browser to view the site. | ||
If port already in use try any value above 2000 | If port already in use, try any value above 2000 | ||
== Multi Servers == | == Multi Servers == | ||
Line 318: | Line 308: | ||
'''''Note'':''' You can run the mini servers alongside Uniform Server 3.5-Apollo however you must start Uniform Server first. | '''''Note'':''' You can run the mini servers alongside Uniform Server 3.5-Apollo however you must start Uniform Server first. | ||
== Summary == | == Summary == | ||
Line 327: | Line 316: | ||
This server can also be run as a service covered on the [[Mini Servers: Apache 2.2.9 Perl 5.10 Service|next page]]. | This server can also be run as a service covered on the [[Mini Servers: Apache 2.2.9 Perl 5.10 Service|next page]]. | ||
---- | ---- | ||
Line 337: | Line 324: | ||
[[Category: Mini Servers]] | [[Category: Mini Servers]] | ||
[[Category: Perl]] | [[Category: Perl]] | ||