{"id":44578,"date":"2023-03-27T12:30:17","date_gmt":"2023-03-27T17:30:17","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=44578"},"modified":"2023-06-01T11:27:03","modified_gmt":"2023-06-01T16:27:03","slug":"how-to-install-ghost-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/","title":{"rendered":"How to Install Ghost on Ubuntu 22.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"742\" height=\"372\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-install-ghost-on-ubuntu-22-04.webp\" alt=\"how to install ghost on ubuntu 22.04\" class=\"wp-image-45157\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-install-ghost-on-ubuntu-22-04.webp 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-install-ghost-on-ubuntu-22-04-300x150.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-install-ghost-on-ubuntu-22-04-150x75.webp 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Ghost is a free and open-source content management system (CMS) used for hosting a website. It is mainly used for publishing newsletters, articles, blog post content and etc. <\/p>\n\n\n\n<p>Ghost relies entirely on JavaScript, and the server side uses Node.js, while the admin interface uses Ember.js. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>The data is stored in the MySQL database. In this blog post, we will install the Nginx web server along with MySQL required for Ghost to function properly.<\/p>\n\n\n\n<p>In this tutorial, we are going to show you how to install Ghost on Ubuntu 22.04 OS. Let&#8217;s get things done!<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69fc95f3ad316\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69fc95f3ad316\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#Step-1-Update-the-System\" >Step 1. Update the System<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#Step-2-Install-Nginx\" >Step 2. Install Nginx<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#Step-3-Install-MySQL-server\" >Step 3. Install MySQL server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#Step-4-Create-a-Ghost-database-and-user\" >Step 4. Create a Ghost database and user<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#Step-5-Install-Nodejs-and-npm\" >Step 5. Install Nodejs and npm<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#Step-6-Install-Ghost-CLI-and-Ghost\" >Step 6. Install Ghost-CLI and Ghost<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Fresh install of Ubuntu 22.04<\/li>\n\n\n\n<li>A valid domain pointed to the server IP address<\/li>\n\n\n\n<li>User privileges: root or non-root user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Update-the-System\"><\/span>Step 1. Update the System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before we start with Ghost installation, we will update the system packages to the latest versions available.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update -y &amp;&amp; sudo apt upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Install-Nginx\"><\/span>Step 2. Install Nginx<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To install the Nginx web server execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install nginx -y<\/pre>\n\n\n\n<p>After successful installation, the Nginx service will be automatically started. To check the status of Nginx, execute the following command:<\/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\">root@host:~# sudo systemctl status nginx\n\u25cf nginx.service - A high performance web server and a reverse proxy server\n     Loaded: loaded (\/lib\/systemd\/system\/nginx.service; enabled; vendor preset: enabled)\n     Active: active (running) since Wed 2022-12-28 15:27:57 CST; 10s ago\n       Docs: man:nginx(8)\n    Process: 8663 ExecStartPre=\/usr\/sbin\/nginx -t -q -g daemon on; master_process on; (code=exited, status=0\/SUCCESS)\n    Process: 8664 ExecStart=\/usr\/sbin\/nginx -g daemon on; master_process on; (code=exited, status=0\/SUCCESS)\n   Main PID: 8760 (nginx)\n      Tasks: 4 (limit: 4575)\n     Memory: 4.8M\n        CPU: 50ms\n     CGroup: \/system.slice\/nginx.service\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-3-Install-MySQL-server\"><\/span>Step 3. Install MySQL server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To install MySQL execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install mysql-server -y<\/pre>\n\n\n\n<p>Once installed, start and enable the MySQL service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl start mysql.service &amp;&amp; systemctl enable mysql.service<\/pre>\n\n\n\n<p>To check the status of the service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">systemctl status mysql.service<\/pre>\n\n\n\n<p>If everything is ok, you should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# systemctl status mysql.service\n\u25cf mysql.service - MySQL Community Server\n     Loaded: loaded (\/lib\/systemd\/system\/mysql.service; enabled; vendor preset: enabled)\n     Active: active (running) since Wed 2022-12-28 15:32:20 CST; 13s ago\n   Main PID: 9547 (mysqld)\n     Status: \"Server is operational\"\n      Tasks: 39 (limit: 4575)\n     Memory: 364.1M\n        CPU: 1.258s\n     CGroup: \/system.slice\/mysql.service\n             \u2514\u25009547 \/usr\/sbin\/mysqld\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-4-Create-a-Ghost-database-and-user\"><\/span>Step 4. Create a Ghost database and user<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Next, we need to create a Ghost database, the Ghost user, and grant the permissions for that user to the database.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> CREATE USER 'ghost'@'localhost' IDENTIFIED BY 'YourStrongPasswordHere';\n CREATE DATABASE ghost;\n GRANT ALL PRIVILEGES ON ghost.* TO 'ghost'@'localhost';\n FLUSH PRIVILEGES;\n EXIT;\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-5-Install-Nodejs-and-npm\"><\/span>Step 5. Install Nodejs and npm<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To install nodejs and npm, execute the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl -sL https:\/\/deb.nodesource.com\/setup_16.x | sudo -E bash\n\nsudo apt-get update\n\nsudo apt-get install nodejs\n\nsudo npm install npm@latest -g<\/pre>\n\n\n\n<p>You can check the versions of Nodejs and NPM with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">node --version &amp;&amp; npm --version<\/pre>\n\n\n\n<p>You will get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# node --version &amp;&amp; npm --version\nv16.19.0\n9.2.0\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-6-Install-Ghost-CLI-and-Ghost\"><\/span>Step 6. Install Ghost-CLI and Ghost<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>First, we need to install the Ghost client command line tool, so we can install Ghost later:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo npm install -g ghost-cli@latest<\/pre>\n\n\n\n<p>To check the Ghost client version, execute the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ghost -v<\/pre>\n\n\n\n<p>You will get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Ghost-CLI version: 1.23.1<\/pre>\n\n\n\n<p>Now, when we have all dependencies installed, we can finally install Ghost. To create a Ghost user:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">adduser ghostuser\n\nusermod -aG sudo ghostuser\n\n<\/pre>\n\n\n\n<p>Login with the newly created Ghost user, create a ghost directory, and set the right permission:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">su - ghostuser\n\nsudo mkdir -p \/var\/www\/ghost\n\nsudo chown ghostuser:ghostuser \/var\/www\/ghost\n\nsudo chmod 775 \/var\/www\/ghost\n\n<\/pre>\n\n\n\n<p>Go into the Ghost directory and install Ghost with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/var\/www\/ghost\/\n\nghost install<\/pre>\n\n\n\n<p>The installation will start, and you will be asked to specify the domain name, MySQL host, database name, database user, password and to confirm the Nginx web server, SSL certificate and etc.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u2714 Checking system Node.js version - found v16.19.0\n\u2714 Checking logged in user\n\u2714 Checking current folder permissions\n\u2714 Checking system compatibility\n\u2714 Checking for a MySQL installation\n\u2714 Checking memory availability\n\u2714 Checking free space\n\u2714 Checking for latest Ghost version\n\u2714 Setting up install directory\n\u2714 Downloading and installing Ghost v5.26.3\n\u2714 Finishing install process\n? Enter your blog URL: <b>http:\/\/yourdomain.com<\/b>\n? Enter your MySQL hostname: <b>localhost<\/b>\n? Enter your MySQL username: <b>ghost<\/b>\n? Enter your MySQL password: <b>[hidden]<\/b>\n? Enter your Ghost database name: <b>ghost<\/b>\n\u2714 Configuring Ghost\n\u2714 Setting up instance\n+ sudo useradd --system --user-group ghost\n+ sudo chown -R ghost:ghost \/var\/www\/ghost\/content\n\u2714 Setting up \"ghost\" system user\n\u2139 Setting up \"ghost\" mysql user [skipped]\n? Do you wish to set up Nginx? <b>Yes<\/b>\n+ sudo mv \/tmp\/yourdomain-com\/yourdomain.com.conf \/etc\/nginx\/sites-available\/yourdomain.com.conf\n+ sudo ln -sf \/etc\/nginx\/sites-available\/yourdomain.com.conf \/etc\/nginx\/sites-enabled\/yourdomain.com.conf\n+ sudo nginx -s reload\n\u2714 Setting up Nginx\n? Do you wish to set up SSL? (Y\/n) <b>Y<\/b>\n? Enter your email (For SSL Certificate) <b>admin@yourdomain.com<\/b>\n+ sudo mkdir -p \/etc\/letsencrypt\n+ sudo .\/acme.sh --install --home \/etc\/letsencrypt\n+ sudo \/etc\/letsencrypt\/acme.sh --issue --home \/etc\/letsencrypt --server letsencrypt --domain yourdomain.com --webroot \/var\/www\/ghost\/system\/nginx-root --reloadcmd \"nginx -s reload\" --accountemail admin@yourdomain.com\n+ sudo openssl dhparam -dsaparam -out \/etc\/nginx\/snippets\/dhparam.pem 2048\n+ sudo mv \/tmp\/ssl-params.conf \/etc\/nginx\/snippets\/ssl-params.conf\n+ sudo mv \/tmp\/yourdomain-com\/yourdomain.com-ssl.conf \/etc\/nginx\/sites-available\/yourdomain.com-ssl.conf\n+ sudo ln -sf \/etc\/nginx\/sites-available\/yourdomain.com-ssl.conf \/etc\/nginx\/sites-enabled\/yourdomain.com-ssl.conf\n+ sudo nginx -s reload\n\u2714 Setting up SSL\n? Do you wish to set up Systemd? (Y\/n) <b>Y<\/b>\n? Do you wish to set up Systemd? Yes\n+ sudo mv \/tmp\/yourdomain-com\/ghost_yourdomain-com.service \/lib\/systemd\/system\/ghost_yourdomain-com.service\n+ sudo systemctl daemon-reload\n\u2714 Setting up Systemd\n+ sudo systemctl is-active yourdomain-com\n? Do you want to start Ghost? <b>Yes<\/b>\n+ sudo systemctl start ghost_yourdomain-com\n\u2631 Starting Ghost\nGhost uses direct mail by default. To set up an alternative email method read our docs at https:\/\/ghost.org\/docs\/config\/#mail\n\n------------------------------------------------------------------------------\n\nGhost was installed successfully! To complete setup of your publication, visit:\n\n    <b>http:\/\/yourdomain.com\/ghost\/<\/b>\n<\/pre>\n\n\n\n<p>After successful installation, you can access the website at <b>http:\/\/yourdomain.com\/ghost\/<\/b> to define the name of the website and set up the login credentials.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"584\" height=\"597\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/ghost-set-credentials.webp\" alt=\"ghost set credentials\" class=\"wp-image-45158\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/ghost-set-credentials.webp 584w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/ghost-set-credentials-293x300.webp 293w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/ghost-set-credentials-147x150.webp 147w\" sizes=\"(max-width: 584px) 100vw, 584px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>Once done, click on the black button &#8220;<b>Create account &amp; start publishing -><\/b>&#8220;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"900\" height=\"409\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/ghost-start-publishing.webp\" alt=\"ghost start publishing\" class=\"wp-image-45159\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/ghost-start-publishing.webp 900w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/ghost-start-publishing-300x136.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/ghost-start-publishing-150x68.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/ghost-start-publishing-768x349.webp 768w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>That&#8217;s it; you successfully installed and configured Ghost on Ubuntu 22.04. Of course, you do not have to do this if you find the setup complex. You can always contact our Technical support. We are available 24\/7 and will help you with any Ghost installation and configuration aspect.<\/p>\n\n\n\n<p>If you liked this about installing Ghost on Ubuntu 22.04, please share it with your friends on social networks or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ghost is a free and open-source content management system (CMS) used for hosting a website. It is mainly used for &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Ghost on Ubuntu 22.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#more-44578\" aria-label=\"Read more about How to Install Ghost on Ubuntu 22.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":45157,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1710,1236,13],"tags":[313,1603,2012],"class_list":["post-44578","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cms-crm-erp","category-guides","category-tutorials","tag-ghost","tag-how-to-install","tag-ubuntu-22-04","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Ghost on Ubuntu 22.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Wondering how to install Ghost on Ubuntu 22.04? Read our detailed guide and find out. Let&#039;s get started!\" \/>\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.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-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 22.04\" \/>\n<meta property=\"og:description\" content=\"Wondering how to install Ghost on Ubuntu 22.04? Read our detailed guide and find out. Let&#039;s get started!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-27T17:30:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-01T16:27:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-install-ghost-on-ubuntu-22-04.webp\" \/>\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\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Install Ghost on Ubuntu 22.04\" \/>\n<meta name=\"twitter:description\" content=\"Wondering how to install Ghost on Ubuntu 22.04? Read our detailed guide and find out. Let&#039;s get started!\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\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.rosehosting.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-22-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-22-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Ghost on Ubuntu 22.04\",\"datePublished\":\"2023-03-27T17:30:17+00:00\",\"dateModified\":\"2023-06-01T16:27:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-22-04\\\/\"},\"wordCount\":507,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/how-to-install-ghost-on-ubuntu-22-04.webp\",\"keywords\":[\"ghost\",\"how to install\",\"ubuntu 22.04\"],\"articleSection\":[\"CMS, CRM, ERP\",\"Guides\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-22-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-22-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-22-04\\\/\",\"name\":\"How to Install Ghost on Ubuntu 22.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-22-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/how-to-install-ghost-on-ubuntu-22-04.webp\",\"datePublished\":\"2023-03-27T17:30:17+00:00\",\"dateModified\":\"2023-06-01T16:27:03+00:00\",\"description\":\"Wondering how to install Ghost on Ubuntu 22.04? Read our detailed guide and find out. Let's get started!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-22-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-22-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-22-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/how-to-install-ghost-on-ubuntu-22-04.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/how-to-install-ghost-on-ubuntu-22-04.webp\",\"width\":742,\"height\":372,\"caption\":\"how to install ghost on ubuntu 22.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-ghost-on-ubuntu-22-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Ghost on Ubuntu 22.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Ghost on Ubuntu 22.04 | RoseHosting","description":"Wondering how to install Ghost on Ubuntu 22.04? Read our detailed guide and find out. Let's get started!","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.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Ghost on Ubuntu 22.04","og_description":"Wondering how to install Ghost on Ubuntu 22.04? Read our detailed guide and find out. Let's get started!","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2023-03-27T17:30:17+00:00","article_modified_time":"2023-06-01T16:27:03+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-install-ghost-on-ubuntu-22-04.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"How to Install Ghost on Ubuntu 22.04","twitter_description":"Wondering how to install Ghost on Ubuntu 22.04? Read our detailed guide and find out. Let's get started!","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Ghost on Ubuntu 22.04","datePublished":"2023-03-27T17:30:17+00:00","dateModified":"2023-06-01T16:27:03+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/"},"wordCount":507,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-install-ghost-on-ubuntu-22-04.webp","keywords":["ghost","how to install","ubuntu 22.04"],"articleSection":["CMS, CRM, ERP","Guides","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/","name":"How to Install Ghost on Ubuntu 22.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-install-ghost-on-ubuntu-22-04.webp","datePublished":"2023-03-27T17:30:17+00:00","dateModified":"2023-06-01T16:27:03+00:00","description":"Wondering how to install Ghost on Ubuntu 22.04? Read our detailed guide and find out. Let's get started!","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-install-ghost-on-ubuntu-22-04.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-install-ghost-on-ubuntu-22-04.webp","width":742,"height":372,"caption":"how to install ghost on ubuntu 22.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-ghost-on-ubuntu-22-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Ghost on Ubuntu 22.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/44578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=44578"}],"version-history":[{"count":6,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/44578\/revisions"}],"predecessor-version":[{"id":46063,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/44578\/revisions\/46063"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/45157"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=44578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=44578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=44578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}