<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>how to install dokuwiki Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/how-to-install-dokuwiki/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 11 Jan 2021 10:38:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install DokuWiki On Ubuntu 20.04</title>
		<link>https://www.osradar.com/how-to-install-dokuwiki-on-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/how-to-install-dokuwiki-on-ubuntu-20-04/#comments</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Mon, 11 Jan 2021 10:38:16 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[how to install dokuwiki]]></category>
		<category><![CDATA[how to tutorials]]></category>
		<category><![CDATA[install dokuwiki ubuntu 20.04]]></category>
		<category><![CDATA[Ubuntu 20.04 tutorials]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=27338</guid>

					<description><![CDATA[<p>In this tutorial, you&#8217;ll learn that how to install DokuWiki on Ubuntu 20.04. DokuWiki is an open source &#38; most popular application written in PHP. You can create your favourite websites with the help of dockuwiki by just uploading your content to the server. Dokuwiki uses a simple file to store it&#8217;s data instead of [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-dokuwiki-on-ubuntu-20-04/">How To Install DokuWiki On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this tutorial, you&#8217;ll learn that <a href="https://www.osradar.com/?p=27338" target="_blank" rel="noreferrer noopener">how to install DokuWiki on Ubuntu 20.04</a>. DokuWiki is an open source &amp; most popular application written in PHP. You can create your favourite websites with the help of dockuwiki by just uploading your content to the server. Dokuwiki uses a simple file to store it&#8217;s data instead of using a database. It comes with all the features required for a website along with SEO, authentication &amp; much more. Simply follow the below steps for an easy &amp; optimal installation of dokuwiki on Ubuntu 20.04.</p>



<h2>Step 1: Update Your System</h2>



<p>First of all update your system to have the latest packages installed.</p>



<pre class="wp-block-verse">sudo apt update -y<br>sudo apt upgrade -y</pre>



<p>Once updated, reboot your system.</p>



<pre class="wp-block-verse">sudo reboot</pre>



<h3>Step 2: Install Apache &amp; PHP on Ubuntu 20.04</h3>



<p>Type the following commands in your terminal to install the apache &amp; PHP along with it&#8217;s extensions.</p>



<pre class="wp-block-verse">sudo apt install apache2 php php-gd php-xml php-json -y</pre>



<p>After installing the above packages, hit the below commands to start the apache.</p>



<pre class="wp-block-verse">suod systemctl start apache2<br>sudo systemctl enable apache2</pre>



<h3>Step 3: Download DokuWiki on Ubuntu 20.04</h3>



<p>Get the latest version of DokuWiki with the help of wget command. Run the following command in your terminal.</p>



<pre class="wp-block-verse">wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz</pre>



<p>Once completed, create a new folder under <strong>/var/www/html/dokuwiki</strong> &amp; then extract the dokuwiki.</p>



<pre class="wp-block-verse">sudo mkdir /var/www/html/dokuwiki
sudo tar -xvzf dokuwiki-stable.tgz -C /var/www/html/dokuwiki/ --strip-components=1</pre>



<p>And then copy the sample <strong>.htaccess</strong> file by running</p>



<pre class="wp-block-verse">sudo cp /var/www/html/dokuwiki/.htaccess{.dist,}</pre>



<p>And finally give proper permissions to dokuwiki.</p>



<pre class="wp-block-verse">sudo chown -R www-data:www-data /var/www/html/dokuwiki</pre>



<h3>Step 4: Configure Apache for DokuWiki</h3>



<p>Now create a new Apache virtualhost config by typing</p>



<pre class="wp-block-verse">sudo nano /etc/apache2/sites-available/dokuwiki.conf</pre>



<p>And then add the below content into the file.</p>



<pre class="wp-block-verse">&lt;VirtualHost *:80&gt;
         ServerName    dokuwiki.osradar.com
         DocumentRoot  /var/www/html/dokuwiki

&lt;Directory ~ "/var/www/html/dokuwiki/(bin/|conf/|data/|inc/)"&gt;
&lt;IfModule mod_authz_core.c&gt;
AllowOverride All
                 Require all denied
&lt;/IfModule&gt;
&lt;IfModule !mod_authz_core.c&gt;
Order allow,deny
                 Deny from all
&lt;/IfModule&gt;
&lt;/Directory&gt;

ErrorLog   /var/log/apache2/dokuwiki_error.log
         CustomLog  /var/log/apache2/dokuwiki_access.log combined
&lt;/Virtualhost&gt;</pre>



<p>Finally save &amp; exit the file.</p>



<p>Next, enable dokuwiki site &amp; restart apache.</p>



<pre class="wp-block-verse">suod a2ensite dokuwiki.conf<br>sudo systemctl reload apache2</pre>



<h3>Step 5: Secure DokuWiki wit Let&#8217;s Encrypt SSL</h3>



<p>It is good practice to keep in mind the security practice. Install the certbot with the help of below command.</p>



<pre class="wp-block-verse">sudo apt install certbot python3-certbot-apache -y</pre>



<p>And type the given command to fetch SSL certificates for your domain.</p>



<pre class="wp-block-verse">certbot --apache -d dokuwiki.osradar.com</pre>



<p>Provide the asked details &amp; you&#8217;re all set.</p>



<h3>Step 6: Access DokuWiki On Ubntu 20.04</h3>



<p>Now, you can access the DokuWiki on Ubuntu 20.04 by typing <strong>https://yourdomain.com/install.php</strong>. Here I&#8217;ll perform it on localhost.You&#8217;ll see the installation page.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="492" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/2021-01-08_05h25_12-1024x492.png" alt="" class="wp-image-27532" srcset="https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h25_12-1024x492.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h25_12-300x144.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h25_12-768x369.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h25_12-1536x738.png 1536w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h25_12-696x335.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h25_12-1068x513.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h25_12.png 1847w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Fill the required fields &amp; finally press <strong>&#8220;Save&#8221;</strong> button. You&#8217;ll be redirected to the similar page.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="558" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/2021-01-08_05h25_40-1024x558.png" alt="" class="wp-image-27533" srcset="https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h25_40-1024x558.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h25_40-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h25_40-768x418.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h25_40-696x379.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h25_40.png 1052w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Press on <strong>&#8220;You new dokuwiki&#8221;</strong>. You&#8217;ll see the similar page.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="561" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/2021-01-08_05h28_10-1024x561.png" alt="" class="wp-image-27534" srcset="https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h28_10-1024x561.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h28_10-300x164.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h28_10-768x421.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h28_10-1536x842.png 1536w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h28_10-696x382.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h28_10-1068x586.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/2021-01-08_05h28_10.png 1645w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Now, click <strong>&#8220;Login&#8221;</strong> button. You&#8217;ll be redirected to the login page. Provide the main username &amp; password given in 1st step to login.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="521" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-29-1024x521.png" alt="" class="wp-image-27539" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-29-1024x521.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/image-29-300x153.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-29-768x391.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/image-29-696x354.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/image-29-1068x543.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/image-29.png 1525w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>And then you&#8217;ll be redirected to the dokuwiki dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="562" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-30-1024x562.png" alt="" class="wp-image-27540" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-30-1024x562.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/image-30-300x165.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-30-768x422.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/image-30-1536x843.png 1536w, https://www.osradar.com/wp-content/uploads/2021/01/image-30-696x382.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/image-30-1068x586.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/image-30.png 1648w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>So, this is how you can install DokuWiki on Ubuntu 20.04</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-dokuwiki-on-ubuntu-20-04/">How To Install DokuWiki On Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-dokuwiki-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
