Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edits needed for the "Create a Clear Linux* based web server" tutorial #256

Closed
krisdale opened this issue Oct 4, 2018 · 1 comment
Closed
Assignees

Comments

@krisdale
Copy link
Contributor

krisdale commented Oct 4, 2018

Reorg of the WordPress tutorial (PR #247 ) prompted a request for edits to the first part of the tutorial from @odwdinc.

Edits to the content of the tutorial will be done as a separate PR.

Requested changes:

1. Current content:
Open a text editor and perform the following:
Copy the content listed below into the new file /etc/httpd/conf.d/httpd.conf.
Question:
How do you open the text editor? as this is a procted file and you will need root the dir dus not excit
so you need to creat the dir befor you can add the file.
Suggestion/comment:

sudo mkdir -p /etc/httpd/conf.d
sudo nano /etc/httpd/conf.d/httpd.conf

2. Current content:
To ensure a successful setup, edit the new index.html file. Change the original text from
“This web server is operational from host.”
to
“This web server is operational from its new location.”
Suggestion/comment:
would be good to have the command agen to reinforce the need for sudo.
the dafualt text is worng as the it is "It works!"

sudo nano ./index.html 

3. Current content:
Create a file named phpinfo.php in the /var/www/html/ directory using a text editor.
Add the following line to the file:

<?PHP phpinfo() ?>

Suggestion/comment:
As this dir is oned by root you will need to creat and edit the file with sudo.

sudo nano /var/www/html/phpinfo.php 

4. Current content:
To check the status of MariaDB, enter the following command:
sudo systemctl status mariadb
Suggestion/comment:
no shown way to exit this status.
you will need to press 'ctrl+c' or 'q' to exit

5. Current content:
To add a basic layer of security, enter the following command:

mysql_secure_installation

Suggestion/comment:
fresh install is not have blank password, cant get passt

@krisdale krisdale self-assigned this Oct 4, 2018
krisdale added a commit to krisdale/clear-linux-documentation that referenced this issue Oct 9, 2018
…es/full tutorial.

- Minor grammatical/text edits for clarity.

Signed-off-by: Kristal Dale <kristal.dale@intel.com>
mvincerx added a commit that referenced this issue Oct 10, 2018
Updates to "Create a Clear Linux* based web server" tutorial (resolves issue #256).
@tpleavitt
Copy link
Contributor

tpleavitt commented Oct 10, 2018

Documentation on the website has been updated and published

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants