From 34fac0938f2d09250250ae57eba8000754fa2833 Mon Sep 17 00:00:00 2001 From: leslitagordita Date: Tue, 26 Mar 2019 14:25:46 -0400 Subject: [PATCH 1/6] Draft of LAMP One-Click App --- .../index.md | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md diff --git a/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md b/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md new file mode 100644 index 00000000000..2851b764ab9 --- /dev/null +++ b/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md @@ -0,0 +1,73 @@ +--- +author: + name: Linode Community + email: docs@linode.com +description: 'Use One-Click Apps to deploy a LAMP stack on Linode' +keywords: ['LAMP', 'apache', 'web server', 'mysql', 'php'] +license: '[CC BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0)' +published: 2019-03-26 +modified: 2019-03-26 +modified_by: + name: Linode +title: "Deploy a LAMP Stack with One-Click Apps" +contributor: + name: Linode +external_resources: +- '[Apache Getting Started](http://httpd.apache.org/docs/current/getting-started.html)' +--- + +## LAMP Stack One-Click App + +A LAMP (Linux, Apache, MySQL, PHP) stack is a common, free, and open-source web stack used for hosting web content in a Linux environment. This software environment is a foundation for popular PHP application frameworks like WordPress, Drupal, and Laravel. Upload your existing PHP application code to your new app or use a PHP framework to write a new application on your Linode. + +### Deploy a LAMP Stack with One-Click Apps + +{{< content "deploy-one-click-apps">}} + +The [LAMP Stack Options](#lamp-stack-options) section of this guide provides details on all available configuration options for this app. + +### LAMP Stack Options + +| **Field** | **Description** | +|:--------------|:------------| +| **MySQL root password** | Your LAMP stack's MySQL database password. *Required*. | + +### Linode Options + +After providing the app specific options, provide configurations for your Linode server: + +| **Configuration** | **Description** | +|:--------------|:------------| +| **Select an Image** | Debian 9 is currently the only image supported by Drupal One-Click Apps. *Required* | +| **Region** | Choose the region where you would like your Linode to reside. If you’re not sure which to select, see our [How to Choose a Data Center](/docs/platform/how-to-choose-a-data-center) guide. You can also generate [MTR reports](/docs/networking/diagnostics/diagnosing-network-issues-with-mtr/) for a deeper look at the route path between you and a data center in each specific region. *Required* | +| **Linode Plan** | Select a Linode plan. The Linode plan you deploy your LAMP stack on should account for the estimated workload. If you are standing up a simple web page, you can use a Nanode or 2GB Linode. If you are standing up a larger or more robust web app, then consider a plan with higher memory and RAM. *Required* | +| **Linode Label** | Give your Linode a label. This is a name to help you easily identify it within the Cloud Manager’s Dashboard. | +| **Root Password** | Create a root password for your Linode in the Root Password field. This password must be provided when you log in to your Linode via SSH. It must be at least 6 characters long and contain characters from two of the following categories: lowercase and uppercase case letters, numbers, and punctuation characters. *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](/docs/getting-started/#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 `/var/www/html` directory. + +- [Navigate to the public IP address](/docs/getting-started/#find-your-linode-s-ip-address) of your Linode in a browser, and 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: + + - [Secure HTTP Traffic with Certbot](https://linode.com/docs/quick-answers/websites/secure-http-traffic-certbot/) + - [Apache Configuration Basics](/docs/web-servers/apache-tips-and-tricks/apache-configuration-basics/) + - [How to Optimize MySQL Performance Using MySQLTuner](/docs/databases/mysql/how-to-optimize-mysql-performance-using-mysqltuner/) + - [DNS Manager](/docs/platform/manager/dns-manager/) + +### Software Included + +The LAMP Stack One-Click App will install the following software on your Linode: + +| **Software** | **Description** | +|:--------------|:------------| +| **Apache HTTP Server** | Web Server that can be used to serve your site or web app.| +| **MySQL Server** | Database | +| **PHP 7** | General purpose programming language. | +| **UFW (UncomplicatedFirewall)** | Firewall utility. Ports 22/tcp, 80/tcp, and 443/tcp for IPv4 and IPv6 will allow outgoing and incoming traffic. | \ No newline at end of file From 697a06a426459ff3770a4718b612880cea3d08ed Mon Sep 17 00:00:00 2001 From: nmelehan Date: Thu, 28 Mar 2019 18:06:25 -0400 Subject: [PATCH 2/6] Copy edit --- .../index.md | 33 ++++++++++--------- .../one-click/deploy-one-click-apps/index.md | 10 +++--- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md b/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md index 2851b764ab9..b95046a7a54 100644 --- a/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md +++ b/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md @@ -18,11 +18,11 @@ external_resources: ## LAMP Stack One-Click App -A LAMP (Linux, Apache, MySQL, PHP) stack is a common, free, and open-source web stack used for hosting web content in a Linux environment. This software environment is a foundation for popular PHP application frameworks like WordPress, Drupal, and Laravel. Upload your existing PHP application code to your new app or use a PHP framework to write a new application on your Linode. +A LAMP (Linux, [Apache](https://www.apache.org), [MySQL](https://www.mysql.com), [PHP](https://www.php.net)) stack is a popular, free, and open-source web software bundle used for hosting websites on Linux. This software environment is a foundation for popular PHP application frameworks like WordPress, Drupal, and Laravel. After you deploy your LAMP One-Click App, you can upload your existing PHP application code to it or use a PHP framework to write a new application on your Linode. ### Deploy a LAMP Stack with One-Click Apps -{{< content "deploy-one-click-apps">}} +{{< content "deploy-one-click-apps" >}} The [LAMP Stack Options](#lamp-stack-options) section of this guide provides details on all available configuration options for this app. @@ -30,19 +30,19 @@ The [LAMP Stack Options](#lamp-stack-options) section of this guide provides det | **Field** | **Description** | |:--------------|:------------| -| **MySQL root password** | Your LAMP stack's MySQL database password. *Required*. | +| **MySQL root password** | The root password for your LAMP stack's MySQL database. This is not the same as your Linode's root password. *Required*. | ### Linode Options -After providing the app specific options, provide configurations for your Linode server: +After providing the app-specific options, enter configuration values for your Linode server: | **Configuration** | **Description** | |:--------------|:------------| -| **Select an Image** | Debian 9 is currently the only image supported by Drupal One-Click Apps. *Required* | -| **Region** | Choose the region where you would like your Linode to reside. If you’re not sure which to select, see our [How to Choose a Data Center](/docs/platform/how-to-choose-a-data-center) guide. You can also generate [MTR reports](/docs/networking/diagnostics/diagnosing-network-issues-with-mtr/) for a deeper look at the route path between you and a data center in each specific region. *Required* | -| **Linode Plan** | Select a Linode plan. The Linode plan you deploy your LAMP stack on should account for the estimated workload. If you are standing up a simple web page, you can use a Nanode or 2GB Linode. If you are standing up a larger or more robust web app, then consider a plan with higher memory and RAM. *Required* | -| **Linode Label** | Give your Linode a label. This is a name to help you easily identify it within the Cloud Manager’s Dashboard. | -| **Root Password** | Create a root password for your Linode in the Root Password field. This password must be provided when you log in to your Linode via SSH. It must be at least 6 characters long and contain characters from two of the following categories: lowercase and uppercase case letters, numbers, and punctuation characters. *Required* | +| **Select an Image** | Debian 9 is currently the only image supported by Drupal One-Click Apps, and it is pre-selected on the Linode creation page. *Required*. | +| **Region** | 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](/docs/platform/how-to-choose-a-data-center) guide. You can also generate [MTR reports](/docs/networking/diagnostics/diagnosing-network-issues-with-mtr/) for a deeper look at the network routes between you and each of our data centers. *Required*. | +| **Linode Plan** | Your Linode's hardware resources. The Linode plan you deploy your LAMP stack on should account for the estimated workload. If you are standing up a simple web page, you can use a Nanode or 2GB Linode. If you are standing up a larger or more robust web app, then consider a plan with higher RAM and CPU allocations. *Required*. | +| **Linode Label** | 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*. | +| **Root Password** | The primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. It must be at least 6 characters long and contain characters from two of the following categories: lowercase and uppercase case letters, numbers, and punctuation characters. 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.** @@ -52,14 +52,17 @@ After your LAMP stack has finished deploying, you can: - [Connect to your Linode via SSH](/docs/getting-started/#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 `/var/www/html` directory. -- [Navigate to the public IP address](/docs/getting-started/#find-your-linode-s-ip-address) of your Linode in a browser, and you will see the PHP settings that are active for your Linode. +- [Navigate to the public IP address](/docs/getting-started/#find-your-linode-s-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: - [Secure HTTP Traffic with Certbot](https://linode.com/docs/quick-answers/websites/secure-http-traffic-certbot/) - [Apache Configuration Basics](/docs/web-servers/apache-tips-and-tricks/apache-configuration-basics/) - [How to Optimize MySQL Performance Using MySQLTuner](/docs/databases/mysql/how-to-optimize-mysql-performance-using-mysqltuner/) - - [DNS Manager](/docs/platform/manager/dns-manager/) + +- Upload files to your web root directory with an SFTP application like [FileZilla](/docs/tools-reference/file-transfer/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](/docs/platform/manager/dns-manager/) guide for instructions on setting up your DNS records in the Cloud Manager, and read through [DNS Records: An Introduction](/docs/networking/dns/dns-records-an-introduction/) for general information about how DNS works. ### Software Included @@ -67,7 +70,7 @@ The LAMP Stack One-Click App will install the following software on your Linode: | **Software** | **Description** | |:--------------|:------------| -| **Apache HTTP Server** | Web Server that can be used to serve your site or web app.| -| **MySQL Server** | Database | -| **PHP 7** | General purpose programming language. | -| **UFW (UncomplicatedFirewall)** | Firewall utility. Ports 22/tcp, 80/tcp, and 443/tcp for IPv4 and IPv6 will allow outgoing and incoming traffic. | \ No newline at end of file +| [**Apache HTTP Server**](https://www.apache.org) | Web server that can be used to serve your site or web application.| +| [**MySQL Server**](https://www.mysql.com) | Relational database. | +| [**PHP 7**](https://www.php.net) | General purpose programming language. | +| [**UFW (Uncomplicated Firewall)**](https://en.wikipedia.org/wiki/Uncomplicated_Firewall) | Firewall utility. Ports 22/tcp, 80/tcp, and 443/tcp for IPv4 and IPv6 will allow outgoing and incoming traffic. | \ No newline at end of file diff --git a/docs/platform/one-click/deploy-one-click-apps/index.md b/docs/platform/one-click/deploy-one-click-apps/index.md index e1003f297dc..480bb7507c1 100644 --- a/docs/platform/one-click/deploy-one-click-apps/index.md +++ b/docs/platform/one-click/deploy-one-click-apps/index.md @@ -22,12 +22,12 @@ One-Click Apps allow you to easily deploy software on a Linode using the Linode 1. Log in to your [Linode Cloud Manager](https://cloud.linode.com) account. -1. Viewing your Linode dashboard, click on the **Create** button in the top left-hand side of the screen and select **Linode** from the dropdown menu. +1. From the Linode dashboard, click on the **Create** button in the top left-hand side of the screen and select **Linode** from the dropdown menu. -1. Under the **Create New Linode** heading, select the **One-Click** tab. +1. The Linode creation page will appear. Select the **One-Click** tab. -1. Viewing the **Select App** heading, select the app you would like to deploy on a Linode. +1. Under the **Select App** section, select the app you would like to deploy: - ![Select a One-Click App to deploy](/docs/platform/one-click/deploy-one-click-apps/one-click-apps-create.png) + {{< image src="one-click-apps-create.png" alt="Select a One-Click App to deploy" title="Select a One-Click App to deploy" >}} -1. Once you have selected the app, proceed to the app's **Options** heading and provide values for the required fields. \ No newline at end of file +1. Once you have selected the app, proceed to the app's **Options** section and provide values for the required fields. \ No newline at end of file From d17d0359be84475754689aad9a85cd8542fdba70 Mon Sep 17 00:00:00 2001 From: nmelehan Date: Thu, 28 Mar 2019 19:09:57 -0400 Subject: [PATCH 3/6] More copy edits --- .../one-click/deploy-lamp-stack-with-one-click-apps/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md b/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md index b95046a7a54..c4cc2920b87 100644 --- a/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md +++ b/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md @@ -40,7 +40,7 @@ After providing the app-specific options, enter configuration values for your Li |:--------------|:------------| | **Select an Image** | Debian 9 is currently the only image supported by Drupal One-Click Apps, and it is pre-selected on the Linode creation page. *Required*. | | **Region** | 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](/docs/platform/how-to-choose-a-data-center) guide. You can also generate [MTR reports](/docs/networking/diagnostics/diagnosing-network-issues-with-mtr/) for a deeper look at the network routes between you and each of our data centers. *Required*. | -| **Linode Plan** | Your Linode's hardware resources. The Linode plan you deploy your LAMP stack on should account for the estimated workload. If you are standing up a simple web page, you can use a Nanode or 2GB Linode. If you are standing up a larger or more robust web app, then consider a plan with higher RAM and CPU allocations. *Required*. | +| **Linode Plan** | Your Linode's [hardware resources](/docs/platform/how-to-choose-a-linode-plan/#hardware-resource-definitions). The Linode plan you deploy your LAMP stack on should account for the estimated workload. If you are standing up a simple web page, you can use a Nanode or 2GB Linode. If you are standing up a larger or 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]((https://linode.com)/docs/platform/disk-images/resizing-a-linode/) to a different plan. *Required*. | | **Linode Label** | 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*. | | **Root Password** | The primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. It must be at least 6 characters long and contain characters from two of the following categories: lowercase and uppercase case letters, numbers, and punctuation characters. Your root password can be used to perform any action on your server, so make it long, complex, and unique. *Required* | From 2d54fa7da8de76d1fdd7559a8efb4c248278bd6b Mon Sep 17 00:00:00 2001 From: nmelehan Date: Thu, 28 Mar 2019 19:13:10 -0400 Subject: [PATCH 4/6] Link fix --- .../one-click/deploy-lamp-stack-with-one-click-apps/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md b/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md index c4cc2920b87..f3241ec19ab 100644 --- a/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md +++ b/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md @@ -40,7 +40,7 @@ After providing the app-specific options, enter configuration values for your Li |:--------------|:------------| | **Select an Image** | Debian 9 is currently the only image supported by Drupal One-Click Apps, and it is pre-selected on the Linode creation page. *Required*. | | **Region** | 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](/docs/platform/how-to-choose-a-data-center) guide. You can also generate [MTR reports](/docs/networking/diagnostics/diagnosing-network-issues-with-mtr/) for a deeper look at the network routes between you and each of our data centers. *Required*. | -| **Linode Plan** | Your Linode's [hardware resources](/docs/platform/how-to-choose-a-linode-plan/#hardware-resource-definitions). The Linode plan you deploy your LAMP stack on should account for the estimated workload. If you are standing up a simple web page, you can use a Nanode or 2GB Linode. If you are standing up a larger or 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]((https://linode.com)/docs/platform/disk-images/resizing-a-linode/) to a different plan. *Required*. | +| **Linode Plan** | Your Linode's [hardware resources](/docs/platform/how-to-choose-a-linode-plan/#hardware-resource-definitions). The Linode plan you deploy your LAMP stack on should account for the estimated workload. If you are standing up a simple web page, you can use a Nanode or 2GB Linode. If you are standing up a larger or 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](/docs/platform/disk-images/resizing-a-linode/) to a different plan. *Required*. | | **Linode Label** | 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*. | | **Root Password** | The primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. It must be at least 6 characters long and contain characters from two of the following categories: lowercase and uppercase case letters, numbers, and punctuation characters. Your root password can be used to perform any action on your server, so make it long, complex, and unique. *Required* | From e50e3dc35ece34d032cb2b68beeeb45cc2849812 Mon Sep 17 00:00:00 2001 From: nmelehan Date: Fri, 29 Mar 2019 00:11:48 -0400 Subject: [PATCH 5/6] Copy edit --- .../one-click/deploy-lamp-stack-with-one-click-apps/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md b/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md index f3241ec19ab..48666455fa1 100644 --- a/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md +++ b/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md @@ -38,11 +38,11 @@ After providing the app-specific options, enter configuration values for your Li | **Configuration** | **Description** | |:--------------|:------------| -| **Select an Image** | Debian 9 is currently the only image supported by Drupal One-Click Apps, and it is pre-selected on the Linode creation page. *Required*. | +| **Select an Image** | Debian 9 is currently the only image supported by the LAMP One-Click App, and it is pre-selected on the Linode creation page. *Required*. | | **Region** | 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](/docs/platform/how-to-choose-a-data-center) guide. You can also generate [MTR reports](/docs/networking/diagnostics/diagnosing-network-issues-with-mtr/) for a deeper look at the network routes between you and each of our data centers. *Required*. | | **Linode Plan** | Your Linode's [hardware resources](/docs/platform/how-to-choose-a-linode-plan/#hardware-resource-definitions). The Linode plan you deploy your LAMP stack on should account for the estimated workload. If you are standing up a simple web page, you can use a Nanode or 2GB Linode. If you are standing up a larger or 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](/docs/platform/disk-images/resizing-a-linode/) to a different plan. *Required*. | | **Linode Label** | 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*. | -| **Root Password** | The primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. It must be at least 6 characters long and contain characters from two of the following categories: lowercase and uppercase case letters, numbers, and punctuation characters. Your root password can be used to perform any action on your server, so make it long, complex, and unique. *Required* | +| **Root Password** | The primary administrative password for your Linode instance. This password must be provided when you log in to your Linode via SSH. It must be at least 6 characters long and contain characters from two of the following categories: lowercase and uppercase case letters, numbers, and punctuation characters. 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.** From 9a801d6c6a3e2ff5283d4a9a808e45913461d515 Mon Sep 17 00:00:00 2001 From: Andy Stevens Date: Fri, 5 Apr 2019 11:13:30 -0400 Subject: [PATCH 6/6] Copy Edits --- .../one-click/deploy-lamp-stack-with-one-click-apps/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md b/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md index 48666455fa1..3e4a28a4180 100644 --- a/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md +++ b/docs/platform/one-click/deploy-lamp-stack-with-one-click-apps/index.md @@ -30,7 +30,7 @@ The [LAMP Stack Options](#lamp-stack-options) section of this guide provides det | **Field** | **Description** | |:--------------|:------------| -| **MySQL root password** | The root password for your LAMP stack's MySQL database. This is not the same as your Linode's root password. *Required*. | +| **MySQL Root Password** | The root password for your LAMP stack's MySQL database. This is not the same as your Linode's root password. *Required*. | ### Linode Options