Web Dev full-stack [LAMP] since 2005, but much heavier on the JS stuff these days.
Jack of all Stacks, Master of some.
Always looking to learn new things. Always glad to help out, just ask.
Location
Atlanta, GA
Education
B.S. in Biochemistry 2004, M.S. in Computer Information Systems 2007
Your article states you'll install LAMP and i guess you roughly end up doing that.
You only link to a different article for ubuntu setup as if that's not the biggest part in all this since none of it can run without the OS. Then again most hosting servers would already have it installed so sure we can skip it.
You skipped APACHE virtualhost configs completely.
As in, you are running the site on localhost, the default web folder for apache, which is useless if you ever want to run this on a real domain and need to set the right headers, url rewrites and a dozen other things you need in the virtualhost config.
You install Composer and Node???!?!?! What for exactly? You're not using them in your example. You don't need either of these to get a domain running on Apache. I don't believe you understood what you were really doing there. Nevermind that though, you did get a site up and running, which is the end goal, right?
Also please tell me you're not leaving phpmyadmin like that if you ever put this on a live server. It'll only be getting hit by attacks 24/7. Never use default settings on a server, that's what attack bots crave.
Here's a much more comprehensive list of articles on how to install a LAMP stack.
Digital Ocean keeps these up to date for every new version. Currently it's Ubuntu 20. digitalocean.com/community/tutoria...
Please kindly note this setup is intended to be used as a local LAMP development environment and it is not suitable for a production environment at all. However, we just updated the article to make it even more clear.
As you pointed out, we have added the Apache mod_rewrite module part as it is useful for this setup.
Thank you very much for your constructive comment and we highly appreciate it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Your article states you'll install LAMP and i guess you roughly end up doing that.
You only link to a different article for ubuntu setup as if that's not the biggest part in all this since none of it can run without the OS. Then again most hosting servers would already have it installed so sure we can skip it.
You skipped APACHE virtualhost configs completely.
As in, you are running the site on localhost, the default web folder for apache, which is useless if you ever want to run this on a real domain and need to set the right headers, url rewrites and a dozen other things you need in the virtualhost config.
You install Composer and Node???!?!?! What for exactly? You're not using them in your example. You don't need either of these to get a domain running on Apache. I don't believe you understood what you were really doing there. Nevermind that though, you did get a site up and running, which is the end goal, right?
Also please tell me you're not leaving phpmyadmin like that if you ever put this on a live server. It'll only be getting hit by attacks 24/7. Never use default settings on a server, that's what attack bots crave.
Here's a much more comprehensive list of articles on how to install a LAMP stack.
Digital Ocean keeps these up to date for every new version. Currently it's Ubuntu 20.
digitalocean.com/community/tutoria...
Please kindly note this setup is intended to be used as a local LAMP development environment and it is not suitable for a production environment at all. However, we just updated the article to make it even more clear.
As you pointed out, we have added the Apache mod_rewrite module part as it is useful for this setup.
Thank you very much for your constructive comment and we highly appreciate it.