{"id":42869,"date":"2022-10-26T12:30:39","date_gmt":"2022-10-26T17:30:39","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=42869"},"modified":"2022-12-05T05:18:24","modified_gmt":"2022-12-05T11:18:24","slug":"how-to-install-dokuwiki-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/","title":{"rendered":"How to Install Dokuwiki on Ubuntu 22.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-43134\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/how-to-install-dokuwiki-on-ubuntu-22-04.webp\" alt=\"how to install dokuwiki on ubuntu 22.04\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/how-to-install-dokuwiki-on-ubuntu-22-04.webp 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/how-to-install-dokuwiki-on-ubuntu-22-04-300x150.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/how-to-install-dokuwiki-on-ubuntu-22-04-150x75.webp 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>Dokuwiki is an open-source wiki software written in PHP, and it doesn&#8217;t require a database. It was developed by Andreas Gohr in 2004. Dokuwiki works on plain text files, and its syntax is similar to the one used by <a href=\"https:\/\/www.rosehosting.com\/mediawiki-hosting\/\">MediaWiki<\/a>. With its simple yet powerful syntax, users can create structured texts easily, and it ensures the data files remain readable outside the wiki. In this tutorial, we will show you how to install Dokuwiki on Ubuntu 22.04.<\/p>\n<p><!--more--><\/p>\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-69c964f5be2ee\" 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-69c964f5be2ee\"  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-dokuwiki-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-dokuwiki-on-ubuntu-22-04\/#Step-1-Log-in-to-your-server-via-SSH\" >Step 1. Log in to your server via SSH<\/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-dokuwiki-on-ubuntu-22-04\/#Step-1-Install-Nginx-and-PHP\" >Step 1. Install Nginx and PHP<\/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-dokuwiki-on-ubuntu-22-04\/#Step-2-Download-Dokuwiki\" >Step 2. Download Dokuwiki<\/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-dokuwiki-on-ubuntu-22-04\/#Step-3-Install-Certbot\" >Step 3. Install Certbot<\/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-dokuwiki-on-ubuntu-22-04\/#Step-4-Configure-Nginx\" >Step 4. Configure Nginx<\/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-dokuwiki-on-ubuntu-22-04\/#Step-5-Install-Dokuwiki\" >Step 5. Install Dokuwiki<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>An Ubuntu 22.04 VPS<\/li>\n<li>SSH root access or a user with sudo privileges<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Step-1-Log-in-to-your-server-via-SSH\"><\/span>Step 1. Log in to your server via SSH<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>First, you will need to log in to your Ubuntu 22.04 VPS via SSH as the root user:<\/p>\n<pre>ssh master@IP_Address -p Port_number<\/pre>\n<p>You will need to replace &#8216;IP_Address&#8217; and &#8216;Port_number&#8217; with your server&#8217;s respective IP address and SSH port number. Additionally, replace &#8216;master&#8217; with the username of the system user with sudo privileges or &#8216;root.&#8217;<\/p>\n<p>You can check whether you have the proper Ubuntu 22.04 installed on your server with the following command:<\/p>\n<pre>$ lsb_release -a<\/pre>\n<p>It will return an output like this.<\/p>\n<pre>No LSB modules are available.\r\nDistributor ID: Ubuntu\r\nDescription: Ubuntu 22.04 LTS\r\nRelease: 22.04\r\nCodename: jammy<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-1-Install-Nginx-and-PHP\"><\/span>Step 1. Install Nginx and PHP<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We need to install the web server and PHP to proceed with installing Dokuwiki. In this post, we will use Nginx instead of Apache. So, let&#8217;s run the command below to install them. Also, according to Dokuwiki documentation at https:\/\/www.dokuwiki.org\/requirements, using the latest version of the 7.4.x branch or 8.x is highly recommended to run a Dokuwiki website. Since the default PHP version in Ubuntu 22.04 is 8.1, we can proceed with the installation now.<\/p>\n<pre>$ sudo apt install wget unzip nginx-full php-{bcmath,cli,curl,fpm,gd,gmp,json,mbstring,snmp,xml,zip}<\/pre>\n<p>On Ubuntu 22.04, Nginx is configured to start running upon installation; you can check them by running this command:<\/p>\n<pre>$ sudo systemctl status nginx --lines=0<\/pre>\n<p>Please note unlike any other wiki software, Dokuwiki does not need a database server. All data are stored in PHP files, and this speeds up the website itself.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-2-Download-Dokuwiki\"><\/span>Step 2. Download Dokuwiki<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To download the latest stable version, you can check their download page at https:\/\/download.dokuwiki.org\/<\/p>\n<p>Execute the commands below to download the Dokuwiki file and extract it.<\/p>\n<pre>$ sudo wget https:\/\/download.dokuwiki.org\/src\/dokuwiki\/dokuwiki-stable.tgz -O \/tmp\/dokuwiki.tgz\r\n$ sudo mkdir \/var\/www\/html\/dokuwiki\r\n$ sudo tar xvf \/tmp\/dokuwiki.tgz --strip-components=1 -C \/var\/www\/html\/dokuwiki<\/pre>\n<p>Next, let&#8217;s give the directory and its contents the correct permission.<\/p>\n<pre>$ sudo chown -R www-data. \/var\/www\/html\/dokuwiki<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-3-Install-Certbot\"><\/span>Step 3. Install Certbot<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We are going to host our Dokuwiki website in HTTPS and in this step we will show you how to install a free SSL certificate from Let&#8217;s Encrypt using cerbot.<\/p>\n<pre>$ sudo apt install python3-certbot-nginx<\/pre>\n<p>Next, let&#8217;s invoke this command below. Make sure to replace wiki.yourdomain.com with your actual domain or subdomain name.<\/p>\n<pre>$ sudo certbot certonly -d wiki.yourdomain.com<\/pre>\n<p>It should look like this:<\/p>\n<pre>master@wiki:~$ sudo certbot certonly -d wiki.yourdomain.com \r\nSaving debug log to \/var\/log\/letsencrypt\/letsencrypt.log\r\n\r\nHow would you like to authenticate with the ACME CA?\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\n1: Nginx Web Server plugin (nginx)\r\n2: Spin up a temporary webserver (standalone)\r\n3: Place files in webroot directory (webroot)\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nSelect the appropriate number [1-3] then [enter] (press 'c' to cancel): 1\r\nEnter email address (used for urgent renewal and security notices)\r\n(Enter 'c' to cancel): you@yourdomain.com\r\n\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nPlease read the Terms of Service at\r\nhttps:\/\/letsencrypt.org\/documents\/LE-SA-v1.2-November-15-2017.pdf. You must\r\nagree in order to register with the ACME server. Do you agree?\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\n(Y)es\/(N)o: y\r\n\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nWould you be willing, once your first certificate is successfully issued, to\r\nshare your email address with the Electronic Frontier Foundation, a founding\r\npartner of the Let's Encrypt project and the non-profit organization that\r\ndevelops Certbot? We'd like to send you email about our work encrypting the web,\r\nEFF news, campaigns, and ways to support digital freedom.\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\n(Y)es\/(N)o: n\r\nAccount registered.\r\nRequesting a certificate for wiki.yourdomain.com\r\n\r\nSuccessfully received certificate.\r\nCertificate is saved at: \/etc\/letsencrypt\/live\/wiki.yourdomain.com\/fullchain.pem\r\nKey is saved at: \/etc\/letsencrypt\/live\/wiki.yourdomain.com\/privkey.pem\r\nThis certificate expires on 2022-11-11.\r\nThese files will be updated when the certificate renews.\r\nCertbot has set up a scheduled task to automatically renew this certificate in the background.\r\n\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nIf you like Certbot, please consider supporting our work by:\r\n* Donating to ISRG \/ Let's Encrypt: https:\/\/letsencrypt.org\/donate\r\n* Donating to EFF: https:\/\/eff.org\/donate-le\r\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r\nmaster@wiki:~$<\/pre>\n<p>As seen in the output, we need these paths below to configure our Dokuwiki nginx server block.<\/p>\n<pre>Certificate is saved at: \/etc\/letsencrypt\/live\/wiki.yourdomain.com\/fullchain.pem\r\nKey is saved at: \/etc\/letsencrypt\/live\/wiki.yourdomain.com\/privkey.pem<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-4-Configure-Nginx\"><\/span>Step 4. Configure Nginx<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Nginx has a default server block, and we are going to delete it and create a new server block for our Dokuwiki website.<\/p>\n<pre>$ sudo rm \/etc\/nginx\/sites-enabled\/default -f\r\n$ sudo nano \/etc\/nginx\/sites-enabled\/dokuwiki.conf<\/pre>\n<p>Paste the following in to the file. Again, make sure to replace wiki.yourdomain.com with your actual domain or subdomain name.<\/p>\n<pre>server {\r\nlisten 80;\r\nserver_name wiki.yourdomain.com;\r\nreturn 301 https:\/\/$server_name$request_uri;\r\n}\r\n\r\nserver {\r\nlisten 443 ssl;\r\nssl_certificate \/etc\/letsencrypt\/live\/wiki.yourdomain.com\/fullchain.pem;\r\nssl_certificate_key \/etc\/letsencrypt\/live\/wiki.yourdomain.com\/privkey.pem;\r\n\r\nserver_name wiki.yourdomain.com;\r\n\r\n# Maximum file upload size is 4MB - change accordingly if needed\r\nclient_max_body_size 4M;\r\nclient_body_buffer_size 128k;\r\n\r\nroot \/var\/www\/html\/dokuwiki;\r\nindex doku.php;\r\n\r\n#Remember to comment the below out when you're installing, and uncomment it when done.\r\n#location ~ \/(conf\/|bin\/|inc\/|vendor\/|install.php) { deny all; }\r\n\r\n#Support for X-Accel-Redirect\r\nlocation ~ ^\/data\/ { internal ; }\r\n\r\nlocation ~ ^\/lib.*\\.(js|css|gif|png|ico|jpg|jpeg)$ {\r\nexpires 365d;\r\n}\r\n\r\nlocation \/ { try_files $uri $uri\/ @dokuwiki; }\r\n\r\nlocation @dokuwiki {\r\n# rewrites \"doku.php\/\" out of the URLs if you set the userwrite setting to .htaccess in dokuwiki config page\r\nrewrite ^\/_media\/(.*) \/lib\/exe\/fetch.php?media=$1 last;\r\nrewrite ^\/_detail\/(.*) \/lib\/exe\/detail.php?media=$1 last;\r\nrewrite ^\/_export\/([^\/]+)\/(.*) \/doku.php?do=export_$1&amp;id=$2 last;\r\nrewrite ^\/(.*) \/doku.php?id=$1&amp;$args last;\r\n}\r\n\r\nlocation ~ \\.php$ {\r\ntry_files $uri $uri\/ \/doku.php;\r\ninclude fastcgi_params;\r\nfastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;\r\nfastcgi_param REDIRECT_STATUS 200;\r\nfastcgi_pass unix:\/var\/run\/php\/php7.4-fpm.sock;\r\n}\r\n}<\/pre>\n<p>Save the file then restart nginx<\/p>\n<pre>$ sudo systemctl restart nginx<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-5-Install-Dokuwiki\"><\/span>Step 5. Install Dokuwiki<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This is the last step. We can do the Dokuwiki installation through the web installer. Open your favorite web browser, then navigate to https:\/\/wiki.yourdomain.com\/install.php<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-43170 size-full\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/install-dokuwiki.webp\" alt=\"install dokuwiki\" width=\"1024\" height=\"574\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/install-dokuwiki.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/install-dokuwiki-300x168.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/install-dokuwiki-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/install-dokuwiki-768x431.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Fill the required fields then click on Save button.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-43171 size-full\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/dokuwiki-successful-installation.webp\" alt=\"dokuwiki successful installation\" width=\"1024\" height=\"362\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/dokuwiki-successful-installation.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/dokuwiki-successful-installation-300x106.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/dokuwiki-successful-installation-150x53.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/dokuwiki-successful-installation-768x272.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>That&#8217;s it, you finished the installation.<\/p>\n<p>Once completed, you would want to restrict the access to some of your Dokuwiki files. We need to edit the nginx server block for our wiki.yourdomain.com<\/p>\n<pre>$ sudo nano \/etc\/nginx\/sites-enabled\/dokuwiki.conf<\/pre>\n<p>Find this line<\/p>\n<pre>#location ~ \/(conf\/|bin\/|inc\/|vendor\/|install.php) { deny all; }<\/pre>\n<p>Uncomment it, and it should look like this<\/p>\n<pre>location ~ \/(conf\/|bin\/|inc\/|vendor\/|install.php) { deny all; }<\/pre>\n<p>Save the file then reload nginx<\/p>\n<pre>$ sudo systemctl reload nginx<\/pre>\n<p>You can now start creating pages by logging in to the admin section of the website.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-43172 size-full\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/dokuwiki-admin-section.webp\" alt=\"dokuwiki admin section\" width=\"1024\" height=\"701\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/dokuwiki-admin-section.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/dokuwiki-admin-section-300x205.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/dokuwiki-admin-section-150x103.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/dokuwiki-admin-section-768x526.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Congratulations! You have successfully installed Dokuwiki on Ubuntu 22.04.<\/p>\n<p>Of course, if you are one of our Ubuntu Hosting customers, you don\u2019t have to install Dokuwiki on Ubuntu 22.04 on your own \u2013 simply ask our admins, sit back, and relax. Our admins will install Dokuwiki on Ubuntu 22.04 for you immediately, along with many useful optimizations that we can do for you. Installing Dokuwiki on Ubuntu 22.04 is not just about the work, we can also help you with optimizing your Dokuwiki instance if you have a <a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\">VPS with us<\/a>.<\/p>\n<p>If you liked this post about how to Install Dokuwiki on Ubuntu 22.04, please share it with your friends on social networks or simply leave a comment in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dokuwiki is an open-source wiki software written in PHP, and it doesn&#8217;t require a database. It was developed by Andreas &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Dokuwiki on Ubuntu 22.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/#more-42869\" aria-label=\"Read more about How to Install Dokuwiki on Ubuntu 22.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":43134,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1698],"tags":[563,1603,2012],"class_list":["post-42869","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","tag-dokuwiki","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.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Dokuwiki on Ubuntu 22.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"In this tutorial, we will show you how to install Dokuwiki on Ubuntu 22.04. Read on to learn more about this topic.\" \/>\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-dokuwiki-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 Dokuwiki on Ubuntu 22.04\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, we will show you how to install Dokuwiki on Ubuntu 22.04. Read on to learn more about this topic.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-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=\"2022-10-26T17:30:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-05T11:18:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/how-to-install-dokuwiki-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 Dokuwiki on Ubuntu 22.04\" \/>\n<meta name=\"twitter:description\" content=\"In this tutorial, we will show you how to install Dokuwiki on Ubuntu 22.04. Read on to learn more about this topic.\" \/>\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=\"8 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-dokuwiki-on-ubuntu-22-04\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Dokuwiki on Ubuntu 22.04\",\"datePublished\":\"2022-10-26T17:30:39+00:00\",\"dateModified\":\"2022-12-05T11:18:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/\"},\"wordCount\":711,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/how-to-install-dokuwiki-on-ubuntu-22-04.webp\",\"keywords\":[\"dokuwiki\",\"how to install\",\"ubuntu 22.04\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/\",\"name\":\"How to Install Dokuwiki on Ubuntu 22.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/how-to-install-dokuwiki-on-ubuntu-22-04.webp\",\"datePublished\":\"2022-10-26T17:30:39+00:00\",\"dateModified\":\"2022-12-05T11:18:24+00:00\",\"description\":\"In this tutorial, we will show you how to install Dokuwiki on Ubuntu 22.04. Read on to learn more about this topic.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/#primaryimage\",\"url\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/how-to-install-dokuwiki-on-ubuntu-22-04.webp\",\"contentUrl\":\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/how-to-install-dokuwiki-on-ubuntu-22-04.webp\",\"width\":742,\"height\":372,\"caption\":\"how to install dokuwiki on ubuntu 22.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-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 Dokuwiki 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 Dokuwiki on Ubuntu 22.04 | RoseHosting","description":"In this tutorial, we will show you how to install Dokuwiki on Ubuntu 22.04. Read on to learn more about this topic.","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-dokuwiki-on-ubuntu-22-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Dokuwiki on Ubuntu 22.04","og_description":"In this tutorial, we will show you how to install Dokuwiki on Ubuntu 22.04. Read on to learn more about this topic.","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-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":"2022-10-26T17:30:39+00:00","article_modified_time":"2022-12-05T11:18:24+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/how-to-install-dokuwiki-on-ubuntu-22-04.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"How to Install Dokuwiki on Ubuntu 22.04","twitter_description":"In this tutorial, we will show you how to install Dokuwiki on Ubuntu 22.04. Read on to learn more about this topic.","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Dokuwiki on Ubuntu 22.04","datePublished":"2022-10-26T17:30:39+00:00","dateModified":"2022-12-05T11:18:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/"},"wordCount":711,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/how-to-install-dokuwiki-on-ubuntu-22-04.webp","keywords":["dokuwiki","how to install","ubuntu 22.04"],"articleSection":["Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/","name":"How to Install Dokuwiki on Ubuntu 22.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/how-to-install-dokuwiki-on-ubuntu-22-04.webp","datePublished":"2022-10-26T17:30:39+00:00","dateModified":"2022-12-05T11:18:24+00:00","description":"In this tutorial, we will show you how to install Dokuwiki on Ubuntu 22.04. Read on to learn more about this topic.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-on-ubuntu-22-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/how-to-install-dokuwiki-on-ubuntu-22-04.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/09\/how-to-install-dokuwiki-on-ubuntu-22-04.webp","width":742,"height":372,"caption":"how to install dokuwiki on ubuntu 22.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-dokuwiki-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 Dokuwiki 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\/42869","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=42869"}],"version-history":[{"count":10,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/42869\/revisions"}],"predecessor-version":[{"id":43693,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/42869\/revisions\/43693"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/43134"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=42869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=42869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=42869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}