Page 1 of 1

HELP: install LAMPP on USB memory key

PostPosted: 18. May 2009 01:18
by pinguino_skipper
Hi, I need some help to install Xampp for Linux (Lampp) and Joomla on a USB memory stick. I did it without any problem with the Windows version (just unzip Xampp on the key and run the setup...) but with my Linux OS (Ubuntu 8.10) I succeed to have Lampp working only if I install it on my /opt directory (as it is explained in the official installation guide).
I suppose it is just a problem of permissions, but I have no idea about how I'd have to un-tar and install the files in the right way. Or the Linux version works only if installed in the OS?
Please, let me know.
Thank you very much!

daniele

Re: HELP: install LAMPP on USB memory key

PostPosted: 18. May 2009 14:55
by Xardas der Dunkle
The problem on linux os is, you have too run the xampp in the /opt/lampp directory!
But you can avoid it in 2 ways.

  • Put the lampp directory directly on your stick and mount it into /opt. (Very inadvisable if in the /opt runs any other software)
  • Or create a symlink from your lampp-install on your stick to /opt/lampp

Re: HELP: install LAMPP on USB memory key

PostPosted: 18. May 2009 18:58
by pinguino_skipper
Thank you very much. I'm trying with the ln -s option, but I'm not sure I'm linking the right path. I tried both creating a link to the lampp directory or to the lamp file in it, with:

Code: Select all
sudo ln -s /media/MY_PENDRIVE/lampp/lampp /opt/lampp

or
Code: Select all
sudo ln -s /media/MY_PENDRIVE/lampp/ /opt/


but lunching the program with
Code: Select all
sudo /opt/lampp/lampp start
I got a lot of "missing path" errors (more in the second than in the first case).
Could you please suggest me which file I have to link, please?
Thank you!

Daniele

PS: it's VERY annoying to know that Windows version of a free software has some more function than the Linux one!

Re: HELP: install LAMPP on USB memory key

PostPosted: 18. May 2009 19:29
by pinguino_skipper
PS: maybe another possibility... Using WINE I can run successfully the setup_xampp.bat file of the WIndows version. I can also run the GUI with xampp-control.exe, but unfortunately there no way to start Apache and mySQL from this.
If i start Apache launching apache_start.bat with WINE I get:

    Diese Eingabeforderung nicht waehrend des Running beenden
    Bitte erst bei einem gewollten Shutdown schliessen
    Please close this command only for Shutdown
    Apache 2 is starting ...
    (OS 10013)Permission denied: make_sock: could not bind to address 0.0.0.0:80
    no listening sockets available, shutting down
    Unable to open logs

    Apache konnte nicht gestartet werden
    Apache could not be started
    Press Return key to continue:

launching mysql_start.bat:

    Diese Eingabeforderung nicht waehrend des Running beenden
    Please dont close Window while MySQL is running
    MySQL is trying to start
    Please wait ...
    MySQL is starting with mysql\bin\my.cnf (console)
    090518 20:13:26 InnoDB: Started; log sequence number 0 46409
    090518 20:13:27 [Note] Event Scheduler: Loaded 0 events
    090518 20:13:27 [Note] mysql\bin\mysqld: ready for connections.
    Version: '5.1.33-community' socket: '' port: 3306 MySQL Community Server (GPL)
    090518 20:13:27 [ERROR] TCP/IP, --shared-memory, or --named-pipe should be configured on NT OS
    090518 20:13:27 [ERROR] Aborting

    090518 20:13:27 InnoDB: Starting shutdown...
    090518 20:13:31 InnoDB: Shutdown completed; log sequence number 0 46409
    090518 20:13:31 [Warning] Forcing shutdown of 1 plugins
    090518 20:13:31 [Note] mysql\bin\mysqld: Shutdown complete

    MySQL konnte nicht gestartet werden
    MySQL could not be started
    Press Return key to continue:

Any idea? ThanX

d.

Re: HELP: install LAMPP on USB memory key

PostPosted: 19. May 2009 16:16
by Nobbie
>Could you please suggest me which file I have to link, please?

Could you please tell us where the Shell Script "lampp" is located (full path) on your USB stick?

>PS: it's VERY annoying to know that Windows version of a free software has some more function than the Linux one!

Which "more functions" do you mean?

Re: HELP: install LAMPP on USB memory key

PostPosted: 20. May 2009 17:25
by pinguino_skipper
The script path is:
Code: Select all
/media/MY_PENDRIVE/lampp/lampp


About Win/Linux: Ok, "function" is a wrong word, nevertheless, it is easier, if you need to show a website stored in an USB stick using someone else's computer, just to launch setup.bat to redefine the path to the pendrive, than to create in the /opt directory a symbolic link... A cross-platform version intended to run from USB pen-drive would be the best for demonstration and so on!

Re: HELP: install LAMPP on USB memory key

PostPosted: 03. December 2011 10:48
by unleash
pinguino_skipper wrote:The script path is:
Code: Select all
/media/MY_PENDRIVE/lampp/lampp


About Win/Linux: Ok, "function" is a wrong word, nevertheless, it is easier, if you need to show a website stored in an USB stick using someone else's computer, just to launch setup.bat to redefine the path to the pendrive, than to create in the /opt directory a symbolic link... A cross-platform version intended to run from USB pen-drive would be the best for demonstration and so on!

hello dear friend - where can i get a cross platform version

Re: HELP: install LAMPP on USB memory key

PostPosted: 03. December 2011 11:59
by JonB
A. This topic is two years old -

B. There still is not one (nor likely to be one) - reason - Apache is differentiated at the source level to accommodate OS functionality differences. -

Good Luck
8)



ysf

Re: HELP: install LAMPP on USB memory key

PostPosted: 03. December 2011 12:21
by unleash
hi there

JonB wrote:A. This topic is two years old -

B. There still is not one (nor likely to be one) - reason - Apache is differentiated at the source level to accommodate OS functionality differences. -

Good Luck
8)

ysf


do not fully understand...

but continuing to try...

greeetz ul

Re: HELP: install LAMPP on USB memory key

PostPosted: 03. December 2011 13:06
by JonB
The Windows and Unix based versions of the Apache webserver fundamentally do not work in the same fashion at the 'code level' - so they cannot run on each other's operating system.

http://httpd.apache.org/docs/2.0/mpm.html

http://httpd.apache.org/docs/2.0/platform/windows.html

At some point in the future that may be overcome, but for now that's the way things are

Good Luck