WordPress Setup
This guide will walk you through the process of setting up WordPress, whether you prefer an automated method or need to perform a manual installation. By the end of this guide, you'll have a fully configured WordPress site with the Lyquix theme and recommended plugins.
Automated Installation
The preferred method is to use the Site Setup script included in the Docker LAMP system. This script will download and install WordPress, perform the initial configuration, install the Lyquix WordPress theme, and activate the must-use plugins.
Please Note
If you are using this method, you can skip the rest of this page and proceed directly to the recommended WordPress Plugins guide.
Manual Installation
Alternatively, if you need to install WordPress manually or in a different environment, you can follow the steps below.
Prerequisites
Before beginning the WordPress installation process, ensure you have the following:
- A domain name configured on your web server (e.g.,
example.com). - Access to a web server with PHP and MySQL/MariaDB support.
- A database created and accessible for your WordPress installation.
- FTP or SFTP access to upload files to your server.
In this guide, we will use example.com as the sample domain.
Download WordPress Package
From the command line, use the
wgetcommand to download the ZIP file to the server.bashsu www-data cd /srv/www/example.com/ wget https://wordpress.org/latest.zipUnzip the downloaded file.
bashunzip latest.zip mv wordpress/* public_html rm -r wordpress latest.zip
Set File Permissions
Even if you correctly created the directories and unzipped the contents of the package using the www-data user, it is good practice to reset the file and directory permissions.
Assuming the main domain is example.com:
Go to the domain root directory:
bashcd /srv/www/example.comChange file ownership to the main domain user and the
www-datagroup.bashchown -R www-data:www-data public_htmlChange file permissions:
bashcd public_html find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; chmod 640 wp-config.php chmod 640 wp-secrets.php
Execute Installation
Visit http://example.com to complete the installation process.
When setting up the administrator user, please follow these guidelines:
- For the admin username, use the format
admin_[random string], where the random string is 6 random alphanumeric characters. For example:admin_a1b2c3. - Use the password generated automatically by WordPress for enhanced security.
- Set the admin email to
[client name]@lyquix.com.
Please Note
Each user must create their own WordPress credentials using their own email address as the username. Do not use the main admin account for daily tasks.
Lyquix Theme
- Download the Lyquix Theme from the official repository: Lyquix Theme on GitHub.
- Upload the theme to your WordPress installation via the
Appearance > Themes > Add Newoption. - Activate the Lyquix Theme once the upload is complete.
Plugins
Please continue to the recommended WordPress Plugins guide.