Is there is any difference in installing package separately or using Lamp?
I know lamp package saves time in installation but i am asking in terms of memory usage or security?
Reasons to go for manual installation?
Is there is any difference in installing package separately or using Lamp?
I know lamp package saves time in installation but i am asking in terms of memory usage or security?
Reasons to go for manual installation?
Use the LAMP package. There are additional packages like libapache2-mod-php that are needed for all of this to work properly. Over my years here, I've seen a number of posts from people who had installed Apache and PHP manually and couldn't get them to work properly. Often the problem was not having installed something like libapache2-mod-php. The LAMP package includes all these things.
There are many other modules for Apache and PHP that, if you require them, must be installed manually. Run the commands "apt-cache search libapache2" and "apt-cache search php-" to see the lists of available packages.
Last edited by SeijiSensei; February 11th, 2020 at 05:02 PM.
If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.
Blog · Linode System Administration Guides · Android Apps for Ubuntu Users
Thread moved to Server Platforms for a better fit
Please mark your thread as solved if you get a satisfactory responseUbuntu membership via Forums contributions
Yes
You can install the separate components and end up with a similar install using the pre-package but you are restricted in the design flexibility when using the package.
Flexibility in design
To use MariaDB instead of MySQL
To use multiple dedicated servers for scaleability and increased security.
To make use of high-availability with HAProxy / Clustering
Here is an example of a server design that can handle growth easily:
And here's the install documentation on the steps I took to create the above HA design:
Web load balancer
Web server
Database load balancer
Database cluster
Of course, not every app needs such a design but having your database clustered like this with a load balancer makes it VERY robust and allows you to keep it online and working even if you have to perform maintenance/upgrades to a single node.
I try to setup development / test platforms very-much how I would set it up in production. Why? Because more often than not, the development system gets turned into production as is for whatever reason and you don't get to go back and "fix" the design issues that was created because it was simply considered "development" and afforded a lot of extra slack because it was not "production."
LHammonds
I'll just say that I have hosted a number of websites over the years and never had an infrastructure as complex as that.
If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.
Blog · Linode System Administration Guides · Android Apps for Ubuntu Users
Right. I'm definitely in the first group; I suspect the OP is as well.
If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.
Blog · Linode System Administration Guides · Android Apps for Ubuntu Users
Bookmarks