<?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>Stretch Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/stretch/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sat, 30 Nov 2019 21:55:43 +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 GruntJS on Debian 10 / Debian 9</title>
		<link>https://www.osradar.com/how-to-install-gruntjs-on-debian-10-9/</link>
					<comments>https://www.osradar.com/how-to-install-gruntjs-on-debian-10-9/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 02 Dec 2019 00:11:01 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Stretch]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12475</guid>

					<description><![CDATA[<p>Web development is very popular these days. That&#8217;s why many tools are created to make coding easier. In this sense, there are some very interesting ones like Grunt which is basically a task manager for JavaScript. In this post, I will show you how to install GruntJS on Debian 10 / Debian 9. We will [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-gruntjs-on-debian-10-9/">How to Install GruntJS on Debian 10 / Debian 9</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Web development is very popular these days. That&#8217;s why many tools are created to make coding easier. In this sense, there are some very interesting ones like Grunt which is basically a task manager for JavaScript. In this post, I will show you how to install GruntJS on <a href="https://www.osradar.com/tag/debian/" rel="noopener noreferrer">Debian</a> 10 / Debian 9. We will also do a test to demonstrate some of the potentials of this tool.</p>
<h2>Install GrunJS on Debian. The JavaScript task runner</h2>
<p><a href="https://gruntjs.com/" rel="noopener noreferrer">GruntJS</a> is a tool for executing tasks using Javascript. It allows us to have a development of quality applications, automating as much as possible the tasks and focusing on good code. This results in a decrease in coding time and the quality of it.</p>
<p>Some of the things we can do using Grunt if it&#8217;s configured correctly are the following:</p>
<ul>
<li>Concatenation or minimization of files CSS or JS.</li>
<li>Optimization of images.</li>
<li>The compilation ( SASS, CSS, and others).</li>
<li>Unit Test.</li>
</ul>
<p>To perform this and other tasks, GruntJS requires plugins to be installed. That&#8217;s a lot more than 3,000.</p>
<p>So, now we are going to learn how to install GruntJS on Debian 9.</p>
<h2>Install NodeJS</h2>
<p>GruntJS uses NodeJS but we do not have to learn from NodeJS. So first we will have to install it. To do that, first, we&#8217;ll get <a href="https://www.osradar.com/how-to-use-curl-command-linux/" rel="noopener noreferrer">curl</a> and then for <a href="https://www.osradar.com/how-to-install-nodejs-on-ubuntu-18-04-lts-linux-mint-19/" rel="noopener noreferrer">NodeJS</a>.</p>
<pre>:~# apt install curl</pre>
<p>Now, proceed to install NodeJS 12. First, add the repository.</p>
<pre>:~# curl -sL https://deb.nodesource.com/setup_12.x | bash -</pre>
<figure id="attachment_12482" aria-describedby="caption-attachment-12482" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12482" src="https://www.osradar.com/wp-content/uploads/2019/06/1-14.png" alt="1.- Add the NodeJS repository" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/06/1-14.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/1-14-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/1-14-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/1-14-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/1-14-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/1-14-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/1-14-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12482" class="wp-caption-text">1.- Add the NodeJS repository</figcaption></figure>
<p>Then we can install NodeJS. However, it is necessary to install the system compilation tools. To do this, run the following command:</p>
<pre>:~# apt install build-essential nodejs</pre>
<figure id="attachment_12483" aria-describedby="caption-attachment-12483" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12483" src="https://www.osradar.com/wp-content/uploads/2019/06/2-11.png" alt="2.- Install NodeJS on Debian 9" width="1365" height="400" srcset="https://www.osradar.com/wp-content/uploads/2019/06/2-11.png 1365w, https://www.osradar.com/wp-content/uploads/2019/06/2-11-300x88.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/2-11-768x225.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/2-11-1024x300.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/2-11-696x204.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/2-11-1068x313.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12483" class="wp-caption-text">2.- Install NodeJS on Debian 9</figcaption></figure>
<p>Check the NodeJS version.</p>
<pre>:~# node -v
v12.4.0</pre>
<p>After that, install GruntJS on Debian 9 using NPM.</p>
<pre>:~# npm install -g grunt-cli</pre>
<p>Finally, check the installed version.</p>
<pre>:~# grunt --version
grunt-cli v1.3.2</pre>
<p>Now, let us test it.</p>
<h2>Add GruntJS to an existing project</h2>
<p>First, place your prompt in the project directory.</p>
<pre>:~# cd /your-project/path</pre>
<p>Then, run the following command:</p>
<pre>:~# npm init</pre>
<figure id="attachment_12484" aria-describedby="caption-attachment-12484" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12484" src="https://www.osradar.com/wp-content/uploads/2019/06/3-8.png" alt="3.- Set GruntJS on Debian 9" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/06/3-8.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/3-8-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/3-8-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/3-8-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/3-8-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/3-8-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/3-8-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12484" class="wp-caption-text">3.- Set GruntJS on Debian 9</figcaption></figure>
<p>As you can see you have to answer some questions.</p>
<p>Now, we have to add two files to the project. First, a .JSON file where you add the metadata of the project that NPM will read later. This is auto-generated. The second one is grunfile.js where you define the tasks and plugins that GruntJS will use.</p>
<p>Once you have added the .JSON file, run the next command:</p>
<pre>:~# npm install grunt --save-dev</pre>
<figure id="attachment_12485" aria-describedby="caption-attachment-12485" style="width: 847px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12485" src="https://www.osradar.com/wp-content/uploads/2019/06/4-6.png" alt="4.- Install Grunt on a existing project" width="847" height="156" srcset="https://www.osradar.com/wp-content/uploads/2019/06/4-6.png 847w, https://www.osradar.com/wp-content/uploads/2019/06/4-6-300x55.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/4-6-768x141.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/4-6-696x128.png 696w" sizes="(max-width: 847px) 100vw, 847px" /><figcaption id="caption-attachment-12485" class="wp-caption-text">4.- Install Grunt on an existing project</figcaption></figure>
<p>Now, create the gruntfile.js file. And create a simple task.</p>
<pre>:~# nano Gruntfile.js</pre>
<pre><code>var grunt = require('grunt');
grunt.registerTask('default', 'default task description', function(){
  console.log('hello world');
});</code></pre>
<p>After that, run the task.</p>
<pre>:~# grunt</pre>
<figure id="attachment_12486" aria-describedby="caption-attachment-12486" style="width: 355px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12486" src="https://www.osradar.com/wp-content/uploads/2019/06/5-4.png" alt="5.- Grunt is running" width="355" height="126" srcset="https://www.osradar.com/wp-content/uploads/2019/06/5-4.png 355w, https://www.osradar.com/wp-content/uploads/2019/06/5-4-300x106.png 300w" sizes="(max-width: 355px) 100vw, 355px" /><figcaption id="caption-attachment-12486" class="wp-caption-text">5.- Grunt is running</figcaption></figure>
<p>And that is it.</p>
<h2>Conclusion</h2>
<p>In this post, you have learned how to install GruntJS on Debian 10 / Debian 9. The process is made easier by the fact that it depends on NodeJS and is not complicated. With this tool, you can define Javascript tasks easily.</p>
<p>Please share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-gruntjs-on-debian-10-9/">How to Install GruntJS on Debian 10 / Debian 9</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-gruntjs-on-debian-10-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Boltwire CMS on Debian 9?</title>
		<link>https://www.osradar.com/how-to-install-boltwire-cms-on-debian-9/</link>
					<comments>https://www.osradar.com/how-to-install-boltwire-cms-on-debian-9/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 12 Jun 2019 00:03:52 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Stretch]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12348</guid>

					<description><![CDATA[<p>Practically everyone has a blog to share information. From students to teachers to any user, they like the idea of having a blog. Of course, if we are talking about companies or large information sites, this becomes mandatory. And for that, there are great alternatives like WordPress or Magento. Each one with its advantages and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-boltwire-cms-on-debian-9/">How to install Boltwire CMS on Debian 9?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Practically everyone has a blog to share information. From students to teachers to any user, they like the idea of having a blog. Of course, if we are talking about companies or large information sites, this becomes mandatory. And for that, there are great alternatives like WordPress or Magento. Each one with its advantages and disadvantages. However, they are very complete options and do not always require all your options. Today, in this post, I will show you how to install Boltwire CMS in <a href="https://www.osaradar.com/tag/debian/" rel="noopener noreferrer">Debian</a> 9. A powerful and simple CMS ideal for small projects.</p>
<h2>Boltwire CMS</h2>
<p>Many blogs and all with different needs. That&#8217;s why different CMS is required.</p>
<p><a href="https://www.boltwire.com/" rel="noopener noreferrer">Boltwire</a> is a CMS (Content Manager System) that allows you to create blogs quickly and easily. Its main features focus on flexibility and speed. So much so that it does not require a database manager but the same program is responsible for managing the data.</p>
<p>On the other hand, Boltwire stands out for being completely free for our server or VPS. This makes it a solid alternative for personal or even educational projects. Also if our company is starting and we want something basic to start.</p>
<p>Although it is free, it has support for Plugins that extend the functionality of the application. In this way, you will have a robust CMS, free and with extra functions to perform the tasks entrusted.</p>
<p>So, let us start.</p>
<h2>Install Boltwire CMS on Debian 9</h2>
<h3>1) Install Apache Web server</h3>
<p>First, we need to install <a href="https://www.osradar.com/tag/apache/" rel="noopener noreferrer">the Apache</a> web server. Apache is one of the most used web servers in the world. It is incredibly flexible and above all secure.</p>
<p>To do this, first, log in to your server and then run this command</p>
<pre>:~$ su
:~# apt install apache</pre>
<figure id="attachment_12381" aria-describedby="caption-attachment-12381" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12381" src="https://www.osradar.com/wp-content/uploads/2019/06/1-5.png" alt="1.- Install Apache" width="1365" height="347" srcset="https://www.osradar.com/wp-content/uploads/2019/06/1-5.png 1365w, https://www.osradar.com/wp-content/uploads/2019/06/1-5-300x76.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/1-5-768x195.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/1-5-1024x260.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/1-5-696x177.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/1-5-1068x271.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12381" class="wp-caption-text">1.- Install Apache</figcaption></figure>
<p>Once you have finished installing. Let&#8217;s check that it&#8217;s working. Open your web browser and go to your server http://your-server. You should see this.</p>
<figure id="attachment_12382" aria-describedby="caption-attachment-12382" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12382" src="https://www.osradar.com/wp-content/uploads/2019/06/2-4.png" alt="2.- Apache default page" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/06/2-4.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/2-4-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/2-4-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/2-4-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/2-4-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/06/2-4-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/2-4-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/2-4-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12382" class="wp-caption-text">2.- Apache default page</figcaption></figure>
<p>So, Apache is running.</p>
<h3>2) Install PHP 7.2</h3>
<p>Debian is a robust system but some of its packages are not updated. For example, the case of PHP. The version in the repositories is 7.0 but it is recommended to use at least <a href="https://www.osradar.com/how-to-install-php-7-2-on-debian-9-stretch/" rel="noopener noreferrer">7.2</a> for Boltwire.</p>
<p>So, let us do it. First, install some required packages.</p>
<pre>:~# apt-get install software-properties-common unzip</pre>
<p>Then, read our post about PHP 7.2 on Debian 9 to complete the process.</p>
<p><a href="https://www.osradar.com/how-to-install-php-7-2-on-debian-9-stretch/">How to install PHP 7.2 on Debian 9?</a></p>
<p>Remember to include these PHP modules:</p>
<pre>php7.2-mbstring php7.2-xmlrpc php7.2-gd php7.2-xml php7.2-cli php7.2-tidy php7.2-intl php7.2-curl php7.2-zip</pre>
<p>Then, you need to change the PHP configuration in order to get better performance.</p>
<pre>:~#  nano /etc/php/7.2/apache2/php.ini</pre>
<p>And change the following:</p>
<pre>file_uploads = On
allow_url_fopen = On
memory_limit = 256M
upload_max_filesize = 200M
max_execution_time = 360
date.timezone = Your-TIMEZONE</pre>
<p>Press CTRL + O to save the changes and CTRL + X to exit.</p>
<p>Next, create a PHP file on /var/www/html/ to test it.</p>
<pre>:~# nano /var/www/html/test.php
&lt;?php
phpinfo();
?&gt;</pre>
<p>Restart Apache:</p>
<pre>:~# systemctl restart apache2</pre>
<p>Then, open it using the web browser. http://your-server/test.php. You will see this.</p>
<figure id="attachment_12383" aria-describedby="caption-attachment-12383" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12383" src="https://www.osradar.com/wp-content/uploads/2019/06/3-3.png" alt="3.- PHP file info" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/06/3-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/3-3-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/3-3-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/3-3-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/3-3-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/06/3-3-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/3-3-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/3-3-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12383" class="wp-caption-text">3.- PHP file info</figcaption></figure>
<p>So, PHP is working.</p>
<h3>3) Install Boltwire CMS on Debian 9</h3>
<p>Boltwire CMS is very easy to install. To do this, we must first download it. In the terminal, write the following:</p>
<pre>:~# cd /tmp/
:~# wget https://www.boltwire.com/files/6/boltwire6.02.zip
:~# unzip boltwire6.02.zip</pre>
<figure id="attachment_12384" aria-describedby="caption-attachment-12384" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12384" src="https://www.osradar.com/wp-content/uploads/2019/06/4-2.png" alt="4.- Decompress the file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/06/4-2.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/4-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/4-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/4-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/4-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/4-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/4-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12384" class="wp-caption-text">4.- Decompress the file</figcaption></figure>
<p>Next, move the file to the Apache web root and change the permissions.</p>
<pre>:~# mv boltwire /var/www/html/
:~# chown -R www-data:www-data /var/www/html/boltwire/
:~# chmod -R 755 /var/www/html/boltwire/</pre>
<p>After this, it is necessary to create a new virtual host for Boltwire so that it can run perfectly:</p>
<pre>:~# nano /etc/apache2/sites-available/boltwire.conf</pre>
<p>And add the following:</p>
<pre>&lt;VirtualHost *:80&gt;
     ServerAdmin admin@your_domain.com
      DocumentRoot /var/www/html/boltwire
     ServerName your-domain.com

     &lt;Directory /var/www/html/boltwire&gt;
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     &lt;/Directory&gt;

     ErrorLog ${APACHE_LOG_DIR}/your-domain.com_error.log
     CustomLog ${APACHE_LOG_DIR}/your-domain.com_access.log combined

&lt;/VirtualHost&gt;</pre>
<p>Obviously, replace your-domain with yours. Save the changes and close the file.</p>
<figure id="attachment_12386" aria-describedby="caption-attachment-12386" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-12386 size-full" src="https://www.osradar.com/wp-content/uploads/2019/06/5-5555.png" alt="5.- Creating the new virtual host" width="1365" height="324" srcset="https://www.osradar.com/wp-content/uploads/2019/06/5-5555.png 1365w, https://www.osradar.com/wp-content/uploads/2019/06/5-5555-300x71.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/5-5555-768x182.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/5-5555-1024x243.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/5-5555-696x165.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/5-5555-1068x254.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12386" class="wp-caption-text">5.- Creating the new virtual host</figcaption></figure>
<p>Enable the new virtual host and the rewrite module with the following command:</p>
<pre>:~# ln -s /etc/apache2/sites-available/boltwire.conf /etc/apache2/sites-enabled/your-domain.conf
:~# a2enmod rewrite
:~# systemctl restart apache2</pre>
<p>In my case the virtual domain is osradar.test. Remember to make the necessary changes.</p>
<p>Now we will have to complete the installation from the web.</p>
<h2>Complete the installation using the web browser</h2>
<p>Now, open your web browser and go to your server to complete the installation. You will see the following.</p>
<figure id="attachment_12387" aria-describedby="caption-attachment-12387" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12387" src="https://www.osradar.com/wp-content/uploads/2019/06/6-1.png" alt="6.- Install Boltwire CMS on Debian 9" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/06/6-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/6-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/6-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/6-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/6-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/06/6-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/6-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/6-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12387" class="wp-caption-text">6.- Install Boltwire CMS on Debian 9</figcaption></figure>
<p>After creating the password, you will be asked by the password newly created and the id site.</p>
<figure id="attachment_12388" aria-describedby="caption-attachment-12388" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12388" src="https://www.osradar.com/wp-content/uploads/2019/06/7.png" alt="7.- Boltwire Setup" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/06/7.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/7-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/7-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/7-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/7-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/06/7-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/7-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/7-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12388" class="wp-caption-text">7.- Boltwire Setup</figcaption></figure>
<p>Next, you can start to create.</p>
<figure id="attachment_12389" aria-describedby="caption-attachment-12389" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12389" src="https://www.osradar.com/wp-content/uploads/2019/06/8.png" alt="8.- Boltwire CMS on Debian 9" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/06/8.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/8-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/8-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/8-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/8-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/06/8-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/8-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/8-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12389" class="wp-caption-text">8.- Boltwire CMS on Debian 9</figcaption></figure>
<h2>Conclusion</h2>
<p>Boltwire CMS is a good alternative for our personal blog. It is fast, easy to install and free. So this is a good opportunity to keep moving forward on our projects.</p>
<p>Please share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-boltwire-cms-on-debian-9/">How to install Boltwire CMS on Debian 9?</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-boltwire-cms-on-debian-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install CouchDB on Debian 9?</title>
		<link>https://www.osradar.com/how-to-install-couchdb-on-debian-9/</link>
					<comments>https://www.osradar.com/how-to-install-couchdb-on-debian-9/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 09 Jun 2019 23:02:25 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[couchdb]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NoSQL]]></category>
		<category><![CDATA[Stretch]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12329</guid>

					<description><![CDATA[<p>Debian is very known to be a robust system. Not in vain is the basis of many other Linux distributions and many subsystems. So Debian is the ideal Linux distribution for the storage of scalable data. In this sense, we are presented with several database managers oriented to their scalability. For that reason, in this [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-couchdb-on-debian-9/">How to install CouchDB on Debian 9?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.osradar.com/tag/debian/">Debian</a> is very known to be a robust system. Not in vain is the basis of many other Linux distributions and many subsystems. So Debian is the ideal Linux distribution for the storage of scalable data. In this sense, we are presented with several database managers oriented to their scalability. For that reason, in this post, I will teach you how to install CouchDB in Debian 9 so that you have a professional database manager with community support.</p>
<p><a href="http://couchdb.apache.org/">CouchDB</a> is a database manager for the web. It takes care of saving and storing NoSQL type data for server-side applications. It is widely used and its learning curve is very low.</p>
<p>On the other hand, CouchDB places a lot of emphasis on data replication as a persistent way to obtain data. That is, we will be able to connect multiple nodes and from there do the replication.</p>
<p>Of course, there are a lot of features and reasons <a href="http://docs.couchdb.org/en/stable/intro/why.html">why this project</a> of the Apache Foundation is so important today.</p>
<p>So, let us start.</p>
<h2>Install CouchDB on Debian 9</h2>
<p>The application is available to be installed on various operating systems. Obviously, Linux has prepared installers. Even for Debian 9, there is a package repository of its own. This facilitates the installation of CouchDB quite a bit since we can do it from APT.</p>
<p>It is recommended that you read our post about <a href="https://www.osradar.com/apt-the-ubuntu-package-manager/">APT</a>.</p>
<p>So the first step is to connect to your server and run this command as root:</p>
<pre>:~# echo "deb https://apache.bintray.com/couchdb-deb stretch main"   | tee -a /etc/apt/sources.list
deb http://apache.bintray.com/couchdb-deb stretch main</pre>
<p>Next, you have to import the GPG key for the repository.</p>
<pre>:~# curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | apt-key add -
OK</pre>
<p>image</p>
<p>Next, install CouchDB on Debian 9 by running the following command:</p>
<pre>:~# apt update
:~# apt install couchdb</pre>
<figure id="attachment_12364" aria-describedby="caption-attachment-12364" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12364" src="https://www.osradar.com/wp-content/uploads/2019/06/1-3.png" alt="1.- Install CouchDB on Debian 9" width="1365" height="310" srcset="https://www.osradar.com/wp-content/uploads/2019/06/1-3.png 1365w, https://www.osradar.com/wp-content/uploads/2019/06/1-3-300x68.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/1-3-768x174.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/1-3-1024x233.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/1-3-696x158.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/1-3-1068x243.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12364" class="wp-caption-text">1.- Install CouchDB on Debian 9</figcaption></figure>
<p>During the installation, you will have to configure some things. First of all, you need to know if it is for a single node or for a cluster.</p>
<figure id="attachment_12365" aria-describedby="caption-attachment-12365" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12365" src="https://www.osradar.com/wp-content/uploads/2019/06/2-3.png" alt="2.- Configuring CouchDB" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/06/2-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/2-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/2-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/2-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/2-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/2-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/2-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12365" class="wp-caption-text">2.- Configuring CouchDB</figcaption></figure>
<p>Then, you will have to define the IP address where the instance will be accessed. If you set 0.0.0.0 you will be able to access from any IP address.</p>
<figure id="attachment_12366" aria-describedby="caption-attachment-12366" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12366" src="https://www.osradar.com/wp-content/uploads/2019/06/3-1.png" alt="3.- Setting the network" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/06/3-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/3-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/3-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/3-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/3-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/3-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/3-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12366" class="wp-caption-text">3.- Setting the network</figcaption></figure>
<p>And finally, define a root password.</p>
<figure id="attachment_12367" aria-describedby="caption-attachment-12367" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12367" src="https://www.osradar.com/wp-content/uploads/2019/06/4.png" alt="4.- set the root password for CouchDB" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/06/4.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/4-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/4-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/4-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/4-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/4-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/4-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12367" class="wp-caption-text">4.- set the root password for CouchDB</figcaption></figure>
<p>So, that is it. Let us test it.</p>
<h2>Testing CouchDB</h2>
<p>The best way to test if everything went well is to access the CouchDB web GUI. For this, it is necessary that in your firewall you have opened port 5984. In case you use UFW you could do it in the following way.</p>
<pre>:~# ufw allow 5984/tcp</pre>
<p>Next, open your web browser and go to http://Your-server:5984/_utils and now you can log in.</p>
<figure id="attachment_12368" aria-describedby="caption-attachment-12368" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12368" src="https://www.osradar.com/wp-content/uploads/2019/06/5.png" alt="5.- Log in into CouchDB" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/06/5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/5-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/5-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/5-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/5-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/06/5-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/5-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/5-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12368" class="wp-caption-text">5.- Log in into CouchDB</figcaption></figure>
<p>And you can check the databases.</p>
<figure id="attachment_12369" aria-describedby="caption-attachment-12369" style="width: 1366px" class="wp-caption aligncenter"><img loading="lazy" class="size-full wp-image-12369" src="https://www.osradar.com/wp-content/uploads/2019/06/6.png" alt="6.- CouchDB web interface" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/06/6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/06/6-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/06/6-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/06/6-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/06/6-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/06/6-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/06/6-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/06/6-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12369" class="wp-caption-text">6.- CouchDB web interface</figcaption></figure>
<p>So, that is it.</p>
<h2>Conclusion</h2>
<p>CouchDB is clearly oriented to the professional web sector. However, its learning curve is low with respect to its power. Despite this, CouchDB is easily installable as we have seen.</p>
<p>Please share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-couchdb-on-debian-9/">How to install CouchDB on Debian 9?</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-couchdb-on-debian-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Nextcloud 16 on Debian 9?</title>
		<link>https://www.osradar.com/install-nextcloud-16-on-debian-9/</link>
					<comments>https://www.osradar.com/install-nextcloud-16-on-debian-9/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 17 May 2019 00:22:11 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Nextcloud]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Stretch]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11097</guid>

					<description><![CDATA[<p>One of the most popular solutions to create a private cloud is found in Nextcloud, but recently saw the light version 16. This version comes loaded with important news, so in this post, we will show you how to install Nextcloud 16 in Debian 9. Many companies are concerned about the security of their data, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-nextcloud-16-on-debian-9/">How to install Nextcloud 16 on Debian 9?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>One of the most popular solutions to create a private cloud is found in Nextcloud, but recently saw the light version 16. This version comes loaded with important news, so in this post, we will show you how to install <a href="https://nextcloud.com/" target="_blank" rel="noopener noreferrer">Nextcloud</a> 16 in Debian 9.</p>
<p>Many companies are concerned about the security of their data, this is vital to maintain and safeguard the health of the company. Fortunately, solutions are available for it, as Nextcloud. With Nextcloud you can build your own professional and extensible cloud thanks to numerous plugins. It is one of the best-known applications within Linux for its extension, practicality, and ease of use.</p>
<p>On the other hand, <a href="https://www.osradar.com/debian-9-8-has-been-released/" target="_blank" rel="noopener noreferrer">Debian 9 is at its best</a> and is a highly recommended option to install a Nextcloud server.</p>
<p>So, let us start.</p>
<h2>1. Install Apache web server + PHP</h2>
<p>To install correctly, a web server is required. In this case we will choose Apache because it is the most common and simple to use.</p>
<p>So, open a terminal or connect to your VPS using SSH and type:</p>
<pre>:~$ su
:~# apt install apache2</pre>
<figure id="attachment_11099" aria-describedby="caption-attachment-11099" style="width: 1002px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11099" src="https://www.osradar.com/wp-content/uploads/2019/02/1-18.png" alt="1.- Install Apache" width="1002" height="349" srcset="https://www.osradar.com/wp-content/uploads/2019/02/1-18.png 1002w, https://www.osradar.com/wp-content/uploads/2019/02/1-18-300x104.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/1-18-768x267.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/1-18-696x242.png 696w" sizes="(max-width: 1002px) 100vw, 1002px" /><figcaption id="caption-attachment-11099" class="wp-caption-text">1.- Install Apache</figcaption></figure>
<p>By default, Debian starts and enables the service so it should already be running. On the other hand, it is also necessary to install PHP and some of its modules. Debian has older versions of PHP in its repositories so let&#8217;s upgrade to PHP 7.3. So, add the repository.</p>
<pre>:~# wget -q https://packages.sury.org/php/apt.gpg -O- | apt-key add -
:~# echo "deb https://packages.sury.org/php/ stretch main" | tee /etc/apt/sources.list.d/ondrej.list
:~# apt install apt-transport-https
:~# apt update</pre>
<figure id="attachment_11100" aria-describedby="caption-attachment-11100" style="width: 812px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11100" src="https://www.osradar.com/wp-content/uploads/2019/02/2-16.png" alt="2.- Add the PHP repository" width="812" height="290" srcset="https://www.osradar.com/wp-content/uploads/2019/02/2-16.png 812w, https://www.osradar.com/wp-content/uploads/2019/02/2-16-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/2-16-768x274.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/2-16-696x249.png 696w" sizes="(max-width: 812px) 100vw, 812px" /><figcaption id="caption-attachment-11100" class="wp-caption-text">2.- Add the PHP repository</figcaption></figure>
<p>Then, install PHP 7.3.</p>
<pre>:~# apt install libapache2-mod-php php7.3 php7.3-xml php7.3-curl php7.3-gd php7.3 php7.3-cgi php7.3-cli php7.3-zip php7.3-mysql php7.3-mbstring</pre>
<figure id="attachment_12099" aria-describedby="caption-attachment-12099" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-12099 size-full" src="https://www.osradar.com/wp-content/uploads/2019/05/333.png" alt="3.- Install PHP 7.3" width="1365" height="308" srcset="https://www.osradar.com/wp-content/uploads/2019/05/333.png 1365w, https://www.osradar.com/wp-content/uploads/2019/05/333-300x68.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/333-768x173.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/333-1024x231.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/333-696x157.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/333-1068x241.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12099" class="wp-caption-text">3.- Install PHP 7.3</figcaption></figure>
<p>Next, it is necessary to modify some of the PHP options. To do this edit the configuration file.</p>
<pre>:~# nano /etc/php/7.3/apache2/php.ini</pre>
<figure id="attachment_12100" aria-describedby="caption-attachment-12100" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-12100 size-full" src="https://www.osradar.com/wp-content/uploads/2019/05/44444.png" alt="4.- PHP configuration file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/05/44444.png 1366w, https://www.osradar.com/wp-content/uploads/2019/05/44444-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/44444-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/44444-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/44444-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/44444-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/05/44444-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12100" class="wp-caption-text">4.- PHP configuration file</figcaption></figure>
<p>And make the following changes:</p>
<pre>memory_limit = 512M
upload_max_filesize = 200M
max_execution_time = 360
post_max_size = 200M</pre>
<p>Do not forget, also edit your timezome. You can use CTRL + W to find the options quickly.</p>
<p>Finally, restart Apache to enable the PHP support.</p>
<pre>:~# systemctl restart apache2</pre>
<p><em><strong>NOTE: If you are using a firewall, remember to enable ports 80 and 443 for Apache to work properly.</strong></em></p>
<h2>2. Install and configure MariaDB</h2>
<p>The next step to install Nextcloud 16 on Debian 9 is to install and configure MariaDB.</p>
<p>Nextclooud 16 needs a powerful database manager to store the generated data. It is compatible with several, but MariaDB is in the Debian repositories and is MySQL compatible. So we will install this one.</p>
<pre>:~# apt install mariadb-server</pre>
<figure id="attachment_11103" aria-describedby="caption-attachment-11103" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11103" src="https://www.osradar.com/wp-content/uploads/2019/02/5-14.png" alt="5.- Mariadb" width="1365" height="435" srcset="https://www.osradar.com/wp-content/uploads/2019/02/5-14.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/5-14-300x96.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/5-14-768x245.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/5-14-1024x326.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/5-14-696x222.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/5-14-1068x340.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/5-14-1318x420.png 1318w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11103" class="wp-caption-text">5.- Mariadb</figcaption></figure>
<p>Next, you need to set the root password and other things. So, run the following:</p>
<pre>:~# mysql_secure_installation</pre>
<figure id="attachment_11104" aria-describedby="caption-attachment-11104" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11104" src="https://www.osradar.com/wp-content/uploads/2019/02/6-13.png" alt="6.- mysql_secure_installation" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/6-13.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/6-13-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/6-13-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/6-13-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/6-13-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/6-13-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/6-13-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11104" class="wp-caption-text">6.- mysql_secure_installation</figcaption></figure>
<p>As you can see in the image, after defining the root password, you will be asked other questions about the configuration of MariaDB. For this post the answers are irrelevant, but we will answer like this: Y, N, Y, Y.</p>
<p>Then, create a new user and database for Nextcloud 16.</p>
<pre>:~# mysql -u root -p
CREATE DATABASE nextcloud;
GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextuser'@'localhost' IDENTIFIED BY 'nextpss';
FLUSH PRIVILEGES;
exit;</pre>
<figure id="attachment_11105" aria-describedby="caption-attachment-11105" style="width: 903px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-11105 size-full" src="https://www.osradar.com/wp-content/uploads/2019/02/7-13.png" alt="7.- Creating a new user for nextcloud 16" width="903" height="426" srcset="https://www.osradar.com/wp-content/uploads/2019/02/7-13.png 903w, https://www.osradar.com/wp-content/uploads/2019/02/7-13-300x142.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/7-13-768x362.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/7-13-696x328.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/7-13-890x420.png 890w" sizes="(max-width: 903px) 100vw, 903px" /><figcaption id="caption-attachment-11105" class="wp-caption-text">7.- Creating a new user for nextcloud 16</figcaption></figure>
<p>Now,we can install Nextcloud 16 on Debian 9.</p>
<h2>3. Install Nextcloud 16 on Debian 9</h2>
<p>Now, we can download it using wget and unzip to decompress it. Install these packages first.</p>
<pre>:~# apt install unzip</pre>
<p>Next, download it.</p>
<pre>:~# cd /opt/
:~# wget https://download.nextcloud.com/server/releases/nextcloud-16.0.0.zip</pre>
<figure id="attachment_12101" aria-describedby="caption-attachment-12101" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-12101 size-full" src="https://www.osradar.com/wp-content/uploads/2019/05/88888.png" alt="8.- Download and install Nextcloud 16" width="1365" height="303" srcset="https://www.osradar.com/wp-content/uploads/2019/05/88888.png 1365w, https://www.osradar.com/wp-content/uploads/2019/05/88888-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2019/05/88888-768x170.png 768w, https://www.osradar.com/wp-content/uploads/2019/05/88888-1024x227.png 1024w, https://www.osradar.com/wp-content/uploads/2019/05/88888-696x154.png 696w, https://www.osradar.com/wp-content/uploads/2019/05/88888-1068x237.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12101" class="wp-caption-text">8.- Download and install Nextcloud 16</figcaption></figure>
<p>After that, decompress it.</p>
<pre>:~# unzip nextcloud-16.0.0.zip</pre>
<figure id="attachment_11107" aria-describedby="caption-attachment-11107" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11107" src="https://www.osradar.com/wp-content/uploads/2019/02/9-10.png" alt="9.- Decompress the file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/9-10.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/9-10-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/9-10-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/9-10-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/9-10-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/9-10-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/9-10-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11107" class="wp-caption-text">9.- Decompress the file</figcaption></figure>
<p>Then, move it to the <code>/var/www/html/</code> directory and changes the permissions.</p>
<pre>:~# mv nextcloud/ /var/www/html/
:~# chown -R www-data:www-data /var/www/html/nextcloud/
:~# chmod -R 755 /var/www/html/nextcloud/</pre>
<figure id="attachment_11108" aria-describedby="caption-attachment-11108" style="width: 826px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-11108 size-full" src="https://www.osradar.com/wp-content/uploads/2019/02/10-12.png" alt="10.- Installing nextcloud 16" width="826" height="143" srcset="https://www.osradar.com/wp-content/uploads/2019/02/10-12.png 826w, https://www.osradar.com/wp-content/uploads/2019/02/10-12-300x52.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/10-12-768x133.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/10-12-696x120.png 696w" sizes="(max-width: 826px) 100vw, 826px" /><figcaption id="caption-attachment-11108" class="wp-caption-text">10.- Installing nextcloud 16</figcaption></figure>
<p>Now, you can open your web browser and complete the installation using the Nextcloud 16 web interface. Go to <code>http://SERVER_IP/nextcloud</code> and set the required information. For example, the MariaDB credentials or creating the admin account.</p>
<figure id="attachment_11109" aria-describedby="caption-attachment-11109" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11109" src="https://www.osradar.com/wp-content/uploads/2019/02/11-8.png" alt="11.- Nextcloud web interface" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/11-8.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/11-8-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/11-8-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/11-8-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/11-8-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/11-8-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/11-8-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/11-8-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11109" class="wp-caption-text">11.- Nextcloud web interface</figcaption></figure>
<p>Next, you will see the dashboard.</p>
<figure id="attachment_11110" aria-describedby="caption-attachment-11110" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-11110 size-full" src="https://www.osradar.com/wp-content/uploads/2019/02/12-7.png" alt="12.- install Nextcloud 16 - The main screen" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/12-7.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/12-7-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/12-7-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/12-7-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/12-7-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/12-7-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/12-7-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/12-7-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11110" class="wp-caption-text">12.- install Nextcloud 16 &#8211; The main screen</figcaption></figure>
<p>And that is it. Now, you can enjoy Nextcloud 16 on Debian 9.</p>
<h2>Install Nextcloud 16. Conclusion</h2>
<p>Nextcloud 16 is a good alternative to set up your own private cloud at home or for your business. It is reliable, fast, secure and free, which makes it ideal for small businesses.</p>
<p>Please share this post with your friends.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-nextcloud-16-on-debian-9/">How to install Nextcloud 16 on Debian 9?</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/install-nextcloud-16-on-debian-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install the latest version of Git in Debian 9 or Ubuntu 19.04?</title>
		<link>https://www.osradar.com/how-to-install-the-latest-version-of-git-in-debian-9/</link>
					<comments>https://www.osradar.com/how-to-install-the-latest-version-of-git-in-debian-9/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 19 Apr 2019 04:00:47 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[New version]]></category>
		<category><![CDATA[Stretch]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11401</guid>

					<description><![CDATA[<p>Debian is a great operating system. Perhaps along with CentOS and RHEL the most stable of all Linux. Debian can do very important jobs like developing applications or being the operating system of a server. All this thanks to the fact that it is a very stable system where the software is constantly tested to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-the-latest-version-of-git-in-debian-9/">How to install the latest version of Git in Debian 9 or Ubuntu 19.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>Debian is a great operating system. Perhaps along with CentOS and RHEL the most stable of all Linux. Debian can do very important jobs like developing applications or being the operating system of a server. All this thanks to the fact that it is a very stable system where the software is constantly tested to obtain the best results. However, the software available in Debian is not always the most up to date and over time this can be a problem. So, with this in mind, I will teach you how to install the latest stable version of Git on <a href="https://www.osradar.com/tag/debian/" target="_blank" rel="noopener noreferrer">Debian</a> 9 Stretch or <a href="https://www.osradar.com/tag/ubuntu/" target="_blank" rel="noopener noreferrer">Ubuntu</a> 19.04.</p>
<h1>Install the latest version of Git from the source code</h1>
<p>There is no reliable repository to install the latest version of <a href="https://git-scm.com/" target="_blank" rel="noopener noreferrer">Git</a> on Debian 9 or Ubuntu 19.04. However, we can manually compile the source code. The process is not complicated and will help us to have current and fast Git.</p>
<p>First of all, you have to update the system.</p>
<pre>:~$ su
:~# apt update &amp;&amp; apt upgrade</pre>
<figure id="attachment_11402" aria-describedby="caption-attachment-11402" style="width: 1121px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11402" src="https://www.osradar.com/wp-content/uploads/2019/03/1-7.png" alt="1.- Upgrade the system" width="1121" height="586" srcset="https://www.osradar.com/wp-content/uploads/2019/03/1-7.png 1121w, https://www.osradar.com/wp-content/uploads/2019/03/1-7-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/1-7-768x401.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/1-7-1024x535.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/1-7-696x364.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/1-7-1068x558.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/1-7-803x420.png 803w" sizes="(max-width: 1121px) 100vw, 1121px" /><figcaption id="caption-attachment-11402" class="wp-caption-text">1.- Upgrade the system</figcaption></figure>
<p><em><strong>Note: In case Ubuntu doesn&#8217;t have root enabled, you just need to type </strong></em>sudo<em><strong> before the commands.</strong></em></p>
<p>After that, you need to install some packages to install Git.</p>
<pre>:~# apt install build-essential make libssl-dev libghc-zlib-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip</pre>
<figure id="attachment_11403" aria-describedby="caption-attachment-11403" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11403" src="https://www.osradar.com/wp-content/uploads/2019/03/2-7.png" alt="2.- Install some required packages" width="1365" height="508" srcset="https://www.osradar.com/wp-content/uploads/2019/03/2-7.png 1365w, https://www.osradar.com/wp-content/uploads/2019/03/2-7-300x112.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/2-7-768x286.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/2-7-1024x381.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/2-7-696x259.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/2-7-1068x397.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/2-7-1129x420.png 1129w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11403" class="wp-caption-text">2.- Install some required packages</figcaption></figure>
<p>Then, it is necessary to know which is the latest stable version of Git. To do this, it is good to go to the program website. At the time of writing this article, it is 2.21.0 so the command to write is as follows.</p>
<pre>:~# cd /tmp/
:~# wget wget https://github.com/git/git/archive/v2.21.0.zip -O latestgit.zip</pre>
<figure id="attachment_11408" aria-describedby="caption-attachment-11408" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11408" src="https://www.osradar.com/wp-content/uploads/2019/03/3-6.png" alt="3.- Download the Git source code" width="1365" height="485" srcset="https://www.osradar.com/wp-content/uploads/2019/03/3-6.png 1365w, https://www.osradar.com/wp-content/uploads/2019/03/3-6-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/3-6-768x273.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/3-6-1024x364.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/3-6-696x247.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/3-6-1068x379.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/3-6-1182x420.png 1182w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11408" class="wp-caption-text">3.- Download the Git source code</figcaption></figure>
<p>Next, decompress it and move to the generated folder.</p>
<pre>:~# unzip latestgit.zip
:~# cd git-2.21.0</pre>
<p>Now, you can build and install Git. To do it, just run these commands:</p>
<pre>:~# make prefix=/usr/local all
:~# make prefix=/usr/local install</pre>
<figure id="attachment_11419" aria-describedby="caption-attachment-11419" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11419" src="https://www.osradar.com/wp-content/uploads/2019/03/4-5.png" alt="4.- Install the latest version of git" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/03/4-5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/03/4-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/4-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/4-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/4-5-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/4-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/4-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11419" class="wp-caption-text">4.- Install the latest version of git</figcaption></figure>
<p>Once the process is complete, you can verify which version is installed.</p>
<pre>:~# git --version</pre>
<figure id="attachment_11420" aria-describedby="caption-attachment-11420" style="width: 808px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11420" src="https://www.osradar.com/wp-content/uploads/2019/03/5-3.png" alt="5.- Git version" width="808" height="187" srcset="https://www.osradar.com/wp-content/uploads/2019/03/5-3.png 808w, https://www.osradar.com/wp-content/uploads/2019/03/5-3-300x69.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/5-3-768x178.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/5-3-696x161.png 696w" sizes="(max-width: 808px) 100vw, 808px" /><figcaption id="caption-attachment-11420" class="wp-caption-text">5.- Git version</figcaption></figure>
<p>With this, Git is now installed and ready to use.</p>
<h1>Conclusion</h1>
<p>Getting the latest version of Git in Debian 9 or Ubuntu 19.04 is not a complicated matter, however, it can be useful for the development of our applications. We have achieved this by manually compiling the application, this way it becomes simpler and safer.</p>
<p>Please share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-the-latest-version-of-git-in-debian-9/">How to install the latest version of Git in Debian 9 or Ubuntu 19.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-the-latest-version-of-git-in-debian-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Oracle Java 12 on Ubuntu 18.04/18.10 and Debian 9?</title>
		<link>https://www.osradar.com/how-to-install-oracle-java-on-ubuntu-18-10/</link>
					<comments>https://www.osradar.com/how-to-install-oracle-java-on-ubuntu-18-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 28 Mar 2019 07:00:59 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[Cosmic Cuttlefish]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[Stretch]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Update Java]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=6630</guid>

					<description><![CDATA[<p>OpenJDK is an open source community version of Java. It is widely used because it is available by default on Ubuntu and many Linux distributions. However, you cannot use it to develop commercial applications. If you are a Java developer or you are a beginner, then, this is for you, because I will teach you [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-oracle-java-on-ubuntu-18-10/">How to install Oracle Java 12 on Ubuntu 18.04/18.10 and Debian 9?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>OpenJDK is an open source community version of Java. It is widely used because it is available by default on Ubuntu and many Linux distributions. However, you cannot use it to develop commercial applications. If you are a Java developer or you are a beginner, then, this is for you, because I will teach you how to install Oracle Java in Ubuntu and Debian.</p>
<p>First, let&#8217;s talk a little Java. <strong>Java</strong> is an Object Oriented programming language owned by Oracle. It is a compiled language, with its own rules and widely spread at educational and professional levels.</p>
<p>It is composed of three fundamental parts: JDK, JRE, and JVM. JDK is the Java development kit which contains the compiler and libraries needed to start creating applications with Java. The Java Runtime Environment (JRE) is the engine for running these applications. Last, the Java Virtual Machine (JVM) functions as an intermediate layer between the JRE and the operating system where Java applications run.</p>
<h2>Java and Linux</h2>
<p>Java is compatible with Linux, this means that it is possible to run, and build applications from your favorite distribution. The problem is that the version in the official repositories is based on OpenJDK. In short, this means that we will not be able to use it to create commercial applications, besides it is a community version with the advantages and disadvantages that it can present.</p>
<p>That&#8217;s why if you want to develop applications for third parties without having licensing problems, you should install Oracle Java.</p>
<h2>Install Oracle Java thanks to a PPA</h2>
<p>As I said before, installing Oracle Java is necessary if you are a developer. Fortunately, it is possible to do it in a quite simple way thanks to the Java Uprising PPA.</p>
<p>This repository automates the process of downloading, installing and configuring Oracle Java as a .deb package. Obviously, it downloads it from the Oracle website, configures it and allows us to set a default version.</p>
<h3>For Ubuntu 18.04 and 18.10</h3>
<p>First, you need to update the system.</p>
<pre class="">:~$ sudo apt update &amp;&amp; sudo apt upgrade</pre>
<p>Once the installation is complete, the next step will be to add the java uprising repository.</p>
<pre class="">:~$ sudo add-apt-repository ppa:linuxuprising/java</pre>
<figure id="attachment_11625" aria-describedby="caption-attachment-11625" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11625" src="https://www.osradar.com/wp-content/uploads/2018/10/1-24.png" alt="1.- Add the PPA" width="1365" height="489" srcset="https://www.osradar.com/wp-content/uploads/2018/10/1-24.png 1365w, https://www.osradar.com/wp-content/uploads/2018/10/1-24-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/1-24-768x275.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/1-24-1024x367.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/1-24-696x249.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/1-24-1068x383.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/1-24-1172x420.png 1172w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11625" class="wp-caption-text">1.- Add the PPA</figcaption></figure>
<p>Finally, you can install Oracle Java. Then, you will see the license terms.</p>
<pre class="">:~$ sudo apt install oracle-java12-installer</pre>
<figure id="attachment_11627" aria-describedby="caption-attachment-11627" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-11627 size-full" src="https://www.osradar.com/wp-content/uploads/2018/10/2-21.png" alt="2.- License agreement" width="1365" height="386" srcset="https://www.osradar.com/wp-content/uploads/2018/10/2-21.png 1365w, https://www.osradar.com/wp-content/uploads/2018/10/2-21-300x85.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/2-21-768x217.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/2-21-1024x290.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/2-21-696x197.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/2-21-1068x302.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11627" class="wp-caption-text">2.- License agreement</figcaption></figure>
<p>It&#8217;ll take a while, according to your internet connection.</p>
<h2>Set Oracle Java 12 as default</h2>
<p>This PPA brings with it a distributed tool in the form of a very useful package to set Oracle Java 12 as the default Java version of the system.</p>
<p>If you use Ubuntu the package <code>oracle-java12-set-default</code> has been installed as a recommended package in the installation of <code>oracle-java12-installer</code> package and it is not necessary to do anything else except verifying the installation.</p>
<pre class="">:~$ java --version</pre>
<p>On the other hand, if you want to install Java 12 but not the default one. So, you have to remove the <code>oracle-java12-set-default</code> package.</p>
<pre class="">:~$ sudo apt remove oracle-java12-set-default</pre>
<p>That&#8217;s it.</p>
<h2>Conclusion</h2>
<p>It is quite simple to install the proprietary version of Java, on Ubuntu and Debian, but if you are interested in learning about this programming language then you must do so.</p>
<p>Tell us your experience, do you use Java? Are you a Java developer? Tell us in the comments</p>
<p>Please spread this article through your social networks.</p>
<p>You can also read &#8220;<a href="https://www.osradar.com/5-very-interesting-netbeans-plugins-for-developers/">5 very interesting plugins for netbeans</a>&#8220;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-oracle-java-on-ubuntu-18-10/">How to install Oracle Java 12 on Ubuntu 18.04/18.10 and Debian 9?</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-oracle-java-on-ubuntu-18-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install MediaWiki on Debian 9?</title>
		<link>https://www.osradar.com/how-to-install-mediawiki-debian-9/</link>
					<comments>https://www.osradar.com/how-to-install-mediawiki-debian-9/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 28 Feb 2019 16:45:03 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mediakiki]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Stretch]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[wiki]]></category>
		<category><![CDATA[wikipedia]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11193</guid>

					<description><![CDATA[<p>The Wikis help many to publish useful information about the programs. Even in the education sector wikis play an important role in describing detailed information. Therefore, in this article, I will show you how to install MediaWiki on Debian 9. MediaWiki is an open source application written in PHP. Basically, it allows creating a wiki [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-mediawiki-debian-9/">How to install MediaWiki on Debian 9?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The Wikis help many to publish useful information about the programs. Even in the education sector wikis play an important role in describing detailed information. Therefore, in this article, I will show you how to install MediaWiki on Debian 9.</p>
<p><a href="https://www.mediawiki.org" rel="noopener noreferrer">MediaWiki</a> is an open source application written in PHP. Basically, it allows creating a wiki for our project in a simple way. It is used by many community and noncommunity projects to provide information to its users. Ideal for educational purposes, for example.</p>
<p>In like manner, MediaWiki has an API that developers can use to extend their projects. All this with great community support.</p>
<p>So, let us start to install MediaWiki on Debian 9.</p>
<h1>1. Install Apache web server</h1>
<p>The first step is to install Apache web server because MediaWiki is a web application. So let us install it.</p>
<pre>:~$ su
:~# apt install apache2</pre>
<figure id="attachment_11205" aria-describedby="caption-attachment-11205" style="width: 1013px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11205" src="https://www.osradar.com/wp-content/uploads/2019/02/1-20.png" alt="1.- Apache web server" width="1013" height="302" srcset="https://www.osradar.com/wp-content/uploads/2019/02/1-20.png 1013w, https://www.osradar.com/wp-content/uploads/2019/02/1-20-300x89.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/1-20-768x229.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/1-20-696x207.png 696w" sizes="(max-width: 1013px) 100vw, 1013px" /><figcaption id="caption-attachment-11205" class="wp-caption-text">1.- Apache web server</figcaption></figure>
<p>When the installation is complete, Debian configures Apache to start by default. So now you can check the status of the service.</p>
<pre>:~# systemctl status apache2</pre>
<figure id="attachment_11206" aria-describedby="caption-attachment-11206" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11206" src="https://www.osradar.com/wp-content/uploads/2019/02/2-18.png" alt="2.- Apache status" width="1365" height="292" srcset="https://www.osradar.com/wp-content/uploads/2019/02/2-18.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/2-18-300x64.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/2-18-768x164.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/2-18-1024x219.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/2-18-696x149.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/2-18-1068x228.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11206" class="wp-caption-text">2.- Apache status</figcaption></figure>
<p>So, Apache is properly running.</p>
<h1>2. Install PHP 7.3</h1>
<p>Debian 9 Stretch has PHP 7.0 in its official repositories. It&#8217;s a great version of PHP but it&#8217;s getting a little out of date. So let&#8217;s install PHP 7.3 on Debian 9.</p>
<p>For it, we have a brilliant tutorial that you can follow in <a href="https://www.osradar.com/how-to-install-php-7-3-on-debian-9/" rel="noopener noreferrer">this</a> link.</p>
<p>Next, install all the PHP modules required for MediaWiki.</p>
<pre>:~#  apt install php7.3 php7.3-mysql libapache2-mod-php7.3 php7.3-xml php7.3-mbstring php7.3-apcu php7.3-intl  php7.3-gd php7.3-cli php7.3-curl</pre>
<figure id="attachment_11207" aria-describedby="caption-attachment-11207" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11207" src="https://www.osradar.com/wp-content/uploads/2019/02/3-18.png" alt="3.- Install PHP 7.3" width="1365" height="336" srcset="https://www.osradar.com/wp-content/uploads/2019/02/3-18.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/3-18-300x74.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/3-18-768x189.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/3-18-1024x252.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/3-18-696x171.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/3-18-1068x263.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11207" class="wp-caption-text">3.- Install PHP 7.3</figcaption></figure>
<p>After that, you can do some extra configuration on PHP. To increase the PHP memory handling capacity. To do it, edit the PHP configuration file.</p>
<pre>:~# nano /etc/php/7.3/apache2/php.ini</pre>
<p>And make the following changes</p>
<pre>upload_max_filesize = 200M
memory_limit = 128M</pre>
<p>Finally, restart Apache.</p>
<pre>:~# systemctl restart apache2</pre>
<h1>3. Install MariaDB</h1>
<p>Now it is MariaDB&#8217;s turn. MariaDB is a free and open source database manager. It is very easy to learn but robust in features.</p>
<p>So, let us install it.</p>
<pre>:~# apt install mariadb-server</pre>
<figure id="attachment_11208" aria-describedby="caption-attachment-11208" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11208" src="https://www.osradar.com/wp-content/uploads/2019/02/4-14.png" alt="4.- Install Mariadb" width="1365" height="411" srcset="https://www.osradar.com/wp-content/uploads/2019/02/4-14.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/4-14-300x90.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/4-14-768x231.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/4-14-1024x308.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/4-14-696x210.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/4-14-1068x322.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11208" class="wp-caption-text">4.- Install MariaDB</figcaption></figure>
<p>Next, set a root password using the <code>mysql_secure_installation</code> script.</p>
<pre>:~# mysql_secure_installation</pre>
<figure id="attachment_11209" aria-describedby="caption-attachment-11209" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11209" src="https://www.osradar.com/wp-content/uploads/2019/02/5-16.png" alt="5.- Mysql_secure_installation" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/5-16.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/5-16-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/5-16-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/5-16-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/5-16-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/5-16-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/5-16-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11209" class="wp-caption-text">5.- Mysql_secure_installation</figcaption></figure>
<p>You will be asked some configuration questions. In my case, I will answer like this: Y, N, Y, Y.</p>
<p>Then, it is necessary to create a new database for MediaWiki. Besides a MariaDB user as well.</p>
<pre>:~# mysql -u root -p
CREATE DATABASE mediawikidb;
GRANT ALL PRIVILEGES ON mediawikidb.* TO 'mediawikiuser'@'localhost' IDENTIFIED BY 'mediawikipss';
FLUSH PRIVILEGES;
exit;</pre>
<figure id="attachment_11210" aria-describedby="caption-attachment-11210" style="width: 1010px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11210" src="https://www.osradar.com/wp-content/uploads/2019/02/6-15.png" alt="6.- MariaDB database" width="1010" height="428" srcset="https://www.osradar.com/wp-content/uploads/2019/02/6-15.png 1010w, https://www.osradar.com/wp-content/uploads/2019/02/6-15-300x127.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/6-15-768x325.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/6-15-696x295.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/6-15-991x420.png 991w" sizes="(max-width: 1010px) 100vw, 1010px" /><figcaption id="caption-attachment-11210" class="wp-caption-text">6.- MariaDB database</figcaption></figure>
<h1>4. Install MediaWiki</h1>
<p>Now you can install MediaWiki. To do this, you need to download it to the Apache root directory.</p>
<pre>:~# cd /var/www/html/
:~# wget https://releases.wikimedia.org/mediawiki/1.32/mediawiki-1.32.1.tar.gz</pre>
<figure id="attachment_11211" aria-describedby="caption-attachment-11211" style="width: 1363px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11211" src="https://www.osradar.com/wp-content/uploads/2019/02/7-15.png" alt="7.- Download and install MediaWiki" width="1363" height="303" srcset="https://www.osradar.com/wp-content/uploads/2019/02/7-15.png 1363w, https://www.osradar.com/wp-content/uploads/2019/02/7-15-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/7-15-768x171.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/7-15-1024x228.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/7-15-696x155.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/7-15-1068x237.png 1068w" sizes="(max-width: 1363px) 100vw, 1363px" /><figcaption id="caption-attachment-11211" class="wp-caption-text">7.- Download and install MediaWiki</figcaption></figure>
<p>After that, decompress it.</p>
<pre>:~# tar -xfvz mediawiki-1.32.1.tar.gz</pre>
<p>Next, remove the downloaded file and rename the generated folder.</p>
<pre>:~# rm -r mediawiki-1.32.1.tar.gz
:~# mv mediawiki-1.32.1 mediawiki</pre>
<p>So, open your web browser and access to your browser to start the installation. For example, http://SERVER_IP/mediawiki/mw-config/.</p>
<figure id="attachment_11212" aria-describedby="caption-attachment-11212" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11212" src="https://www.osradar.com/wp-content/uploads/2019/02/8-15.png" alt="8.- Start the installation" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/8-15.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/8-15-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/8-15-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/8-15-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/8-15-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/8-15-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/8-15-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/8-15-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11212" class="wp-caption-text">8.- Start the installation</figcaption></figure>
<p>Then, it will show you a screen where you will see the software requirements and license terms.</p>
<figure id="attachment_11216" aria-describedby="caption-attachment-11216" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11216" src="https://www.osradar.com/wp-content/uploads/2019/02/9-13.png" alt="9.- License terms" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/9-13.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/9-13-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/9-13-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/9-13-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/9-13-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/9-13-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/9-13-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/9-13-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11216" class="wp-caption-text">9.- License terms</figcaption></figure>
<p>Next, configure the database.</p>
<figure id="attachment_11217" aria-describedby="caption-attachment-11217" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11217" src="https://www.osradar.com/wp-content/uploads/2019/02/10-14.png" alt="10.- Databases configuration" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/10-14.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/10-14-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/10-14-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/10-14-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/10-14-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/10-14-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/10-14-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/10-14-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11217" class="wp-caption-text">10.- Databases configuration</figcaption></figure>
<p>Next, choose the database engine.</p>
<figure id="attachment_11218" aria-describedby="caption-attachment-11218" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11218" src="https://www.osradar.com/wp-content/uploads/2019/02/11-10.png" alt="11.- Database engine" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/11-10.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/11-10-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/11-10-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/11-10-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/11-10-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/11-10-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/11-10-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/11-10-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11218" class="wp-caption-text">11.- Database engine</figcaption></figure>
<p>Next, create the admin account. Scroll down and you have two choise, start the installation now or set some configuration.</p>
<figure id="attachment_11219" aria-describedby="caption-attachment-11219" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11219" src="https://www.osradar.com/wp-content/uploads/2019/02/12-9.png" alt="12.- Admin account" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/12-9.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/12-9-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/12-9-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/12-9-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/12-9-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/12-9-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/12-9-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/12-9-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11219" class="wp-caption-text">12.- Admin account</figcaption></figure>
<p>In the next screen, you will be able to modify other options such as the sending of mail and the license of the articles.</p>
<figure id="attachment_11222" aria-describedby="caption-attachment-11222" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11222" src="https://www.osradar.com/wp-content/uploads/2019/02/13-7.png" alt="13.- Some options" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/13-7.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/13-7-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/13-7-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/13-7-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/13-7-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/13-7-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/13-7-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/13-7-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11222" class="wp-caption-text">13.- Some options</figcaption></figure>
<p>Next, you can start the installation.</p>
<figure id="attachment_11223" aria-describedby="caption-attachment-11223" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11223" src="https://www.osradar.com/wp-content/uploads/2019/02/14-7.png" alt="14.- Install MediaWiki" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/14-7.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/14-7-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/14-7-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/14-7-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/14-7-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/14-7-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/14-7-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/14-7-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11223" class="wp-caption-text">14.- Install MediaWiki</figcaption></figure>
<p>Now, the installation is complete.</p>
<figure id="attachment_11225" aria-describedby="caption-attachment-11225" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11225" src="https://www.osradar.com/wp-content/uploads/2019/02/16-4.png" alt="16.- Installation complete" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/16-4.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/16-4-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/16-4-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/16-4-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/16-4-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/16-4-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/16-4-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/16-4-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11225" class="wp-caption-text">16.- Installation complete</figcaption></figure>
<p>Now, the screen shows a message where you have to download a configuration file and place it in the MediaWiki folder to complete the installation.</p>
<p>So, use the scp command on your host computer.</p>
<pre>:~$ scp Path_file your-server:/home/your-home/</pre>
<p>Then, on the server move it to the MediaWiki root directory.</p>
<pre>:~# mv /home/your-home/LocalSettings.php /var/www/html/mediawiki/</pre>
<p>Next, come back to your web browser and go to <code>http://SERVER_IP/mediawiki/</code> and you will see your wiki.</p>
<figure id="attachment_11229" aria-describedby="caption-attachment-11229" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11229" src="https://www.osradar.com/wp-content/uploads/2019/02/17-4.png" alt="17 mediawiki working" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/17-4.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/17-4-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/17-4-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/17-4-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/17-4-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/17-4-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/17-4-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/17-4-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11229" class="wp-caption-text">17 MediaWiki working</figcaption></figure>
<p>So, that is it.</p>
<h1>Conclusion</h1>
<p>Having your own wiki for your projects can be new and useful. Especially if it is a collaborative project where you can provide information from an easy way.</p>
<p>Share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-mediawiki-debian-9/">How to install MediaWiki on Debian 9?</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-mediawiki-debian-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install PHP 7.3 on Debian 9?</title>
		<link>https://www.osradar.com/how-to-install-php-7-3-on-debian-9/</link>
					<comments>https://www.osradar.com/how-to-install-php-7-3-on-debian-9/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 22 Feb 2019 15:18:23 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Stretch]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11007</guid>

					<description><![CDATA[<p>Debian is one of the best Linux operating systems out there. Perhaps one of its disadvantages is that it doesn&#8217;t have very up-to-date packages, although it does have very stable ones. However, there are modern applications that require more and more modern dependencies. For example, Laravel requires at least PHP 7.1 but Debian includes version [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-php-7-3-on-debian-9/">How to install PHP 7.3 on Debian 9?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Debian is one of the best Linux operating systems out there. Perhaps one of its disadvantages is that it doesn&#8217;t have very up-to-date packages, although it does have very stable ones. However, there are modern applications that require more and more modern dependencies. For example, Laravel requires at least PHP 7.1 but Debian includes version 7.0 in its repositories. Already there we would have a problem. That&#8217;s why, in this post, I&#8217;ll show you how to install PHP 7.3 in Debian 9 and thus update and improve the development and implementation of applications that require it.</p>
<p>I recently explained <a href="https://www.osradar.com/how-to-install-php-7-2-on-debian-9-stretch/" rel="noopener">how to install PHP 7.2 in Debian</a>, however, we already have a new version of PHP. In particular, I am talking about the 7.3 that incorporates multiple advantages. The vast majority of these advantages are applicable to Ubuntu. And so we let you know in the article on <a href="https://www.osradar.com/install-php-7-3-ubuntu-18-04-linux-mint-19/" rel="noopener">how to install PHP 7.3 in Ubuntu 18.04</a>.</p>
<p>So let us go for it.</p>
<h2>1.- Upgrade the system</h2>
<p>Before we start we need to make sure Debian is completely up to date</p>
<p>So, open the terminal o access to your server using <a href="https://www.osradar.com/how-to-enable-ssh-on-ubuntu-18-04/" rel="noopener">SSH</a>, and run:</p>
<pre>:~$ su
:~# apt update
:~# apt upgrade</pre>
<figure id="attachment_11009" aria-describedby="caption-attachment-11009" style="width: 797px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11009" src="https://www.osradar.com/wp-content/uploads/2019/02/1-16.png" alt="1.- Upgrade the system" width="797" height="381" srcset="https://www.osradar.com/wp-content/uploads/2019/02/1-16.png 797w, https://www.osradar.com/wp-content/uploads/2019/02/1-16-300x143.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/1-16-768x367.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/1-16-696x333.png 696w" sizes="(max-width: 797px) 100vw, 797px" /><figcaption id="caption-attachment-11009" class="wp-caption-text">1.- Upgrade the system</figcaption></figure>
<p>&nbsp;</p>
<p>Now we can continue with the installation without problems.</p>
<h2>2. Verify the PHP version available on your system</h2>
<p>You must be sure the change is worth it. If you already have PHP installed, you can show its version using the following command:</p>
<pre>:~# php -v</pre>
<figure id="attachment_11010" aria-describedby="caption-attachment-11010" style="width: 817px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11010" src="https://www.osradar.com/wp-content/uploads/2019/02/2-.png" alt="2.- PHP is not installed" width="817" height="127" srcset="https://www.osradar.com/wp-content/uploads/2019/02/2-.png 817w, https://www.osradar.com/wp-content/uploads/2019/02/2--300x47.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/2--768x119.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/2--696x108.png 696w" sizes="(max-width: 817px) 100vw, 817px" /><figcaption id="caption-attachment-11010" class="wp-caption-text">2.- PHP is not installed</figcaption></figure>
<p>In this case, it is not installed on the server, but you can check the coming version in the official Debian repositories.</p>
<pre>:~# apt-cache search php</pre>
<figure id="attachment_11011" aria-describedby="caption-attachment-11011" style="width: 750px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11011" src="https://www.osradar.com/wp-content/uploads/2019/02/3-15.png" alt="3.- PHP 7.0 is available on the official Debian repositories" width="750" height="593" srcset="https://www.osradar.com/wp-content/uploads/2019/02/3-15.png 750w, https://www.osradar.com/wp-content/uploads/2019/02/3-15-300x237.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/3-15-696x550.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/3-15-531x420.png 531w" sizes="(max-width: 750px) 100vw, 750px" /><figcaption id="caption-attachment-11011" class="wp-caption-text">3.- PHP 7.0 is available on the official Debian repositories</figcaption></figure>
<p>As you can see, the version in the Debian repositories is the 7.0 that is already starting to fall short for some quite powerful frameworks like <a href="https://www.osradar.com/how-to-install-laravel-on-ubuntu-18-04/" rel="noopener">Laravel</a>.</p>
<h2>3. Install PHP 7.3 on Debian 9</h2>
<p>PHP 7.3 can be installed through an external repository. To do this, it is first necessary to install some previous packages.</p>
<pre>:~# apt install ca-certificates apt-transport-https lsb-release</pre>
<figure id="attachment_11012" aria-describedby="caption-attachment-11012" style="width: 817px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11012" src="https://www.osradar.com/wp-content/uploads/2019/02/4-11.png" alt="4.- Installing required packages" width="817" height="309" srcset="https://www.osradar.com/wp-content/uploads/2019/02/4-11.png 817w, https://www.osradar.com/wp-content/uploads/2019/02/4-11-300x113.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/4-11-768x290.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/4-11-696x263.png 696w" sizes="(max-width: 817px) 100vw, 817px" /><figcaption id="caption-attachment-11012" class="wp-caption-text">4.- Installing required packages</figcaption></figure>
<p>Next, you need to add the GPG key from the repository and add it to the Debian sources.</p>
<pre>:~# wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
:~# echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php7.3.list</pre>
<figure id="attachment_11013" aria-describedby="caption-attachment-11013" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11013" src="https://www.osradar.com/wp-content/uploads/2019/02/5-13.png" alt="5.- Adding the repository to install PHP 7.3" width="1365" height="353" srcset="https://www.osradar.com/wp-content/uploads/2019/02/5-13.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/5-13-300x78.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/5-13-768x199.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/5-13-1024x265.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/5-13-696x180.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/5-13-1068x276.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11013" class="wp-caption-text">5.- Adding the repository to install PHP 7.3</figcaption></figure>
<p>After that, refresh the APT cache.</p>
<pre>:~# apt update</pre>
<p>When the APT cache is refreshed, you can do a search for PHP related packages again and you will notice the change.</p>
<pre>:~# apt-cache search php</pre>
<figure id="attachment_11014" aria-describedby="caption-attachment-11014" style="width: 1028px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11014" src="https://www.osradar.com/wp-content/uploads/2019/02/6-12.png" alt="6.- PHP 7.3 now is available to install" width="1028" height="642" srcset="https://www.osradar.com/wp-content/uploads/2019/02/6-12.png 1028w, https://www.osradar.com/wp-content/uploads/2019/02/6-12-300x187.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/6-12-768x480.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/6-12-1024x640.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/6-12-696x435.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/6-12-673x420.png 673w" sizes="(max-width: 1028px) 100vw, 1028px" /><figcaption id="caption-attachment-11014" class="wp-caption-text">6.- PHP 7.3 now is available to install</figcaption></figure>
<p>We will now have PHP version 7.3 available. You can install it along with some of its modules with the following command.</p>
<pre>:~# apt install php7.3 php7.3-cli php7.3-xml php7.3-mbstring php7.3-mysql php7.3-xml</pre>
<figure id="attachment_11015" aria-describedby="caption-attachment-11015" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11015" src="https://www.osradar.com/wp-content/uploads/2019/02/7-12.png" alt="7.- Install PHP 7.3 on Debian 9" width="1365" height="343" srcset="https://www.osradar.com/wp-content/uploads/2019/02/7-12.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/7-12-300x75.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/7-12-768x193.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/7-12-1024x257.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/7-12-696x175.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/7-12-1068x268.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-11015" class="wp-caption-text">7.- Install PHP 7.3 on Debian 9</figcaption></figure>
<p>Next, we can show the PHP version installed and it should be 7.3.</p>
<pre>:~# php -v</pre>
<figure id="attachment_11016" aria-describedby="caption-attachment-11016" style="width: 1011px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11016" src="https://www.osradar.com/wp-content/uploads/2019/02/8-13.png" alt="8.- PHP version" width="1011" height="201" srcset="https://www.osradar.com/wp-content/uploads/2019/02/8-13.png 1011w, https://www.osradar.com/wp-content/uploads/2019/02/8-13-300x60.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/8-13-768x153.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/8-13-696x138.png 696w" sizes="(max-width: 1011px) 100vw, 1011px" /><figcaption id="caption-attachment-11016" class="wp-caption-text">8.- PHP version</figcaption></figure>
<h2>4. Test if PHP is working</h2>
<p>Now it is time to test PHP. If you already have Apache or any HTTP server installed, just restart it. We will take Apache as a reference.</p>
<pre>:~# systemctl restart apache2</pre>
<p>However, if Apache is not installed, it is necessary to do so using the following command:</p>
<pre>:~# apt install apache2 libapache2-mod-php</pre>
<p>After that, it creates a PHP file in Apache&#8217;s root directory. For example, you can call it test.php.</p>
<pre>:~# nano /var/www/html/test.php</pre>
<p>And add the following:</p>
<pre>&lt;?php
phpinfo();
?&gt;</pre>
<figure id="attachment_11017" aria-describedby="caption-attachment-11017" style="width: 850px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11017" src="https://www.osradar.com/wp-content/uploads/2019/02/9-9.png" alt="9.- PHP info" width="850" height="199" srcset="https://www.osradar.com/wp-content/uploads/2019/02/9-9.png 850w, https://www.osradar.com/wp-content/uploads/2019/02/9-9-300x70.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/9-9-768x180.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/9-9-696x163.png 696w" sizes="(max-width: 850px) 100vw, 850px" /><figcaption id="caption-attachment-11017" class="wp-caption-text">9.- PHP info</figcaption></figure>
<p>Finally, open the web browser and go to http://SERVER_IP/test.php.</p>
<figure id="attachment_11018" aria-describedby="caption-attachment-11018" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11018" src="https://www.osradar.com/wp-content/uploads/2019/02/10-11.png" alt="10.- PHP info" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/10-11.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/10-11-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/10-11-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/10-11-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/10-11-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/10-11-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/10-11-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/10-11-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11018" class="wp-caption-text">10.- PHP info</figcaption></figure>
<p>This shows that PHP is running correctly on your server or Debian 9 computer</p>
<h2>Conclusion</h2>
<p>PHP development is progressing at a good pace, with frequent and improved versions. PHP 7.3 includes some new features that facilitate the development and implementation of applications created with this language.</p>
<p>Installing PHP 7.3 on Debian 9 is not something within the reach of a few, but is something quite simple to do.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-php-7-3-on-debian-9/">How to install PHP 7.3 on Debian 9?</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-php-7-3-on-debian-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Debian 9.8 has been released</title>
		<link>https://www.osradar.com/debian-9-8-has-been-released/</link>
					<comments>https://www.osradar.com/debian-9-8-has-been-released/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 18 Feb 2019 11:42:32 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[New version]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Stretch]]></category>
		<category><![CDATA[update]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=10926</guid>

					<description><![CDATA[<p>Debian is for me the best Linux distribution that exists. Obviously, I do not expect this to become a truth, it is just my opinion. However, it is a fact that Debian is one of the most used systems for servers and network services. And we have recently learned that Debian 9.8 has been released. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/debian-9-8-has-been-released/">Debian 9.8 has been released</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Debian is for me the best Linux distribution that exists. Obviously, I do not expect this to become a truth, it is just my opinion. However, it is a fact that Debian is one of the most used systems for servers and network services. And we have recently learned that Debian 9.8 has been released.</p>
<p>Yes, as you read it, <a href="https://www.debian.org/News/2019/20190216">Debian 9.8 has been released</a>. Of course, it is a maintenance version for bug fixing. On the other hand, if you have a server running Debian, you will like this new version because it also includes numerous security patches. One of the applications that received an update was <a href="https://www.osradar.com/install-nginx-from-the-source-code-ubuntu-18-04/">Ngnix</a>. Apache&#8217;s rival web server par excellence will now be more secure and efficient, something you will surely appreciate.</p>
<p>On the other hand, not only Ngnix received love, but also <a href="https://www.osradar.com/how-to-install-php-7-2-on-debian-9-stretch/">PHP</a>, OpenSSL, QEMU and other important applications for the professional use of Debian, have been patched. This translates into greater security and stability for the use of these services.</p>
<h2>Debian 9.8 has been released and brings many bugfixes</h2>
<p>Not everything in this new version of Debian translates into security enhancements. Many applications have benefited from bug fixes. For example, Wayland has fixed the possible integer overflow. In addition, Debian&#8217;s own installation is now more reliable because it is more tested.</p>
<p>In addition, <a href="https://www.osradar.com/how-to-install-postgresql-on-ubuntu18-04/">PostgreSQL</a> has been updated to a new upstream version. Not to be confused with version 10 but it is a maintenance version, which makes it more reliable and secure. In the development section, many <a href="https://www.osradar.com/get-the-latest-python-on-linux/">Python</a> libraries were corrected to be even more compatible with Python3.</p>
<h2>Do not reinstall, just upgrade</h2>
<p>This is a maintenance version, i.e. it does not introduce new features that justify a reinstallation. So all you have to do is keep your system up to date.</p>
<p>But soon we should have a <a href="https://wiki.debian.org/DebianBuster">Debian 10</a> where we will give the best of the supports.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/debian-9-8-has-been-released/">Debian 9.8 has been released</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/debian-9-8-has-been-released/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install Apache Cassandra on Debian 9?</title>
		<link>https://www.osradar.com/install-apache-cassandra-on-debian-9/</link>
					<comments>https://www.osradar.com/install-apache-cassandra-on-debian-9/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 31 Jan 2019 04:25:03 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[cassandra]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[NoSQL]]></category>
		<category><![CDATA[Stretch]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=10428</guid>

					<description><![CDATA[<p>In the business world, quite special database handlers are needed. These database handlers must have the characteristic of scalability and robustness. That is why the Apache Foundation provides us with a set of tools for the deployment of business infrastructure. Recently, we talked about Apache ActiveMQ and today we will do it with Apache Cassandra. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-apache-cassandra-on-debian-9/">Install Apache Cassandra on Debian 9?</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 the business world, quite special database handlers are needed. These database handlers must have the characteristic of scalability and robustness. That is why the Apache Foundation provides us with a set of tools for the deployment of business infrastructure. Recently, <a href="https://www.osradar.com/install-apachemq-ubuntu-18-04/">we talked about Apache ActiveMQ</a> and today we will do it with Apache Cassandra. With this in mind, today I will teach you how to install Apache Cassandra and then show you how to configure it.</p>
<p>Apache <a href="http://cassandra.apache.org/">Cassandra</a> is a distributed NoSQL database based on an open-source &#8220;value-key&#8221; storage model written in Java. Being a business database manager, the Data is automatically replicated to multiple nodes for fault-tolerance. Replication across multiple data centers is supported. In addition, failed nodes can be replaced with no downtime.</p>
<p>There are many more features that make Apache Cassandra a reference in the sector of enterprise databases. For example, scalability is its other strength. Cassandra is used by many companies with many replicable nodes.</p>
<p>So, let us start to install Apache Cassandra on Debian 9.</p>
<h2>1. Upgrade your system</h2>
<p>First, you need to update the system. To do this, open a terminal and run.</p>
<pre>:~$ su
:~# apt update &amp;&amp; apt upgrade</pre>
<figure id="attachment_10430" aria-describedby="caption-attachment-10430" style="width: 1068px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10430" src="https://www.osradar.com/wp-content/uploads/2019/01/1-24.png" alt="1.- Upgrade the system" width="1068" height="703" srcset="https://www.osradar.com/wp-content/uploads/2019/01/1-24.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/1-24-300x197.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/1-24-768x506.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/1-24-1024x674.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/1-24-696x458.png 696w, https://www.osradar.com/wp-content/uploads/2019/01/1-24-638x420.png 638w" sizes="(max-width: 1068px) 100vw, 1068px" /><figcaption id="caption-attachment-10430" class="wp-caption-text">1.- Upgrade the system</figcaption></figure>
<p>After that, you will have an updated and robust system thanks to the security patches. So now you can continue.</p>
<h2>2. Install Apache Cassandra</h2>
<p>There are two ways to perform the installation. The first is through the binaries downloaded from the website. This is a simple way to achieve the installation, however, it is not the easiest and many may find it difficult.</p>
<p>Thus, we are going to use the .deb packages repository to make the installation as simple as possible and the best of all is that we will get the latest stable version.</p>
<p>So, add the Apache Cassandra repository.</p>
<pre>:~# echo "deb http://www.apache.org/dist/cassandra/debian 39x main" | tee -a /etc/apt/sources.list.d/cassandra.sources.list</pre>
<p>After that, add the public key.</p>
<pre>:~# curl https://www.apache.org/dist/cassandra/KEYS | apt-key add -</pre>
<figure id="attachment_10431" aria-describedby="caption-attachment-10431" style="width: 901px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10431" src="https://www.osradar.com/wp-content/uploads/2019/01/2-23.png" alt="2.- Adding the GPG key" width="901" height="517" srcset="https://www.osradar.com/wp-content/uploads/2019/01/2-23.png 901w, https://www.osradar.com/wp-content/uploads/2019/01/2-23-300x172.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/2-23-768x441.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/2-23-696x399.png 696w, https://www.osradar.com/wp-content/uploads/2019/01/2-23-732x420.png 732w" sizes="(max-width: 901px) 100vw, 901px" /><figcaption id="caption-attachment-10431" class="wp-caption-text">2.- Adding the GPG key</figcaption></figure>
<p><em><strong>NOTE: If you don&#8217;t have <a href="https://www.osradar.com/how-to-use-curl-command-linux/">CURL</a> installed, you can run the &#8220;apt install curl&#8221; command.</strong></em></p>
<p>After that, you need to refresh the <a href="https://www.osradar.com/apt-the-ubuntu-package-manager/">APT</a> cache.</p>
<pre>:~# apt update</pre>
<figure id="attachment_10432" aria-describedby="caption-attachment-10432" style="width: 847px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10432" src="https://www.osradar.com/wp-content/uploads/2019/01/3-23.png" alt="3.- Refresh the APT cache" width="847" height="318" srcset="https://www.osradar.com/wp-content/uploads/2019/01/3-23.png 847w, https://www.osradar.com/wp-content/uploads/2019/01/3-23-300x113.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/3-23-768x288.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/3-23-696x261.png 696w" sizes="(max-width: 847px) 100vw, 847px" /><figcaption id="caption-attachment-10432" class="wp-caption-text">3.- Refresh the APT cache</figcaption></figure>
<p>Then, install Apache Cassandra.</p>
<pre>:~# apt install cassandra</pre>
<figure id="attachment_10433" aria-describedby="caption-attachment-10433" style="width: 1213px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10433" src="https://www.osradar.com/wp-content/uploads/2019/01/4-25.png" alt="4.- Install Apache Cassandra" width="1213" height="331" srcset="https://www.osradar.com/wp-content/uploads/2019/01/4-25.png 1213w, https://www.osradar.com/wp-content/uploads/2019/01/4-25-300x82.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/4-25-768x210.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/4-25-1024x279.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/4-25-696x190.png 696w, https://www.osradar.com/wp-content/uploads/2019/01/4-25-1068x291.png 1068w" sizes="(max-width: 1213px) 100vw, 1213px" /><figcaption id="caption-attachment-10433" class="wp-caption-text">4.- Install Apache Cassandra</figcaption></figure>
<p>&nbsp;</p>
<p>Now, you need to enable, start, and check the Cassandra service.</p>
<pre>:~# systemctl enable cassandra
:~# systemctl start cassandra
:~# systemctl status cassandra</pre>
<figure id="attachment_10434" aria-describedby="caption-attachment-10434" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10434" src="https://www.osradar.com/wp-content/uploads/2019/01/5-25.png" alt="5.- The Cassandra service" width="1366" height="340" srcset="https://www.osradar.com/wp-content/uploads/2019/01/5-25.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/5-25-300x75.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/5-25-768x191.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/5-25-1024x255.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/5-25-696x173.png 696w, https://www.osradar.com/wp-content/uploads/2019/01/5-25-1068x266.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10434" class="wp-caption-text">5.- The Cassandra service</figcaption></figure>
<h2>3. Configure Cassandra</h2>
<p>On the Cassandra web site, the developers say: &#8220;For running Cassandra on a single node, the default configuration is enough, you shouldn’t need to change any configuration. However, when you deploy a cluster of nodes or use clients that are not on the same host, then there are some parameters that must be changed.&#8221;</p>
<p>So, let us change these parameters.</p>
<pre>:~# nano /etc/cassandra/cassandra.yaml</pre>
<figure id="attachment_10435" aria-describedby="caption-attachment-10435" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10435" src="https://www.osradar.com/wp-content/uploads/2019/01/6-20.png" alt="6.- The cassandra file configuration" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/6-20.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/6-20-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/6-20-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/6-20-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/6-20-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/01/6-20-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/6-20-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10435" class="wp-caption-text">6.- The Cassandra file configuration</figcaption></figure>
<p>First, the cluster name. Obviously. Replace the default by yours.</p>
<figure id="attachment_10437" aria-describedby="caption-attachment-10437" style="width: 656px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10437" src="https://www.osradar.com/wp-content/uploads/2019/01/7-20.png" alt="7.- Change the cluster name" width="656" height="146" srcset="https://www.osradar.com/wp-content/uploads/2019/01/7-20.png 656w, https://www.osradar.com/wp-content/uploads/2019/01/7-20-300x67.png 300w" sizes="(max-width: 656px) 100vw, 656px" /><figcaption id="caption-attachment-10437" class="wp-caption-text">7.- Change the cluster name</figcaption></figure>
<p>Next, you need to set the seeds of the cluster. You have to add the IP address separated by comma.</p>
<figure id="attachment_10436" aria-describedby="caption-attachment-10436" style="width: 647px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10436" src="https://www.osradar.com/wp-content/uploads/2019/01/8-17.png" alt="8.- Seeds" width="647" height="208" srcset="https://www.osradar.com/wp-content/uploads/2019/01/8-17.png 647w, https://www.osradar.com/wp-content/uploads/2019/01/8-17-300x96.png 300w" sizes="(max-width: 647px) 100vw, 647px" /><figcaption id="caption-attachment-10436" class="wp-caption-text">8.- Seeds</figcaption></figure>
<p>If you want to increase security you can change the storage port. However, remember to modify your firewall settings to make that port available. In the listen_adress parameter, you must add the IP address of your central node. This is what allows other nodes to communicate with this node. So, it is important that you change it.</p>
<figure id="attachment_10438" aria-describedby="caption-attachment-10438" style="width: 902px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10438" src="https://www.osradar.com/wp-content/uploads/2019/01/9-12.png" alt="9.- Storage port" width="902" height="376" srcset="https://www.osradar.com/wp-content/uploads/2019/01/9-12.png 902w, https://www.osradar.com/wp-content/uploads/2019/01/9-12-300x125.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/9-12-768x320.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/9-12-696x290.png 696w" sizes="(max-width: 902px) 100vw, 902px" /><figcaption id="caption-attachment-10438" class="wp-caption-text">9.- Storage port</figcaption></figure>
<p>With these configurations, you can start to use Apache Cassandra.</p>
<h1>Conclusion</h1>
<p>Although Apache Cassandra is a high-performance application used by many large enterprises, its installation is not complex. Their website offers useful information about this powerful tool.</p>
<p>Please share this post with your friends.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-apache-cassandra-on-debian-9/">Install Apache Cassandra on Debian 9?</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/install-apache-cassandra-on-debian-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
