How to Auto Start LAMPP

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

Re: How to Auto Start LAMPP

Postby Doug-W5DET » 25. August 2020 19:59

I remained generic in my post because I believe the topic is more general than this installation of Mint 19.3/Ubuntu 18.04 I use. Mint 20 behaves the same.

Moving on, there isn't a "/etc/rc.local" file in this installation. There are, however, folders named /etc/rc0.d thru /etc/rc6.d plus /etc/rcS.d, none of which contain rc.local. Likewise, there is no /etc/init.d/lampp script anywhere I looked on this computer.

I performed the edit described at the site I provided and it does exactly what I had to search for: Autostart XAMPP on system boot using Mint 19.3 (and/or Ubuntu. )

I have never even hinted I possess any Linux guru-ness. When I find an answer to a problem that has plagued me and Lord knows how many others, I share it without trying to be a snob about it. It's how we old guys roll.
Doug-W5DET
 
Posts: 5
Joined: 20. July 2020 16:42
XAMPP version: 7.2.32.0
Operating System: Linuxmint 19.3

Re: How to Auto Start LAMPP

Postby Nobbie » 26. August 2020 11:59

Doug-W5DET wrote:Likewise, there is no /etc/init.d/lampp script anywhere I looked on this computer.


Of course not, you have to put a symbolic link from /opt/lampp/lampp to /etc/init.d/lampp. And finally create symbolic links from init.d to rcX.d (X from 0 to 6) to S99lampp (start) and/or K99lampp (stop). I have written a doc somewhere here, how to proceed in detail. That is how init.d is meant to work. But all of this is iinux knowledge, not Xampp knowledge. Bitnami surely CANNOT provide support for each and every distribution and how to run Xampp at boot time. Actually there is no need for it, as Xampp is designed to run as development environment, not a public server. Bitnami provides a uniq start script (lampp), which is ok and sufficient.

/etc/rc.local is a dirty solution by the way, which i do not recommend.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: How to Auto Start LAMPP

Postby uciharis » 29. July 2023 02:34

JonB wrote:@timmyrico -

Your profile says you are on Windows running 1.6.3a - that could be a reason it is not working also.

If that is not the case, please change your profile.

8)




ysf


sir, i got this too
Code: Select all
latitude-7300@localhost:/etc> find rc.d
find: ‘rc.d’: No such file or directory
latitude-7300@localhost:/etc> find  mail.rc
mail.rc
latitude-7300@localhost:/etc> find rc.local
find: ‘rc.local’: No such file or directory
latitude-7300@localhost:/etc> find rc
find: ‘rc’: No such file or directory
latitude-7300@localhost:/etc> find local
find: ‘local’: No such file or directory



no directory or file name rc.d found
uciharis
 
Posts: 3
Joined: 29. July 2023 02:11
XAMPP version: 8.2.4.0
Operating System: Opensuse 15.5

Re: How to Auto Start LAMPP

Postby uciharis » 29. July 2023 03:22

for opensuse Leap and gnome user, this article should help alot

https://juliansyahrifqi.hashnode.dev/install-xampp-di-opensuse-leap
uciharis
 
Posts: 3
Joined: 29. July 2023 02:11
XAMPP version: 8.2.4.0
Operating System: Opensuse 15.5

Previous

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 39 guests