r/linuxdev • u/Biking_dude • Jun 06 '22
Having trouble setting up a development environment, and trying to wrap my head around the relationships between XAMPP / LAMP / WAMP
/r/linux4noobs/comments/v5vlet/having_trouble_setting_up_a_development/
4
Upvotes
View all comments
Show parent comment
1
u/Biking_dude Jun 06 '22
This is useful, thank you!
GUIs == 2nd class citizens- Bwaha, yeah, that's a perfect analogy...keep forgetting and relearning that one more every day.You can start a daemon which is never killed except via manual management.
That's super clear, thank you! I would imagine that the GUI is a sub-process since it gets killed? XAMPP though is a mystery to me (more in the next paragraph)
ps augxwwHmm, I'm not sure what I'm looking for in this wall of text. There's never a process called XAMPP that's started as far as I can tell - the command to start it is
sudo /opt/lampp/lampp startWhy I started off asking about the relationship between XAMPP and LAMP - I don't understand what XAMPP is actually doing and what its role is.Right now, it appears to be that it's a simple script that starts and stops Apache and MySql and that's it? In terms of checking about MySQL - it's irrelevant if MySQL is running because I can have the GUI on and MySQL off and vice versa. I'm trying to understand what XAMPP is actually doing though.
In the documentation, it mentions the command to stop the server - is that the same thing as killing / quitting the application (I thought those meant different things)? https://www.apachefriends.org/faq_linux.html
Docker vs frameworksYeah, 70% of the work I do is with OS CMS which are all on LAMP stacks. I've used Docker before, but for the bulk of this work it would be clumsy and cumbersome. It's absolutely a powerful tool in the toolbox though!
Man pagesAre there any good ones out there? I'm a big fan of RTFMing, but I've found the documentation in general to be pretty terrible (and search results are littered with content farm results which are even worse). Surprised how much harder it's been to find answers to certain problems. Even the question about killing a process brought up SO pages that just bickered about what each command did and why one is better/worse than another. Hard to build a knowledge base off of, or at least has been hard for me to adapt my knowledge base to Linux.
lot to learnWell, more about porting all of that over to Linux has been the challenge. It reminds me of when I rented a car after not driving a new car for years. Got in...asked where the ignition was. Oh, you just hit the start button, no key! But how does the car know I'm the one who's supposed to be driving it? Oh, it can read the dongle! What dongle? Oh, I forgot to give you that, I'll be right back. {face palm} Now I make sure I have the dongle before driving away, but didn't know that first time. The learning for me has been about the dongle, not the driving.
Thank you! A lot of this is super helpful, notes have been taken, and anything else that comes to mind is much appreciated! :D