-
Notifications
You must be signed in to change notification settings - Fork 66
Configuring your server
- Add your server to the hosts file
- Run the common DebOps playbook
- Run the WordPress DebOps playbook
- Connecting to your server
- Your server is configured!
Now that you created a server, it's time to configure everything. This only requires typing two commands, but each takes between 5 and 10 minutes. If you run into any problems, take a look at the "Known issues" page of the wiki to troubleshoot it.
This page assumes that you've already completed all the installation steps. If you haven't or aren't sure, take a moment to go over them.
Before you can begin, you'll need to add the address of your new server to the hosts
file. It's found in inventory
directory of your project. The address needs to be added under both the [debops_all_hosts]
and [wordpress]
.
# inventory/hosts
[debops_all_hosts]
wordpress.example.com
[wordpress]
wordpress.example.com
Your first step is to install and configure all essential services of your server. This creates the foundation needed to install and configure WordPress. You first need to type this command to get started:
$ debops bootstrap -u root
You'll get the following warning almost right away.
PLAY [Gather default and custom facts] ****************************************
GATHERING FACTS ***************************************************************
The authenticity of host '123.456.78.90 (123.456.78.90)' can't be established.
RSA key fingerprint is 11:eb:57:f3:a5:c3:e0:77:47:c4:15:3a:3c:df:6c:d2.
Are you sure you want to continue connecting (yes/no)?
Type yes
and Enter to continue. This step is quick and only takes 1-2 minutes. Once it's done, you want to type this command:
$ debops
This next step can take 5-10 minutes. So go grab a coffee or take stretch while the magic happen.
Now, you still don't have a configured WordPress site. You still need to install and configure WordPress. This is done using this command.
$ debops wordpress
You don't need to wait for a prompt this time. You can just sit and relax. This step can take 5-10 minutes as well.
Once the second script is done, you'll have a server that's configured and functional. You can connect to it using SSH like this:
$ ssh wordpress.example.com
That's it! The only thing left is for you to use it now! You'll want to refer to the "Using your WordPress site" page of the wiki for detailed instructions.
Getting Started
Adjusting performance
Cookbook
- How to configure a server for a Bedrock project
- How to configure multiple WordPress sites on a single server
- How to configure Varnish
- How to create a multisite network
- How to customize your server
- How to manage additional users
- How to manage WordPress plugins
- How to secure your WordPress site
Troubleshooting
Appendix