<?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>Buster Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/buster/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 03 Oct 2021 23:14:12 +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>Install and use vnStat on Debian 11 / 10</title>
		<link>https://www.osradar.com/vnstat-debian-monitoring-tool/</link>
					<comments>https://www.osradar.com/vnstat-debian-monitoring-tool/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 06 Oct 2021 23:14:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29506</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install and use vnStat on Debian 11 / 10. With this tool, you will be able to monitor a network interface quickly. What is vnStat? The best definition of Vnstat can be found on the project’s own website: vnStat is a console-based network traffic monitor [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/vnstat-debian-monitoring-tool/">Install and use vnStat on Debian 11 / 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. In this post, you will learn how to install and use vnStat on Debian 11 / 10. With this tool, you will be able to monitor a network interface quickly.</p>



<h2 id="what-is-vnstat?"><a href="#what-is-vnstat?" name="what-is-vnstat?"></a>What is vnStat?</h2>



<p>The best definition of <a href="https://humdi.net/vnstat/" target="_blank" rel="noreferrer noopener">Vnstat</a> can be found on the project’s own website:</p>



<blockquote class="wp-block-quote"><p>vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It uses the network interface statistics provided by the kernel as an information source. This means that vnStat won’t actually be sniffing any traffic and also ensures light use of system resources regardless of network traffic rate.</p></blockquote>



<p>Therefore this tool is quite well known within the community and among sysadmins. It is quite simple to use and as you will see below it is easy to install.</p>



<h2 id="install-vnstat-on-debian-10"><a name="install-vnstat-on-debian-10" href="#install-vnstat-on-debian-10"></a>Install vnStat on Debian 11 / 10</h2>



<p>One of the fastest and most immediate ways to install vnStat on Debian 11 / 10 is to install it from the official repositories.</p>



<p>Although this is not the only way to get the program, it is the easiest method for newbies.</p>



<p>So, open a terminal or from an <a href="https://www.osradar.com/manages-ssh-connections-from-windows-10-with-putty/" target="_blank" rel="noreferrer noopener">SSH session</a>, install the security patches in the distribution:</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade</pre>



<p>Next, you can install the <code>vnStat</code> package as follows:</p>



<pre class="wp-block-preformatted">sudo apt install vnstat</pre>



<p>After it is installed, start the application service.</p>



<pre class="wp-block-preformatted">sudo systemctl start vnstat</pre>



<p>This will complete the installation and you will be able to use it.</p>



<h2 id="install-the-latest-version-of-vnstat-on-debian-10"><a name="install-the-latest-version-of-vnstat-on-debian-10" href="#install-the-latest-version-of-vnstat-on-debian-10"></a>Install the latest version of vnStat on Debian 11 / 10</h2>



<p>The previous method has a big problem and it is that the version that appears in the official repositories of Debian 11 / 10, is very outdated. So it is advisable to always install the latest version following these steps that I will describe.</p>



<p>First, install the packages needed to do the compilation, as well as some dependencies:</p>



<pre class="wp-block-preformatted">sudo apt install build-essential gcc make libsqlite3-dev</pre>



<p>Then download the latest stable version, which at the time of writing this post, is <code>2.8</code>.</p>



<pre class="wp-block-preformatted">wget https://humdi.net/vnstat/vnstat-2.8.tar.gz</pre>



<p>Decompress the downloaded file</p>



<pre class="wp-block-preformatted">tar -xvzf vnstat-2.8.tar.gz</pre>



<p>As a result of executing the above command, a folder called <code>vnstat-2.8</code> will be generated which you will need to access and from there configure the package for compilation:</p>



<pre class="wp-block-preformatted">cd vnstat-2.8
./configure --prefix=/usr --sysconfdir=/etc</pre>



<p>Now, compile the package and install it with this pair of commands:</p>



<pre class="wp-block-preformatted">sudo make
sudo make install</pre>



<p>If everything went well, you will be able to run the <code>vnstat</code> command and display, for example, the installed version:</p>



<pre class="wp-block-preformatted">vnstat -v</pre>



<p>Output:</p>



<pre class="wp-block-preformatted">vnStat 2.8 by Teemu Toivola &lt;tst at iki dot fi&gt;</pre>



<h2 id="using-the-vnstat-command"><a href="#using-the-vnstat-command" name="using-the-vnstat-command"></a>Using the vnStat command</h2>



<p>Before using the tool it is necessary to start the vnStat service. As we have installed it manually, there is no service installed so we have to create it.</p>



<p>Fortunately, to create it we will use the example file that comes with the code we have just compiled.</p>



<pre class="wp-block-preformatted">sudo cp -v examples/systemd/vnstat.service /etc/systemd/system/</pre>



<p>Refresh the list of services</p>



<pre class="wp-block-preformatted">sudo systemctl daemon-reload</pre>



<p>And now yes, enable it so it can start with the system and start the service</p>



<pre class="wp-block-preformatted">sudo systemctl enable vnstat
sudo systemctl start vnstat</pre>



<p>And check the status of the service</p>



<pre class="wp-block-preformatted">sudo systemctl status vnstat
● vnstat.service - vnStat network traffic monitor
     Loaded: loaded (/etc/systemd/system/vnstat.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-10-02 18:24:27 CEST; 11s ago
       Docs: man:vnstatd(8)
             man:vnstat(1)
             man:vnstat.conf(5)
   Main PID: 5939 (vnstatd)
      Tasks: 1 (limit: 2276)
     Memory: 612.0K
        CPU: 20ms
     CGroup: /system.slice/vnstat.service
             └─5939 /usr/sbin/vnstatd -n

Oct 02 18:24:27 osradar systemd[1]: Started vnStat network traffic monitor.
Oct 02 18:24:27 osradar vnstatd[5939]: Info: vnStat daemon 2.8 started. (pid:5939 uid:0 gid:0 64-bit)
Oct 02 18:24:27 osradar vnstatd[5939]: Info: Monitoring (1): eth0 (1000 Mbit)</pre>



<p>After waiting a few minutes, you can start using it.</p>



<pre class="wp-block-preformatted">vnstat</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="868" height="341" src="https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918.png" alt="1.- vnStat on Debian 11/ 10" class="wp-image-29537" srcset="https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918.png 868w, https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918-300x118.png 300w, https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918-768x302.png 768w, https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918-696x273.png 696w" sizes="(max-width: 868px) 100vw, 868px" /><figcaption>1.- vnStat on Debian 11/ 10</figcaption></figure>



<p>By default, it takes the active interface, but you can change it:</p>



<pre class="wp-block-preformatted">vnstat -i [interface]</pre>



<p>When an interface is monitored, a new database with logs is created. You can delete it and reset the statistics.</p>



<pre class="wp-block-preformatted">sudo vnstat -i [interface] --remove --force</pre>



<p>In this case, you have to specify the interface to monitor.</p>



<p>Enjoy it.</p>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>So now you know how to install and use vnStat on Debian 11 / 10 This command although simple allows you to find answers to the operation of a network interface and to know if the behavior is as expected…</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/vnstat-debian-monitoring-tool/">Install and use vnStat on Debian 11 / 10</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/vnstat-debian-monitoring-tool/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install PHP Composer on Debian 11</title>
		<link>https://www.osradar.com/install-php-composer-debian/</link>
					<comments>https://www.osradar.com/install-php-composer-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 01 Oct 2021 23:57:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bullseye]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[composer]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32488</guid>

					<description><![CDATA[<p>Hello friends. For many PHP Composer developers is an essential tool in their daily work. So if you are a PHP developer or you are just starting with this, you should know how to install PHP Composer on Debian 11. The process is really simple but it’s never too much to have it at hand. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-php-composer-debian/">Install PHP Composer on Debian 11</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-line-data">Hello friends. For many PHP Composer developers is an essential tool in their daily work. So if you are a PHP developer or you are just starting with this, you should know how to install PHP Composer on Debian 11. The process is really simple but it’s never too much to have it at hand.</p>



<h2 class="code-line"><a id="What_is_Composer_2"></a>What is Composer?</h2>



<p class="has-line-data"><strong><a href="https://getcomposer.org/" target="_blank" rel="noreferrer noopener">Composer </a>is a project dependency manager for PHP programming.</strong> That means that it allows us to manage, i.e. specify, download, and keep up to date, the software packages or dependencies on which our PHP project is based.</p>



<p class="has-line-data">The reason for using it is that when you develop a PHP application it requires functionality that is not in the default PHP libraries. That is, you have to add others for your project to work or to be able to be carried out.</p>



<p class="has-line-data">So, when you start the project you have to go to the page of each of the software components that you want to use, download them, copy them to the folder of your project. This is a bit torturous because at some point these libraries will be updated and then you have to start this process all over again.</p>



<p class="has-line-data">Composer was born to avoid this. Because just by defining the right dependencies, <strong>Composer will download them and add them to your project in a matter of seconds</strong>. And if they are updated, it only takes a minimal effort or command to update them. All without wasting time and in an orderly fashion.</p>



<p class="has-line-data">So, let’s get started.</p>



<h2 class="code-line"><a id="Install_PHP_Composer_on_Debian_11_14"></a>Install PHP Composer on Debian 11</h2>



<p class="has-line-data">As we can guess, one of the main requirements is to have PHP installed on the system. This shouldn’t be a problem because PHP is present in the Debian 11 repositories and is quite lightweight.</p>



<p class="has-line-data">So, open a terminal and as usual update the distribution.</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade</pre>



<p class="has-line-data">Then, you can install PHP in case you don’t have it.</p>



<pre class="wp-block-preformatted">sudo apt install php</pre>



<p class="has-line-data">Note: If you don’t have <code>sudo</code> available then you have to run these commands as root. Also, you can enable it by reading our post about it.</p>



<p class="has-line-data">Now to install Composer on the system, you have to run this single command</p>



<pre class="wp-block-preformatted">php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"</pre>



<p class="has-line-data">This command downloads and “compiles” the Composer installer for us.</p>



<p class="has-line-data">Then install it in a directory that is in our PATH so that we can use it throughout the system. Also, you have to give it run permissions.</p>



<pre class="wp-block-preformatted">sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
sudo chmod +x /usr/local/bin/composer</pre>



<p class="has-line-data">Then, verify the installed version by running</p>



<pre class="wp-block-preformatted">composer --version
composer version 2.1.8 2021-09-15 13:55:14</pre>



<h3 class="code-line"><a id="Using_PHP_Composer_on_Debian_11_45"></a>Using PHP Composer on Debian 11</h3>



<p class="has-line-data">Before using Composer it is always advisable to upgrade to the latest version. This process can be done by running</p>



<pre class="wp-block-preformatted">composer self-update</pre>



<p class="has-line-data">If you already have the latest stable version, you will get an output screen like this</p>



<pre class="wp-block-preformatted">You are already using the latest available Composer version 2.1.8 (stable channel)</pre>



<p class="has-line-data">Composer works with a file called <code>composer.json</code> which is where the project dependencies are stored. To add one you can visit <a href="https://packagist.org/" target="_blank" rel="noreferrer noopener">packagist </a>to find one you need.</p>



<p class="has-line-data">For example, I will add <code>sebastian/comparator</code> with the command</p>



<pre class="wp-block-preformatted">composer require sebastian/comparator</pre>



<p class="has-line-data">Just like that, Composer recognizes the dependency, downloads it along with its dependencies, and installs them for our project that we just need to use. And so on with each of the dependencies you need.</p>



<p class="has-line-data">To update the versions of the dependencies of your project run</p>



<pre class="wp-block-preformatted">composer update</pre>



<p class="has-line-data">Or you can update a single one</p>



<pre class="wp-block-preformatted">composer update sebastian/comparator</pre>



<p class="has-line-data">Also, you can update several at once.</p>



<p class="has-line-data">To remove a dependency, just run</p>



<pre class="wp-block-preformatted">composer remove sebastian/comparator</pre>



<p class="has-line-data">So you can use Composer on Debian 11 in a basic but useful way.</p>



<h2 class="code-line"><a id="Conclusion_79"></a>Conclusion</h2>



<p class="has-line-data">In this post, we have covered the installation of PHP Composer on Debian 11 and a small introduction to its particular usage. This tool has become indispensable for many developers so it is not surprising that it is popular.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-php-composer-debian/">Install PHP Composer on Debian 11</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-php-composer-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Go Language on Debian 11 / 10?</title>
		<link>https://www.osradar.com/go-language-debian-programming/</link>
					<comments>https://www.osradar.com/go-language-debian-programming/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 23:19:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[go language]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16279</guid>

					<description><![CDATA[<p>The world of software development is a complex world. Every day new and better features emerge that force developers to broaden their knowledge. However, not all these technologies are complex to assimilate, and for this purpose, I will teach you how to install GO language on Debian 11 / 10. Go is an open-source (BSD [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/go-language-debian-programming/">How to install Go Language on Debian 11 / 10?</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 world of software development is a complex world. Every day new and better features emerge that force developers to broaden their knowledge. However, not all these technologies are complex to assimilate, and for this purpose, I will teach you how to install GO  language on Debian 11 / 10.</p>



<p><a href="https://golang.org">Go</a> is an open-source (BSD license)  programming language that was born with the objective of allowing the creation of efficient and easily distributable applications. So, it has binaries for Windows, Mac OS and of course, for Linux.</p>



<p>So, in this post, I will install it and create a “Hello World” file for the test.</p>



<h2>Download and install Go Language on Debian 11 /10</h2>



<p>Go Language is cross-platform which makes it available for Linux. However, first you have to download the binaries from the project website. But we will use the terminal that is faster and more efficient.</p>



<p>First, make sure you have <a href="https://www.osradar.com/the-wget-command/" target="_blank" rel="noreferrer noopener" aria-label="wget (opens in a new tab)">wget</a> installed on your computer.</p>



<pre class="wp-block-preformatted">:~$ sudo apt install wget</pre>



<p>Then proceed to download Go Language. At the time of writing this post, the latest stable version is 1.17</p>



<pre class="wp-block-preformatted">:~$ wget -c https://golang.org/dl/go1.17.linux-amd64.tar.gz -O go.tar.gz</pre>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="https://www.osradar.com/wp-content/uploads/2019/12/1-20-1024x228.png" alt="1.- Download and install Go Language on Debian 11 / 10" class="wp-image-32017" width="946" height="210" srcset="https://www.osradar.com/wp-content/uploads/2019/12/1-20-1024x228.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/1-20-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/1-20-768x171.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/1-20-696x155.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/1-20-1068x238.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/1-20.png 1366w" sizes="(max-width: 946px) 100vw, 946px" /><figcaption>1.- Download and install Go Language on Debian 11 / 10</figcaption></figure>



<p>Then, decompress it.</p>



<pre class="wp-block-preformatted">:~$ tar xvf go.tar.gz</pre>



<p>Now you have to change the folder permissions. Besides moving it to another location like <code>/usr/local/</code>.</p>



<pre class="wp-block-preformatted">:~$ sudo chown -R root:root go
:~$ sudo mv go /usr/local</pre>



<p>Then, it is necessary to make some modifications to the user&#8217;s bash profile in order to use Go. Open the configuration file and add the following:</p>



<pre class="wp-block-preformatted">:~$ sudo nano ~/.profile</pre>



<pre class="wp-block-preformatted">export GOROOT=/usr/local/go    
export GOPATH=$HOME/work/
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="634" height="219" src="https://www.osradar.com/wp-content/uploads/2019/12/3-1.png" alt="3.- Edit the bash profile" class="wp-image-16282" srcset="https://www.osradar.com/wp-content/uploads/2019/12/3-1.png 634w, https://www.osradar.com/wp-content/uploads/2019/12/3-1-300x104.png 300w" sizes="(max-width: 634px) 100vw, 634px" /><figcaption>2.- Edit the bash profile</figcaption></figure>



<p>Save the changes (CTRL + O) and close the file (CTRL + X).</p>



<p>With this, Go is ready for work. You can check it by showing the version of the program.</p>



<pre class="wp-block-preformatted">:~$ go version</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="461" height="94" src="https://www.osradar.com/wp-content/uploads/2019/12/2-18.png" alt="3.- Go language version" class="wp-image-32018" srcset="https://www.osradar.com/wp-content/uploads/2019/12/2-18.png 461w, https://www.osradar.com/wp-content/uploads/2019/12/2-18-300x61.png 300w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption>3.- Go language version</figcaption></figure>



<p>Now with a &#8220;hello world&#8221; we&#8217;ll see that everything works.</p>



<h2>Testing the installation</h2>



<p>As I said before, the best way to test the installation is to run a real code. For this, we will use the typical &#8220;Hello World&#8221;.</p>



<p>First, we&#8217;ll create the directory structure. In our Home, we will create a folder for the project called <code>work</code>. Inside a folder called <code>src</code> where the source code files will go. In it, a folder called <code>hello</code> and inside the file <code>hello.go</code>. Something like this is the directory structure. The folders work and hello can be called differently.</p>



<pre class="wp-block-preformatted">:~$ mkdir -p $HOME/work/src/hello</pre>



<p>Now, create the Go file and add the following:</p>



<pre class="wp-block-preformatted">:~$ nano ~/work/src/hello/hello.go</pre>



<pre class="wp-block-preformatted">package main 
 import "fmt"
 func main() {
 fmt.Printf("hello, world\n")
 }</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="888" height="198" src="https://www.osradar.com/wp-content/uploads/2019/12/5.png" alt="5.- Creating a go file" class="wp-image-16301" srcset="https://www.osradar.com/wp-content/uploads/2019/12/5.png 888w, https://www.osradar.com/wp-content/uploads/2019/12/5-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/5-768x171.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/5-696x155.png 696w" sizes="(max-width: 888px) 100vw, 888px" /><figcaption>5.- Creating a go file</figcaption></figure>



<p>Again, save the changes and close the file.</p>



<pre class="wp-block-preformatted">:~$ go build hello
:~$ go install hello
:~$ hello</pre>



<p>So, enjoy it.</p>



<h2>Conclusion</h2>



<p>GO is a very popular language and every day it is more and more popular. It’s simple but very powerful, besides being open source. As you have seen, its installation is really simple.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/go-language-debian-programming/">How to install Go Language on Debian 11 / 10?</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/go-language-debian-programming/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install GIT on Debian 11 / 10</title>
		<link>https://www.osradar.com/install-git-on-debian/</link>
					<comments>https://www.osradar.com/install-git-on-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 23 Aug 2021 23:14:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[compilation]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12871</guid>

					<description><![CDATA[<p>Software development is one of the activities that can best be done on a Linux system. In the first place, because it is stable and because the main tools for development are available with few commands. We are talking about both professional and community-level tools. They are all installable on Linux. One of these tools [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-git-on-debian/">Install GIT on Debian 11 / 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Software development is one of the activities that can best be done on a Linux system. In the first place, because it is stable and because the main tools for development are available with few commands. We are talking about both professional and community-level tools. They are all installable on Linux. One of these tools is GIT which is used to control the versions of an application. So, in this post, you will learn how to install Git on Debian 11 / 10. We will even give you two options to realize the goal.</p>
<h2>So, Git?</h2>
<p>If you are starting to develop applications you may not know that <a href="https://git-scm.com" rel="noopener noreferrer">Git</a> is a free, open-source version control system and that it is perhaps the best. Many developers rely on it to control the versions of their applications. By versions, we mean those in development.</p>
<p>Using Git you can control and separate development in each of those development branches. So the changes of one do not affect the others.</p>
<p>Read <a href="https://www.osradar.com/introduction-to-the-git-branches/" rel="noopener noreferrer">Introduction to the Git branches</a>.</p>
<p>In this way, it is good practice to develop applications using a version control system as support.</p>
<h2>Install Git on Debian 11 / 10</h2>
<p>Debian 10 is one of the few distributions that have such complete package repositories. So, presumably, there is some Git in the official repositories.</p>
<p>However, it is also a good idea, to know how to install Git differently in case we need it. This way is compiling the source code of Git and get the latest stable version. In this tutorial, I will teach you how to do it both ways.</p>
<h3>1) Using the official repository on Debian 11 / 10</h3>
<p>Debian 11 / 10 include Git in the official repositories. Using this option, the installation is quite easy, and just open a terminal session and run the following command:</p>
<pre>:~$ sudo apt install git</pre>
<p>Or, if you do not have sudo, please read <a href="https://www.osradar.com/how-to-enable-sudo-on-debian-10/" rel="noopener noreferrer">How to enable sudo on Debian 11/10?</a></p>
<p>Then, you can check the installed version.</p>
<pre>:~$ git --version
git version 2.30.2</pre>
<p>Now, you can use it.</p>
<h3>2) Building the Git source code</h3>
<p>Compiling the Git source code is the best way to get the latest version. All this in a safe way because it will not be compiled by third parties.</p>
<p>The process is simple but requires a few extra steps. So let us get started.</p>
<p>First, install the necessary programs to make the compilation:</p>
<pre>:~$ sudo apt install build-essential make libssl-dev libghc-zlib-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip</pre>
<p><figure id="attachment_12905" aria-describedby="caption-attachment-12905" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12905" src="https://www.osradar.com/wp-content/uploads/2019/08/1.jpeg" alt="1.- Install required package for the build from source code" width="1365" height="470" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1.jpeg 1365w, https://www.osradar.com/wp-content/uploads/2019/08/1-300x103.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/1-768x264.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/1-1024x353.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/1-696x240.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/1-1068x368.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/08/1-1220x420.jpeg 1220w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12905" class="wp-caption-text">1.- Install required a package for the build from source code</figcaption></figure></p>
<p>Now, we can download the source code.</p>
<pre>:~$ cd /tmp/
:~$ wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.33.0.tar.gz</pre>
<p>Next, decompress it and access to the folder.</p>
<pre>:~$ tar xvfz git-2.33.0.tar.gz
:~$ cd git-2.33.0</pre>
<p>Now, you can start the compilation by running the following commands:</p>
<pre>:~$ sudo make prefix=/usr/local all
:~$ sudo make prefix=/usr/local install</pre>
<p><figure id="attachment_12907" aria-describedby="caption-attachment-12907" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-12907 size-full" src="https://www.osradar.com/wp-content/uploads/2019/08/3.jpeg" alt="3.- Install Git on Debian 11 / 10" width="1366" height="738" srcset="https://www.osradar.com/wp-content/uploads/2019/08/3.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/08/3-300x162.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/3-768x415.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/3-1024x553.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/3-696x376.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/3-1068x577.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/08/3-777x420.jpeg 777w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12907" class="wp-caption-text">3.- Install Git on Debian 11 / 10</figcaption></figure></p>
<p>Next, check the installed version.</p>
<pre>:~$ git --version</pre>
<p>And that is it. You can start to use Git.</p>
<h2>Conclusion</h2>
<p>Git is one of those applications that every developer must be able to manage to improve their workflow. Therefore, it is important to install it in Debian 10 and two ways have been shown to achieve this. One of them is using the package available in the official repositories and the other is compiling the source code.</p>
<p>Please share this post and join <a href="https://t.me/osradar" rel="noopener noreferrer">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-git-on-debian/">Install GIT on Debian 11 / 10</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-git-on-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Microweber CMS on Debian 10?</title>
		<link>https://www.osradar.com/how-to-install-microweber-debian-10/</link>
					<comments>https://www.osradar.com/how-to-install-microweber-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 03 Aug 2021 23:49:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[microweber]]></category>
		<category><![CDATA[server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=31421</guid>

					<description><![CDATA[<p>Hello, friends. If you are thinking of creating a new website, then you must be looking for the ideal CMS for you. Well, today I’m going to show you how to install MicroweberCMS on Debian 10. Microweber is a compact and quite complete CMS that allows us to deploy our blog or website quickly and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-microweber-debian-10/">How to install Microweber CMS on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-line-data">Hello, friends. If you are thinking of creating a new website, then you must be looking for the ideal CMS for you. Well, today I’m going to show you how to install MicroweberCMS on Debian 10.</p>



<p class="has-line-data"><a href="https://microweber.com" target="_blank" rel="noreferrer noopener">Microweber </a>is a compact and quite complete CMS that allows us to deploy our blog or website quickly and easily. In addition to this, it allows us to manage it from a comfortable web interface where you can use a graphical editor to create the site.</p>



<p class="has-line-data">With Microweber you can expect everything that a CMS can do, create, manage a website. Ideal for blogging or virtual stores, Microweber is a CMS to take into account.</p>



<h2 class="code-line"><a id="Install_Microweber_CMS_on_Debian_10_6"></a>Install Microweber CMS on Debian 10</h2>



<h3 class="code-line"><a id="Install_LAMP_on_Debian_10_8"></a>Install LAMP on Debian 10</h3>



<p class="has-line-data">Microweber is a CMS that relies on PHP and a database manager like MariaDB. So we have to<a href="https://www.osradar.com/install-lamp-on-debian-10/" target="_blank" rel="noreferrer noopener"> install the LAMP on Debian 10</a> stack.</p>



<p class="has-line-data">However, the latest version of Microweber requires at least PHP 7.3 so we have to <a href="https://www.osradar.com/install-php-8-ubuntu-debian/" target="_blank" rel="noreferrer noopener">install </a>PHP 8 on Debian 10.</p>



<p class="has-line-data">Within the PHP modules that you have to install, you can’t miss these and other necessary packages.</p>



<pre class="wp-block-preformatted">php8.0 libapache2-mod-php php-common php-mbstring php-xmlrpc php-soap php-mysql php-gd php-xml php-cli php-zip php-curl unzip wget</pre>



<h3 class="code-line"><a id="Creating_a_new_database_and_user_18"></a>Creating a new database and user</h3>



<p class="has-line-data">It would be best to create the database for Microweber CMS ourselves. Also, we will have to create a dedicated user for security reasons.</p>



<p class="has-line-data">Open the MariaDB shell</p>



<pre class="wp-block-preformatted">sudo mysql -u root -p</pre>



<p class="has-line-data">Create the new database:</p>



<pre class="wp-block-preformatted">CREATE DATABASE microweberdb;</pre>



<p class="has-line-data">The database name can be whatever you want. Now create the user along with the password.</p>



<pre class="wp-block-preformatted">GRANT ALL PRIVILEGES ON microweberdb.* TO 'microweberuser'@'localhost' IDENTIFIED BY 'microweberpss';
FLUSH PRIVILEGES;</pre>



<p class="has-line-data">You can use any other username and password you want.</p>



<p class="has-line-data">Now exit the shell</p>



<pre class="wp-block-preformatted">exit;</pre>



<p class="has-line-data">Now we can continue.</p>



<h3 class="code-line"><a id="Download_and_install_Microweber_CMS_on_Debian_10_43"></a>Download and install Microweber CMS on Debian 10</h3>



<p class="has-line-data">Now we can download and install Microweber. So, do it from the <code>/tmp/</code> folder and using the command <code>wget</code>.</p>



<pre class="wp-block-preformatted">cd /tmp/
wget https://microweber.com/download.php -O microweber-latest.zip
--2021-07-29 18:09:16--  https://microweber.com/download.php
Resolving microweber.com (microweber.com)... 148.251.51.133
Connecting to microweber.com (microweber.com)|148.251.51.133|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://microweber.org/download.php [following]
--2021-07-29 18:09:16--  https://microweber.org/download.php
Resolving microweber.org (microweber.org)... 148.251.51.133
Connecting to microweber.org (microweber.org)|148.251.51.133|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://updater.microweberapi.com/microweber-master.zip [following]
--2021-07-29 18:09:17--  https://updater.microweberapi.com/microweber-master.zip
Resolving updater.microweberapi.com (updater.microweberapi.com)... 148.251.51.133
Connecting to updater.microweberapi.com (updater.microweberapi.com)|148.251.51.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 162704055 (155M) [application/zip]
Saving to: ‘microweber-latest.zip’

microweber-latest.zip                     100%[=====================================================================================>] 155.17M  87.5MB/s    in 1.8s

2021-07-29 18:09:18 (87.5 MB/s) - ‘microweber-latest.zip’ saved [162704055/162704055]</pre>



<p class="has-line-data">Now create a folder in the Apache root directory where we will unzip the downloaded file.</p>



<pre class="wp-block-preformatted">sudo mkdir /var/www/html/microweber
sudo unzip microweber-latest.zip -d /var/www/html/microweber</pre>



<p class="has-line-data">Now make the folder belong to Apache and have the proper permissions.</p>



<pre class="wp-block-preformatted">sudo chown -R www-data:www-data /var/www/html/microweber/
sudo chmod -R 755 /var/www/html/microweber/</pre>



<p class="has-line-data">Then it is convenient to create a new virtualhost for Apache to manage the site properly.</p>



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



<p class="has-line-data">Add the following:</p>



<pre class="wp-block-preformatted">&lt;VirtualHost *:80>
  ServerName blog.osradar.test
  DocumentRoot /var/www/html/microweber/
 
  &lt;Directory />
    Options FollowSymLinks
    AllowOverride All
  &lt;/Directory>
 
  &lt;Directory /var/www/html/microweber/>
    Options FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
  &lt;/Directory>

  ErrorLog ${APACHE_LOG_DIR}/microweber_error.log
  CustomLog ${APACHE_LOG_DIR}/microweber_access.log combined

&lt;/VirtualHost></pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="953" height="406" src="https://www.osradar.com/wp-content/uploads/2021/07/1-15.png" alt="1.- Virtualhost for Microweber" class="wp-image-31514" srcset="https://www.osradar.com/wp-content/uploads/2021/07/1-15.png 953w, https://www.osradar.com/wp-content/uploads/2021/07/1-15-300x128.png 300w, https://www.osradar.com/wp-content/uploads/2021/07/1-15-768x327.png 768w, https://www.osradar.com/wp-content/uploads/2021/07/1-15-696x297.png 696w" sizes="(max-width: 953px) 100vw, 953px" /><figcaption>1.- Virtualhost for Microweber</figcaption></figure>



<p class="has-line-data">Remember to change the <code>ServerName</code> value to your domain. Save the changes and close the editor.</p>



<p class="has-line-data">Enable the new configuration and the Apache <code>rewrite</code> module.</p>



<pre class="wp-block-preformatted">sudo a2ensite microweber
sudo a2enmod rewrite</pre>



<p class="has-line-data">Apply the changes by restarting Apache.</p>



<pre class="wp-block-preformatted">sudo systemctl restart apache2</pre>



<h3 class="code-line"><a id="Optional_Installing_Certbot_and_the_Lets_Encrypt_certificates_79"></a>Optional: Installing Certbot and the Let’s Encrypt certificates</h3>



<p class="has-line-data">Normally this site would be on the Internet which means that we have to use all possible security. So, we should install the Let’s Encrypt certificates to enable HTTPS.</p>



<p class="has-line-data">So, install Certbot and its Apache plugin.</p>



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



<p class="has-line-data">Then, generate the certificates as follows</p>



<pre class="wp-block-preformatted">sudo certbot --apache --d [your-domain]</pre>



<p class="has-line-data">Enter your email address and accept the license terms and then restart Apache.</p>



<h3 class="code-line"><a id="Installing_Microweber_using_the_web_interface_93"></a>Installing Microweber using the web interface</h3>



<p class="has-line-data">Now open your web browser and go to <code>https://your-domain</code> and you will see a screen where you can customize the installation.</p>



<p class="has-line-data">First, configure the database.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="518" src="https://www.osradar.com/wp-content/uploads/2021/07/2-12-1024x518.png" alt="2.- Installing Microweber CMS on Ubuntu 20.04" class="wp-image-31515" srcset="https://www.osradar.com/wp-content/uploads/2021/07/2-12-1024x518.png 1024w, https://www.osradar.com/wp-content/uploads/2021/07/2-12-300x152.png 300w, https://www.osradar.com/wp-content/uploads/2021/07/2-12-768x388.png 768w, https://www.osradar.com/wp-content/uploads/2021/07/2-12-696x352.png 696w, https://www.osradar.com/wp-content/uploads/2021/07/2-12-1068x540.png 1068w, https://www.osradar.com/wp-content/uploads/2021/07/2-12.png 1349w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Installing Microweber CMS on Ubuntu 20.04</figcaption></figure>



<p class="has-line-data">Below, you can configure the layout</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="518" src="https://www.osradar.com/wp-content/uploads/2021/07/3-6-1024x518.png" alt="3.- Configuring Microweber" class="wp-image-31516" srcset="https://www.osradar.com/wp-content/uploads/2021/07/3-6-1024x518.png 1024w, https://www.osradar.com/wp-content/uploads/2021/07/3-6-300x152.png 300w, https://www.osradar.com/wp-content/uploads/2021/07/3-6-768x388.png 768w, https://www.osradar.com/wp-content/uploads/2021/07/3-6-696x352.png 696w, https://www.osradar.com/wp-content/uploads/2021/07/3-6-1068x540.png 1068w, https://www.osradar.com/wp-content/uploads/2021/07/3-6.png 1349w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Configuring Microweber</figcaption></figure>



<p class="has-line-data">And at the end, you can create the Microweber admin user.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="518" src="https://www.osradar.com/wp-content/uploads/2021/07/4-1-1024x518.png" alt="4.- Creating the admin user" class="wp-image-31517" srcset="https://www.osradar.com/wp-content/uploads/2021/07/4-1-1024x518.png 1024w, https://www.osradar.com/wp-content/uploads/2021/07/4-1-300x152.png 300w, https://www.osradar.com/wp-content/uploads/2021/07/4-1-768x388.png 768w, https://www.osradar.com/wp-content/uploads/2021/07/4-1-696x352.png 696w, https://www.osradar.com/wp-content/uploads/2021/07/4-1-1068x540.png 1068w, https://www.osradar.com/wp-content/uploads/2021/07/4-1.png 1349w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>4.- Creating the admin user</figcaption></figure>



<p class="has-line-data">So, enjoy it. Now you can start with the work of creating your website.</p>



<h2 class="code-line"><a id="Conclusion_105"></a>Conclusion</h2>



<p class="has-line-data">WordPress dominates the CMS industry but that does not indicate that there is real competition to offer better services. So, now you know how to install Microweber CMS and if you give it a try I am sure you will not be disappointed.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-microweber-debian-10/">How to install Microweber CMS on Debian 10?</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-microweber-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install Wildfly (JBoss) on Debian 10</title>
		<link>https://www.osradar.com/install-wildfly-jboss-on-debian-10/</link>
					<comments>https://www.osradar.com/install-wildfly-jboss-on-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 16 Jul 2021 23:23:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Wildfly]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=31236</guid>

					<description><![CDATA[<p>Hello, friends. This post will be really useful if you consider yourself a JavaEE developer. In this post, you will learn how to install Wildfly (JBoss) on Debian 10. This way you will have an application server that you can use for deploying Java applications. According to the Wildfly website: WildFly is a flexible, lightweight, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-wildfly-jboss-on-debian-10/">Install Wildfly (JBoss) on Debian 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-line-data">Hello, friends. This post will be really useful if you consider yourself a JavaEE developer. In this post, you will learn how to install Wildfly (JBoss) on Debian 10. This way you will have an application server that you can use for deploying Java applications.</p>



<p class="has-line-data">According to the <a href="https://www.wildfly.org/about/">Wildfly website</a>:</p>



<blockquote class="wp-block-quote"><p class="has-line-data" data-line-start="4" data-line-end="5">WildFly is a flexible, lightweight, managed application runtime that helps you build amazing applications.</p></blockquote>



<p class="has-line-data">Being Java-based, it is compatible with many operating systems such as Linux, macOS, and Windows. In addition to this, it is open source which can help us with licensing issues.</p>



<p class="has-line-data">So, now you will learn how to install it on a Debian 10 server or your computer for development.</p>



<h2 class="code-line"><a id="Install_Wildfly_on_Debian_10_10"></a>Install Wildfly on Debian 10</h2>



<p class="has-line-data">Before we start, open a terminal and update Debian 10. In this post, we will use <code>sudo</code> if you don’t know how to enable it in Debian, we tell you in this post.</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade</pre>



<p class="has-line-data">Now it is time to install Java if you don’t have it on your system.</p>



<pre class="wp-block-preformatted">sudo apt install default-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  ca-certificates-java default-jdk-headless default-jre default-jre-headless fontconfig-config fonts-dejavu-core java-common libasound2 libasound2-data
  libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libfontconfig1
  libgif7 libgl1 libgl1-mesa-dri libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libgraphite2-3 libharfbuzz0b libjpeg62-turbo liblcms2-2 libllvm7 libnspr4 libnss3
  libpciaccess0 libpcsclite1 libsensors-config libsensors5 libx11-6 libx11-data libx11-xcb1 libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
  libxcb-sync1 libxcb1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxrender1 libxshmfence1 libxtst6 libxxf86vm1 openjdk-11-jdk openjdk-11-jdk-headless
  openjdk-11-jre openjdk-11-jre-headless x11-common
Suggested packages:
  libasound2-plugins alsa-utils cups-common liblcms2-utils pciutils pcscd lm-sensors openjdk-11-demo openjdk-11-source visualvm libnss-mdns fonts-dejavu-extra
  fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic
Recommended packages:
  libxt-dev libatk-wrapper-java-jni fonts-dejavu-extra
The following NEW packages will be installed:
  ca-certificates-java default-jdk default-jdk-headless default-jre default-jre-headless fontconfig-config fonts-dejavu-core java-common libasound2 libasound2-data
  libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libfontconfig1
  libgif7 libgl1 libgl1-mesa-dri libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libgraphite2-3 libharfbuzz0b libjpeg62-turbo liblcms2-2 libllvm7 libnspr4 libnss3
  libpciaccess0 libpcsclite1 libsensors-config libsensors5 libx11-6 libx11-data libx11-xcb1 libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
  libxcb-sync1 libxcb1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxrender1 libxshmfence1 libxtst6 libxxf86vm1 openjdk-11-jdk openjdk-11-jdk-headless
  openjdk-11-jre openjdk-11-jre-headless x11-common
0 upgraded, 63 newly installed, 0 to remove and 26 not upgraded.
Need to get 289 MB of archives.
After this operation, 637 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<p class="has-line-data">It is recommended to create a new user and group for Wildfly so that it does not interfere with the others. First, create a group like this</p>



<pre class="wp-block-preformatted">sudo groupadd -r wildfly</pre>



<p class="has-line-data">Now create the user:</p>



<pre class="wp-block-preformatted">sudo useradd -r -g wildfly -d /opt/wildfly -s /sbin/nologin wildfly</pre>



<p class="has-line-data">From the previous command, we can deduce that you will not be able to log in but you will have permission over the directory <code>/opt/wildfly</code>.</p>



<p class="has-line-data">Now yes, from the <code>/tmp</code> folder, you can download Wildlfly</p>



<pre class="wp-block-preformatted">cd /tmp/
wget -c https://download.jboss.org/wildfly/24.0.0.Final/wildfly-24.0.0.Final.tar.gz
--2021-07-13 16:47:17--  https://download.jboss.org/wildfly/24.0.0.Final/wildfly-24.0.0.Final.tar.gz
Resolving download.jboss.org (download.jboss.org)... 2a02:26f0:6c00::210:bb8b, 2a02:26f0:6c00::210:bb58, 104.126.36.121, ...
Connecting to download.jboss.org (download.jboss.org)|2a02:26f0:6c00::210:bb8b|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 210418338 (201M) [application/x-gzip]
Saving to: ‘wildfly-24.0.0.Final.tar.gz’

wildfly-24.0.0.Final.tar.gz               100%[=====================================================================================>] 200.67M  40.7MB/s    in 4.8s

2021-07-13 16:47:22 (42.0 MB/s) - ‘wildfly-24.0.0.Final.tar.gz’ saved [210418338/210418338]</pre>



<p class="has-line-data">At the time of writing this post, the latest stable version of Wildfly is <code>24.0.0</code> so this command will change when a new version is released.</p>



<p class="has-line-data">Then, decompress it</p>



<pre class="wp-block-preformatted">sudo tar xfv wildfly-24.0.0.Final.tar.gz -C /opt/</pre>



<p class="has-line-data">Make a symbolic link from the folder to another folder with an easier-to-remember name.</p>



<pre class="wp-block-preformatted">sudo ln -s /opt/wildfly-24.0.0.Final/ /opt/wildfly</pre>



<p class="has-line-data">Make the user <code>wildfly</code> the owner of the folder.</p>



<pre class="wp-block-preformatted">sudo chown -RH wildfly: /opt/wildfly</pre>



<h3 class="code-line"><a id="Configuring_WildFly_on_Debian_10_50"></a>Configuring WildFly on Debian 10</h3>



<p class="has-line-data">By default, the package we have downloaded includes a configuration file that we have to enable. To do this, create a folder called <code>wildfly</code> in the <code>/etc/</code> path.</p>



<pre class="wp-block-preformatted">sudo mkdir -p /etc/wildfly</pre>



<p class="has-line-data">And to enable the default Wildfly configuration, copy the example file to this directory.</p>



<pre class="wp-block-preformatted">sudo cp /opt/wildfly/docs/contrib/scripts/systemd/wildfly.conf /etc/wildfly/</pre>



<p class="has-line-data">Also, copy the startup script into the <code>bin</code> folder of the dedicated Wildfly folder.</p>



<pre class="wp-block-preformatted">sudo cp /opt/wildfly/docs/contrib/scripts/systemd/systemd/launch.sh /opt/wildfly/bin/</pre>



<p class="has-line-data">After this, assign run permissions to the script.</p>



<pre class="wp-block-preformatted">sudo sh -c 'chmod +x /opt/wildfly/bin/*.sh'</pre>



<p class="has-line-data">To start, restart and stop running Wildfly then it is best to do it via <code>systemd</code>, and then we have to create a new service for it. Fortunately, the downloaded package includes one so we have to copy it to the directory where the service configurations are hosted.</p>



<pre class="wp-block-preformatted">sudo cp /opt/wildfly/docs/contrib/scripts/systemd/wildfly.service /etc/systemd/system/</pre>



<p class="has-line-data">Now, refresh the list of services</p>



<pre class="wp-block-preformatted">sudo systemctl daemon-reload</pre>



<p class="has-line-data">And start the service</p>



<pre class="wp-block-preformatted">sudo systemctl start wildfly</pre>



<p class="has-line-data">Also, you can check the service for any errors.</p>



<pre class="wp-block-preformatted">sudo systemctl status wildfly
● wildfly.service - The WildFly Application Server
   Loaded: loaded (/etc/systemd/system/wildfly.service; disabled; vendor preset: enabled)
   Active: active (running) since Tue 2021-07-13 16:52:28 CEST; 2s ago
 Main PID: 4978 (launch.sh)
    Tasks: 69 (limit: 4915)
   Memory: 196.4M
   CGroup: /system.slice/wildfly.service
           ├─4978 /bin/bash /opt/wildfly/bin/launch.sh standalone standalone.xml 0.0.0.0
           ├─4979 /bin/sh /opt/wildfly/bin/standalone.sh -c standalone.xml -b 0.0.0.0
           └─5074 java -D[Standalone] -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkJul 13 16:52:28 osradar systemd[1]: Started The WildFly Application Server.</pre>



<p class="has-line-data">All that remains is to create the user with administrative permissions. To do this, run a script called <code>add-user.sh</code>.</p>



<p class="has-line-data">After entering the username, and answering a few more questions, you will be assigned a password.</p>



<pre class="wp-block-preformatted">To represent the user add the following to the server-identities definition &lt;secret value="YW5nZWxv" /></pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="410" src="https://www.osradar.com/wp-content/uploads/2021/07/1-5-1024x410.png" alt="1.- Creating a new user for Wildfly" class="wp-image-31252" srcset="https://www.osradar.com/wp-content/uploads/2021/07/1-5-1024x410.png 1024w, https://www.osradar.com/wp-content/uploads/2021/07/1-5-300x120.png 300w, https://www.osradar.com/wp-content/uploads/2021/07/1-5-768x308.png 768w, https://www.osradar.com/wp-content/uploads/2021/07/1-5-696x279.png 696w, https://www.osradar.com/wp-content/uploads/2021/07/1-5-1068x428.png 1068w, https://www.osradar.com/wp-content/uploads/2021/07/1-5.png 1230w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Creating a new user for Wildfly</figcaption></figure>



<p class="has-line-data">This way, you can open your web browser and visit <code>http://localhost:8080</code> or if you installed on a server <code>http://your-server:8080</code> and see this screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="511" src="https://www.osradar.com/wp-content/uploads/2021/07/2-4-1024x511.png" alt="2.- Wildfly running on Debian 10" class="wp-image-31253" srcset="https://www.osradar.com/wp-content/uploads/2021/07/2-4-1024x511.png 1024w, https://www.osradar.com/wp-content/uploads/2021/07/2-4-300x150.png 300w, https://www.osradar.com/wp-content/uploads/2021/07/2-4-768x383.png 768w, https://www.osradar.com/wp-content/uploads/2021/07/2-4-696x347.png 696w, https://www.osradar.com/wp-content/uploads/2021/07/2-4-1068x533.png 1068w, https://www.osradar.com/wp-content/uploads/2021/07/2-4.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Wildfly running on Debian 10</figcaption></figure>



<p class="has-line-data">So, Wildfly is correctly installed.</p>



<h3 class="code-line"><a id="Optional_Enable_the_administrative_panel_remotely_94"></a>Optional: Enable the administrative panel remotely</h3>



<p class="has-line-data">The administrative panel can be accessed from <code>http://localhost:9990/console</code> but if you installed Wildfly on a remote server, this will not work because, by default, this feature is disabled remotely.</p>



<p class="has-line-data">So, you can enable it. To do this, edit the Wildfly configuration file</p>



<pre class="wp-block-preformatted">sudo nano /etc/wildfly/wildfly.conf</pre>



<p class="has-line-data">And add the following line at the end.</p>



<pre class="wp-block-preformatted">WILDFLY_CONSOLE_BIND=0.0.0.0.0</pre>



<p class="has-line-data">Save the changes and close the editor.</p>



<p class="has-line-data">Now edit the WildFly startup script</p>



<pre class="wp-block-preformatted">sudo nano /opt/wildfly/bin/launch.sh</pre>



<p class="has-line-data">And replace the lines inside the second <code>if</code> that start with <code>$WILDFLY_HOME</code> with the following lines</p>



<pre class="wp-block-preformatted">$WILDFLY_HOME/bin/domain.sh -c $2 -b $3 -bmanagement $4
else
$WILDFLY_HOME/bin/standalone.sh -c $2 -b $3 -bmanagement $4</pre>



<p class="has-line-data">Save the changes and close the editor.</p>



<p class="has-line-data">After this, you need to modify something in the file that manages the Wildfly service.</p>



<pre class="wp-block-preformatted">sudo nano /etc/systemd/system/wildfly.service</pre>



<p class="has-line-data">Change the <code>ExecStart</code> line to this one</p>



<pre class="wp-block-preformatted">ExecStart=/opt/wildfly/bin/launch.sh $WILDFLY_MODE $WILDFLY_CONFIG $WILDFLY_BIND $WILDFLY_CONSOLE_BIND $WILDFLY_CONSOLE_BIND</pre>



<p class="has-line-data">Refresh all daemons and restart the service.</p>



<pre class="wp-block-preformatted">sudo systemctl daemon-reload
sudo systemctl restart wildfly</pre>



<p class="has-line-data">You will now be able to remotely access your configuration panel.</p>



<h2 class="code-line"><a id="Conclusion_133"></a>Conclusion</h2>



<p class="has-line-data">Developing Java applications requires tools to help with the process. In this case, we have presented you with one that allows you to set up a JavaEE application server, and with Wildfly’s extensive experience we will have mature and production-ready software.</p>



<p class="has-line-data">Enjoy it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-wildfly-jboss-on-debian-10/">Install Wildfly (JBoss) on Debian 10</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-wildfly-jboss-on-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Your own IRC Server with Inspircd on Debian 10</title>
		<link>https://www.osradar.com/irc-server-inspircd-debian-10/</link>
					<comments>https://www.osradar.com/irc-server-inspircd-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 22:34:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Inspircd]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=31138</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to deploy your own IRC server by installing Inspircd on Debian 10. The process is very easy and gives us many advantages that we can take advantage of in our institution. First of all, it is important to remember that it is IRC. Internet Relay Chat [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/irc-server-inspircd-debian-10/">Your own IRC Server with Inspircd on Debian 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-line-data">Hello, friends. In this post, you will learn how to deploy your own IRC server by installing Inspircd on Debian 10. The process is very easy and gives us many advantages that we can take advantage of in our institution.</p>



<p class="has-line-data">First of all, it is important to remember that it is IRC. Internet Relay Chat is a real-time communications protocol. Using IRC, users should not establish communication beforehand, so that all users on a channel can communicate with each other, even if they have had no previous contact. Widely used for discussions and technical support of many open source projects.</p>



<h2 class="code-line"><a id="Install_Inspircd_on_Debian_10_4"></a>Install Inspircd on Debian 10</h2>



<p class="has-line-data">The first thing to do is to connect to the server via <a href="https://www.osradar.com/manages-ssh-connections-from-windows-10-with-putty/" target="_blank" rel="noreferrer noopener">SSH</a>. After that, upgrading the system is always a good option.</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade</pre>



<p class="has-line-data">With the system upgraded, we can start the installation of Inspircd on Debian 10. Fortunately, the package is in the official Debian 10 repositories so to install it, just run</p>



<pre class="wp-block-preformatted">sudo apt install inspircd
Reading package lists… Done
 Building dependency tree
 Reading state information… Done
 The following additional packages will be installed:
   libmariadb3 libpq5 libtre5 mariadb-common mysql-common
 Suggested packages:
   sqlite3 default-mysql-server ldap-server postgresql gnutls-bin tre-agrep
 The following NEW packages will be installed:
   inspircd libmariadb3 libpq5 libtre5 mariadb-common mysql-common
 0 upgraded, 6 newly installed, 0 to remove and 26 not upgraded.
 Need to get 1,848 kB of archives.
 After this operation, 11.8 MB of additional disk space will be used.
 Do you want to continue? [Y/n]</pre>



<p class="has-line-data">This way, we will be able to use it and configure it for our instance.</p>



<h3 class="code-line"><a id="Configuring_Inspircd_on_Debian_10_17"></a>Configuring Inspircd on Debian 10</h3>



<p class="has-line-data">The program as such is installed, but before using it we have to configure it.</p>



<p class="has-line-data">First, on our system, we have to open ports <code>22</code> and <code>6667</code> where the application works.</p>



<p class="has-line-data">Then, we have to examine the <code>/etc/inspircd/inspircd.conf</code> file which is where all the application configuration resides. It is a long file, but very well structured so we should have no problems editing it.</p>



<p class="has-line-data">Before making any changes, make a backup of it.</p>



<pre class="wp-block-preformatted">sudo cp /etc/inspircd/inspircd.conf /etc/inspircd/inspircd.conf.bak</pre>



<p class="has-line-data">Now, yes, we can edit it.</p>



<pre class="wp-block-preformatted">sudo nano /etc/inspircd/inspircd.conf</pre>



<p class="has-line-data">In the <code>server</code> tab you have to configure the basics of the instance. In our chaos, we have left it as follows.</p>



<pre class="wp-block-preformatted">&lt;server name="osradatest.ga"
    description="Example IRC Server"
    id="1AB"
    network="The osradar net"></pre>



<p class="has-line-data">Replace the <code>name</code> value with your domain and <code>network</code> with your network name. Set a description and leave the value of <code>id</code> as is.</p>



<p class="has-line-data">Now in the <code>admin</code> tag create the admin user. Set a name, nickname, and email address.</p>



<pre class="wp-block-preformatted">&lt;admin name="Example User"
    nick="example-user"
    email="example-user@example-email.com"></pre>



<p class="has-line-data">Then locate the <code>bind</code> tag and here we have the <code>address</code> values where the server will be available. If you leave it blank, it will be accessible from any host which is desired if you want it to be available via the internet. The other <code>ports</code> value is to define the listening port which by default is <code>6667</code> and in <code>type</code> leave it <code>clients</code>.</p>



<pre class="wp-block-preformatted">&lt;bind address="" port="6667" type="clients"></pre>



<p class="has-line-data">The admin user can shut down or restart the server. But to do this he has to enter a password which we can define in the <code>power</code> tag in the <code>diepass</code> and <code>restartpass</code> values.</p>



<pre class="wp-block-preformatted">&lt;power diepass="shutdown-password" restartpass="restart-password" pause="2"></pre>



<p class="has-line-data">After this, he creates an operator user in the <code>oper</code> tag. Again, in the <code>host</code> value he can define from which location he can log in. In my case, I have left it accessible from any host, but a good practice would be to limit it to <code>localhost</code> or a specific IP. Also, set a password and leave the <code>type</code> in <code>NetAdmin</code>.</p>



<pre class="wp-block-preformatted">&lt;oper name="example-user"
    password="password"
    host="*@*"
    type="NetAdmin"></pre>



<p class="has-line-data">We won’t touch anything else, for now, so save your changes and close the editor.</p>



<p class="has-line-data">Now, you should edit these two files. The first one is <code>/etc/inspircd/inspircd.motd</code> which will serve as the first message. And the other one is <code>/etc/inspircd/inspircd.rules</code> where you can set rules for behaviours that can be displayed from a client.</p>



<p class="has-line-data">To apply the changes, you have to restart the program.</p>



<pre class="wp-block-preformatted">sudo systemctl restart inspircd</pre>



<p class="has-line-data">And you can check the status of it</p>



<pre class="wp-block-preformatted">sudo systemctl status inspircd
● inspircd.service - IRC server
    Loaded: loaded (/lib/systemd/system/inspircd.service; enabled; vendor preset: enabled)
    Active: active (running) since Fri 2021-07-09 18:26:07 CEST; 14s ago
      Docs: man:inspircd(1)
  Main PID: 2711 (inspircd)
     Tasks: 1 (limit: 2296)
    Memory: 2.1M
    CGroup: /system.slice/inspircd.service
            └─2711 /usr/sbin/inspircd --logfile /var/log/inspircd.log --config /etc/inspircd/inspircd.conf --nofork
 Jul 09 18:26:07 osradar systemd[1]: Started IRC server.
 Jul 09 18:26:07 osradar inspircd[2711]: Inspire Internet Relay Chat Server
 Jul 09 18:26:07 osradar inspircd[2711]: (C) InspIRCd Development Team.
 Jul 09 18:26:07 osradar inspircd[2711]: Developers:
 Jul 09 18:26:07 osradar inspircd[2711]:         Brain, FrostyCoolSlug, w00t, Om, Special, peavey
 Jul 09 18:26:07 osradar inspircd[2711]:         aquanight, psychon, dz, danieldg, jackmcbarn
 Jul 09 18:26:07 osradar inspircd[2711]:         Attila
 Jul 09 18:26:07 osradar inspircd[2711]: Others:                        See /INFO Output
 Jul 09 18:26:07 osradar inspircd[2711]: Loading core commands……………………………………………..
 Jul 09 18:26:07 osradar inspircd[2711]: InspIRCd is now running as 'osradartest.ga'[1AB] with 1024 max open sockets</pre>



<h2 class="code-line"><a id="Testing_the_installation_57"></a>Testing the installation</h2>



<p class="has-line-data">The best way to find out if everything went well is to run a client. In this case, we have chosen <code>weechat</code> as it is terminal and lightweight. Ideal for testing.</p>



<p class="has-line-data">So, install it on Ubuntu and Debian running</p>



<pre class="wp-block-preformatted">sudo apt install weechat</pre>



<p class="has-line-data">Run it</p>



<pre class="wp-block-preformatted">weechat</pre>



<p class="has-line-data">Now add our server by running</p>



<pre class="wp-block-preformatted">/server add [server-alias] [your-domain]</pre>



<p class="has-line-data">When added, you can connect via</p>



<pre class="wp-block-preformatted">/connect [server-alias]</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="586" src="https://www.osradar.com/wp-content/uploads/2021/07/1-3-1024x586.png" alt="1.- InspIRC on debian 10" class="wp-image-31195" srcset="https://www.osradar.com/wp-content/uploads/2021/07/1-3-1024x586.png 1024w, https://www.osradar.com/wp-content/uploads/2021/07/1-3-300x172.png 300w, https://www.osradar.com/wp-content/uploads/2021/07/1-3-768x440.png 768w, https://www.osradar.com/wp-content/uploads/2021/07/1-3-696x399.png 696w, https://www.osradar.com/wp-content/uploads/2021/07/1-3-1068x612.png 1068w, https://www.osradar.com/wp-content/uploads/2021/07/1-3.png 1294w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- InspIRC on debian 10</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="443" src="https://www.osradar.com/wp-content/uploads/2021/07/2-2-1024x443.png" alt="2.- Weechat working with InspIRC on debian 10" class="wp-image-31196" srcset="https://www.osradar.com/wp-content/uploads/2021/07/2-2-1024x443.png 1024w, https://www.osradar.com/wp-content/uploads/2021/07/2-2-300x130.png 300w, https://www.osradar.com/wp-content/uploads/2021/07/2-2-768x332.png 768w, https://www.osradar.com/wp-content/uploads/2021/07/2-2-696x301.png 696w, https://www.osradar.com/wp-content/uploads/2021/07/2-2-1068x462.png 1068w, https://www.osradar.com/wp-content/uploads/2021/07/2-2.png 1207w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Weechat working with InspIRC on debian 10</figcaption></figure>



<p class="has-line-data">If you need to, you can connect as an operator user.</p>



<pre class="wp-block-preformatted">/oper [server-alias][password]</pre>



<p class="has-line-data">As you can see in the screenshots, everything went fine.</p>



<h2 class="code-line"><a id="Recommended_Securing_the_server_with_SSL_certification_83"></a>Recommended: Securing the server with SSL certification</h2>



<p class="has-line-data">To secure your communications you should obtain and add SSL certificates using Certbot.</p>



<p class="has-line-data">So, install it.</p>



<pre class="wp-block-preformatted">sudo apt install certbot</pre>



<p class="has-line-data">and get a certificate for your domain</p>



<pre class="wp-block-preformatted">sudo certbot certonly --standalone --preferred-challenges http -d [your-domain]</pre>



<p class="has-line-data">And now to add it to the program and secure the connection, create a folder for it inside the program settings</p>



<pre class="wp-block-preformatted">sudo mkdir /etc/inspircd/ssl</pre>



<p class="has-line-data">Then, copy the obtained certificates to this folder</p>



<pre class="wp-block-preformatted">sudo cp /etc/letsencrypt/live/[your-domain]/fullchain.pem /etc/inspircd/ssl/cert.pem
sudo cp /etc/letsencrypt/live/[your-domain]/privkey.pem /etc/inspircd/ssl/key.pem</pre>



<p class="has-line-data">Now make the <code>irc</code> user the owner of that folder to prevent others from taking advantage of it.</p>



<pre class="wp-block-preformatted">sudo chown -R irc:irc /etc/inspircd</pre>



<p class="has-line-data">Now in the Inspircd configuration file, you need to add the following information</p>



<pre class="wp-block-preformatted">sudo nano /etc/inspircd/inspircd.conf</pre>



<p class="has-line-data">And under the <code>bind</code> tag add the following.</p>



<pre class="wp-block-preformatted">&lt;gnutls
    certfile="/etc/inspircd/ssl/cert.pem"
    keyfile="/etc/inspircd/ssl/key.pem"
    priority="SECURE192:-VERS-SSL3.0">
&lt;module name="m_ssl_gnutls.so"></pre>



<p class="has-line-data">In short, we are just indicating the location of the certificates.</p>



<p class="has-line-data">Save the changes and restart the service</p>



<pre class="wp-block-preformatted">sudo systemctl restart inspircd</pre>



<p class="has-line-data">And now to connect, remove the previous alias in <code>weechat</code>.</p>



<pre class="wp-block-preformatted">/server from the [alias]</pre>



<p class="has-line-data">When using SSL the port to use is 6697 which you have to open in the firewall and add another alias as follows.</p>



<pre class="wp-block-preformatted">/server add [alias] [your-domain]/6697 -ssl</pre>



<p class="has-line-data">And then connect again.</p>



<p class="has-line-data">So, enjoy it.</p>



<h2 class="code-line"><a id="Conclusion_134"></a>Conclusion</h2>



<p class="has-line-data">In this post, you learned how to install an IRC server using Inspircd. This way you can create one and manage it without any problems.</p>



<p>More info: <a href="https://docs.inspircd.org/" target="_blank" rel="noreferrer noopener">Official Documentation</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/irc-server-inspircd-debian-10/">Your own IRC Server with Inspircd on Debian 10</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/irc-server-inspircd-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install the latest version of Vim on Ubuntu 20.04 / Debian 10?</title>
		<link>https://www.osradar.com/install-latest-version-vim/</link>
					<comments>https://www.osradar.com/install-latest-version-vim/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 01 May 2021 02:46:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[latest version]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vim]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=28564</guid>

					<description><![CDATA[<p>Hello, friends. Vim is an application quite used by many, but it is not so easy to have the latest stable version in our system. However, today I will help you with that. After reading this post, you will learn how to install the latest version of Vim on Ubuntu 20.04 / Debian 10. According [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-latest-version-vim/">How to install the latest version of Vim on Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. Vim is an application quite used by many, but it is not so easy to have the latest stable version in our system. However, today I will help you with that. After reading this post, you will learn how to install the latest version of Vim on Ubuntu 20.04 / Debian 10.</p>



<p>According to the <a href="https://www.vim.org/" target="_blank" rel="noreferrer noopener">project website</a>:</p>



<blockquote class="wp-block-quote"><p>Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as “vi” with most UNIX systems and with Apple OS X.</p></blockquote>



<p>Vim is rock stable and is continuously being developed to become even better. Among its features are:</p>



<ul><li>Persistent, multi-level undo tree.</li><li>Extensive plugin system.</li><li>Support for hundreds of programming languages and file formats</li><li>Powerful search and replace</li><li>Integrates with many tools</li></ul>



<p>So we can say that Vim is an improved version of the mythical text editor Vi. This makes it very popular among sysadmin and even developers.</p>



<h2 id="install-the-latest-version-of-vim"><a href="#install-the-latest-version-of-vim" name="install-the-latest-version-of-vim"></a>Install the Latest version of Vim</h2>



<p>The best way to get the latest version of Vim is to compile it from the source code. It is lightweight, does not have many dependencies, and is more secure. So this is the way we will do it.</p>



<p>So, open a terminal or start an <a href="https://www.osradar.com/install-snowflake-ssh-client-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">SSH session</a> and run it:</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade</pre>



<p>With the system upgrade, we can then install the <code>build-essential</code> package which contains the package compilation tools.</p>



<pre class="wp-block-preformatted">sudo apt install build-essential</pre>



<p>Then create a folder where the compiler package will be. I have chosen this path:</p>



<pre class="wp-block-preformatted">mkdir -p /home/angelo/vim</pre>



<p>But you can change it to whatever you want.</p>



<p>Then, download the packages needed to perform the compilation:</p>



<pre class="wp-block-preformatted">sudo apt install ncurses-dev unzip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libncurses-dev' instead of 'ncurses-dev'
The following additional packages will be installed:
  libc-dev-bin libc6-dev linux-libc-dev
Suggested packages:
  glibc-doc manpages-dev ncurses-doc zip
Recommended packages:
  manpages-dev
The following NEW packages will be installed:
  libc-dev-bin libc6-dev libncurses-dev linux-libc-dev unzip
0 upgraded, 5 newly installed, 0 to remove and 36 not upgraded.
Need to get 4,902 kB of archives.
After this operation, 28.0 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<p>After that, download the Vim source code using the <code>wget</code> command.</p>



<pre class="wp-block-preformatted">wget https://github.com/vim/vim/archive/master.zip
--2021-02-15 17:54:39--  https://github.com/vim/vim/archive/master.zip
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/vim/vim/zip/master [following]
--2021-02-15 17:54:39--  https://codeload.github.com/vim/vim/zip/master
Resolving codeload.github.com (codeload.github.com)... 140.82.121.9
Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’

master.zip                                     [              &lt;=&gt;                                                                     ]  16.13M  5.85MB/s    in 2.8s    

2021-02-15 17:54:42 (5.85 MB/s) - ‘master.zip’ saved [16910770]
</pre>



<p>Now decompress it using the command <code>unzip</code></p>



<pre class="wp-block-preformatted">unzip master.zip</pre>



<p>Access the <code>src</code> folder inside the generated folder</p>



<pre class="wp-block-preformatted">cd vim-master/src</pre>



<p>And start the compilation configuration taking as the path the folder we have created.</p>



<pre class="wp-block-preformatted">./configure --prefix=/home/angelo/vim</pre>



<p>My recommendation, always when compiling a package from source code, <strong>I do it in a location that does not require root privileges</strong> and that I can manage. This way if <strong>we want to uninstall it, we would only delete the folder where the compilation was configured.</strong></p>



<p>Create the package:</p>



<pre class="wp-block-preformatted">make</pre>



<p>And finally, do the installation:</p>



<pre class="wp-block-preformatted">make install</pre>



<p>To test the results, you can access the <code>bin</code> folder that has been created in the package creation path.</p>



<pre class="wp-block-preformatted">cd /home/angelo/vim/bin</pre>



<p>There you will find the freshly compiled binary that you can start using. For example, I will show the compiled version.</p>



<pre class="wp-block-preformatted">./vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 26 2021 23:50:58)
 Included patches: 1-2814
 Compiled by angelo@osradar
 Huge version without GUI.  Features included (+) or not (-):</pre>



<p>Output:</p>



<p>And that is it. Enjoy the latest version of Vim.</p>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>Having the latest stable version of a program gives us access to improvements and new features as well as bug fixes. Today I have shown you how to get the latest version of Vim quickly and easily.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-latest-version-vim/">How to install the latest version of Vim on Ubuntu 20.04 / Debian 10?</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-latest-version-vim/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install SpiderFoot on Debian 10?</title>
		<link>https://www.osradar.com/install-spiderfoot-debian-10/</link>
					<comments>https://www.osradar.com/install-spiderfoot-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 05 Apr 2021 05:31:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[SpiderFoot]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29361</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install SpiderFoot on Debian 10. According to the project website: SpiderFoot is an open source intelligence (OSINT) automation tool. It integrates with just about every data source available and utilises a range of methods for data analysis, making that data easy to navigate. SpiderFoot has [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-spiderfoot-debian-10/">How to install SpiderFoot on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. In this post, you will learn how to install SpiderFoot on Debian 10.</p>



<p>According to the<a href="https://www.spiderfoot.net/" target="_blank" rel="noreferrer noopener"> project website</a>:</p>



<blockquote class="wp-block-quote"><p>SpiderFoot is an open source intelligence (OSINT) automation tool. It integrates with just about every data source available and utilises a range of methods for data analysis, making that data easy to navigate.</p></blockquote>



<p>SpiderFoot has an embedded web-server for providing a clean and intuitive web-based interface but can also be used completely via the command line. It’s written in <a href="https://www.osradar.com/install-python-3-9-debian/" target="_blank" rel="noreferrer noopener">Python 3 </a>and GPL-licensed.</p>



<p>So it is an interesting tool if we have servers with various services on the network.</p>



<h2 id="install-spiderfoot-on-debian-10"><a href="#install-spiderfoot-on-debian-10" name="install-spiderfoot-on-debian-10"></a>Install Spiderfoot on Debian 10</h2>



<p>The installation process is quite simple and we will do it from a terminal environment.</p>



<p>First, update the system completely</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade</pre>



<p>After that, you have to install some packages needed to run SpiderFoot</p>



<pre class="wp-block-preformatted">sudo apt install python3 python3-pip python3-setuptools
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3 is already the newest version (3.7.3-1).
python3 set to manually installed.
The following additional packages will be installed:
  python-pip-whl python3-distutils python3-lib2to3
Recommended packages:
  build-essential python3-dev python3-setuptools python3-wheel
The following NEW packages will be installed:
  python-pip-whl python3-distutils python3-lib2to3 python3-pip
0 upgraded, 4 newly installed, 0 to remove and 28 not upgraded.
Need to get 1,980 kB of archives.
After this operation, 3,772 kB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<p>Then, you need to <a href="https://www.osradar.com/how-to-install-pip-on-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">upgrade PIP</a> so that it can work properly</p>



<pre class="wp-block-preformatted">pip3 install --upgrade pip</pre>



<p>Now we can download the SpiderFoot package with the help of the wget command.</p>



<pre class="wp-block-preformatted">wget https://github.com/smicallef/spiderfoot/archive/v3.3.tar.gz
--2021-04-01 00:02:11--  https://github.com/smicallef/spiderfoot/archive/v3.3.tar.gz
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/smicallef/spiderfoot/tar.gz/v3.3 [following]
--2021-04-01 00:02:11--  https://codeload.github.com/smicallef/spiderfoot/tar.gz/v3.3
Resolving codeload.github.com (codeload.github.com)... 140.82.121.9
Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘v3.3.tar.gz’

v3.3.tar.gz                                    [    &lt;=>                                                                               ]   3.17M  3.80MB/s    in 0.8s    

2021-04-01 00:02:13 (3.80 MB/s) - ‘v3.3.tar.gz’ saved [3324791]</pre>



<p><strong>Note: At the time of writing this post, the latest stable version is 3.3</strong>.</p>



<p>Decompress the archive with the <code>tar</code> command</p>



<pre class="wp-block-preformatted">tar -xvzf v3.3.tar.gz</pre>



<p>Access the folder that has been generated:</p>



<pre class="wp-block-preformatted">cd spiderfoot-3.3</pre>



<p>And with PIP, install with the following command:</p>



<pre class="wp-block-preformatted">pip3 install -r requirements.txt</pre>



<p>After the process is completed, you can start the web interface with the following command:</p>



<pre class="wp-block-preformatted">python3 sf.py -l localhost:5001</pre>



<p>To end the execution you can press <code>CTRL + C</code> keys.</p>



<p>Now, if SpiderFoot has been installed on a server, you can alter the command so that it can be accessed by any host</p>



<pre class="wp-block-preformatted">python3 sf.py -l 0.0.0.0.0:5001
2021-04-01 00:06:35,119 [INFO] Starting web server at 0.0.0.0:5001 ...
2021-04-01 00:06:35,142 [WARNING] 
********************************************************************
Warning: passwd file contains no passwords. Authentication disabled.
Please consider adding authentication to protect this instance!
Refer to https://www.spiderfoot.net/documentation/#security.
********************************************************************


*************************************************************
 Use SpiderFoot by starting your web browser of choice and 
 browse to http://&lt;IP of this host>:5001/
*************************************************************

2021-04-01 00:06:35,185 [INFO] [01/Apr/2021:00:06:35] ENGINE Listening for SIGTERM.
2021-04-01 00:06:35,186 [INFO] [01/Apr/2021:00:06:35] ENGINE Listening for SIGHUP.
2021-04-01 00:06:35,186 [INFO] [01/Apr/2021:00:06:35] ENGINE Listening for SIGUSR1.
2021-04-01 00:06:35,186 [INFO] [01/Apr/2021:00:06:35] ENGINE Bus STARTING
2021-04-01 00:06:35,289 [INFO] [01/Apr/2021:00:06:35] ENGINE Serving on http://0.0.0.0:5001
2021-04-01 00:06:35,290 [INFO] [01/Apr/2021:00:06:35] ENGINE Bus STARTED</pre>



<p>Now all you have to do is open a web browser and visit <code>http://your-server:5001</code> and you will see the main screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2021/04/1-1-1024x502.png" alt="1.- SpiderFoot on Debian 10" class="wp-image-29399" srcset="https://www.osradar.com/wp-content/uploads/2021/04/1-1-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2021/04/1-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2021/04/1-1-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2021/04/1-1-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2021/04/1-1-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2021/04/1-1.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- SpiderFoot on Debian 10</figcaption></figure>



<p>So, you can use it</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2021/04/2-1024x506.png" alt="2.- SpiderFoot running" class="wp-image-29400" srcset="https://www.osradar.com/wp-content/uploads/2021/04/2-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2021/04/2-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/04/2-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2021/04/2-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2021/04/2-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2021/04/2.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- SpiderFoot running</figcaption></figure>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>SpiderFoot is a professional application that allows us to scan our server. For how advanced it is, its use is quite simple and the installation is within the reach of anyone.</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-spiderfoot-debian-10/">How to install SpiderFoot on Debian 10?</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-spiderfoot-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>install Jitsi Meet on Debian 10</title>
		<link>https://www.osradar.com/install-jitsi-meet-on-debian-10/</link>
					<comments>https://www.osradar.com/install-jitsi-meet-on-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 29 Mar 2021 23:04:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[comunications]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Debian 10]]></category>
		<category><![CDATA[jitsi]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[video]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29259</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install Jitsi Meet on Debian 10. Jitsi Meet is a pretty valid alternative to Google Hangouts, but in this case, we’re talking about a completely open-source alternative. On the other hand, it’s free and even though it’s not, it offers some advantages that we could [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-jitsi-meet-on-debian-10/">install Jitsi Meet on Debian 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. In this post, you will learn how to install Jitsi Meet on Debian 10.</p>



<p><a href="https://www.osradar.com/video-conference-linux-jitsi-meet/" target="_blank" rel="noreferrer noopener">Jitsi Meet</a> is a pretty valid alternative to Google Hangouts, but in this case, we’re talking about a completely open-source alternative. On the other hand, it’s free and even though it’s not, it offers some advantages that we could consider premium like HD Audio support. Everything 100% encrypted.</p>



<p>In these times in which the formal work has been threatened, some companies have found in Jitsi a quality tool. Especially because it does not require the creation of an account and because it can be installed on your server.</p>



<p>Some features of Jitsi Meet are as follows:</p>



<ul><li>Share your desktop, presentations, and more.</li><li>Invite users to a conference via a simple, custom URL.</li><li>Edit documents together using Etherpad.P</li><li>Pick fun meeting URLs for every meeting.</li><li>Trade messages and emojis while you video conference, with integrated chat.</li></ul>



<p>Again, all this for free, open-source, and encrypted conversations. So, technologically it’s pretty competent.</p>



<h2 id="install-jitsi-on-debian-10"><a href="#install-jitsi-on-debian-10" name="install-jitsi-on-debian-10"></a>Install Jitsi on Debian 10</h2>



<p>We will be able to install Jitsi with the repository that the developers give us. This ensures that the integration with the system and the package manager is complete.</p>



<p>To perform the installation, we will have to connect to our server and update it.</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade</pre>



<p>Then, it is necessary to change the hostname of the computer for your domain.</p>



<pre class="wp-block-preformatted">sudo hostnamectl set-hostname [domain]</pre>



<p>Replace <code>[domain]</code> with yours.</p>



<p>Then modify the <code>hosts</code> file of the server and add the following line:</p>



<pre class="wp-block-preformatted">sudo nano /etc/hosts 
<code data-origin="<pre&gt;<code&gt;sudo nano /etc/hosts

127.0.0.1 domain
</code&gt;</pre&gt;
<p&gt;">127.0.0.1 domain </code> </pre>



<p>Before continuing, you have to make sure that ports <code>80</code>, <code>443</code> and <code>4443</code> of the TCP protocol and port <code>10000</code> of the UDP protocol are open in the firewall.</p>



<p>Now it is time to install the gnupg package which contains instructions for adding GPG keys from external repositories.</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt install gnupg</pre>



<p>Now you can download and add the GPG key from the Jitsi repository.</p>



<pre class="wp-block-preformatted">wget https://download.jitsi.org/jitsi-key.gpg.key
sudo apt-key add jitsi-key.gpg.key</pre>



<p>Next, create a new file that will contain the information for us to add the Jitsi repository.</p>



<pre class="wp-block-preformatted">sudo nano /etc/apt/sources.list.d/jitsi-stable.list</pre>



<p>And add:</p>



<pre class="wp-block-preformatted">deb https://download.jitsi.org stable/</pre>



<p>Save the changes and close the editor.</p>



<p>So, refresh APT so that the repository information can be loaded.</p>



<pre class="wp-block-preformatted">sudo apt update</pre>



<p>And finally, install Jitsi by running:</p>



<pre class="wp-block-preformatted">sudo apt install jitsi-meet
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  ca-certificates-java fontconfig-config fonts-dejavu-core java-common jicofo jitsi-meet-prosody jitsi-meet-web jitsi-meet-web-config jitsi-videobridge2 libasound2
  libasound2-data libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libfontconfig1 libgd3 libjbig0 libjpeg62-turbo liblcms2-2 libnginx-mod-http-auth-pam
  libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair
  libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libnspr4 libnss3 libpcsclite1 libtiff5 libwebp6 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6
  libxext6 libxi6 libxpm4 libxrender1 libxslt1.1 libxtst6 lua-bitop lua-expat lua-filesystem lua-sec lua-socket lua5.2 nginx nginx-common nginx-full
  openjdk-11-jre-headless prosody ssl-cert uuid-runtime x11-common
Suggested packages:
  default-jre libasound2-plugins alsa-utils cups-common libgd-tools liblcms2-utils pcscd fcgiwrap nginx-doc libnss-mdns fonts-dejavu-extra fonts-ipafont-gothic
  fonts-ipafont-mincho fonts-wqy-microhei | fonts-wqy-zenhei fonts-indic lua-dbi-mysql lua-dbi-postgresql lua-dbi-sqlite3 lua-zlib openssl-blacklist
Recommended packages:
  jitsi-meet-turnserver | apache2 lua5.2-event
The following NEW packages will be installed:
  ca-certificates-java fontconfig-config fonts-dejavu-core java-common jicofo jitsi-meet jitsi-meet-prosody jitsi-meet-web jitsi-meet-web-config jitsi-videobridge2
  libasound2 libasound2-data libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libfontconfig1 libgd3 libjbig0 libjpeg62-turbo liblcms2-2
  libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-subs-filter
  libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libnspr4 libnss3 libpcsclite1 libtiff5 libwebp6 libx11-6
  libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxi6 libxpm4 libxrender1 libxslt1.1 libxtst6 lua-bitop lua-expat lua-filesystem lua-sec lua-socket lua5.2 nginx
  nginx-common nginx-full openjdk-11-jre-headless prosody ssl-cert uuid-runtime x11-common
0 upgraded, 61 newly installed, 0 to remove and 25 not upgraded.
Need to get 128 MB of archives.
After this operation, 326 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<p>During the installation, we will be asked to enter the hostname of our server, which can be your domain.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="420" src="https://www.osradar.com/wp-content/uploads/2021/03/1-12-1024x420.png" alt="1.- Installing Jitsi on Debian 10" class="wp-image-29307" srcset="https://www.osradar.com/wp-content/uploads/2021/03/1-12-1024x420.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/1-12-300x123.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/1-12-768x315.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/1-12-696x286.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/1-12-1068x438.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/1-12.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Installing Jitsi on Debian 10</figcaption></figure>



<p>Then you will be asked if you want to generate a new certificate or use an existing one. In this case, I will generate new certificates.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="477" src="https://www.osradar.com/wp-content/uploads/2021/03/2-10-1024x477.png" alt="2.- Installation process" class="wp-image-29308" srcset="https://www.osradar.com/wp-content/uploads/2021/03/2-10-1024x477.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/2-10-300x140.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/2-10-768x358.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/2-10-696x324.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/2-10-1068x498.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/2-10.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Installation process</figcaption></figure>



<h2 id="preparing-jitsi-for-the-first-use"><a href="#preparing-jitsi-for-the-first-use" name="preparing-jitsi-for-the-first-use"></a>Preparing Jitsi for the first use</h2>



<p>By default, Jitsi is very secure but we need access from the web to be secure too and that is why we need to generate TLS certificates. To do this, install the Certbot package.</p>



<pre class="wp-block-preformatted">sudo apt install certbot</pre>



<p>Then run a script that provides us with the Jitsi installation where we only need to enter our email address.</p>



<pre class="wp-block-preformatted">sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh</pre>



<p>In the end, you will see a success message.</p>



<p>Now the next step is to prevent anonymous users from creating rooms. To do this edit the configuration file for your domain.</p>



<pre class="wp-block-preformatted">sudo nano /etc/prosody/conf.avail/your_domain.cfg.lua</pre>



<p><strong>Remember to replace <code>your_domain</code> with yours </strong>.</p>



<p>And look for the value</p>



<pre class="wp-block-preformatted"> authentication = "anonymous"</pre>



<p>And replace it with:</p>



<pre class="wp-block-preformatted">authentication = "internal_plain"</pre>



<p>At the end of the same file add the following section:</p>



<pre class="wp-block-preformatted">VirtualHost "guest.your_domain"
    authentication = "anonymous"
    c2s_require_encryption = false</pre>



<p>Don’t forget to replace the <code>your_domain</code> value with yours. With this configuration, we will make it so that anonymous users can log in to rooms created by authenticated users.</p>



<p>Save the changes and close the editor.</p>



<p>Now we also need to edit another file to add the host of the guest users.</p>



<pre class="wp-block-preformatted">sudo nano /etc/jitsi/meet/your_domain-config.js</pre>



<p>And change the line</p>



<pre class="wp-block-preformatted">// anonymousdomain: 'guest.example.com',</pre>



<p>To</p>



<pre class="wp-block-preformatted">anonymousdomain: 'guest.your_domain',</pre>



<p>Again, save the changes and close the editor.</p>



<p>Finally, edit the <code>/etc/jitsi/jicofo/sip-communicator.properties</code> file.</p>



<pre class="wp-block-preformatted">sudo nano /etc/jitsi/jicofo/sip-communicator.properties</pre>



<p>And add the following line:</p>



<pre class="wp-block-preformatted">org.jitsi.jicofo.auth.URL=XMPP:your_domain</pre>



<p>Replacing <code>your_domain</code> with yours.</p>



<p>Save the changes and close the editor.</p>



<p>Now create a new user who will be able to create new rooms:</p>



<pre class="wp-block-preformatted">sudo prosodyctl register [user] [your_domain] [password]</pre>



<p>Replace the fields with the values you prefer.</p>



<p>To apply all changes, restart the services.</p>



<pre class="wp-block-preformatted">sudo systemctl restart prosody.service
sudo systemctl restart jicofo.service
sudo systemctl restart jitsi-videobridge2.service
sudo systemctl restart nginx</pre>



<p>And you can visit <code>https://your-domain</code> and enjoy Jitsi.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2021/03/3-6-1024x506.jpg" alt="3.- Jitsi Meet on Debian 10" class="wp-image-29309" srcset="https://www.osradar.com/wp-content/uploads/2021/03/3-6-1024x506.jpg 1024w, https://www.osradar.com/wp-content/uploads/2021/03/3-6-300x148.jpg 300w, https://www.osradar.com/wp-content/uploads/2021/03/3-6-768x379.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/03/3-6-696x344.jpg 696w, https://www.osradar.com/wp-content/uploads/2021/03/3-6-1068x528.jpg 1068w, https://www.osradar.com/wp-content/uploads/2021/03/3-6.jpg 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Jitsi Meet on Debian 10</figcaption></figure>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>Jitsi is another wonderful application because it allows us to deploy a secure and stable video call server. This makes it ideal in professional environments.</p>



<p><a href="https://meet.jit.si/" target="_blank" rel="noreferrer noopener">Website</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-jitsi-meet-on-debian-10/">install Jitsi Meet on Debian 10</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-jitsi-meet-on-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
