Build PHP-based applications with this essential software stack.
Get easy access to one of the most popular web service stacks: the Linux operating system, the Apache web Server, MySQL relational database management system, and the PHP programming language. The LAMP stack is the foundational stack for open source PHP frameworks like WordPress, Drupal, and Laravel.. The components of the stack itself are tried and true in their stability and power to deliver modern web applications on an advanced ecosystem.
Start building on a core development stack even faster with Linode’s LAMP Stack One-Click App.
|Apache HTTP Server
|Web server that can be used to serve your site or web application.
|General purpose programming language.
|Firewall utility. Ports 22/tcp, 80/tcp, and 443/tcp for IPv4 and IPv6 will allow outgoing and incoming traffic.
LAMP Stack Options
|E-Mail address for Let’s Encrypt SSL certificate. This is also used as the SOA email address if you also enter a domain. Required.
|The limited sudo user to be created for the Linode
|This is the limited user account to be created for the Linode. This account has sudo user privileges.
|The password for the limited sudo user
|Set a password for the limited sudo user. The password must meet the complexity strength validation requirements for a strong password. This password can be used to perform any action on your server, similar to root, so make it long, complex, and unique.
|The SSH Public Key that will be used to access the Linode
|If you wish to access SSH via Public Key (recommended) rather than by password, enter the public key here.
|Disable root access over SSH?
Yes to block the root account from logging into the server via SSH. Select
No to allow the root account to login via SSH.
|Your Linode API Token
API Token is needed to create DNS records. If this is provided along with the
domain fields, the installation attempts to create DNS records via the Linode API. If you don’t have a token, but you want the installation to create DNS records, you must create one before continuing.
|The subdomain you wish the installer to create a DNS record for during setup. The suggestion given is
www. The subdomain should only be provided if you also provide a
|The domain name where you wish to host your website. The installer creates a DNS record for this domain during setup if you provide this field along with your
Note: The password for the MySQL root user is automatically generated and provided in the file `/root/.linode_credentials.txt` when the LAMP deployment completes.
After providing the app-specific options, enter configuration values for your Linode server:
|Select an Image
|Debian 10, Debian 11, Ubuntu 20.04 LTS are currently the only images supported by the LAMP Marketplace App. Required.
|The region where you would like your Linode to reside. In general, it’s best to choose a location that’s closest to you. For more information on choosing a DC, review the How to Choose a Data Center guide. You can also generate MTR reports for a deeper look at the network routes between you and each of our data centers. Required.
|Your Linode’s hardware resources. The Linode plan you deploy your MySQL/MariaDB on should account for the estimated workload. If you are standing up a simple web page, you can use a 1GB Linode (Nanode) or 2GB Linode. If you will deploy a more robust web app, then consider a plan with higher RAM and CPU allocations. If you decide that you need more or fewer hardware resources after you deploy your app, you can always resize your Linode to a different plan. Required.
|The name for your Linode, which must be unique between all of the Linodes on your account. This name will be how you identify your server in the Cloud Manager’s Dashboard. Required.
|The primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. The password must meet the complexity strength validation requirements for a strong password. Your root password can be used to perform any action on your server, so make it long, complex, and unique. Required.
When you’ve provided all required Linode Options, click on the Create button. Your LAMP Stack app will complete installation anywhere between 2-3 minutes after your Linode has finished provisioning.
Getting Started After Deployment
After your LAMP stack has finished deploying, you can:
- Connect to your Linode via SSH. You will need your Linode’s root password to proceed. Note that your Linode’s web root will be located in the
- Navigate to the public IP address of your Linode in a browser. You will see the PHP settings that are active for your Linode.
- Consult the following guides to learn more about working with the various components of the LAMP stack:
- Upload files to your web root directory with an SFTP application like FileZilla. Use the same root credentials that you would use for SSH.
- Assign a domain name to your Linode’s IP address. Review the DNS Manager guide for instructions on setting up your DNS records in the Cloud Manager, and read through DNS Records: An Introduction for general information about how DNS works.
- Marketplace Apps Repository: Review the deployment Ansible playbooks.
This One-Click App was built by Linode. For support regarding app deployment, contact Linode Support via the information listed in the sidebar.