Stopping XAMPP with Linux Ubuntu OS

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

Stopping XAMPP with Linux Ubuntu OS

Postby ceck » 18. March 2016 08:20

Hello,

I am using XAMPP since a long time, and most of the time, I do not stop XAMPP when I shut down my computer.
Until now, I have never encounter any issue, but I am not sure if it is good or not.

So, my question is : is it advisable to stop XAMPP before shutting down the computer ?

Thanks for any answer. :)

--------------------------------
Hallo,

Ich benutze XAMPP seit langer Zeit, und die meiste Zeit, ich XAMPP nicht aufhören, wenn ich meinen Computer herunterfahren .
Bis jetzt habe ich noch nie jedes Problem begegnen, aber ich bin nicht sicher, ob es gut ist oder nicht.

Also, meine Frage ist: ist es ratsam, XAMPP zu stoppen, bevor Sie den Computer herunterfahren ?

Vielen Dank für jede Antwort. :)
ceck
 
Posts: 2
Joined: 18. March 2016 08:07
Operating System: Linux Ubuntu

Re: Stopping XAMPP with Linux Ubuntu OS

Postby Nobbie » 18. March 2016 10:31

ceck wrote:So, my question is : is it advisable to stop XAMPP before shutting down the computer ?


Yes, of course. Especially MySQL may leave a crashed database (ths is already an issue for Xampp Windows). It is always safe to shut down software tools softly.

Simply create a symbolic link from /opt/lampp/lampp to /etc/init.d/lampp and you can start/stopp lampp as daemons on startup/shutdown automatically.
Nobbie
 
Posts: 8775
Joined: 09. March 2008 13:04

Re: Stopping XAMPP with Linux Ubuntu OS

Postby ceck » 18. March 2016 20:49

@ Nobbie, Thanks for your answer.

Could your please tell me how I can stop lampp automatically (if the servers are running) ?

Thanks
ceck
 
Posts: 2
Joined: 18. March 2016 08:07
Operating System: Linux Ubuntu

Re: Stopping XAMPP with Linux Ubuntu OS

Postby Nobbie » 19. March 2016 11:15

# /etc/init.d/lampp stop

For more information about init.d and runlevels (i.e. folders /etc/rc0.d, /etc/rc1.d etc.) ask in a linux forum. This is basic linux knowledge.
Nobbie
 
Posts: 8775
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 8 guests