From bd9d05a73e1402f55a6ef198beb44d70d35305fb Mon Sep 17 00:00:00 2001 From: Tom Leavitt Date: Thu, 10 Aug 2017 11:36:11 -0700 Subject: [PATCH] Update the tutorial Creating a WordPress Server for stateless Replace all occurrences of /usr/share/httpd/htdocs with /var/www/html as defined in the Creating a LAMP Server tutorial stateless modifications --- source/clear-linux/tutorials/wp-install/wp-install.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/clear-linux/tutorials/wp-install/wp-install.rst b/source/clear-linux/tutorials/wp-install/wp-install.rst index c93264a8..5a0f06f0 100644 --- a/source/clear-linux/tutorials/wp-install/wp-install.rst +++ b/source/clear-linux/tutorials/wp-install/wp-install.rst @@ -54,7 +54,7 @@ We are setting up a WordPress blog which can be accessed at: http:///blog To accomplish this setup, we must put the WordPress components in the -:file:`/usr/share/httpd/htdocs/blog` directory. +:file:`/var/www/html/blog` directory. Let us get started: @@ -64,7 +64,7 @@ Let us get started: .. code-block:: console - cd /usr/share/httpd/htdocs + cd /var/www/html 2. To download the latest version of WordPress, enter the following command: @@ -72,7 +72,7 @@ Let us get started: sudo curl -O https://wordpress.org/latest.tar.gz -3. To extract the all the files and directories from the downloaded file, +3. To extract all the files and directories from the downloaded file, enter the following command: .. code-block:: console @@ -96,7 +96,7 @@ Setting up WordPress -------------------- With the WordPress components loaded into the -:file:`/usr/share/httpd/htdocs/blog` directory, we can set everything up. +:file:`/var/www/html/blog` directory, we can set everything up. Instead of editing the :file:`wp_config.php` file manually, we are using the web-based configuration tool to setup the database name and user. We created