How to Install WordPress from the Official GitHub Repository

On this page
  1. Contents
  2. Prerequisites
  3. Downloading WordPress from GitHub
  4. Preparing the Website in the mybox Panel
  5. Running the WordPress Installer
  6. Step 1 – Select Language
  7. Step 2 – Database Information
  8. Step 3 – Verify Database Connection
  9. Step 4 – Configure Your Website
  10. Step 5 – Complete Installation
  11. Verifying the Installation
  12. Summary

If you want to install WordPress manually using files downloaded directly from the official GitHub repository, you can do so using SSH access and a few simple commands.

This method is intended for users who prefer manual deployment instead of using the automatic application installer available in the mybox Panel.

Contents

  • Prerequisites
  • Downloading WordPress from GitHub
  • Preparing the Website in the mybox Panel
  • Running the WordPress Installer

Prerequisites

Before you begin, make sure:

  • SSH access is enabled for your hosting account.
  • A domain has been added to your account.
  • Git is available on the server.

To enable SSH access, log in to the mybox Panel and navigate to:

Advanced → Secure Shell (SSH)

If SSH is disabled, enable it before proceeding.

Downloading WordPress from GitHub

Connect to your hosting account via SSH.

First, create a directory for your website:

mkdir yourdomain.com

Enter the newly created directory:

cd yourdomain.com

Download the latest WordPress files from the official GitHub repository:

git clone https://github.com/WordPress/WordPress.git

Once the download is complete, enter the WordPress directory:

cd WordPress

To verify that the files were downloaded correctly, run:

ls

You should see the standard WordPress file structure, including files such as:

wp-config-sample.php
index.php
wp-admin
wp-content
wp-includes

Preparing the Website in the mybox Panel

Log in to the mybox Panel and open:

Websites

Click:

+ Add

and select:

Blank Website

In the website creation form:

  1. Select the domain you want to use.
  2. Expand the advanced options.
  3. Enable the option to specify a custom public directory.
  4. Enter:
WordPress

as the public directory.

This should match the directory created by the Git clone operation.

Click:

Add Website

Once the website is created, click:

Show Access Data

Save the displayed information, especially:

  • Database name
  • Database username
  • Database password
  • Database hostname

You will need these details during the WordPress installation process.

Running the WordPress Installer

Open your domain in a web browser:

https://yourdomain.com

The WordPress installation wizard should appear.

Step 1 – Select Language

Choose your preferred language and click:

Continue

Step 2 – Database Information

WordPress will display a screen requesting database connection details.

Enter the information obtained from the website access data:

  • Database Name
  • Database Username
  • Database Password
  • Database Host

Click:

Submit

Step 3 – Verify Database Connection

If the database connection is successful, WordPress will display a confirmation screen.

Click:

Run the Installation

Step 4 – Configure Your Website

Fill in the following fields:

  • Site Title
  • Administrator Username
  • Administrator Password
  • Administrator Email Address

Choose secure login credentials and save them in a safe location.

Click:

Install WordPress

Step 5 – Complete Installation

After a few moments, WordPress will finish the installation process.

You can then log in by clicking:

Log In

or by visiting:

https://yourdomain.com/wp-admin

Verifying the Installation

Once logged in, open your website homepage.

You should see the default WordPress theme and a fully functional WordPress installation ready for customization.

Summary

To install WordPress from the official GitHub repository:

  1. Enable SSH access.
  2. Download WordPress using Git.
  3. Create a blank website in the mybox Panel.
  4. Set the public directory to the downloaded WordPress folder.
  5. Obtain the database credentials.
  6. Complete the WordPress installation wizard.

After the installation is complete, you can manage your website from:

https://yourdomain.com/wp-admin

and begin building your site using WordPress.

Didn't find an answer?

Our support team is here for you 24/7 – write to us and we will help you sort it out.