{"id":88849,"date":"2021-09-21T09:16:33","date_gmt":"2021-09-21T13:16:33","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=88849"},"modified":"2026-06-09T08:44:31","modified_gmt":"2026-06-09T12:44:31","slug":"install-wordpress-debian-10","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/","title":{"rendered":"How To Install WordPress on Debian 10 Cloud Server"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/09\/How-To-Install-WordPress-on-Debian-10-Cloud-Server-1024x538.png\" alt=\"How to install WordPress on Debian 10 cloud server\" class=\"wp-image-88850\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/09\/How-To-Install-WordPress-on-Debian-10-Cloud-Server-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/09\/How-To-Install-WordPress-on-Debian-10-Cloud-Server-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/09\/How-To-Install-WordPress-on-Debian-10-Cloud-Server-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/09\/How-To-Install-WordPress-on-Debian-10-Cloud-Server.png 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>\nThere are many things you can do with your own private cloud server.  At some point or another, you might want to install the WordPress content management system.  WordPress is ideal for managing websites of all sizes, from a 3-page informational site to a blog with thousands of posts.  WordPress can handle just about anything you throw at it.  In this article, you will learn how to install WordPress on your private cloud server or VPS system.\n<\/p>\n\n\n<div class=\"jumbotron\">\r\n<p>If you don\u2019t need cPanel, don't pay for it. Only pay for what you need with our scalable <a href=\"https:\/\/www.inmotionhosting.com\/cloud-vps\">Cloud VPS Hosting<\/a>.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>CentOS, Debian, or Ubuntu    <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>No Bloatware    <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>SSH and Root Access<\/p>\r\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-wordpress-debian-10\">Installing WordPress From Scratch<\/h2>\n\n\n\n<p>To install WordPress on your Debian cloud server, follow the basic \u201c5-minute install\u201d recommended by the WordPress organization. However, since this WordPress will be installed on your own private cloud server, you will need to install a few additional server-side applications. But, basically, the process works like this: <\/p>\n\n\n\n<ul class=\"wp-block-list org-ul\">\n<li><b>Install PHP as a server-side scripting language.<\/b>  This is the language WordPress is written in, so it is required. PHP will interpret the WordPress code and render complete pages in the browser, as well as handle database connections.<\/li>\n\n\n\n<li><b>Install MariaDB.<\/b>  The WordPress content management system uses a database to store your content.  In this article, you will be installing MariaDB as the relational database software that will handle the storage and retrieval of your content.<\/li>\n\n\n\n<li><b>WordPress core files.<\/b>  You will need to download the WordPress core files from WordPress.org.  These are basically the plain-text program files that run the WordPress application.<\/li>\n\n\n\n<li><b>Database connection.<\/b> You will finally need to connect the core files to the database by editing one of them.<\/li>\n<\/ul>\n\n\n\n<p>We will cover all of these steps in detail below, but this gives you the complete road map you will follow. If any of these procedures seem unclear to you, <a href=\"https:\/\/www.inmotionhosting.com\/support\/amp\/how-to-get-great-technical-support\/\">contact Technical Support<\/a> or <a href=\"https:\/\/www.inmotionhosting.com\/managed-hosting\"><\/a><a href=\"https:\/\/www.inmotionhosting.com\/solutions\/inmotion-solutions\">InMotion Solutions<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"requirements\">WordPress Installation Requirements<\/h2>\n\n\n\n<p>In order to have a working WordPress installation on your cloud server, you will need some additional software. For installing this software, you will be using the <code>apt<\/code> package manager. To run installation commands with <code>apt<\/code> you will need \u201croot\u201d or <code>sudo<\/code> access. By default, you have root access to your cloud server, so we will use that for the WordPress installation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"log-into-server\">Logging Into Your Server As The Root User<\/h3>\n\n\n\n<p>You can log in to your server from your terminal emulator after adding a public key to the server. Follow along with our full guide to learn how to <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/manage-ssh-keys\/\">add your public key to a cloud server<\/a>. Then you will be able to use a basic SSH login command on your terminal app:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">ssh<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">root@<\/span><span style=\"color: #F97583\">&lt;<\/span><span style=\"color: #9ECBFF\">server<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">IP<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">address<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">or<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">primary<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">domai<\/span><span style=\"color: #E1E4E8\">n<\/span><span style=\"color: #F97583\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\nFor example:\n<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">ssh<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">root@12.34.56.89<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"orga876835\">Server Software<\/h3>\n\n\n\n<p>Apache is pre-installed on your Debian-based cloud server. So part of your work is already done. All that is left for you to do is install PHP and MariaDB as the necessary database software. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-wordpress-mariadb\">Install MariaDB<\/h2>\n\n\n\n<p>Follow along below to learn how to install MariaDB as the database software WordPress will use. <\/p>\n\n\n\n<p>Log in to your server as the root user following the <a href=\"#log-into-server\">steps listed above<\/a>.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">apt<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">install<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">mariadb-server<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>For some background information on this command, note that  <code>apt<\/code> is the package manager, <code>install<\/code> is the primary instruction, and <code>mariadb-server<\/code> is the program we wish to install. We will be using this command more later, so now you know a little more about it.<\/p>\n\n\n\n<p>\nAt this point, it is recommended that you run the following command to secure your new MariaDB installation:\n<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">mysql_secure_installation<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p> Follow the prompts to secure your installation.  It is of major importance to secure your databases and disallow any external access. <\/p>\n\n\n\n<p>To check and make sure that the MariaDB server is running, you can use this command:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">systemctl<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">status<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">mariadb<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-php\">Install PHP<\/h2>\n\n\n\n<p>Now it\u2019s time to install PHP. This is the language that WordPress uses to run properly on your system. While you are still on the command line in your server, go ahead and run this command to install PHP and the necessary modules: <\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">apt<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">install<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">php<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">libapache2-mod-php<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">php-mysql<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>You should now have PHP and the necessary WordPress modules installed. To check your PHP installation version, you can optionally run this command: <\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">php<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-v<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-database\">Create A Database and Database User for WordPress<\/h2>\n\n\n\n<p>The next series of commands will create a database and a database user for the WordPress installation. Log in to your MariaDB command prompt: <\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">mysql<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-u<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">root<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-p<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\nYou will know you are logged in successfully when you see your default terminal prompt replaced by the MariaDB prompt:\n<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">MariaDB<\/span><span style=\"color: #E1E4E8\"> [(none)]<\/span><span style=\"color: #F97583\">&gt;<\/span><span style=\"color: #E1E4E8\"> <\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Create the database with the following command, of course, replacing <code>&lt;database name&gt;<\/code> with the name of the database you want to create. For example, \u201cwordpress_database,\u201d \u201cwebsite,\u201d or whatever name you prefer:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">CREATE<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">DATABASE<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #F97583\">&lt;<\/span><span style=\"color: #9ECBFF\">database_nam<\/span><span style=\"color: #E1E4E8\">e<\/span><span style=\"color: #F97583\">&gt;<\/span><span style=\"color: #E1E4E8\">;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Now, create the database user. Every database requires a user with appropriate privileges to access the database. Be sure to replace the values \u201cusername\u201d and \u201cpassword\u201d with your desired username and a very secure password. Also, make note of these values somewhere, because we will need them again when we install and configure WordPress. <\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">CREATE<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">USER<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">'username'@'localhost'<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">IDENTIFIED<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">BY<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">'password'<\/span><span style=\"color: #E1E4E8\">;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>With the following command, you will grant all necessary privileges to the user created above. This gives the user the power to create records and tables and populate the database with content. (Note: this will add privileges to perform these operations on <em>every<\/em> database for the user listed. So you can also use this user to administer other databases, if that is something you might require.)<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">GRANT<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">ALL<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">PRIVILEGES<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">ON<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">*<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">.<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">*<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">TO<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">'username'@'localhost'<\/span><span style=\"color: #E1E4E8\">;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\nRun the following command to apply your changes to MariaDB:\n<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">FLUSH<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">PRIVILEGES<\/span><span style=\"color: #E1E4E8\">;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Exit MariaDB by pressing <kbd>Ctrl<\/kbd>\u2013<kbd>d.<\/kbd><\/p>\n\n\n\n<p>\nWe now have a running PHP installation and MySQL server, with a database and database user.  We are nearing completion of this process.\n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"restart-apache\">Restart Apache<\/h2>\n\n\n\n<p>\nAt this point, it is recommended that you restart the Apache web server:\n<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">systemctl<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">restart<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">apache2<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"download-source\">Completing The WordPress Installation<\/h2>\n\n\n\n<p>\nIn this the final stage of the installation process, you are going to download a fresh copy of the WordPress source files, connect them to your database, and get started with a brand new WordPress site.\n<\/p>\n\n\n\n<p>\nRemember that every website has a \u201cdocument root,\u201d basically a file path that indicates to the Apache web server where the public website files reside.  For this tutorial, we are going to use the default directory that comes with our operating system: <code>\/var\/www\/html\/<\/code>.\n<\/p>\n\n\n\n<p> Use the <code>cd<\/code> command to \u201cchange directory\u201d to the default web root: <\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">cd<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">\/var\/www\/html<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\nYou can download the latest WordPress source package with the following command:\n<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">wget<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">http:\/\/wordpress.org\/latest.tar.gz<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\nYou have just downloaded an \u201carchive\u201d file, which is very much like a zipped file, it\u2019s one file that has compressed multiple files together.  So you can \u201cunarchive\u201d it using the <code>tar<\/code> command as follows:\n<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">tar<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">xfz<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">latest.tar.gz<\/span><span style=\"color: #E1E4E8\"> <\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>This creates a \u201cwordpress\/\u201d directory containing all the WordPress source files. But we want those files in the <code>\/var\/www\/html\/<\/code> directory, so you can use the following command to <em>move<\/em> the WordPress files back one directory, effectively emptying the new \u201cwordpress\/\u201d directory:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">mv<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">wordpress\/<\/span><span style=\"color: #79B8FF\">*<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">.\/<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p> You can use the <code>rm<\/code> command to <em>remove<\/em> the \u2018latest\u2019 archive file: <\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">rm<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #79B8FF\">-f<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">latest.tar.gz<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\nYou will also want to erase the default Debian Apache index file:\n<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">rm<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">index.html<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Now, you will just need to edit the <code>wp-config.php<\/code> core file containing the database connection information. WordPress needs the proper credentials in order to connect to the database and make changes. This means you must provide the database name, the database user, and the password. I would recommend first that you make a copy of this file:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">cp<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">wp-config-sample.php<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">wp-config.php<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>WordPress includes a sample configuration file. That is what you copied above. And you will be editing the copy that you made, <code>wp-config.php<\/code>. It\u2019s good to save the sample file in case you need a base file to copy from in the future.<\/p>\n\n\n\n<p>You can use any text editor to edit this file, but for simplicity, I will demonstrate with the <code>nano<\/code> text editor:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">nano<\/span><span style=\"color: #E1E4E8\"> <\/span><span style=\"color: #9ECBFF\">wp-config.php<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p> Remember before when you noted the database name, user, and password information?  It\u2019s time to use that information again.  You will be changing the following values highlighted in bold: <\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(16px, 1rem, 24px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(26px, 1.625rem, 39px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #79B8FF\">define<\/span><span style=\"color: #E1E4E8\">( <\/span><span style=\"color: #9ECBFF\">'DB_NAME'<\/span><span style=\"color: #E1E4E8\">, <\/span><span style=\"color: #9ECBFF\">'database_name_here'<\/span><span style=\"color: #E1E4E8\"> );<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #6A737D\">\/** MySQL database username *\/<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">define<\/span><span style=\"color: #E1E4E8\">( <\/span><span style=\"color: #9ECBFF\">'DB_USER'<\/span><span style=\"color: #E1E4E8\">, <\/span><span style=\"color: #9ECBFF\">'username_here'<\/span><span style=\"color: #E1E4E8\"> );<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #6A737D\">\/** MySQL database password *\/<\/span><\/span>\n<span class=\"line\"><span style=\"color: #79B8FF\">define<\/span><span style=\"color: #E1E4E8\">( <\/span><span style=\"color: #9ECBFF\">'DB_PASSWORD'<\/span><span style=\"color: #E1E4E8\">,<\/span><span style=\"color: #9ECBFF\">'password_here'<\/span><span style=\"color: #E1E4E8\"> );<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>For the <code>nano<\/code> text editor: once you have made your changes, press Ctrl-x to exit the editor and answer yes to save your changes.<\/p>\n\n\n\n<p>That\u2019s it. Now, for the fun part: open your favorite web browser and type in your primary domain. You will be prompted to run the WordPress installation process. Here, you will enter a name for your site and the primary admin user\u2019s login information. Type in all of that information, and proceed. <\/p>\n\n\n\n<p>Remember, the login information you put here is separate from your database username and password. You are creating a WordPress user account here that you will use only to log into your WordPress site for the purposes of administration, content creation, and other functions. You will be prompted to log in to the WordPress dashboard when done. <\/p>\n\n\n\n<p>Congratulations! You have just installed WordPress on your own cloud server running Debian 10!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are many things you can do with your own private cloud server. At some point or another, you might want to install the WordPress content management system. WordPress is ideal for managing websites of all sizes, from a 3-page informational site to a blog with thousands of posts. WordPress can handle just about anything<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":88850,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[56],"tags":[],"class_list":["post-88849","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Install WordPress on Debian 10 Cloud Server<\/title>\n<meta name=\"description\" content=\"Learn how to install WordPress on Debian 10, all command line, with the installation commands and procedures you need for a WordPress site.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Install WordPress on Debian 10 Cloud Server\" \/>\n<meta property=\"og:description\" content=\"Learn how to install WordPress on Debian 10, all command line, with the installation commands and procedures you need for a WordPress site.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-21T13:16:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-09T12:44:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/09\/How-To-Install-WordPress-on-Debian-10-Cloud-Server.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/edu\\\/wordpress\\\/install-wordpress-debian-10\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/edu\\\/wordpress\\\/install-wordpress-debian-10\\\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/person\\\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"How To Install WordPress on Debian 10 Cloud Server\",\"datePublished\":\"2021-09-21T13:16:33+00:00\",\"dateModified\":\"2026-06-09T12:44:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/edu\\\/wordpress\\\/install-wordpress-debian-10\\\/\"},\"wordCount\":1411,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/edu\\\/wordpress\\\/install-wordpress-debian-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/How-To-Install-WordPress-on-Debian-10-Cloud-Server.png\",\"articleSection\":[\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/edu\\\/wordpress\\\/install-wordpress-debian-10\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/edu\\\/wordpress\\\/install-wordpress-debian-10\\\/\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/edu\\\/wordpress\\\/install-wordpress-debian-10\\\/\",\"name\":\"How To Install WordPress on Debian 10 Cloud Server\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/edu\\\/wordpress\\\/install-wordpress-debian-10\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/edu\\\/wordpress\\\/install-wordpress-debian-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/How-To-Install-WordPress-on-Debian-10-Cloud-Server.png\",\"datePublished\":\"2021-09-21T13:16:33+00:00\",\"dateModified\":\"2026-06-09T12:44:31+00:00\",\"description\":\"Learn how to install WordPress on Debian 10, all command line, with the installation commands and procedures you need for a WordPress site.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/edu\\\/wordpress\\\/install-wordpress-debian-10\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/edu\\\/wordpress\\\/install-wordpress-debian-10\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/edu\\\/wordpress\\\/install-wordpress-debian-10\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/How-To-Install-WordPress-on-Debian-10-Cloud-Server.png\",\"contentUrl\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/How-To-Install-WordPress-on-Debian-10-Cloud-Server.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/edu\\\/wordpress\\\/install-wordpress-debian-10\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Install WordPress on Debian 10 Cloud Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inmotionhosting\\\/\",\"https:\\\/\\\/x.com\\\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/#\\\/schema\\\/person\\\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inmotion-hosting\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/InMotionHosting\"],\"url\":\"https:\\\/\\\/www.inmotionhosting.com\\\/support\\\/author\\\/inmotion-hosting-contributor\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Install WordPress on Debian 10 Cloud Server","description":"Learn how to install WordPress on Debian 10, all command line, with the installation commands and procedures you need for a WordPress site.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/","og_locale":"en_US","og_type":"article","og_title":"How To Install WordPress on Debian 10 Cloud Server","og_description":"Learn how to install WordPress on Debian 10, all command line, with the installation commands and procedures you need for a WordPress site.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2021-09-21T13:16:33+00:00","article_modified_time":"2026-06-09T12:44:31+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/09\/How-To-Install-WordPress-on-Debian-10-Cloud-Server.png","type":"image\/png"}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"How To Install WordPress on Debian 10 Cloud Server","datePublished":"2021-09-21T13:16:33+00:00","dateModified":"2026-06-09T12:44:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/"},"wordCount":1411,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/09\/How-To-Install-WordPress-on-Debian-10-Cloud-Server.png","articleSection":["WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/","name":"How To Install WordPress on Debian 10 Cloud Server","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/09\/How-To-Install-WordPress-on-Debian-10-Cloud-Server.png","datePublished":"2021-09-21T13:16:33+00:00","dateModified":"2026-06-09T12:44:31+00:00","description":"Learn how to install WordPress on Debian 10, all command line, with the installation commands and procedures you need for a WordPress site.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/09\/How-To-Install-WordPress-on-Debian-10-Cloud-Server.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/09\/How-To-Install-WordPress-on-Debian-10-Cloud-Server.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/install-wordpress-debian-10\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How To Install WordPress on Debian 10 Cloud Server"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/09\/How-To-Install-WordPress-on-Debian-10-Cloud-Server.png","jetpack_sharing_enabled":true,"primary_category":{"id":56,"name":"WordPress Tutorials","slug":"wordpress","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/88849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=88849"}],"version-history":[{"count":13,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/88849\/revisions"}],"predecessor-version":[{"id":132409,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/88849\/revisions\/132409"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media\/88850"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=88849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=88849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=88849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}