Jump to content
The Uniform Server Community
REFFER

Portable USB Server with all features

Recommended Posts

Is there any miniserver with all features (Apache/PHP/mySQL) and no pre-installed scripts ready to put in USB drive that can run in paralel with other Apache?

I didn't find it. :D


<?

André Lima

Web Developer

REFFER

Fortaleza - CE - Brazil

?>

Share this post


Link to post
Share on other sites

If there were a mini-server with that configuration it would be a duplication of 3.5

 

US 3.5 is very flexible and relatively easy to modify to run more than one instance.

 

US 3.5 defaults:

Drive W - Apache port 80 - MySQL port 3306

The following shows how to change these and give a server with the following values:

Drive Z - Apache port 8080 - MySQL port 3308

 

1) Move server to port 8080

 

Start Uniform Server from Apanel click Apache Configuration link change Listen: to port 8080 click save.

Stop servers.

 

2) Move MySQL Port from 3306 to 3308:

 

Edit File \udrive\usr\local\mysql\bin\my-small

 

Change two occurrences (lines 9 and 18) of 3306 to 3308

 

3) Edit file: \udrive\home\admin\www\phpMyAdmin\config.inc.php

 

Change (line 38)

cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port

To:

cfg['Servers'][$i]['port'] = '3308'; // MySQL port - leave blank for default port

 

4) Edit file: \udrive\home\admin\program\Close.bat

 

Change:

%Disk%:\usr\local\mysql\bin\mysqladmin.exe --character-sets-dir="/usr/local/mysql/share/charsets/" --user=root --password=root shutdown

To:

%Disk%:\usr\local\mysql\bin\mysqladmin.exe --character-sets-dir="/usr/local/mysql/share/charsets/" --port=3308 --user=root --password=root shutdown

 

5) Rename Apache file

From:

\udrive\usr\local\apache2\bin\Apache.exe

to:

\udrive\usr\local\apache2\bin\Apache_new.exe

 

Note: Apache_new can be any name however it must be unique

 

6) Edit file: Stop.bat

Change:

udrive\home\admin\program\pskill.exe Apache.exe c

To:

udrive\home\admin\program\pskill.exe Apache_new.exe c

 

7) Edit file: Server_Start.bat

 

Replace two occurrences (lines 13 and 28) of Apache.exe with Apache_new.exe

 

Replace line:

if "%Disk%"=="" set Disk=w

With:

if "%Disk%"=="" set Disk=z

 

That’s it you can run this alongside the original US 3.5 and any mini-servers.

 

Note: If you use phpMyBackupPro click the configuration link

 

Change MySQL hostname*

From:

localhost

To:

localhost:3308

 

All the best

Ric :D

Share this post


Link to post
Share on other sites

thank you soooooooooooooooooooooooooooooooo much this is a life saver :D B)


IPB Image

 

IPB Image

if you like this Uniform Server User Sing take em i do not mind share

IPB Image

 

IPB Image

Share this post


Link to post
Share on other sites

Hi REFFER,

I think the community can rightly place the blame at your doorstep for 3.6 Its just been published, hope it meets your requirements.

 

All the best

Ric :D

Share this post


Link to post
Share on other sites

Please note, check the Wiki for details regarding 3.6 it’s an unofficial upgrade of 3.5 Consolidates bug fixes, in addition will save you the trouble of upgrading Apache, MySQL and other components separately (ref mini-servers).

 

Contains a little bit of extra functionality in that it integrates SSL, this you may find useful if you require a personal secure server.

 

All the best

Ric :D

Share this post


Link to post
Share on other sites

With the release of 4.0-Mona the disappearance of 3.6-Apollo from the Wiki I can now explain.

 

It was pulled from the Wiki and dismantled; the better ideas and functionality are integrated into Mona along with additional features. The Apollo update would have led to confusion and an impossible task to maintain if left on the Wiki.

 

Mona has the great advantage in that it has been fully tested and ripped apart by the beta team. The design team have addressed all problems found hence it should be an excellent piece of kit. Mona has a very small footprint while retaining maximum functionality making it ideal as a test, teaching and production server.

 

All the best

Ric :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...