mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-11-21 19:15:51 +00:00
- Clean up reST formatting
- Clean up section headers - Add Next steps section, for consistency Signed-off-by: Kristal Dale <kristal.dale@intel.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
.. _web-server-install:
|
||||
|
||||
Create a |CL-ATTR| based web server
|
||||
#######################################
|
||||
###################################
|
||||
|
||||
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.
|
||||
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
|
||||
@@ -32,7 +32,7 @@ This tutorial follows these steps:
|
||||
* Install phpMyAdmin and create a database.
|
||||
|
||||
Install Apache
|
||||
*****************
|
||||
**************
|
||||
|
||||
Apache is an open source HTTP web server application that can run on several
|
||||
operating systems, including |CL|. Go to the `Apache HTTP Server Project`_
|
||||
@@ -85,7 +85,7 @@ directory. |CL| can overwrite this directory as part of the stateless
|
||||
paradigm. This default :file:`.conf` file includes the following directives
|
||||
that allow for additional locations of configuration definitions:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
# Virtual hosts
|
||||
IncludeOptional /usr/share/defaults/httpd/conf.d/*.conf
|
||||
@@ -106,7 +106,7 @@ Open a text editor and perform the following:
|
||||
#. Copy the content listed below into the new file
|
||||
:file:`/etc/httpd/conf.d/httpd.conf`.
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
#
|
||||
# Set a new location for DocumentRoot
|
||||
@@ -219,7 +219,7 @@ the PHP components and are now ready to add your database application to
|
||||
complete your LAMP server implementation.
|
||||
|
||||
Install MariaDB
|
||||
******************
|
||||
***************
|
||||
|
||||
Install MariaDB to store content. MariaDB is a drop-in replacement for MySQL
|
||||
and is available in the database-basic |CL| bundle.
|
||||
@@ -381,7 +381,7 @@ our |CL| host system.
|
||||
sudo mv phpMyAdmin-4.6.4-english phpMyAdmin
|
||||
|
||||
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".
|
||||
|
||||
@@ -475,6 +475,9 @@ If successful, you should see the screen shown in figure 8:
|
||||
You have now created a fully functional LAMP server along with a
|
||||
WordPress\*-ready database using |CL|.
|
||||
|
||||
Next steps
|
||||
**********
|
||||
|
||||
As a next step, you could :ref:`create a WordPress server <wp-install>` and
|
||||
present it to the world.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.. _wp-install:
|
||||
|
||||
Create a |CL-ATTR| WordPress\* server
|
||||
#######################################
|
||||
#####################################
|
||||
|
||||
This tutorial shows you how to install the WordPress\* components on your |CL|
|
||||
:abbr:`LAMP (Linux, Apache, MySQL, PHP)` server. At the end of
|
||||
@@ -10,7 +10,7 @@ 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>`.
|
||||
@@ -24,7 +24,7 @@ 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
|
||||
@@ -47,7 +47,7 @@ your site but we strongly encourage you to take action.
|
||||
|
||||
|
||||
Download WordPress and manage directories
|
||||
------------------------------------------
|
||||
=========================================
|
||||
|
||||
For this tutorial, you will create a WordPress blog that can be accessed at:
|
||||
http://<your_website>/blog.
|
||||
@@ -89,7 +89,7 @@ Follow these steps:
|
||||
sudo rm latest.tar.gz
|
||||
|
||||
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
|
||||
@@ -118,26 +118,20 @@ The WordPress language option screen appears, as shown in figure 1.
|
||||
|
||||
#. Click :guilabel:`Let’s 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
|
||||
|
||||
* Database username: wordpressuser
|
||||
|
||||
* Database password: wp-example (asterisks will not appear in the text box)
|
||||
|
||||
* Database host: localhost
|
||||
|
||||
* Table prefix: wp\_
|
||||
|
||||
Figure 3 shows the completed fields:
|
||||
|
||||
.. figure:: figures/wp-install-3.png
|
||||
:alt: Database connection details
|
||||
:width: 600
|
||||
:alt: Database connection details
|
||||
:width: 600
|
||||
|
||||
`Figure 3: Information necessary for WordPress to connect to the database.`
|
||||
`Figure 3: Information necessary for WordPress to connect to the database.`
|
||||
|
||||
#. Click :guilabel:`Submit` to complete the setup.
|
||||
|
||||
@@ -154,7 +148,7 @@ below.
|
||||
The installer runs until WordPress is fully installed on your system.
|
||||
|
||||
Complete successful login
|
||||
---------------------------
|
||||
=========================
|
||||
|
||||
Once the installation is complete, you can name your blog and create a Wordpress username
|
||||
and password. See figure 5.
|
||||
|
||||
Reference in New Issue
Block a user