Skip to the content.

WORDPRESS

This guide contains information about installing and basic usage of WordPress on Ubuntu 22.04.

System Requirements

Pre-installation Setup

  1. LAMP stack installation (Linux, Apache, MySQL, PHP)
  2. Database creation
  3. Required PHP modules installation

Documentation

Security Measures

  1. Use strong passwords
  2. Keep WordPress updated
  3. Use security plugins (e.g., Wordfence)
  4. Regular backups
  5. Use SSL certificate

Common Tasks

Update WordPress Site URLs

If you need to update your WordPress site URLs after installation (for example, when moving to a different domain or IP address), you can use the following WP-CLI commands:

cd /path/to/wordpress
wp option update siteurl "http://192.168.0.97/wordpress_project_name"
wp option update home "http://192.168.0.97/wordpress_project_name"

Replace the URL with your actual site URL.

Useful Resources