Page 2 of 2

Re: How to Auto Start LAMPP

PostPosted: 07. January 2015 03:18
by adam1969in
It works, Superb. I am using RHEL 5.9 and after editing rc.local and a restart, it works.

Re: How to Auto Start LAMPP

PostPosted: 08. November 2015 18:01
by hanpedro
At centos 7.1 x64, I got lampp auto-start.


Code: Select all
cd /etc/rc.d/init.d/
ln -s /opt/lampp/lampp


chkconfig --add lampp
/etc/rc.d/init.d/lampp start

Re: How to Auto Start LAMPP

PostPosted: 17. December 2015 10:32
by NOD32user
Not working Fedora 22 x64

The idea of adding as a service with chkconfig is novel although if you get the runlevels right it makes the system busy, scripting files for startup are gone earlier than Fedora 22 as noted /etc/rc.d/init.d/README

Can we please have an XAMPP tut for Fedora 22 put somewhere on the public internet, they answer all the questions in one document and save thousands of hours of distro specific research. Even though for non-production environments the tutorial should take a production approach to the information provided and be including multiple private user access. Put me in front of the correct geek knowing the correct working solution and I will be happy to write the manual. Even if like git you sell the manual.

Installing and use of Xampp 5.5.30-6 on Fedora 22
-Installation
-Automatic startups
-Confirming security configuration.
-Enabling eaccelerator / Zend
-Establishing vhosts
-Using Filezilla Server god help us proftpd.

I do have an xampp.desktop file at ~/.config/autostart to launch manager but that is not what I want.

--NOD32user

Re: How to Auto Start LAMPP

PostPosted: 06. April 2016 04:24
by blaineca
can't find rc.local anywhere

Re: How to Auto Start LAMPP

PostPosted: 07. April 2016 10:23
by Nobbie
OpenSuSE does not have any rc.local file.

As far as i could find on Google, you should try /etc/init.d/after.local instead.

Re: How to Auto Start LAMPP

PostPosted: 10. February 2017 17:31
by arcanisgk
hello friend, I'm new with ubuntu, as it is in version 16.04

Re: How to Auto Start LAMPP

PostPosted: 18. September 2017 08:09
by HokuApps
You can edit the rc.local file to auto start lampp. use root login and edit /etc/rc.local file and add line /opt/lampp/lampp start to end of the file.

Re: How to Auto Start LAMPP

PostPosted: 10. February 2019 00:34
by GSX3100r
Is there a English version of these instructions ?

I made it this far and need translation "Using a root login, su or sudo, start a term session"

"Using a root login" login into WHAT?

"su or sudo" What ?

"start a term session"" What is a terms session?

There must be step by step instructions? No Icon to start the XAMPP GIU no "auto start server" options in the GIU?

Thanks.

Re: How to Auto Start LAMPP

PostPosted: 10. February 2019 12:41
by Nobbie
GSX3100r wrote:Is there a English version of these instructions ?


It is already in english.

GSX3100r wrote:I made it this far and need translation "Using a root login, su or sudo, start a term session"


This simply means you have to start a terminal and execute all commands as superuser.

GSX3100r wrote:"Using a root login" login into WHAT?


Into your linux computer, whatelse?? When you start your linux, you are asked to login. But you cannot login as "root" on Linux Mint, this is prohibited for safety reasons. Therefore you must use the other way, either "su" or "sudo".

GSX3100r wrote:"su or sudo" What ?


You dont have the slightest idea about linux, am i right? "su" and "sudo" are shell commands, enter "man su" in a terminal and read the manual! Same for "man sudo"! There is a simple trick how to run a terminal as superuser: simply start a Terminal and enter "sudo su" (you are asked for your password, after then you are running with root permissions, beware, you can destroy your linux!). Read the manual first!

GSX3100r wrote:"start a term session"" What is a terms session?


A terminal. I am just working with Linux Mint 19.1 and it comes with three different terminals, either "Terminal" or "UXTerm" or "XTerm". Each of them is fine.

GSX3100r wrote:There must be step by step instructions?


A step by step instruction for more than 100 different linux distributions, all working differently, all coming in different releases and versions? Its not Windows, Its Linux. You may enter the Bitnami Team and do that very sophisticated job how to add startup programs in every linux distribution.

GSX3100r wrote:No Icon to start the XAMPP GIU no "auto start server" options in the GIU?


Its "GUI" not "GIU". No, no icon in Xampp GUI, same problem as before, there are too many different distributions and too many different startup routines. It is ON YOU to find out, how to add a startup program to your choosen distribution. There are plenty of tutorials (even in Youtube), you also could buy a linux book and learn how linux is working. The boot process is far more complex than in Windows.

P.S.: I just enabled Xampp in Linux Mint Cinnamon 19.1 startup at boot time (and a clean stop at shutdown as well), open a terminal and enter all commands, one after the other, step by step. Dont miss one, they look all similar, but you MUST NOT change anything. You will be asked for your password on the first sudo, later on you dont need to provide it anymore:

Code: Select all
sudo ln -s /opt/lampp/lampp /etc/init.d/lampp


Code: Select all
sudo ln -s /etc/init.d/lampp /etc/rc0.d/K01lampp


Code: Select all
sudo ln -s /etc/init.d/lampp /etc/rc1.d/K01lampp


Code: Select all
sudo ln -s /etc/init.d/lampp /etc/rc2.d/S01lampp


Code: Select all
sudo ln -s /etc/init.d/lampp /etc/rc3.d/S01lampp


Code: Select all
sudo ln -s /etc/init.d/lampp /etc/rc4.d/S01lampp


Code: Select all
sudo ln -s /etc/init.d/lampp /etc/rc5.d/S01lampp


Code: Select all
sudo ln -s /etc/init.d/lampp /etc/rc6.d/K01lampp


DO NOT enter these commands manually, use copy & paste and do not change anything. After you have submitted all commands, reboot your linux. Open a browser and enter http://localhost - the Xampp dashboard should appear.

Re: How to Auto Start LAMPP

PostPosted: 05. March 2019 00:33
by GSX3100r
Thanks for the reply sorry for the slow reply been working doubles 7 days a week starting the day I asked the question.

I found a easier solution, install VirtualBox, install Windows 10, install The Uniform Server http://www.uniformserver.com/
its the most commonsensical intuitive solution I have found I will give XAMPP another try when it catches up to Uniform Server and or when I get some more free time to play.

I saved your reply as a HTML file and put it in my WWW directory in Uniform Server and bookmarked for future reference.

Thanks again for the help.

Re: How to Auto Start LAMPP

PostPosted: 02. May 2019 08:19
by atharvpatil
Same here, How to solve it.

Re: How to Auto Start LAMPP

PostPosted: 09. July 2019 09:51
by r.jc
kimmy wrote:Has any one got this to work on xampp 1.8.1 yet ? as the file path not there :(

No directory exists @ /etc/rc.d/ or rc.local is @ /etc/

Edit i was having a silly moment.


Try to folder ../lampp/lampp/

Re: How to Auto Start LAMPP

PostPosted: 09. July 2019 09:53
by r.jc
HokuApps wrote:You can edit the rc.local file to auto start lampp. use root login and edit /etc/rc.local file and add line /opt/lampp/lampp start to end of the file.


@kimmy, follow this ..
Good luck, budy