Skip to content

Commit

Permalink
Update POST-INSTALL.md
Browse files Browse the repository at this point in the history
  • Loading branch information
basilhendroff committed Oct 19, 2020
1 parent abc1e98 commit caf88fd
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions POST-INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ To complete the following tasks, use a terminal to connect to the jail `iocage c
1. Securing MariaDB
2. Authentication Unique Keys and Salts
3. Configure Redis
4. Configure sSMTP
5. Test sSMTP
6. Configure phpMyAdmin
4. Configure and test sSMTP
5. Configure phpMyAdmin

There is the opportunity to incorporate some of the above within the WordPress script. For more information, refer to the blog post [WordPress Script: Opportunities for Improvement](https://blog.udance.com.au/2020/09/20/wordpress-script-opportunities-for-improvement/).

Expand All @@ -23,7 +22,7 @@ In your terminal window, edit wp-config.php `cd /usr/local/www/wordpress && ee w
### 3. Configure Redis
For WordPress to use Redis, install and activate the Redis Object Cache plugin. Using the plugin, `Enable Object Cache `.

### 4. Configure sSMTP
### 4. Configure and test sSMTP
Edit the file `/usr/local/etc/ssmtp/ssmtp.conf`:

`cd /usr/local/etc/ssmtp && ee ssmtp.conf`
Expand All @@ -39,8 +38,6 @@ Hostname=myhost.example.com # Name of this host
RewriteDomain=myhost.example.com # Where the mail will seem to come from
Root=postmaster # Mail for root@ is redirected to postmaster@
```

### 5. Test sSMTP
Create a txt file `ee test.txt` with the following text, but remember to alter the email addresses.
```
To: yourmail@gmail.com
Expand All @@ -58,7 +55,7 @@ Status messages should indicated that the mail was sent successfully. If there a

Don't exit the jail just yet.

### 6. Configure phpMyAdmin
### 5. Configure phpMyAdmin
From a browser, use the WordPress jail IP to go to the address `http://jail_ip/phpmyadmin/setup` and configure a database server host.

Click `New server`.
Expand Down

0 comments on commit caf88fd

Please sign in to comment.