WORDPRESS
This guide contains information about installing and basic usage of WordPress on Ubuntu 22.04.
System Requirements
- PHP 7.4 or higher
- MySQL 5.7 or MariaDB 10.3 or higher
- Apache2/Nginx web server
- Minimum 512MB RAM
- Minimum 1GB disk space
Pre-installation Setup
- LAMP stack installation (Linux, Apache, MySQL, PHP)
- Database creation
- Required PHP modules installation
Documentation
Security Measures
- Use strong passwords
- Keep WordPress updated
- Use security plugins (e.g., Wordfence)
- Regular backups
- 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.