HELP: install LAMPP on USB memory key

Problems with the Linux version of XAMPP, questions, comments, and anything related.

HELP: install LAMPP on USB memory key

Postby pinguino_skipper » 18. May 2009 01:18

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
pinguino_skipper
 
Posts: 4
Joined: 18. May 2009 01:08

Re: HELP: install LAMPP on USB memory key

Postby Xardas der Dunkle » 18. May 2009 14:55

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
User avatar
Xardas der Dunkle
 
Posts: 482
Joined: 09. March 2008 19:40
Location: /var/www

Re: HELP: install LAMPP on USB memory key

Postby pinguino_skipper » 18. May 2009 18:58

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!
pinguino_skipper
 
Posts: 4
Joined: 18. May 2009 01:08

Re: HELP: install LAMPP on USB memory key

Postby pinguino_skipper » 18. May 2009 19:29

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.
pinguino_skipper
 
Posts: 4
Joined: 18. May 2009 01:08

Re: HELP: install LAMPP on USB memory key

Postby Nobbie » 19. May 2009 16:16

>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?
Nobbie
 
Posts: 8766
Joined: 09. March 2008 13:04

Re: HELP: install LAMPP on USB memory key

Postby pinguino_skipper » 20. May 2009 17:25

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!
pinguino_skipper
 
Posts: 4
Joined: 18. May 2009 01:08

Re: HELP: install LAMPP on USB memory key

Postby unleash » 03. December 2011 10:48

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
unleash
 
Posts: 141
Joined: 03. December 2011 10:16
Operating System: OpenSuse Linux 12.1

Re: HELP: install LAMPP on USB memory key

Postby JonB » 03. December 2011 11:59

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
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: HELP: install LAMPP on USB memory key

Postby unleash » 03. December 2011 12:21

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
unleash
 
Posts: 141
Joined: 03. December 2011 10:16
Operating System: OpenSuse Linux 12.1

Re: HELP: install LAMPP on USB memory key

Postby JonB » 03. December 2011 13:06

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
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests