{"id":2025,"date":"2023-12-30T12:30:00","date_gmt":"2023-12-30T18:30:00","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=2025"},"modified":"2023-11-20T10:27:43","modified_gmt":"2023-11-20T16:27:43","slug":"how-to-install-wiki-js-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-04\/","title":{"rendered":"How to Install Wiki.js on Ubuntu 22.04"},"content":{"rendered":"\n<p>Wiki.js is an open-source project that runs a wiki engine using Node. It is a fully customizable and modular wiki engine written entirely in JavaScript. Wiki.js offers some useful features and it works perfectly smooth on different operating systems and environments. In this tutorial, we will show you how to install Wiki.js on Ubuntu 22.04.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.linuxcloudvps.com\/ubuntu-cloud-vps.html\" target=\"_blank\" rel=\"noopener\" title=\"\">Ubuntu 22.04 Cloud VPS<\/a><\/li>\n\n\n\n<li>SSH root access or a regular system user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1. Log in to the Server<\/h2>\n\n\n\n<p>First, log in to your Ubuntu 22.04 server using SSH as root:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh root@IP_Address -p Port_number<\/pre>\n\n\n\n<p>You will need to replace \u2018IP_Address\u2018 and \u2018Port_number\u2018 with your server\u2019s respective IP address and SSH port number. Additionally, replace \u2018root\u2019 with the username of the system user with sudo privileges.<\/p>\n\n\n\n<p>You can check whether you have the proper Ubuntu version installed on your server with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># lsb_release -a<\/pre>\n\n\n\n<p>You should get this output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">No LSB modules are available.<br>Distributor ID: Ubuntu<br>Description: Ubuntu 22.04 LTS<br>Release: 22.04<br>Codename: jammy<\/pre>\n\n\n\n<p>Before starting, you have to make sure that all Ubuntu OS packages installed on the server are up to date. You can do this by running the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt update -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2. Install NodeJS<\/h2>\n\n\n\n<p>Wiki.js requires the NodeJS runtime environment and npm (Node package manager). We can install NodeJS from the Ubuntu default repository, but we will get an older version of NodeJS if we use this method and Wiki.js requires at least NodeJS version 14. In this step, we will install NodeJS and npm through the NodeJS repository to get the most recent version of it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># curl -sL https:\/\/deb.nodesource.com\/setup_lts.x | sudo -E bash -<\/pre>\n\n\n\n<p>Once completed, we need to download the package information from the newly added source above.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt update<\/pre>\n\n\n\n<p>Next, run the following command to finally install NodeJS and NPM.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install nodejs<\/pre>\n\n\n\n<p>That&#8217;s it, NodeJS and NPM are installed. You can check the installed version by executing this one-liner:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># node -v; npm -v<\/pre>\n\n\n\n<p>You will see an output like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@ubuntu22:~$ node -v; npm -v<br>v18.17.1<br>9.6.7<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3. Install MariaDB and Create a Database<\/h2>\n\n\n\n<p>Wiki.js supports several database engines, like PostgreSQL, MariaDB, MySQL, SQLite3 and MSSQL. In this step, we are going to install MariaDB server from the default Ubuntu repository. To install MariaDB server, invoke this command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install mariadb-server<\/pre>\n\n\n\n<p>On an Ubuntu system, the MariaDB server will be running automatically upon installation. Therefore, we can now continue by creating a fresh database and database user for our Wiki.js website. Let&#8217;s log in to MySQL shell as user root and create a database for our Wiki.js website.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># mysql<\/pre>\n\n\n\n<p>Once logged in to MySQL shell, we can execute the following commands.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql&gt; CREATE DATABASE wikijs;<br>mysql&gt; GRANT ALL on wikijs.* to wikijs@localhost identified by 'm0d1fyth15';<br>mysql&gt; FLUSH PRIVILEGES;<br>mysql&gt; \\q<\/pre>\n\n\n\n<p>Make sure to create a more complicated database password, substitute <strong>m0d1fyth15 <\/strong>in the command above with a better and stronger one.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4. Install Wiki.js<\/h2>\n\n\n\n<p>In this step, we will create a new system user and grant it with sudo privileges. We will also use this user to complete this installation. In this tutorial, we will create a new system user called &#8216;wikijs&#8217;, you can choose any username you like.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># useradd -m -d \/opt\/wikijs -U -r -s \/bin\/bash wikijs<\/pre>\n\n\n\n<p>Once added, we can switch to that use and do the rests.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># su - wikijs<\/pre>\n\n\n\n<p>Then, we need to download the Wiki.js installation file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ wget https:\/\/github.com\/Requarks\/wiki\/releases\/latest\/download\/wiki-js.tar.gz<\/pre>\n\n\n\n<p>Once downloaded, we can extract it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ tar -xzvf wiki-js.tar.gz<\/pre>\n\n\n\n<p>The files are extracted in <code>\/opt\/wikijs<\/code>, let&#8217;s proceed to the next step.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5. Configure Wiki.js<\/h2>\n\n\n\n<p>The Wiki.js file has been downloaded and extracted. It is time to configure it to connect to the database we created earlier.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ cp -a config.sample.yml config.yml<\/pre>\n\n\n\n<p>Let&#8217;s edit the config.yml file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ nano config.yml<\/pre>\n\n\n\n<p>Find these lines.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">db:\n  type: postgres\n\n  # PostgreSQL \/ MySQL \/ MariaDB \/ MS SQL Server only:\n  host: localhost\n  port: 5432\n  user: wikijs\n  pass: wikijsrocks\n  db: wiki<\/pre>\n\n\n\n<p>And, change the database type &#8216;postgres&#8217; with &#8216;mariadb&#8217;, also use port 3306 instead of 5432. The lines should look like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">db:\n  type: mariadb\n\n  # PostgreSQL \/ MySQL \/ MariaDB \/ MS SQL Server only:\n  host: localhost\n  port: 3306\n  user: wikijs\n  pass: m0d1fyth15\n  db: wikijs<\/pre>\n\n\n\n<p>Save the file then exit from the editor. You can also exit from user &#8216;wikijs&#8217; and back to your root or sudo user.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ exit<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6. Create Systemd File<\/h2>\n\n\n\n<p>To run and manage the wikijs service, we can create a systemd file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># nano \/etc\/systemd\/system\/wikijs.service<\/pre>\n\n\n\n<p>Insert the following into the file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[Unit]\nDescription=Wiki.js\nAfter=network.target\n\n[Service]\nType=simple\nExecStart=\/usr\/bin\/node server\nRestart=always\n\nUser=wikijs\nEnvironment=NODE_ENV=production\nWorkingDirectory=\/opt\/wikijs\n\n[Install]\nWantedBy=multi-user.target<\/pre>\n\n\n\n<p>Save the file, exit, and reload the systemd daemon.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl daemon-reload<\/pre>\n\n\n\n<p>Once reloaded, we can run wikijs and enable it upon server reboot.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl enable --now wikijs<\/pre>\n\n\n\n<p>That&#8217;s it, Wiki.js should be up and running. You should be able to access it at http:\/\/YOUR_SERVER_IP_ADDRESS:3000<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 7. Install and Configure Nginx<\/h2>\n\n\n\n<p>Wiki.js is up and running on port 3000 now. To access it on a domain or subdomain, we need to create and configure a reverse proxy. In this step, we will install Nginx and create an Nginx server block for our Wiki.js website.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># apt install nginx<\/pre>\n\n\n\n<p>On an Ubuntu system, Nginx will be up and running upon installation. Now, let&#8217;s create a server block to accomodate our Wiki.js website.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># nano \/etc\/nginx\/sites-enabled\/wikijs.conf<\/pre>\n\n\n\n<p>Insert the following into the file above.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>server {\n  listen 80;\n  server_name  wikijs.yourdomain.com;\n  root   \/opt\/wikijs;\n\n    location \/ {\n    proxy_pass          http:\/\/127.0.0.1:3000;\n    proxy_http_version  1.1;\n    proxy_set_header    Upgrade $http_upgrade;\n    proxy_set_header    Connection \"upgrade\";\n    proxy_set_header    Host $host;\n    proxy_set_header    X-Real-IP $remote_addr;\n    proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;\n    proxy_set_header    X-Forwarded-Proto $scheme;\n  }\n}<\/code><\/pre>\n\n\n\n<p>Make sure to adjust wikijs.yourdomain.com to the domain or subdomain you want to use.<\/p>\n\n\n\n<p>Save the file then exit from the editor. Then, we need to restart Nginx for the changes to take effect.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl restart nginx<\/pre>\n\n\n\n<p>Now, at this point, you should be able to access Wiki.js at http:\/\/wikijs.yourdomain.com and complete the installation through a web browser.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-welcome.jpg\"><img decoding=\"async\" width=\"609\" height=\"900\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-welcome.jpg\" alt=\"\" class=\"wp-image-2028\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-welcome.jpg 609w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-welcome-203x300.jpg 203w\" sizes=\"(max-width: 609px) 100vw, 609px\" \/><\/a><\/figure>\n\n\n\n<p>Click on the Install button to continue, then you will be brought to the login page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-login.jpg\"><img decoding=\"async\" width=\"970\" height=\"472\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-login-970x472.jpg\" alt=\"\" class=\"wp-image-2029\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-login-970x472.jpg 970w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-login-470x229.jpg 470w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-login-768x373.jpg 768w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-login.jpg 1382w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/a><\/figure>\n\n\n\n<p>Log in with the email and password you created earlier. You will see the welcome page to create a page or access the administration page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-get-started.jpg\"><img decoding=\"async\" width=\"970\" height=\"692\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-get-started-970x692.jpg\" alt=\"\" class=\"wp-image-2030\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-get-started-970x692.jpg 970w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-get-started-421x300.jpg 421w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-get-started-768x548.jpg 768w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-get-started.jpg 1116w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/a><\/figure>\n\n\n\n<p>You can start working and customizing your website by accessing the backend.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-backend.jpg\"><img decoding=\"async\" width=\"970\" height=\"533\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-backend-970x533.jpg\" alt=\"\" class=\"wp-image-2031\" srcset=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-backend-970x533.jpg 970w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-backend-470x258.jpg 470w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-backend-768x422.jpg 768w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-backend-1536x844.jpg 1536w, https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/10\/wikijs-backend.jpg 1630w\" sizes=\"(max-width: 970px) 100vw, 970px\" \/><\/a><\/figure>\n\n\n\n<p>Congratulations! You have successfully installed Wiki.js on your <a href=\"https:\/\/www.linuxcloudvps.com\/ubuntu-cloud-vps.html\" title=\"\">Ubuntu Cloud Hosting<\/a>. For more information about Wiki.js, please refer to the Wiki.js website.<\/p>\n\n\n\n<p>PS. If you liked this post on how to install Wiki.js 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>Wiki.js is an open-source project that runs a wiki engine using Node. It is a fully customizable and modular wiki engine written entirely in JavaScript. Wiki.js offers some useful features and it works perfectly smooth on different operating systems and environments. In this tutorial, we will show you how to install Wiki.js on Ubuntu 22.04.<\/p>\n","protected":false},"author":2,"featured_media":2080,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[274,13,208],"tags":[47,292],"class_list":["post-2025","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-source","category-tutorials","category-ubuntu","tag-ubuntu","tag-wiki-js"],"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 Wiki.js on Ubuntu 22.04 | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"Wiki.js is an open-source project that runs a wiki engine using Node. It is a fully customizable and modular wiki engine written entirely in JavaScript.\" \/>\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-wiki-js-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 Wiki.js on Ubuntu 22.04 | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"Wiki.js is an open-source project that runs a wiki engine using Node. It is a fully customizable and modular wiki engine written entirely in JavaScript.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-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=\"2023-12-30T18:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/11\/how-to-install-wiki-js-on-ubuntu-22-04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\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-wiki-js-on-ubuntu-22-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-wiki-js-on-ubuntu-22-04\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Install Wiki.js on Ubuntu 22.04\",\"datePublished\":\"2023-12-30T18:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-wiki-js-on-ubuntu-22-04\\\/\"},\"wordCount\":913,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-wiki-js-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/how-to-install-wiki-js-on-ubuntu-22-04.webp\",\"keywords\":[\"ubuntu\",\"Wiki.js\"],\"articleSection\":[\"open-source\",\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-wiki-js-on-ubuntu-22-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-wiki-js-on-ubuntu-22-04\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-wiki-js-on-ubuntu-22-04\\\/\",\"name\":\"How to Install Wiki.js on Ubuntu 22.04 | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-wiki-js-on-ubuntu-22-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-wiki-js-on-ubuntu-22-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/how-to-install-wiki-js-on-ubuntu-22-04.webp\",\"datePublished\":\"2023-12-30T18:30:00+00:00\",\"description\":\"Wiki.js is an open-source project that runs a wiki engine using Node. It is a fully customizable and modular wiki engine written entirely in JavaScript.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-wiki-js-on-ubuntu-22-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-wiki-js-on-ubuntu-22-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-wiki-js-on-ubuntu-22-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/how-to-install-wiki-js-on-ubuntu-22-04.webp\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/how-to-install-wiki-js-on-ubuntu-22-04.webp\",\"width\":742,\"height\":410,\"caption\":\"how to install wiki js on ubuntu 22 04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-wiki-js-on-ubuntu-22-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Wiki.js on Ubuntu 22.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 Wiki.js on Ubuntu 22.04 | LinuxCloudVPS Blog","description":"Wiki.js is an open-source project that runs a wiki engine using Node. It is a fully customizable and modular wiki engine written entirely in JavaScript.","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-wiki-js-on-ubuntu-22-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Wiki.js on Ubuntu 22.04 | LinuxCloudVPS Blog","og_description":"Wiki.js is an open-source project that runs a wiki engine using Node. It is a fully customizable and modular wiki engine written entirely in JavaScript.","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-04\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2023-12-30T18:30:00+00:00","og_image":[{"width":742,"height":410,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/11\/how-to-install-wiki-js-on-ubuntu-22-04.webp","type":"image\/webp"}],"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-wiki-js-on-ubuntu-22-04\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-04\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Install Wiki.js on Ubuntu 22.04","datePublished":"2023-12-30T18:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-04\/"},"wordCount":913,"commentCount":0,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/11\/how-to-install-wiki-js-on-ubuntu-22-04.webp","keywords":["ubuntu","Wiki.js"],"articleSection":["open-source","Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-04\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-04\/","name":"How to Install Wiki.js on Ubuntu 22.04 | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-04\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/11\/how-to-install-wiki-js-on-ubuntu-22-04.webp","datePublished":"2023-12-30T18:30:00+00:00","description":"Wiki.js is an open-source project that runs a wiki engine using Node. It is a fully customizable and modular wiki engine written entirely in JavaScript.","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-04\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/11\/how-to-install-wiki-js-on-ubuntu-22-04.webp","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/11\/how-to-install-wiki-js-on-ubuntu-22-04.webp","width":742,"height":410,"caption":"how to install wiki js on ubuntu 22 04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-wiki-js-on-ubuntu-22-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Wiki.js on Ubuntu 22.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\/2025","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=2025"}],"version-history":[{"count":7,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/2025\/revisions"}],"predecessor-version":[{"id":2085,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/2025\/revisions\/2085"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/2080"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=2025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=2025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=2025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}