Articles tagged as "Ubuntu". 13 results

How to Set Up MySQL Incremental Backups

Learn how to combine incremental backups with full database backups and recover from failures quickly and thoroughly.

Avatar photo

Brad Touesnard

Jul 13, 2023

How to Install Ansible and Automate Your Ubuntu 22.04 Server Setup

Why you might want to use Ansible as your automation engine, how to install it and get it set up.

Avatar photo

Brad Touesnard

Apr 24, 2023

Chapter 09: Monitoring and Ongoing Maintenance

In this chapter we walk through setting up server monitoring and alerting on DigitalOcean. We discuss how to investigate problems when you get an alert. Then we emphasize the importance of keeping plugins and themes up-to-date, checking that backups are actually running, and watching log files for problems. Finally we walk through updating server software and upgrading PHP to a new major version.

Avatar photo

Ashley Rich

Apr 04, 2023

Chapter 08: Migrating WordPress to a New Server

Once you have your server up and running, the first thing you’re likely to want to do is move an existing site over to it from elsewhere. In this chapter we walk through copying the site files, Nginx configs, and SSL certificates. Next we export the database and import the database. Then we test the site on the new server before flipping the switch.

Avatar photo

Ashley Rich

Apr 04, 2023

Chapter 07: Nginx Security Hardening

Even after configuring HTTPS to encrypt connections between the browser and server, sites are still open to other areas of attack such as XSS, Clickjacking and MIME sniffing. We’ll take a look at each of those and how to deal with them. You’ll learn what a referrer policy is and how it can be useful.

Avatar photo

Ashley Rich

Apr 04, 2023

Chapter 05: WordPress Cron and Email Sending

In this chapter, we’ll cover what cron is and how to get around some typical hurdles. Then we’ll set up automatic renewals of HTTPS certificates. Next we discuss why we don’t set up an email server and step through configuration of outgoing email sending.

Avatar photo

Ashley Rich

Apr 04, 2023

Chapter 04: Object Caching, Page Caching, and Other Speed Optimizations

We’ll start this chapter with a benchmark of site speed without caching and end it with a benchmark with caching enabled. We’ll install Redis and a companion WordPress plugin that will work together to enable object caching. Next we’ll return to our Nginx config files and add a batch of directives to enable FastCGI Cache and tell it what not to cache, including some directives for WooCommerce.

Avatar photo

Ashley Rich

Apr 04, 2023

Chapter 03: Configuring Nginx to Serve Your First Site Over HTTPS

In this chapter we’ll discuss HTTPS and why it’s so important before updating our DNS and obtaining our first SSL certificate from Let’s Encrypt. Then we’ll add a new config file to Nginx for our first site complete with a redirect from HTTP to HTTPS. Next we’ll create a database for the site and we’ll use WP-CLI to install WordPress. We’ll wrap up with a discussion about creating more sites on the server.

Avatar photo

Ashley Rich

Apr 04, 2023

Chapter 02: Install Nginx, PHP 8.0, WP-CLI, and MySQL

This chapter is all about setting up the software needed to run a WordPress site. First we’ll install Nginx and configure it with better settings for our use. Next we’ll install PHP and its packages required by WordPress and configure PHP-FPM. Then we’ll install WP-CLI and MariaDB.

Avatar photo

Ashley Rich

Apr 04, 2023

Chapter 01: Set Up a Secure Virtual Server on DigitalOcean

In this chapter we’ll provision a new VPS at DigitalOcean with Ubuntu 20.04 LTS. We’ll login to the server via SSH, configure the hostname and timezone, install software updates, and set up automatic security updates. Then we’ll create a new sudo user, set up SSH login with keys instead of a password, and disable SSH for the root user. We’ll also install a firewall and fail2ban to protect against intrusion attempts.

Avatar photo

Ashley Rich

Apr 04, 2023

Start Your 7-Day Free Trial

Begin your SpinupWP journey today and spin up your first server within minutes.

Subscribe to get the latest news, updates and optimizations in performance and security.

You are already logged in

It looks like you are already logged in to SpinupWP.

Please log out of this account to continue.

Registration Successful

Thanks for registering for a new SpinupWP account.

Before getting started, could you verify your email address by clicking on the link we just emailed to you?

Start Your 7-Day Free Trial

No credit card required. All features included.

By signing up to SpinupWP, you agree to our Terms and Conditions.
For privacy related information, view our Privacy Policy.