The WordPress 5-Minute Install, Step by Step (2026)

Key Takeaways
- ✓WordPress.org recommends PHP 8.3+, MySQL 8.0+ or MariaDB 10.11+, and HTTPS.
- ✓Create a database and a user with rights on that database only.
- ✓The installer asks for site title, admin username, password and email.
- ✓Untick 'Discourage search engines' before launch.
Table of Contents
- •The WordPress 5-Minute Install, Step by Step (2026)
- •What You Need First
- •Step 1: Download WordPress
- •Step 2: Create a Database and User
- •Step 3: Upload the Files
- •Step 4: Set Up wp-config.php (Optional)
- •Step 5: Run the Installer
- •Step 6: Settings to Change Right Away
- •The Faster Route: WP-CLI
- •Common Install Problems
- •Frequently Asked Questions
- •Skip the Install Entirely
The WordPress 5-Minute Install, Step by Step (2026)
WordPress calls its manual setup the “famous 5-minute install”, and on a server that meets the requirements it really can take about five minutes: download WordPress, create a database, upload the files and run the web installer. This guide walks through each step on any hosting with PHP and MySQL, with the commands for a Linux server and the settings worth changing right after the install.
Quick answer: create a MySQL database and user, upload WordPress to your web root, open https://yourdomain.com/wp-admin/install.php, enter the database details, then fill in your site title, admin username, password and email.
What You Need First
WordPress.org recommends (checked 26 October 2026):
PHP 8.3 or greater
MySQL 8.0 or greater, or MariaDB 10.11 or greater
HTTPS support
A web server such as Apache or Nginx
You also need a domain pointed at the server and a way to upload files (SFTP, a file manager or SSH). If you want a free certificate first, see installing SSL on WordPress.
Step 1: Download WordPress
Get the latest version from wordpress.org. On a Linux server, download and extract it in place:
cd /tmp
curl -O https://wordpress.org/latest.tar.gz
tar -xzf latest.tar.gzThis creates a wordpress folder with all the files.
Step 2: Create a Database and User
WordPress needs an empty database and a user with full privileges on it. Many hosts do this from their dashboard. On your own server:
sudo mysql
CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'wpuser'@'localhost' IDENTIFIED BY 'a-long-random-password';
GRANT ALL PRIVILEGES ON wordpress.* TO 'wpuser'@'localhost';
FLUSH PRIVILEGES;
EXIT;Give the user rights on this database only, not on the whole server.
Step 3: Upload the Files
Copy the contents of the wordpress folder to your web root, for example /var/www/example.com, so that wp-admin, wp-content and wp-includes sit directly in it. To install in a subfolder instead (a site at /blog/), copy them into that folder.
sudo mkdir -p /var/www/example.com
sudo cp -r /tmp/wordpress/. /var/www/example.com/
sudo chown -R www-data:www-data /var/www/example.comThe web server user (www-data on Ubuntu and Debian) needs to own the files so WordPress can install plugins and updates.
Step 4: Set Up wp-config.php (Optional)
The installer can create wp-config.php for you. If it can’t write the file, or you prefer to do it yourself, copy the sample and fill in the database details:
cd /var/www/example.com
sudo cp wp-config-sample.php wp-config.php
sudo nano wp-config.phpdefine( 'DB_NAME', 'wordpress' );
define( 'DB_USER', 'wpuser' );
define( 'DB_PASSWORD', 'a-long-random-password' );
define( 'DB_HOST', 'localhost' );Replace the placeholder secret keys with fresh ones from https://api.wordpress.org/secret-key/1.1/salt/.
Step 5: Run the Installer
Open https://yourdomain.com/wp-admin/install.php. If there’s no wp-config.php, WordPress first asks for:
Database name
Database username and password
Database host (usually
localhost)
Then the main installer asks for:
Site title (you can change it later)
Admin username: avoid “admin”, it’s the first name attackers try
Password: use the strong one WordPress suggests
Email address for admin notices and password resets
Search engine visibility: tick it only while the site is under construction, and untick it before launch
Click Install WordPress, log in, and you’re done.
Step 6: Settings to Change Right Away
Settings → General: check the site URL uses
https://, and set the time zone.Settings → Permalinks: choose “Post name” for clean URLs.
Settings → Reading: make sure “Discourage search engines” is unticked when you go live.
Delete the sample post, page and comment, and unused default themes and plugins.
Set up backups and keep WordPress, themes and plugins updated.
The Faster Route: WP-CLI
If WP-CLI is installed, the whole install is a few commands:
wp core download
wp config create --dbname=wordpress --dbuser=wpuser --dbpass='a-long-random-password'
wp core install --url=https://example.com --title="My Site" --admin_user=siteowner [email protected]WP-CLI prints a generated admin password if you don’t pass one.
Common Install Problems
“Error establishing a database connection”: the database name, user, password or host is wrong. See how to fix it.
The installer can’t write wp-config.php: create it by hand as in Step 4, or fix file ownership.
Plugins ask for FTP details when installing: WordPress can’t write to its own folders; set ownership to the web server user.
Blank page or “critical error”: usually a PHP version or missing extension; see the white screen guide.
Frequently Asked Questions
Does the WordPress install really take five minutes?
Once the server meets the requirements and you have a database, yes. Setting up the server itself takes longer if you start from scratch.
What are the WordPress requirements in 2026?
WordPress.org recommends PHP 8.3 or greater, MySQL 8.0 or greater (or MariaDB 10.11 or greater) and HTTPS support.
Do I need to create wp-config.php myself?
No. The installer creates it when it can write to the folder. Create it by hand only if the installer can’t.
Can I install WordPress in a subfolder?
Yes. Upload the files into the subfolder (for example /blog/) and run the installer from there.
Should I tick “Discourage search engines”?
Only while the site is under construction. Untick it before launch or Google won’t index the site.
Skip the Install Entirely
On RackUp Cloud WordPress hosting the site comes ready in its own container, with free SSL, PHP 8.2 to 8.5, daily offsite backups and 1-click staging, from $2.49 a month. Moving an existing site? Our team migrates it for free. See plans.
Unsure Which Cloud Hosting Plan Fits Your Site?
Answer 4 quick diagnostic questions to estimate the server CPU, RAM and storage you need with transparent pricing.
Cloud Infrastructure Engineer.
Related Posts
WordPress HostingBluehost Alternatives (2026): WordPress Hosting Without the Renewal Price Jump
Bluehost's 2026 WordPress prices, what's included, and the alternatives for one site with monthly billing and the same price at renewal, with honest trade-offs.
WordPress HostingHostinger Alternatives (2026): WordPress Hosting Without Long Prepaid Terms
Hostinger's low WordPress price needs a 48-month prepay and renews higher. Its 2026 prices, what's included, and the alternatives, with an honest look at trade-offs.
WordPress HostingHow to Change Your WordPress Domain Without Losing SEO
Change a WordPress site domain in five steps: new URLs, a safe database search-replace, page-to-page 301 redirects, Google Change of Address and outside services.