Bash script to start/stop LAMP on GECKO static Plasma.
by pavllvap from LinuxQuestions.org on (#5JHBR)
Beginner with help from this forum now has a LAMP stack on Gecko Static Plasma (and a WAMP on Win10Pro using Uniserver Zero.)
Seeking a way to reliably start/stop the services ... but I do have them enabled so this might be a moot point ... asking anyway to get opinions/suggestions.
Have used the WAMP version with its integrated simple controller having form control buttons to start/stop Apache and MySQL etc.
Found this old post ... showing a bash script to do something similar but more basic.
https://www.linuxquestions.org/quest...-mysql-625028/
Wondering if this post is the way to go with my Leap 15.2 Gecko.
Not used bash scripts and so unsure how to proceed.
Am imagining that I will be making "unforced errors" and will likely need to stop and restart on a regular basis.
Would like to at least get that bit correct and reliable so that I can learn about actually getting my database started.
LAMP is default setup as per Leap Wiki.
Seeking a way to reliably start/stop the services ... but I do have them enabled so this might be a moot point ... asking anyway to get opinions/suggestions.
Have used the WAMP version with its integrated simple controller having form control buttons to start/stop Apache and MySQL etc.
Found this old post ... showing a bash script to do something similar but more basic.
https://www.linuxquestions.org/quest...-mysql-625028/
Wondering if this post is the way to go with my Leap 15.2 Gecko.
Not used bash scripts and so unsure how to proceed.
Am imagining that I will be making "unforced errors" and will likely need to stop and restart on a regular basis.
Would like to at least get that bit correct and reliable so that I can learn about actually getting my database started.
LAMP is default setup as per Leap Wiki.