Installing WordPress

introduction

WordPress is a popular Content Management System (CMS). It was originally developed to create weblogs, but is now also popular as a CMS for websites that do not have the character of a weblog. With WordPress, even users without a strong knowledge of web development can create and maintain websites. Technically, it is based on the PHP scripting language and uses a MySQL database to store the content. The software is published free of charge by the WordPress Foundation under a GPL open source license.

This tutorial shows the installation of WordPress version 5.x on a web space. For security reasons, it is recommended to install the latest version of WordPress. These instructions essentially also apply to later versions of WordPress.

This tutorial covers the following points:

  • Download and unzip the WordPress installation files
  • Upload from WordPress to the web space via SFTP
  • Basic configuration of WordPress on the server
  • Customization of the menus
  • Creation of a home page

The installation of themes and plugins is dealt with in a separate tutorial.

Step 1: Check prerequisites

You have a hosting.de web hosting package that has already been set up as follows:

  • For your domain, as in our example “mustermann-domain.de” was entered in the options Apache web server with PHP 7 configured.
  • Your web hosting package already includes one Database created. You know the access data for this MySQL database. If not, the article “Where can I find the access data for my database?” describes how to find the access data.
  • To access the web space the domain became a user created, which has access rights for the “SSH File Transfer Protocol” (SFTP). You know the access data for this user. Alternatively, you can look up the access data in the article “Where can I find the FTP/SFTP access data?”.
  • For the domain was SSLe.g. about Let’s Encrypt enabled, enabling secure communication with the website HTTPS-connection enabled.

The tutorial uses the FileZilla tool, which can be downloaded from the project’s website for Windows / OSX / Linux. It is assumed that this tool is already installed on your machine.

Step 2: Installation

Download and unzip WordPress

A German-language version of WordPress can be obtained from the WordPress website. Download the current German WordPress version directly via this link down.

Unpack the zip archive on your computer. This creates a “wordpress” folder.

Creating a server profile and connecting to the web space in FileZilla

  • Start the FileZilla tool. Create a new server profile at File > Server Manager > New Server.
  • Select the “SSH File Transfer Protocol” (SFTP).
  • Under “Server” enter the address of the server which you can find in the “FTP/SSH/Statistics Users” administration of your web hosting package.
  • Choose the Port 2244.
  • Wear that Username and password for the web space a.
  • For better clarity, you can give the server profile a name, eg “hosting.de WordPress” by selecting the profile in the tree on the left and pressing the “F2” key.
  • Finally, click on “Connect”.

Server manager in FileZilla

  • Filezilla will ask if you want to save the password for your webspace. Choose “Save Password”. However, we recommend storing the password encrypted by entering a master password Select.
  • Filzilla then asks if you want to trust the server’s cryptographic fingerprint. Choose here “Always trust this server, save this key.”

Upload the WordPress files

After you have successfully established the connection to the server, the files can be loaded onto the server:

  • In the left column of FileZilla, navigate to the “wordpress” folder, which you extracted from the downloaded zip archive.
  • In the right column of FileZilla, navigate to the “html” > “mustermann-domain.de” folder.
  • Mark all files in the “wordpress” folder selected on the left. Right-click the files and select “Upload.”

Server manager in FileZilla

Configuration of WordPress on the server

After uploading the WordPress files to the server, you can use the WordPress web-based installer. To do this, call up your domain in a web browser: https://mustermann-domain.de/. The page you see should look like this:

Wordpress Installer 1

Click on “Here we go!”. In the following you will be asked for the access data to the database:

Wordpress Installer 2

You can find your access data to the database in the partner system. Wear those Access data for the database one, these are:

  • the name of the database,
  • the username,
  • the password,
  • the database host.

in the form and click “Send”. If the access data is correct, the following message appears:

Wordpress Installer 3

Please click on “Perform installation”.

Next, a page will appear in which you can make basic configuration of the website managed by WordPress.

Wordpress Installer 4

Please enter the desired title, username for the administrator, etc. Set a username and password for the administrator. Finally, please click on “Install WordPress”.

Wordpress Installer 5 - Complete the installation

Click on “Sign in” and log in to the freshly installed WordPress:

WordPress Installer 6 - Login

The basic installation of WordPress is now complete.

  • That front endi.e. the actual website, can be reached via your domain.
  • That backend the page can be reached by typing /wp-admin/ append to your domain in the browser address bar.

The following screenshot shows the WordPress backend:

WordPress Installer 7 - Backend

Step 3: Make the basic settings of the WordPress installation

After installation, the settings of the page under “Settings” should be gone through, checked and adjusted. The settings for the comment function are particularly interesting here. You may not want to allow comments on your site.

Make WordPress settings

Step 4: Customization of the menu

After the fresh installation there is still no menu. If you do not want to run your website as a blog, it is advisable to create a menu for navigation. To do this, please go to the menu item “Design” > “Menu” in the backend. Create a new menu called “Main Menu”. To do this, check the “Primary” box during creation.

WordPress setup

As a test, you can add the “Example Page” to the menu by selecting it on the left and clicking on “Add to Menu” and then on “Save Menu”. In the frontend, the menu item “Example Page” should then appear at the top of the page:

WordPress setup

Step 5: Creation of the start page

Pages can be created in the backend via the “Pages” tab.

If you don’t want to run your WordPress website as a blog, we recommend creating a start page. To do this, create a new “Home” page and publish it using the “Publish” button. Then go to the menu item “Settings” > “Read” in the backend and set the page you just created as the homepage.

Step 6: Automatic and manual updates

Since WordPress is a very popular piece of software, searching for vulnerabilities in it is very attractive to attackers, which is why you should always keep your WordPress installation up to date. Automatic updates for the WordPress core for the so-called minor releases and security updates are activated by default after installation. Plugins are not automatically updated and should be updated by the site operator from time to time.

Conclusion

In this tutorial the basic installation of WordPress could be shown. In further articles we will go into how you can extend WordPress with plugins and customize the design of the page with themes.

For further reading