Article 5JHBR Bash script to start/stop LAMP on GECKO static Plasma.

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.latest?d=yIl2AUoC8zA latest?i=vUYFAuYSiXQ:w21RAsjD8W0:F7zBnMy latest?i=vUYFAuYSiXQ:w21RAsjD8W0:V_sGLiP latest?d=qj6IDK7rITs latest?i=vUYFAuYSiXQ:w21RAsjD8W0:gIN9vFwvUYFAuYSiXQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments