Reorg of WordPress tutorial (and related) files, to correct their placement in the tutorials nav section.

Changes include:
- Move all WordPress tutorial files into WordPress folder (landing page, web server install, wp-install, and related images)
- Update WP landing page to more clearly indicate child pages of tutorial, hide toctree
- All files related to WordPress tutorial: replace CLOSIA with CL-ATTRs, correct attributions
- grammar

Signed-off-by: Kristal Dale <kristal.dale@intel.com>
This commit is contained in:
Kristal Dale
2018-10-04 11:05:24 -07:00
parent 9e91f68f59
commit e4ffc495c6
21 changed files with 85 additions and 53 deletions
+6 -6
View File
@@ -5,18 +5,18 @@ Tutorials
Our Tutorials:
* Demonstrate how to use |CL| features for cloud, client, distributed
processing, and virtual environments
* Involve specific application of |CL| that often use third-party tools
* Extend the development possibilities of |CL| with specific use cases
* demonstrate how to use |CL-ATTR| features for cloud, client, distributed
processing, and virtual environments.
* involve specific application of |CL| that often use third-party tools.
* extend the development possibilities of |CL| with specific use cases.
This section provides detailed instructions to guide you through completing
specific |CLOSIA| use cases.
specific |CL| use cases.
.. toctree::
:maxdepth: 2
wordpress
wordpress/wordpress
flatpak/flatpak
machine-learning/machine-learning
docker/docker
@@ -1,27 +0,0 @@
.. _wordpress:
WordPress\* use case tutorial
#############################
Welcome to our WordPress use case tutorial. The objective of the tutorial is
to guide you to a fully realized WordPress website using |CLOSIA|.
In this tutorial we assume your system is already running |CL|. For
instructions on how to install |CL| on bare metal, see the
:ref:`bare metal install<bare-metal-install>` page from our
:ref:`get-started` guide. For your convenience, we have
split this tutorial in two different sections. If you already have a |CL|
based :abbr:`LAMP (Linux, Apache, MySQL, PHP)` web server you can skip ahead
to the WordPress tutorial.
.. toctree::
:maxdepth: 1
web-server-install/web-server-install.rst
wp-install/wp-install.rst
.. note::
This tutorial is for development and testing purposes only. Additional
steps are required to secure production systems.
Those steps are beyond the scope of this tutorial.

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 186 KiB

Before

Width:  |  Height:  |  Size: 170 KiB

After

Width:  |  Height:  |  Size: 170 KiB

Before

Width:  |  Height:  |  Size: 167 KiB

After

Width:  |  Height:  |  Size: 167 KiB

Before

Width:  |  Height:  |  Size: 181 KiB

After

Width:  |  Height:  |  Size: 181 KiB

Before

Width:  |  Height:  |  Size: 169 KiB

After

Width:  |  Height:  |  Size: 169 KiB

Before

Width:  |  Height:  |  Size: 194 KiB

After

Width:  |  Height:  |  Size: 194 KiB

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Before

Width:  |  Height:  |  Size: 205 KiB

After

Width:  |  Height:  |  Size: 205 KiB

Before

Width:  |  Height:  |  Size: 953 KiB

After

Width:  |  Height:  |  Size: 953 KiB

@@ -1,9 +1,10 @@
.. _web-server-install:
Create a Clear Linux\* based web server
Create a |CL-ATTR| based web server
#######################################
This tutorial shows you how to create a LAMP server using |CL-ATTR| and how to use phpMyAdmin\* to manage an associated database.
This tutorial shows you how to create a :abbr:`LAMP (Linux, Apache, MySQL, PHP)` server using |CL-ATTR| and how to use
phpMyAdmin\* to manage an associated database.
In order to create a web server using |CL| as the host OS, your host system
must be running |CL|. This tutorial assumes you have successfully installed
@@ -18,7 +19,9 @@ Before you install new packages, update the |CL| OS with the following console c
Create a LAMP Server
********************
A LAMP server uses Linux\*, Apache\*, MySQL\*, and PHP\* to set up a fully functional web server and host a website. Note that this tutorial installs MariaDB, which is a drop-in replacement for MySQL.
A LAMP server uses Linux\*, Apache\*, MySQL\*, and PHP\* to set up a fully functional web
server and host a website. Note that this tutorial installs MariaDB\*, which is a drop-in
replacement for MySQL.
This tutorial follows these steps:
@@ -380,7 +383,7 @@ our |CL| host system.
Use phpMyAdmin to Manage Databases
====================================
You can use the phpMyAdmin web-based tool to manage your databases. Follow the steps below for setting up a database called Wordpress.
You can use the phpMyAdmin web-based tool to manage your databases. Follow the steps below for setting up a database called "WordPress".
#. Verify that a successful installation of all LAMP server components by
going to http://localhost/phpMyAdmin. See figure 3.
@@ -470,7 +473,7 @@ If successful, you should see the screen shown in figure 8:
**Congratulations!**
You have now created a fully functional LAMP server along with a
WordPress-ready database using |CL|.
WordPress\*-ready database using |CL|.
As a next step, you could :ref:`create a WordPress server <wp-install>` and
present it to the world.
@@ -0,0 +1,32 @@
.. _wordpress:
WordPress\* use case tutorial
#############################
Welcome to our WordPress\* use case tutorial. This tutorial describes the steps to
setup a webserver to host a WordPress site using |CL-ATTR|.
In this tutorial we assume your system is already running |CL|. For instructions
on how to install |CL| on bare metal, see the :ref:`bare metal install<bare-metal-install>`
page from our :ref:`get-started` guide. For your convenience, we have split this
tutorial into two sections:
#. Setting up a LAMP webserver with :ref:`web-server-install`.
#. Setting up Wordpress on a LAMP webserver with :ref:`wp-install`.
If you already have a |CL| based :abbr:`LAMP (Linux, Apache, MySQL, PHP)` web server,
you can skip ahead to the second section of this tutorial.
.. note::
This tutorial is for development and testing purposes only. Additional steps
are required to secure production systems. Those steps are beyond the scope
of this tutorial.
.. toctree::
:maxdepth: 1
:hidden:
web-server-install.rst
wp-install.rst
@@ -1,14 +1,19 @@
.. _wp-install:
Create a Clear Linux WordPress server
Create a |CL-ATTR| WordPress\* server
#######################################
This tutorial shows you how to install the WordPress components on your |CL| LAMP server. At the end of :ref:`web-server-install`, you created a WordPress\*-ready database using phpMyAdmin\* and MariaDB\*. Now that the LAMP server is up and running, you can add the WordPress components needed to host a WordPress website on your system.
This tutorial shows you how to install the WordPress\* components on your |CL|
:abbr:`LAMP (Linux, Apache, MySQL, PHP)` server. At the end of
:ref:`web-server-install`, you created a WordPress-ready database using
phpMyAdmin\* and MariaDB\*. Now that the LAMP server is up and running, you
can add the WordPress components needed to host a WordPress website on your system.
Before you begin
=================
This tutorial assumes you have successfully installed :ref:`Clear Linux on bare metal<bare-metal-install>` and that you have :ref:`set up a LAMP web server <web-server-install>`.
This tutorial assumes you have successfully installed :ref:`Clear Linux on bare metal<bare-metal-install>`
and that you have :ref:`set up a LAMP web server <web-server-install>`.
Before you install new packages, update the |CL| OS with the following command:
@@ -21,11 +26,20 @@ Before you install new packages, update the |CL| OS with the following command:
Create a WordPress server
===========================
WordPress can be installed in a variety of ways. These instructions are written for users who have followed our instructions for installing phpMyAdmin when they :ref:`set up a LAMP web server <web-server-install>`. Note that all steps in this tutorial have been tested using a NUC6i5SYH Intel® NUC. Visit the `NUC6i5SYH product page`_ for detailed information.
WordPress can be installed in a variety of ways. These instructions are
written for users who have followed our instructions for installing phpMyAdmin
when they :ref:`set up a LAMP web server <web-server-install>`. Note that
all steps in this tutorial have been tested using a NUC6i5SYH Intel® NUC.
Visit the `NUC6i5SYH product page`_ for detailed information.
Numerous online articles are available to help you name your website and acquire the necessary certificates. Those tasks are beyond the scope of this tutorial.
Numerous online articles are available to help you name your website and
acquire the necessary certificates. Those tasks are beyond the scope of this tutorial.
You can take several actions to harden your website from attacks. The security of your website and the data it contains are complex and ever-evolving tasks. Prioritize security if you plan to expose your website to the outside world. This tutorial does not address security measures that you can take to harden your site but we strongly encourage you to take action.
You can take several actions to harden your website from attacks. The security
of your website and the data it contains are complex and ever-evolving tasks.
Prioritize security if you plan to expose your website to the outside world.
This tutorial does not address security measures that you can take to harden
your site but we strongly encourage you to take action.
.. note::
@@ -35,9 +49,11 @@ You can take several actions to harden your website from attacks. The security o
Download WordPress and manage directories
------------------------------------------
For this tutorial, you will create a WordPress blog that can be accessed at: http://<your_website>/blog.
For this tutorial, you will create a WordPress blog that can be accessed at:
http://<your_website>/blog.
To accomplish this setup, you must add WordPress components to the :file:`/var/www/html/blog` directory.
To accomplish this setup, you must add WordPress components to the :file:`/var/www/html/blog`
directory.
Follow these steps:
@@ -75,9 +91,12 @@ Follow these steps:
Set up WordPress with Web-based GUI
-----------------------------------
Recall that you created a database and user when you installed phpMyAdmin during :ref:`Creating a Clear Linux based web server <web-server-install>`. Next, you must connect WordPress to the database and install WordPress.
Recall that you created a database and user when you installed phpMyAdmin during
:ref:`Creating a Clear Linux based web server <web-server-install>`. Next, you must
connect WordPress to the database and install WordPress.
To continue with the setup, go to: http://<your_website>/blog/wp-admin/install.php. The WordPress language option screen appears, as shown in figure 1.
To continue with the setup, go to: http://<your_website>/blog/wp-admin/install.php.
The WordPress language option screen appears, as shown in figure 1.
#. Select :guilabel:`English` and click :guilabel:`Continue`.
@@ -88,7 +107,8 @@ To continue with the setup, go to: http://<your_website>/blog/wp-admin/install.p
`Figure 1: WordPress language selection screen.`
The WordPress installation continues until the Welcome screen appears, as shown in figure 2:
The WordPress installation continues until the Welcome screen appears, as shown in
figure 2:
.. figure:: figures/wp-install-2.png
:alt: WordPress welcome screen
@@ -97,7 +117,9 @@ To continue with the setup, go to: http://<your_website>/blog/wp-admin/install.p
`Figure 2: WordPress Welcome screen.`
#. Click :guilabel:`Lets go!`.
#. Enter database connection specifics in the screen that appears as shown in Figure 3 below.
#. Enter database connection specifics in the screen that appears as shown in figure 3
below.
* Database name: WordPress
@@ -119,7 +141,8 @@ To continue with the setup, go to: http://<your_website>/blog/wp-admin/install.p
#. Click :guilabel:`Submit` to complete the setup.
Figure 4 shows the confirmation screen that verifies a successful setup. WordPress is connected to the MariaDB database.
Figure 4 shows the confirmation screen that verifies a successful setup. WordPress
is connected to the MariaDB database.
.. figure:: figures/wp-install-4.png
:alt: Successful database connection.
@@ -133,7 +156,8 @@ To continue with the setup, go to: http://<your_website>/blog/wp-admin/install.p
Complete successful login
---------------------------
Once the installation is complete, you can name your blog and create a Wordpress username and password. See figure 5.
Once the installation is complete, you can name your blog and create a Wordpress username
and password. See figure 5.
.. figure:: figures/wp-install-5.png
:alt: WordPress user creation
@@ -179,7 +203,7 @@ http://<your_website>/blog on your browser. Figure 8 shows the result:
You have successfully installed WordPress on a host system.
Add new entries to your blog and share them with the world using |CLOSIA|!
Add new entries to your blog and share them with the world using |CL|!
.. _`step-by-step guide`:
https://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install