Answers: <p>It depends on the details. What do you understand on &quot;LAMP installation&quot;, it is a specific set on configs of apache/mysql/php, or it is a custom system image?</p>
  <p>Considering that it is an IaaS setting, logic dictates you have a LAMP system (as a VM image or a compressed fs) and you want to deploy it into some VM container. To my best knowledge, there is not even an usual way to do that. All it depends on your VM provider. Very likely, you need to get some command line interface from your provider, and you need to deploy things to it.</p>
  <p>Another possible interpretation of your question, that you have an actually running virtual machine, and you want to deploy your LAMP configuration to that. There, things depend on the distro, however in the current devops world, typically containers are deployed.</p>
  
Answers: CC BY-SA 4.0
Answers: 2022-10-10T13:48:08.573Z
Answers: 2022-10-10T13:48:08.573Z
Answers: peterh
Body: <p>Say I rent an IaaS environment and want to quickly deploy a LAMP installation with a virtual host and SSL certificate by Bash alone (no programs such as Ansible would be used).</p>
  <p>Is there some standard way to do so?</p>
  
Comments: CC BY-SA 4.0
Comments: 2022-10-06T16:14:15.437Z
Comments: It looks to me a little bit open-ended or unclear. But I think you can use some minimalistic VM image and upload it from bash (from most providers).
Comments: peterh
Comments: CC BY-SA 4.0
Comments: 2024-06-07T11:01:15.290Z
Comments: Now nearly 2 years later, my suggestion would be to use ansible. Sadly I write this comment essentially only for myself.
Comments: peterh
Tags: <apache-httpd>
Title: What is a standard way to quickly deploy a LAMP installation with a virtual host and certbot?
UserDisplayName: beltazzar
ThreadText: # What is a standard way to quickly deploy a LAMP installation with a virtual host and certbot?
  
  (Asked by: username_0 on 2022-10-05)
  
  Say I rent an IaaS environment and want to quickly deploy a LAMP installation with a virtual host and SSL certificate by Bash alone (no programs such as Ansible would be used).
  
  Is there some standard way to do so?
  
  **Tags:** apache-httpd
  
  > **Comments:**
  > **username_1**: It looks to me a little bit open-ended or unclear. But I think you can use some minimalistic VM image and upload it from bash (from most providers).  
  > **username_1**: Now nearly 2 years later, my suggestion would be to use ansible. Sadly I write this comment essentially only for myself.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-10-10. Score: 0
  
  It depends on the details. What do you understand on "LAMP installation", it is a specific set on configs of apache/mysql/php, or it is a custom system image?
  
  Considering that it is an IaaS setting, logic dictates you have a LAMP system (as a VM image or a compressed fs) and you want to deploy it into some VM container. To my best knowledge, there is not even an usual way to do that. All it depends on your VM provider. Very likely, you need to get some command line interface from your provider, and you need to deploy things to it.
  
  Another possible interpretation of your question, that you have an actually running virtual machine, and you want to deploy your LAMP configuration to that. There, things depend on the distro, however in the current devops world, typically containers are deployed.
  
  
  ---
  
  