{"id":1673,"date":"2022-01-30T12:30:00","date_gmt":"2022-01-30T18:30:00","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=1673"},"modified":"2021-12-31T02:02:00","modified_gmt":"2021-12-31T08:02:00","slug":"how-to-install-ghost-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/","title":{"rendered":"How to Install Ghost on Ubuntu 20.04"},"content":{"rendered":"\n<p>Ghost is a lightweight open-source blogging platform. The Ghost user interface is very simple and straightforward making it great for beginners as well as advanced users.<\/p>\n\n\n\n<p>In the following tutorial, we will show you all the requirements and instructions needed to install Ghost on Ubuntu 20.04 OS.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-requirements\"><strong>Requirements:<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>For the purposes of this tutorial, we will use an Ubuntu20.04 VPS.<\/li><li>Nginx Web Server<\/li><li>MySQL \/ MariaDB Database Server<\/li><li>Node.js LTS version<\/li><li>Domain or Subdomain (e.g ghost.yourdomain.com) pointed to your server IP address<\/li><li>Ghost user (user with sudo privileges)<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-1-log-in-to-the-server-update-the-server-os-packages\">Step 1: Log in to the Server &amp; Update the Server OS Packages<\/h2>\n\n\n\n<p>First, log in to your Ubuntu 20.04 server via SSH as the root user:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh root@IP_ADDRESS -p PORT_NUMBER<\/pre>\n\n\n\n<p>Don\u2019t forget to replace <strong>IP_Address<\/strong> and <strong>Port_Number<\/strong> with your server\u2019s actual IP address and the SSH port number. Also, you should replace \u2018root\u2019 with the username of the admin account if needed.<\/p>\n\n\n\n<p>Once you are in, run the following commands to update the package index and upgrade all installed packages to the latest available version<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get update \napt-get upgrade<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-2-add-ghost-user\">Step 2: Add Ghost user<\/h2>\n\n\n\n<p>To add a user for Ghost with <code>sudo<\/code> privileges run the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">adduser ghostuser\nadduser ghostuser sudo<\/pre>\n\n\n\n<p>Then switch to the ghost user.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">su - ghostuser<\/pre>\n\n\n\n<p><strong>Note:<\/strong> Using the user name <code>ghost<\/code> causes conflicts with the Ghost-CLI, so you need to use an alternative name.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-3-install-nginx-webserver\">Step 3: Install Nginx webserver<\/h2>\n\n\n\n<p>Nginx web server can be installed with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install nginx<\/pre>\n\n\n\n<p>Once, the installation is complete you can check the status of the Nginx service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status nginx<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u25cf nginx.service - A high performance web server and a reverse proxy server\nLoaded: loaded (\/lib\/systemd\/system\/nginx.service; enabled; vendor preset: enabled)\nActive: active (running) since Thu 2021-12-23 09:22:55 UTC;\nDocs: man:nginx(8)\nMain PID: 3423 (nginx)\nTasks: 2 (limit: 2245)\nMemory: 4.4M\nCGroup: \/system.slice\/nginx.service\n\u251c\u25003423 nginx: master process \/usr\/sbin\/nginx -g daemon on; master_process on;\n\u2514\u25003425 nginx: worker process<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-4-install-mariadb-server\">Step 4: Install MariaDB Server<\/h2>\n\n\n\n<p>Run the following command to install the MariaDB server from the official Ubuntu repositories:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install mariadb-server mariadb-client<\/pre>\n\n\n\n<p>Once installed, the MariaDB server should be automatically started.<\/p>\n\n\n\n<p>You can check the status of the MariaDB service with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status mariadb<\/pre>\n\n\n\n<p>Output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u25cf mariadb.service - MariaDB 10.3.32 database server\nLoaded: loaded (\/lib\/systemd\/system\/mariadb.service; enabled; vendor preset: enabled)\nActive: active (running) since Thu 2021-12-23 09:28:03 UTC;\nDocs: man:mysqld(8)\nhttps:\/\/mariadb.com\/kb\/en\/library\/systemd\/\nMain PID: 4489 (mysqld)\nStatus: &quot;Taking your SQL requests now...&quot;\nTasks: 31 (limit: 2245)\nMemory: 66.8M\nCGroup: \/system.slice\/mariadb.service\n\u2514\u25004489 \/usr\/sbin\/mysqld<\/pre>\n\n\n\n<p>To enable MariaDB to automatically start upon server reboot run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl enable mariadb<\/pre>\n\n\n\n<p>Next, secure the MariaDB installation using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo mysql_secure_installation<\/pre>\n\n\n\n<p>This script will set the MariaDB root password, disable remote root login and remove anonymous users as shown below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Enter current password for root (enter for none):\nSet root password? [Y\/n] Y\nNew password:\nRe-enter new password:\nRemove anonymous users? [Y\/n] Y\nDisallow root login remotely? [Y\/n] Y\nRemove test database and access to it? [Y\/n] Y\nReload privilege tables now? [Y\/n] Y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-5-create-ghost-database\">Step 5: Create Ghost Database<\/h2>\n\n\n\n<p>Ghost uses MySQL\/MariaDB to store its contents. So you will need to create a database and user for Ghost.<\/p>\n\n\n\n<p>First, log in to MariaDB with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo mysql -u root -p<\/pre>\n\n\n\n<p>Once login, create a database and user with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">MariaDB [(none)]&gt; CREATE DATABASE ghostdb;\nMariaDB [(none)]&gt; CREATE USER &#039;ghostuser&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;securepassword&#039;;<\/pre>\n\n\n\n<p>Next, grant all the privileges to the Ghost database using the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">MariaDB [(none)]&gt; GRANT ALL ON ghostdb.* TO &#039;ghostuser&#039;@&#039;localhost&#039; WITH GRANT OPTION;<\/pre>\n\n\n\n<p>Next, flush the privileges and exit from the MariaDB with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">MariaDB [(none)]&gt; FLUSH PRIVILEGES;\nMariaDB [(none)]&gt; EXIT;<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-6-install-nodejs-and-npm\">Step 6: Install Nodejs and NPM<\/h2>\n\n\n\n<p>Ghost is built on Node.js. Ghost requires you to install the LTS version of Node.js and does not support the non-LTS version.<\/p>\n\n\n\n<p>Add the Node.js repository with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo curl -sL https:\/\/deb.nodesource.com\/setup_16.x | bash -<\/pre>\n\n\n\n<p>And install the Node.js from the added repositories running the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install nodejs<\/pre>\n\n\n\n<p>Once NodeJS has been installed, you can verify the installed version of Node.js with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">node -v<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">v16.13.1<\/pre>\n\n\n\n<p>Once Node.js is installed, update the NPM to the latest version using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo npm install npm@latest -g<\/pre>\n\n\n\n<p>You can now verify the npm version with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">npm -v<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">8.3.0<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-7-download-and-install-ghost\">Step 7: Download and install Ghost<\/h2>\n\n\n\n<p>Now install the <code><strong>Ghost-CLI<\/strong><\/code> tool using NPM. It is a command-line interface (CLI) tool that makes installing and updating Ghost easy in a single command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo npm install ghost-cli@latest -g<\/pre>\n\n\n\n<p>Create a directory (<code>\/var\/www\/ghost\/<\/code>) for Ghost.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo mkdir -p \/var\/www\/ghost<\/pre>\n\n\n\n<p>Next, change the folder ownership to your ghost user so you can run the Ghost tool to download Ghost packages.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo chown ghostuser:ghostuser \/var\/www\/ghost\nsudo chmod 775 \/var\/www\/ghost<\/pre>\n\n\n\n<p>Change into the directory and install Ghost.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/var\/www\/ghost<\/pre>\n\n\n\n<p>Run the following command to install ghost:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ghost install<\/pre>\n\n\n\n<p>You should begin to see Ghost changing for packages that are required. Once all is validated, Ghost should begin downloading its package dependencies to install.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> &amp;#x2714; Checking system Node.js version - found v16.13.1\n&amp;#x2714; Checking logged in user\n&amp;#x2714; Checking current folder permissions\n&amp;#x2714; Checking system compatibility\n&amp;#x2714; Checking for a MySQL installation\n&amp;#x2714; Checking memory availability\n&amp;#x2714; Checking free space\n&amp;#x2714; Checking for latest Ghost version\n&amp;#x2714; Setting up install directory\n\u2631 Downloading and installing Ghost v4.32.0 &amp;gt; Installing dependencies &amp;gt;<\/pre>\n\n\n\n<p>Answer each question as prompted.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">? Enter your blog URL: http:\/\/yourdomain.com\n? Enter your MySQL hostname: localhost\n? Enter your MySQL username: ghostuser\n? Enter your MySQL password: [hidden]\n? Enter your Ghost database name: ghostdb\n&amp;#x2714; Configuring Ghost\n&amp;#x2714; Setting up instance<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"> Setting up &amp;quot;ghost&amp;quot; system user\n&amp;#x2139; Setting up &amp;quot;ghost&amp;quot; mysql user [skipped]\n? Do you wish to set up Nginx? Yes\n? Do you wish to set up SSL? Yes\n? Enter your email (For SSL Certificate)&amp;gt;admin@yourdomain.com\n? Do you wish to set up Systemd? Yes\n? Do you want to start Ghost? Yes<\/pre>\n\n\n\n<p>Once the installation is complete, run <code>ghost ls<\/code> to view running Ghost processes:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> ghost ls\n<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/installing-ghost-on-ubuntu-20.04.jpg\"><img decoding=\"async\" width=\"970\" height=\"73\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/installing-ghost-on-ubuntu-20.04-970x73.jpg\" alt=\"installing ghost on ubuntu 20.04\" class=\"wp-image-1676\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/installing-ghost-on-ubuntu-20.04-970x73.jpg 970w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/installing-ghost-on-ubuntu-20.04-470x35.jpg 470w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/installing-ghost-on-ubuntu-20.04-768x58.jpg 768w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/installing-ghost-on-ubuntu-20.04.jpg 1024w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/a><\/figure>\n\n\n\n<p>After that, open your browser and browse to the Ghost admin interface to complete the setup:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">https:\/\/yourdomain.com\/ghost\/<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-ghost-on-ubuntu-20.04.jpg\"><img decoding=\"async\" width=\"970\" height=\"557\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-ghost-on-ubuntu-20.04-970x557.jpg\" alt=\"setting up ghost on ubuntu 20.04\" class=\"wp-image-1677\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-ghost-on-ubuntu-20.04-970x557.jpg 970w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-ghost-on-ubuntu-20.04-470x270.jpg 470w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-ghost-on-ubuntu-20.04-768x441.jpg 768w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-ghost-on-ubuntu-20.04.jpg 1024w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/a><\/figure>\n\n\n\n<p>That\u2019s it! The installation of Ghost on Ubuntu 20.04 has been completed.<\/p>\n\n\n\n<p>Of course, you don\u2019t need to install Ghost on Ubuntu 20.04 yourself if you use one of our fully managed <a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Linux<\/strong> <strong>VPS Hosting<\/strong><\/a> services, in which case you can simply ask our expert Linux admins to install it for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n\n\n\n<p>P.S. If you liked this post on how to install Ghost on Ubuntu 20.04 please share it with your friends on the social networks by using the share shortcuts below, or simply leave a comment in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ghost is a lightweight open-source blogging platform. The Ghost user interface is very simple and straightforward making it great for beginners as well as advanced users. In the following tutorial, we will show you all the requirements and instructions needed to install Ghost on Ubuntu 20.04 OS.<\/p>\n","protected":false},"author":2,"featured_media":1689,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,208],"tags":[235,168,210],"class_list":["post-1673","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","tag-ghost","tag-how-to-install","tag-ubuntu-20-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Ghost on Ubuntu 20.04 | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"Ghost is a lightweight open-source blogging platform. The Ghost user interface is very simple and straightforward making it great for beginners as well as\" \/>\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.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Ghost on Ubuntu 20.04 | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"Ghost is a lightweight open-source blogging platform. The Ghost user interface is very simple and straightforward making it great for beginners as well as\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-30T18:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-ghost-on-ubuntu-20.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-20-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-20-04\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Install Ghost on Ubuntu 20.04\",\"datePublished\":\"2022-01-30T18:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-20-04\\\/\"},\"wordCount\":748,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-install-ghost-on-ubuntu-20.04.jpg\",\"keywords\":[\"ghost\",\"how to install\",\"ubuntu 20.04\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-20-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-20-04\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-20-04\\\/\",\"name\":\"How to Install Ghost on Ubuntu 20.04 | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-20-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-install-ghost-on-ubuntu-20.04.jpg\",\"datePublished\":\"2022-01-30T18:30:00+00:00\",\"description\":\"Ghost is a lightweight open-source blogging platform. The Ghost user interface is very simple and straightforward making it great for beginners as well as\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-20-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-20-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-20-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-install-ghost-on-ubuntu-20.04.jpg\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-install-ghost-on-ubuntu-20.04.jpg\",\"width\":742,\"height\":372,\"caption\":\"how to install ghost on ubuntu 20.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-20-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Ghost on Ubuntu 20.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Ghost on Ubuntu 20.04 | LinuxCloudVPS Blog","description":"Ghost is a lightweight open-source blogging platform. The Ghost user interface is very simple and straightforward making it great for beginners as well as","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.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Ghost on Ubuntu 20.04 | LinuxCloudVPS Blog","og_description":"Ghost is a lightweight open-source blogging platform. The Ghost user interface is very simple and straightforward making it great for beginners as well as","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2022-01-30T18:30:00+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-ghost-on-ubuntu-20.04.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Install Ghost on Ubuntu 20.04","datePublished":"2022-01-30T18:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/"},"wordCount":748,"commentCount":1,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-ghost-on-ubuntu-20.04.jpg","keywords":["ghost","how to install","ubuntu 20.04"],"articleSection":["Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/","name":"How to Install Ghost on Ubuntu 20.04 | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-ghost-on-ubuntu-20.04.jpg","datePublished":"2022-01-30T18:30:00+00:00","description":"Ghost is a lightweight open-source blogging platform. The Ghost user interface is very simple and straightforward making it great for beginners as well as","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-ghost-on-ubuntu-20.04.jpg","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-ghost-on-ubuntu-20.04.jpg","width":742,"height":372,"caption":"how to install ghost on ubuntu 20.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-ghost-on-ubuntu-20-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Ghost on Ubuntu 20.04"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=1673"}],"version-history":[{"count":7,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1673\/revisions"}],"predecessor-version":[{"id":1690,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1673\/revisions\/1690"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/1689"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=1673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=1673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=1673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}