...
This helps minimizes the amount of damage that can be done in the event that the system is compromised to the specified directory.
File Permissions
Adapted from the WordPress article Hardening WordPress we take the approach of creating accounts for select developers or release managers.
wp-config.php - holds the database password and should be locked down.
Info |
---|
Covered on the Ubuntu WordPress guide, for automatic updates to occur, the folder and all its files and subfolders must be owned by www-data with write access. I'm not sure we will take this approach. I think I'd rather update manually. |
Install MySQL
Code Block | ||
---|---|---|
| ||
sudo apt-get install mysql-server |
...
Explain variables on a table, wordpresskryptondb, wpkryptonuser, localhost, password.
Setup WordPress
Install WordPress
Using the target application account, in our case we will use serveradmin, download and install WordPress,
Code Block | ||
---|---|---|
| ||
su - serveradmin cd ~ wget http://wordpress.org/latest.tar.gz tar -xvpf latest.tar.gz mv wordpress blog # We do not need to make the technology obvious. mv blog /home/www.krypton.com/www/ |
Repeat for the second instance.
Configure WordPress
- Create config file for database access
- Set URL
- ...
File Permissions
Adapted from the WordPress article Hardening WordPress we take the approach of creating accounts for select developers or release managers.
wp-config.php - holds the database password and should be locked down.
Info |
---|
Covered on the Ubuntu WordPress guide, for automatic updates to occur, the folder and all its files and sub-folders must be owned by www-data with write access. I'm not sure we will take this approach. I think I'd rather update manually. |
Repeat for the second instance.
FAQ
Why do some of the php5 installations say to use install libapache2-mod-php5?
...