<?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>angeloma, Author at Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/author/angelomarquez/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 15 Oct 2021 13:38:32 +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 CakePHP on Debian 11</title>
		<link>https://www.osradar.com/install-cakephp-debian-11/</link>
					<comments>https://www.osradar.com/install-cakephp-debian-11/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 19 Oct 2021 01:37:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32658</guid>

					<description><![CDATA[<p>Hello, friends. Besides Laravel we have other very efficient PHP frameworks. So in this post, you will learn how to install CakePHP on Debian 11. This framework although a bit simpler than Laravel is also very powerful and with it, we can create great web applications. What is CakePHP? CakePHP is a web application development [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-cakephp-debian-11/">Install CakePHP 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>Hello, friends. Besides Laravel we have other very efficient PHP frameworks. So in this post, you will learn how to install CakePHP on Debian 11. This framework although a bit simpler than Laravel is also very powerful and with it, we can create great web applications.</p>



<h2 id="what-is-cakephp">What is CakePHP?</h2>



<p><a href="https://cakephp.org/" target="_blank" rel="noreferrer noopener">CakePHP </a>is a web application development framework written in PHP, built on the concepts of Ruby on Rails. <strong>As we know Ruby on Rails uses Ruby as a language but with development features that Cake wanted to implement in PHP</strong>. That is why we have a fast, agile, and above all efficient framework.</p>



<p>It is based on an MVC architecture. This guarantees that the logic of our solutions will be naturally separated from the data and presentation layers. This results in greater adaptability to changing customer needs. In addition, the framework has many conventions that make the workflow much lighter for the developer.</p>



<p>It can be said that CakePHP is a very pragmatic framework where conventions reign supreme over configurations. So, No complicated XML or YAML files. <strong>Just set up your database and you’re ready to work</strong></p>



<p>Moreover, CakePHP is licensed under the MIT license which makes it perfect for use in commercial applications.</p>



<p>So, let’s install it on Debian 11 so you can use it without problems.</p>



<h2 id="install-cakephp-on-debian-11">Install CakePHP on Debian 11</h2>



<p>CakePHP requires Composer to tackle its installation smoothly. So, install Composer with our post.</p>



<p>How to install Composer on Debian 11?</p>



<p>After this, we can install some extra PHP modules that are needed by CakePHP.</p>



<pre class="wp-block-preformatted">php-zip php-intl php-pdo php-intl php-xml php-zip php-mbstring php-zip php-mbstring</pre>



<p>You can install them all by running</p>



<pre class="wp-block-preformatted">sudo apt install php-zip php-intl php-pdo php-intl php-xml php-zip php-mbstring php-xml php-zip php-mbstring</pre>



<p>Now with the help of Composer, you can run the following command and install CakePHP.</p>



<pre class="wp-block-preformatted">composer create-project --prefer-dist cakephp/app [project_name]</pre>



<p>Remember that you have to specify the name of the project. In this case, I will create one called <code>example</code>.</p>



<pre class="wp-block-preformatted">composer create-project --prefer-dist cakephp/app example</pre>



<p>By executing the above command, Composer will start downloading all the CakePHP structure and dependencies.</p>



<p>This will also create a folder called <code>example</code> where all the project structure will be.</p>



<p>Access it and make executable the <code>bin/cake</code> file that will help us to run the project in developer mode.</p>



<p>To do this you have to run</p>



<pre class="wp-block-preformatted">bin/cake server</pre>



<p>Also, you can specify a host and a port to listen on</p>



<pre class="wp-block-preformatted">bin/cake server -H [host] -p [port]</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="1013" height="557" src="https://www.osradar.com/wp-content/uploads/2021/10/1-6.png" alt="1.- Serve the CakePHP project" class="wp-image-32672" srcset="https://www.osradar.com/wp-content/uploads/2021/10/1-6.png 1013w, https://www.osradar.com/wp-content/uploads/2021/10/1-6-300x165.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/1-6-768x422.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/1-6-696x383.png 696w" sizes="(max-width: 1013px) 100vw, 1013px" /><figcaption>1.- Serve the CakePHP project</figcaption></figure>



<p>Then, open a web browser and go to the selected host and port and you will see the following screen</p>



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



<p>So, CakePHP is ready for battle.</p>



<p>Enjoy it.</p>



<h2 id="conclusion">Conclusion</h2>



<p>Many developers consider CakePHP the best entry-level framework because of its ease of use and the speed at which we can see results. So CakePHP is not only this but a powerful framework capable of answering many needs.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-cakephp-debian-11/">Install CakePHP 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-cakephp-debian-11/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Upgrade from Debian 11 to Debian 11.1</title>
		<link>https://www.osradar.com/upgrade-from-debian-11-to-debian-11-1/</link>
					<comments>https://www.osradar.com/upgrade-from-debian-11-to-debian-11-1/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 18 Oct 2021 00:57:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bullseye]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[terminal]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32636</guid>

					<description><![CDATA[<p>Hello, dear friends. Many users who are not used to the Linux upgrade system, may be confused about the way it is done. Recently, Debian 11.1 has been released as one of the first maintenance releases of this great version. In this tutorial, you will learn how to upgrade from Debian 11 to Debian 11.1. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/upgrade-from-debian-11-to-debian-11-1/">Upgrade from Debian 11 to Debian 11.1</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, dear friends. Many users who are not used to the Linux upgrade system, may be confused about the way it is done. Recently, <a href="https://www.debian.org/News/2021/20211009" target="_blank" rel="noreferrer noopener">Debian 11.1 has been released</a> as one of the first maintenance releases of this great version. In this tutorial, you will learn how to upgrade from Debian 11 to Debian 11.1.</p>



<h2>Debian 11.1 is available</h2>



<p>This point release mainly adds corrections for security issues, along with a few adjustments for serious problems. Security advisories have already been published separately and are referenced where available.</p>



<p>One of the things the development team emphasizes is that this is not a <a href="https://www.osradar.com/tag/bullseye" target="_blank" rel="noreferrer noopener">new major release of Debian</a>, but a bug-fix release.</p>



<p>Another thing to note is that those who frequently install updates from security.debian.org won&#8217;t have to update many packages, and most such updates are included in the point release. So the importance of always updating the system and doing so frequently is emphasized.</p>



<p>So this is a maintenance release but we still need to get it on the system to avoid security problems.</p>



<p>In this post, we will show you how to do it using the terminal without any problems.</p>



<h2>Upgrade from Debian 11 to Debian 11.1</h2>



<p>The upgrade process is very easy and should not give us any problems. However, it&#8217;s also not a bad idea to back up the most sensitive data on your disk to an external device.</p>



<p>Also, it is a good idea to have as few external repositories on your system as possible.</p>



<p>So, check the current version of Debian.</p>



<pre class="wp-block-preformatted">lsb_release -a<br>No LSB modules are available.<br>Distributor ID: Debian<br>Description: Debian GNU/Linux 11 (bullseye)<br>Release: 11<br>Codename: bullseye</pre>



<p>After that, open a terminal and update the current package.</p>



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



<p>Now perform the system upgrade</p>



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



<p>After this, the process will be finished and you will have Debian 11.1 up and running.</p>



<p>This way the upgrade has been successful and we can continue our work.</p>



<h2>Conclusion</h2>



<p>In this post, you learned how to upgrade Debian 11 to Debian 11.1 to get the latest Debian security features. I hope you found this post useful, although simple, it can be of help to many newbies to the system.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/upgrade-from-debian-11-to-debian-11-1/">Upgrade from Debian 11 to Debian 11.1</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/upgrade-from-debian-11-to-debian-11-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install and use nmap on Linux</title>
		<link>https://www.osradar.com/install-use-nmap-linux/</link>
					<comments>https://www.osradar.com/install-use-nmap-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 15 Oct 2021 23:04:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[nmap]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[Security]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32586</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install and use Nmap on Linux. This tool allows you to scan the ports of one or several hosts and can be useful in auditing tools. Nmap is an open-source, cross-platform tool used to scan networks and obtain information about services, operating systems, and vulnerabilities [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-use-nmap-linux/">How to install and use nmap on Linux</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 Nmap on Linux. This tool allows you to scan the ports of one or several hosts and can be useful in auditing tools.</p>



<p>Nmap is an open-source, cross-platform tool used to scan networks and obtain information about services, operating systems, and vulnerabilities derived from the conjunction of these. In general, Nmap is used to scan the ports of one or more hosts.</p>



<p>A more exact definition is provided by the <a href="https://nmap.org/" target="_blank" rel="noreferrer noopener">project’s website</a></p>



<blockquote class="wp-block-quote"><p>Nmap (“Network Mapper”) is a free and open-source (license) utility for network discovery and security auditing. Many systems and network administrators also find it useful for tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime.</p></blockquote>



<p>More about Nmap:</p>



<blockquote class="wp-block-quote"><p>Nmap uses raw IP packets in novel ways to determine what hosts are available on the network, what services (application name and version) those hosts are offering, what operating systems (and OS versions) they are running, what type of packet filters/firewalls are in use, and dozens of other characteristics.</p></blockquote>



<p>So if you are passionate about the world of computer security or auditing, then you need to learn how to use Nmap. Or at least get to know it.</p>



<h2 id="install-nmap-on-linux">Install Nmap on Linux</h2>



<p>Fortunately, Nmap is available in the official repositories of many Linux distributions. So installing it will not be a problem for us.</p>



<p>In the case of distributions from the <a href="https://www.osradar.com/tag/debian" target="_blank" rel="noreferrer noopener">Debian </a>family which includes <a href="https://www.osradar.com/tag/ubuntu" target="_blank" rel="noreferrer noopener">Ubuntu </a>and its derivatives such as Linux Mint in a terminal you have to execute</p>



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



<p>On the other hand, in the case of the RHEL family including CentOS, Fedora, or <a href="https://www.osradar.com/migrate-from-centos-to-rocky-linux/" target="_blank" rel="noreferrer noopener">Rocky Linux</a>, you just need to run</p>



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



<p>But you can also install it on OpenSUSE</p>



<pre class="wp-block-preformatted">sudo zypper in nmap</pre>



<p>Then, to check that the installation has been successful, you can run</p>



<pre class="wp-block-preformatted">nmap --version
Nmap version 7.80 ( https://nmap.org )
Platform: x86_64-pc-linux-gnu
Compiled with: liblua-5.3.3 openssl-1.1.1j libssh2-1.9.0 libz-1.2.11 libpcre-8.39 libpcap-1.10.0 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: epoll poll select</pre>



<p>Now we can use it.</p>



<h2 id="using-nmap-on-linux">Using Nmap on Linux</h2>



<p>With Nmap installed correctly, you should be able to use it on your computer without any problems. We’ll go through several examples on how to use this tool.</p>



<p>To scan a host, you can run</p>



<pre class="wp-block-preformatted">sudo nmap [host]</pre>



<p>For example</p>



<pre class="wp-block-preformatted">sudo nmap localhost</pre>



<p>sample output:</p>



<pre class="wp-block-preformatted">Starting Nmap 7.80 ( https://nmap.org ) at 2021-10-12 10:50 EDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000040s latency).
Other addresses for localhost (not scanned): ::1
All 1000 scanned ports on localhost (127.0.0.1) are closed</pre>



<p>As you can see some interesting information is displayed on the output screen which is useful for detecting problems.</p>



<p>To do a quick scan then you can use the <code>-F</code> option</p>



<pre class="wp-block-preformatted">sudo nmap -F [host]</pre>



<p>You can replace <code>[host]</code> with the IP address of the computer you want to scan.</p>



<pre class="wp-block-preformatted">sudo nmap 192.168.2.3</pre>



<p>Also, you can specify multiple hosts or IP addresses.</p>



<pre class="wp-block-preformatted">sudo nmap 192.168.2.3, 192.168.2.6, 192.168.1.1</pre>



<p>Or a range</p>



<pre class="wp-block-preformatted">sudo nmap 192.168.2.3-20</pre>



<p>In this case, it will scan IP addresses ranging from <code>192.168.2.3</code> to <code>192.168.2.20</code>.</p>



<p>Another option is to scan the entire subnet</p>



<pre class="wp-block-preformatted">sudo nmap 192.168.1.1/24</pre>



<p>You can change the frequency and timing of the network scans with the <code>-T</code> option and by specifying a number between <code>0-5</code>, the higher the number the faster the scan.</p>



<p>For example</p>



<pre class="wp-block-preformatted">sudo nmap -T4 localhost</pre>



<p>In this case response times will be lower and can be useful on slow or busy networks.</p>



<p>If you want to have information about the ports, you have to add the <code>-p</code> option and specify some or a range of ports</p>



<pre class="wp-block-preformatted">sudo nmap -p 25,80 192.168.2.1</pre>



<p>In this case, the TCP port <code>25</code> and <code>80</code> of the host will be scanned.</p>



<p>If you want to scan UDP ports</p>



<pre class="wp-block-preformatted">sudo nmap -sU -p 25,80 192.168.2.1</pre>



<h2 id="conclusion">Conclusion</h2>



<p>Nmap is a vital tool for many sysadmin who need to find out some weaknesses.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-use-nmap-linux/">How to install and use nmap on Linux</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-use-nmap-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install MongoDB on Debian 11</title>
		<link>https://www.osradar.com/how-to-install-mongodb-on-debian-11/</link>
					<comments>https://www.osradar.com/how-to-install-mongodb-on-debian-11/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 13 Oct 2021 23:31:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bullseye]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[mongodb]]></category>
		<category><![CDATA[NoSQL]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32619</guid>

					<description><![CDATA[<p>Hello, friends. Throughout this post, we will take you to learn how to install MongoDB on Debian 11. MongoDB is the most representative of the databases known as NoSQL, an acronym for Not only SQL. It is document-oriented and multi-platform, which means that we can use it on many different systems. In Mongo DB there [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-mongodb-on-debian-11/">How to install MongoDB 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>Hello, friends. Throughout this post, we will take you to learn how to install MongoDB on Debian 11.</p>



<p><strong>MongoDB is the most representative of the databases known as NoSQL</strong>, an acronym for Not only SQL. It is document-oriented and multi-platform, which means that we can use it on many different systems.</p>



<p>In Mongo DB there are no predefined schemas, the keys and values of a document are of fixed types or sizes, in a document with a fixed schema the tasks to add or delete fields become easier and with great performance.</p>



<p>Data in Mongo DB is stored using BSON format structures, which is a specification similar to JSON so any modern text editor can edit it without any problems.</p>



<p>So MongoDB has positioned itself as one of the most solid alternatives to database managers like <a href="https://www.osradar.com/install-sqlite-database-debian/" target="_blank" rel="noreferrer noopener">SQLite </a>or <a href="https://www.osradar.com/install-mariadb-database-debian/" target="_blank" rel="noreferrer noopener">MariaDB</a>. So, let’s go for it.</p>



<h2 id="install-mongodb-on-debian-11">Install MongoDB on Debian 11</h2>



<p>For this post, we will use the MongoDB repository for Debian 10 which also works for this new Debian version. However, we are still waiting for the MongoDB developers to include Debian 11 in their repositories.</p>



<p>So, open a terminal and update the operating system completely.</p>



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



<p>Before adding the MongoDB repository to the system, it is necessary to install a package called <code>gnupg2</code>.</p>



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



<p>After that, add the GPG key of the repository as follows</p>



<pre class="wp-block-preformatted">wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -</pre>



<p>Now add the MongoDB repository to your system by running</p>



<pre class="wp-block-preformatted">echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list</pre>



<p>Refresh APT to accept the new changes</p>



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



<p>Next, install MongoDB on Debian 11 by running</p>



<pre class="wp-block-preformatted">sudo apt install mongodb-org
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  mongodb-database-tools mongodb-mongosh mongodb-org-database mongodb-org-database-tools-extra mongodb-org-mongos mongodb-org-server mongodb-org-shell
  mongodb-org-tools
The following NEW packages will be installed:
  mongodb-database-tools mongodb-mongosh mongodb-org mongodb-org-database mongodb-org-database-tools-extra mongodb-org-mongos mongodb-org-server mongodb-org-shell
  mongodb-org-tools
0 upgraded, 9 newly installed, 0 to remove and 25 not upgraded.
Need to get 147 MB of archives.
After this operation, 464 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<p>After that, you can check the installed version using this command</p>



<pre class="wp-block-preformatted">mongod --version</pre>



<p>Output:</p>



<pre class="wp-block-preformatted">db version v5.0.3
Build Info: {
    "version": "5.0.3",
    "gitVersion": "657fea5a61a74d7a79df7aff8e4bcf0bc742b748",
    "openSSLVersion": "OpenSSL 1.1.1k  25 Mar 2021",
    "modules": [],
    "allocator": "tcmalloc",
    "environment": {
        "distmod": "debian10",
        "distarch": "x86_64",
        "target_arch": "x86_64"
    }
}</pre>



<h3 id="managing-the-mongodb-service">Managing the MongoDB service</h3>



<p>Once it is installed, you can manage its service just like any other service on the system.</p>



<p>To start MongoDB you have to run</p>



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



<p>It is usually a good idea to make it start with the system so that it is immediately available.</p>



<pre class="wp-block-preformatted">sudo systemctl enable --now mongod
Created symlink /etc/systemd/system/multi-user.target.wants/mongod.service → /lib/systemd/system/mongod.service.</pre>



<p>If you make changes to the MongoDB configuration then you will have to restart it to apply the changes.</p>



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



<p>Finally, it is advisable to check the status of the service to see if everything is OK.</p>



<pre class="wp-block-preformatted">sudo systemctl status mongod
● mongod.service - MongoDB Database Server
     Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-10-09 18:51:39 CEST; 25s ago
       Docs: https://docs.mongodb.org/manual
   Main PID: 13759 (mongod)
     Memory: 67.3M
        CPU: 1.561s
     CGroup: /system.slice/mongod.service
             └─13759 /usr/bin/mongod --config /etc/mongod.conf

Oct 09 18:51:39 osradar systemd[1]: Started MongoDB Database Server.</pre>



<h3 id="creating-a-new-user-for-mongodb">Creating a new user for MongoDB</h3>



<p>To access the MongoDB shell just run the command command</p>



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



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="466" src="https://www.osradar.com/wp-content/uploads/2021/10/1-4-1024x466.png" alt="1.- MongoDB on Debian 11" class="wp-image-32632" srcset="https://www.osradar.com/wp-content/uploads/2021/10/1-4-1024x466.png 1024w, https://www.osradar.com/wp-content/uploads/2021/10/1-4-300x136.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/1-4-768x349.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/1-4-696x316.png 696w, https://www.osradar.com/wp-content/uploads/2021/10/1-4-1068x486.png 1068w, https://www.osradar.com/wp-content/uploads/2021/10/1-4.png 1357w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- MongoDB on Debian 11</figcaption></figure>



<p>And once inside, it is recommended to create a new user different from the root.</p>



<pre class="wp-block-preformatted">use admin
db.createUser(
{
user: "osradar",
pwd: passwordPrompt(),
roles: [ { role: "userAdminAnyDatabase", db: "admin" }, "readWriteAnyDatabase" ]
}
)</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="741" height="360" src="https://www.osradar.com/wp-content/uploads/2021/10/2-4.png" alt="2.- Creating a new user for MongoDB" class="wp-image-32633" srcset="https://www.osradar.com/wp-content/uploads/2021/10/2-4.png 741w, https://www.osradar.com/wp-content/uploads/2021/10/2-4-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/2-4-696x338.png 696w" sizes="(max-width: 741px) 100vw, 741px" /><figcaption>2.- Creating a new user for MongoDB</figcaption></figure>



<p>Copy and paste the following but change <code>osradar</code> to the name of the user you want.</p>



<p>Then you will have to define a password that has to be secure.</p>



<h2 id="conclusion">Conclusion</h2>



<p>MongoDB is a tool to take into account if we want to develop applications that do not require a SQL database handler. Being open-source we can use it in many different situations with guaranteed performance and efficiency.</p>



<p><a href="https://www.mongodb.com/" target="_blank" rel="noreferrer noopener">MongoDB website</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-mongodb-on-debian-11/">How to install MongoDB 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/how-to-install-mongodb-on-debian-11/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Tor Browser on Debian 11</title>
		<link>https://www.osradar.com/install-tor-browser-debian-11/</link>
					<comments>https://www.osradar.com/install-tor-browser-debian-11/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 13 Oct 2021 00:20:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32621</guid>

					<description><![CDATA[<p>Hello, friends. If you are one of those users who care a lot about privacy, then you have to read this post because thanks to it you will be able to install Tor Browser on Debian 11. Tor Browser is a free open-source browser configured to work on the Tor network. One of the features [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-tor-browser-debian-11/">How to install Tor Browser 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>Hello, friends. If you are one of those users who care a lot about privacy, then you have to read this post because thanks to it you will be able to install Tor Browser on Debian 11.</p>



<p><strong>Tor Browser is a free open-source browser configured to work on the Tor network</strong>. One of the features of the TOR network is that your browsing is encrypted through several servers before going online, obfuscating its origin to improve your privacy and to evade internet blocking.</p>



<p>Therefore, for many users who live in countries where governments exercise strong censorship, this tool is vital to their daily lives. <strong>However, it also helps all users concerned about their anonymity on the internet</strong>.</p>



<p>On a slightly more technical level, <a href="https://www.osradar.com/how-to-install-extensions-in-firefox-for-android/" target="_blank" rel="noreferrer noopener">we are talking about a Firefox derivative</a>, so compatibility with Debian 11 is guaranteed. On the other hand, it is open source and can be used on many different operating systems.</p>



<p>So, let’s go for it.</p>



<h2 id="installing-tor-browser-on-debian-11">Installing Tor Browser on Debian 11</h2>



<p>We can install Tor Browser using the official package provided by the project’s website.</p>



<p>So, go to the <a href="https://www.torproject.org/download/" target="_blank" rel="noreferrer noopener">download section</a> and choose the Linux version.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="504" src="https://www.osradar.com/wp-content/uploads/2021/10/1-5-1024x504.png" alt="1.- Download Tor Browser on Debian 11" class="wp-image-32637" srcset="https://www.osradar.com/wp-content/uploads/2021/10/1-5-1024x504.png 1024w, https://www.osradar.com/wp-content/uploads/2021/10/1-5-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/1-5-768x378.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/1-5-696x343.png 696w, https://www.osradar.com/wp-content/uploads/2021/10/1-5-1068x526.png 1068w, https://www.osradar.com/wp-content/uploads/2021/10/1-5.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Download Tor Browser on Debian 11</figcaption></figure>



<p>Then, open the folder where you downloaded them using your file browser. Decompress it and start browsing the generated folders.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="576" src="https://www.osradar.com/wp-content/uploads/2021/10/2-5-1024x576.png" alt="2.- Tor Browser files" class="wp-image-32638" srcset="https://www.osradar.com/wp-content/uploads/2021/10/2-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2021/10/2-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/2-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/2-5-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2021/10/2-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2021/10/2-5.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Tor Browser files</figcaption></figure>



<p>When you are at the top level of the directory structure, you will then see the launcher called <code>start-tor-browser</code> which you will have to double click to run. If it does not run, first assign it to run permissions by right-clicking and selecting <em>Properties</em> and check the permissions box.</p>



<p>So, you will see this screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="576" src="https://www.osradar.com/wp-content/uploads/2021/10/3-3-1024x576.png" alt="3.- Tor Browser" class="wp-image-32639" srcset="https://www.osradar.com/wp-content/uploads/2021/10/3-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2021/10/3-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/3-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/3-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2021/10/3-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2021/10/3-3.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Tor Browser</figcaption></figure>



<p>For many users, clicking on the <em>Connect</em> button is enough, but you can always customize the settings by clicking on <em>Tor Network Settings</em> which is a useful option for those living in countries with strong government censorship.</p>



<p>After that, Tor Browser will be ready for you to use.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="576" src="https://www.osradar.com/wp-content/uploads/2021/10/4-1024x576.png" alt="4.- Running Tor Browser on Debian 11" class="wp-image-32640" srcset="https://www.osradar.com/wp-content/uploads/2021/10/4-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2021/10/4-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/4-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/4-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2021/10/4-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2021/10/4.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>4.- Running Tor Browser on Debian 11</figcaption></figure>



<h2 id="install-tor-browser-using-the-terminal">Install Tor Browser using the terminal</h2>



<p>You can do this whole process via the terminal if you find it faster.</p>



<p>So, open a terminal and download Tor with the help of the <code>wget</code> command.</p>



<pre class="wp-block-preformatted">wget https://www.torproject.org/dist/torbrowser/10.5.8/tor-browser-linux64-10.5.8_en-US.tar.xz</pre>



<p>Remember that this command may change if the version of Tor changes.</p>



<p>Then decompress it</p>



<pre class="wp-block-preformatted">tar -xvJf tor-browser-linux64-10.5.8_en-US.tar.xz</pre>



<p>browse the generated folder</p>



<pre class="wp-block-preformatted">cd tor-browser*</pre>



<p>And assign run permissions to the boot script.</p>



<pre class="wp-block-preformatted">chmod +x start-tor-browser</pre>



<p>And run it</p>



<pre class="wp-block-preformatted">./start-tor-browser.desktop --register-app</pre>



<p>Doing this will not only start Tor but will add an entry to the menu so that next time you can run it from the main menu and not from the file.</p>



<h3 id="install-tor-browser-using-flatpak">Install Tor Browser using Flatpak</h3>



<p>There is another method to install Tor which is using Flatpak. This method is also quite secure and if you already have it installed then you may want to use it.</p>



<p>In case you want to use it, first install Flatpak.</p>



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



<p>Then add the Flathub repository where it is hosted.</p>



<pre class="wp-block-preformatted">sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo</pre>



<p>And finally, install it</p>



<pre class="wp-block-preformatted">sudo flatpak install flathub com.github.micahflee.torbrowser-launcher</pre>



<p>To run the launcher</p>



<pre class="wp-block-preformatted">flatpak run com.github.micahflee.torbrowser-launcher</pre>



<p>With this tool, you can safely download Tor and then run it as in previous steps.</p>



<h2 id="conclusion">Conclusion</h2>



<p>Tor is a peculiar browser, but it has become important for maintaining the privacy and above all the security of our data. So knowing how to install it can be useful in many cases.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-tor-browser-debian-11/">How to install Tor Browser 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-tor-browser-debian-11/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Google Cloud SDK on Ubuntu 20.04?</title>
		<link>https://www.osradar.com/install-google-cloud-sdk-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/install-google-cloud-sdk-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 11 Oct 2021 23:13:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[Google Cloud SDK]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32568</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install the Google Cloud SDK on Ubuntu 20.04 following this guide you can achieve the goal quickly and easily. The Google Cloud Platform provides services for building IT infrastructure entirely in the cloud as well as for development, artificial intelligence, analytics, storage, databases, and security. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-google-cloud-sdk-ubuntu-20-04/">How to install Google Cloud SDK on Ubuntu 20.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. In this post, you will learn how to install the Google Cloud SDK on Ubuntu 20.04 following this guide you can achieve the goal quickly and easily.</p>



<p>The <a href="https://cloud.google.com/" target="_blank" rel="noreferrer noopener">Google Cloud Platform</a> provides services for building IT infrastructure entirely in the cloud as well as for development, artificial intelligence, analytics, storage, databases, and security. It can therefore be useful to deploy one in your network or learn how to work with it.</p>



<p>So, it is necessary to install the SDK so that we can learn how to work with this tool.</p>



<p>So, let’s go for it.</p>



<h2 id="install-google-cloud-sdk-on-ubuntu-20.04">Install Google Cloud SDK on Ubuntu 20.04</h2>



<p>The installation will be done using the terminal so it is recommended that you know how to work with it. So, open one and update the operating system.</p>



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



<p>Then download the SDK for Linux using the <a href="https://www.osradar.com/the-wget-command/" target="_blank" rel="noreferrer noopener"><code>wget</code> </a>command.</p>



<pre class="wp-block-preformatted">wget https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-307.0.0-linux-x86_64.tar.gz</pre>



<p>After that, you have to unzip the archive using the <code>tar</code> command.</p>



<pre class="wp-block-preformatted">tar -xvzf google-cloud-sdk-307.0.0-linux-x86_64.tar.gz</pre>



<p>This command will generate a folder called <code>google-cloud-sdk</code> that you will need to access</p>



<pre class="wp-block-preformatted">cd google-cloud-sdk</pre>



<p>In it, you will find the installer file that you will have to run.</p>



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



<p>During the execution of the script, you will see some messages. The first one asks you if you want to help Google Cloud development by sending statistics anonymously.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="851" height="288" src="https://www.osradar.com/wp-content/uploads/2021/10/1-3.png" alt="1.- Installing the Google Cloud SDK on Ubuntu 20.04" class="wp-image-32612" srcset="https://www.osradar.com/wp-content/uploads/2021/10/1-3.png 851w, https://www.osradar.com/wp-content/uploads/2021/10/1-3-300x102.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/1-3-768x260.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/1-3-696x236.png 696w" sizes="(max-width: 851px) 100vw, 851px" /><figcaption>1.- Installing the Google Cloud SDK on Ubuntu 20.04</figcaption></figure>



<p>Then, you will see an on-screen output indicating that the components have not been installed and you will be informed how to install them. You will also be asked to confirm the installation.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="600" src="https://www.osradar.com/wp-content/uploads/2021/10/2-3-1024x600.png" alt="2.- Confirm the installation" class="wp-image-32613" srcset="https://www.osradar.com/wp-content/uploads/2021/10/2-3-1024x600.png 1024w, https://www.osradar.com/wp-content/uploads/2021/10/2-3-300x176.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/2-3-768x450.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/2-3-696x408.png 696w, https://www.osradar.com/wp-content/uploads/2021/10/2-3-1068x626.png 1068w, https://www.osradar.com/wp-content/uploads/2021/10/2-3.png 1202w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Confirm the installation</figcaption></figure>



<p>If all has gone well, then you will see the following screen.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="777" height="265" src="https://www.osradar.com/wp-content/uploads/2021/10/3-2.png" alt="3.- Google Cloud SDK installed" class="wp-image-32614" srcset="https://www.osradar.com/wp-content/uploads/2021/10/3-2.png 777w, https://www.osradar.com/wp-content/uploads/2021/10/3-2-300x102.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/3-2-768x262.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/3-2-696x237.png 696w" sizes="(max-width: 777px) 100vw, 777px" /><figcaption>3.- Google Cloud SDK installed</figcaption></figure>



<p>This indicates that the process was OK.</p>



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



<h2 id="conclusion">Conclusion</h2>



<p>In this post, you have learned how to install Google Cloud SDK on a system like Ubuntu 20.04. This will open the door to using the Google Cloud Platform that you can deploy for your business.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-google-cloud-sdk-ubuntu-20-04/">How to install Google Cloud SDK on Ubuntu 20.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-google-cloud-sdk-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install Jitsi Meet desktop on Debian 11</title>
		<link>https://www.osradar.com/install-jitsi-meet-desktop-client/</link>
					<comments>https://www.osradar.com/install-jitsi-meet-desktop-client/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 10 Oct 2021 23:20:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bullseye]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dekstop]]></category>
		<category><![CDATA[jitsi]]></category>
		<category><![CDATA[video]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32584</guid>

					<description><![CDATA[<p>Hello, friends. We’ve talked a lot about Jitsi Meet and how great it is. But we’ve yet to talk about a desktop client for it. So, in this post, you’ll learn how to install Jitsi Meet Desktop on Debian 11 and we’ll describe some ways to do it. What is Jitsi Meet Jitsi Meet is [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-jitsi-meet-desktop-client/">Install Jitsi Meet desktop 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>Hello, friends. <a href="https://www.osradar.com/video-conference-linux-jitsi-meet/" target="_blank" rel="noreferrer noopener">We’ve talked a lot about Jitsi Mee</a>t and how great it is. But we’ve yet to talk about a desktop client for it. So, in this post, you’ll learn how to install Jitsi Meet Desktop on Debian 11 and we’ll describe some ways to do it.</p>



<h2 id="what-is-jitsi-meet">What is Jitsi Meet</h2>



<p><a href="https://meet.jit.si/" target="_blank" rel="noreferrer noopener">Jitsi Meet</a> is a free tool for making group video calls with numerous participants and many options to perform. In Jitsi Meet there is no limit to the number of participants, although the server will set a limit.</p>



<p>One of the most important features of Jitsi Meet is that it is OpenSource so we can access the source code and we can implement it with <a href="https://www.osradar.com/deploy-jitsi-meet-server-with-docker/" target="_blank" rel="noreferrer noopener">tools such as Docker.</a></p>



<p>Now, the user community has created a Jitsi Meet Desktop client with which we can connect to an instance from the desktop.</p>



<h2 id="jisti-meet-desktop-client">Jisti Meet Desktop Client</h2>



<p>So we have a Desktop application for Jitsi Meet built with Electron. Like the Jitsi Meet technology, it is open source and has the following features.</p>



<ul><li>Works with any Jitsi deployment.</li><li>Unlimited users: There are no artificial restrictions on the number of users or conference participants. Server power and bandwidth are the only limiting factors.</li><li>No account is needed.</li><li>Lock-protected rooms: Control the access to your conferences with a password.</li><li>Encrypted by default.</li></ul>



<p>This way, you can integrate Jitsi Meet into the desktop of your favorite distribution.</p>



<h2 id="install-jitsi-meet-desktop-client-on-debian-11">Install Jitsi Meet Desktop Client on Debian 11</h2>



<p>The support of this application for Linux is very good and especially for Debian 11. So we have several installation methods.</p>



<h3 id="jitsi-meet-desktop-client-using-the-deb-package">Jitsi Meet Desktop Client using the DEB package</h3>



<p>In the Github profile of the application, we can download a DEB package that will be useful for our system.</p>



<p>To download it and install it, you can open the terminal and run</p>



<pre class="wp-block-preformatted">wget https://github.com/jitsi/jitsi-meet-electron/releases/latest/download/jitsi-meet-amd64.deb
sudo apt install ./jitsi-meet-amd64.deb</pre>



<p>At the end of the process, you will be able to run it from the main menu of the distribution.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="556" src="https://www.osradar.com/wp-content/uploads/2021/10/1-2-1024x556.png" alt="1.- Jitsi Meet Desktop Client on Debian 11" class="wp-image-32590" srcset="https://www.osradar.com/wp-content/uploads/2021/10/1-2-1024x556.png 1024w, https://www.osradar.com/wp-content/uploads/2021/10/1-2-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/1-2-768x417.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/1-2-696x378.png 696w, https://www.osradar.com/wp-content/uploads/2021/10/1-2-1068x580.png 1068w, https://www.osradar.com/wp-content/uploads/2021/10/1-2.png 1368w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Jitsi Meet Desktop Client on Debian 11</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="556" src="https://www.osradar.com/wp-content/uploads/2021/10/2-2-1024x556.png" alt="2.- Using Jitsi Meet desktop client" class="wp-image-32591" srcset="https://www.osradar.com/wp-content/uploads/2021/10/2-2-1024x556.png 1024w, https://www.osradar.com/wp-content/uploads/2021/10/2-2-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/2-2-768x417.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/2-2-696x378.png 696w, https://www.osradar.com/wp-content/uploads/2021/10/2-2-1068x580.png 1068w, https://www.osradar.com/wp-content/uploads/2021/10/2-2.png 1368w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Using Jitsi Meet desktop client</figcaption></figure>



<h3 id="getting-jitsi-meet-desktop-client-with-flatpak">Getting Jitsi Meet desktop client with Flatpak</h3>



<p>This method is a bit more cumbersome, but it guarantees integration with the system, and will not fail due to any dependencies. In short, we can install the application using Flatpak technology.</p>



<p>So, if you don’t have Flatpak you can install it by running</p>



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



<p>After that, you need to add the Flathub repository where the application is hosted.</p>



<pre class="wp-block-preformatted">sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo</pre>



<p>Then, you can install it as follows</p>



<pre class="wp-block-preformatted">sudo flatpak install flathub org.jitsi.jitsi-meet</pre>



<p>When the installation is finished you can run it from the main menu or by executing this command</p>



<pre class="wp-block-preformatted">flatpak run org.jitsi.jitsi-meet</pre>



<p>Then, you will see the main screen.</p>



<h2 id="conclusion">Conclusion</h2>



<p>A desktop client is always good news to speed up the work from an operating system. That’s why we have to thank the work of community in creating these applications and making them work on almost all Linux operating systems.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-jitsi-meet-desktop-client/">Install Jitsi Meet desktop 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-jitsi-meet-desktop-client/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Laravel on Debian 11?</title>
		<link>https://www.osradar.com/how-to-install-laravel-debian-11/</link>
					<comments>https://www.osradar.com/how-to-install-laravel-debian-11/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 08 Oct 2021 23:51:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bullseye]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Laravel]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32502</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install Laravel on Debian 11. This powerful PHP framework is one of the most popular and innovative ones out there, that’s why you should know how to install it and get it ready for the start of your project. What is Laravel? Laravel is one [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-laravel-debian-11/">How to install Laravel 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>Hello, friends. In this post, you will learn how to install Laravel on Debian 11. This powerful PHP framework is one of the most popular and innovative ones out there, that’s why you should know how to install it and get it ready for the start of your project.</p>



<h2 id="what-is-laravel">What is Laravel?</h2>



<p><a href="https://laravel.com/" target="_blank" rel="noreferrer noopener">Laravel </a>is one of the easiest open-source frameworks for PHP to assimilate. One of its advantages is that it has a much easier learning curve than other web and application development tools. It was created in 2011 and is heavily influenced by frameworks such as Ruby on Rails, Sinatra, and ASP.NET MVC.</p>



<p>With Laravel, we will have available other tools that together make up the power of Laravel.</p>



<ul><li>Blade: A powerful template manager where we can manage PHP variables directly in the view.</li><li>Eloquent: Laravel’s database system, for writing and retrieving data. So we don’t have to work directly with SQL code.</li><li>Routing: LAravel has its own routing system that helps us to set up the routing of our pages with GET or POST methods.</li></ul>



<p>Besides this, Laravel is one of the best-documented frameworks that exist and with an active community willing to give support to the newbie.</p>



<p>So, let’s get started.</p>



<h2 id="install-laravel-on-debian-11">Install Laravel on Debian 11</h2>



<h3 id="installing-the-laravel-requisites">Installing the Laravel requisites</h3>



<p>First, you need to install PHP and some of its modules and the <code>unzip</code> package.</p>



<pre class="wp-block-code"><code>sudo apt install php php-bcmath php-json php-mbstring php-pdo php-tokenizer php-xml php-pear php-zip php-zip unzip
</code></pre>



<h3 id="install-php-composer-on-debian-11">Install PHP Composer on Debian 11</h3>



<p>The installation of laravel can be done without problems using PHP Composer. So we have to install it and keep it up to date.</p>



<p>For that, we invite you to read our post about it:</p>



<p><a href="https://www.osradar.com/install-php-composer-debian/" target="_blank" rel="noreferrer noopener">How to install PHP Composer on Debian 11?</a></p>



<p>Once it is installed and updated, we can follow the procedures.</p>



<h3 id="install-laravel-on-debian-11-1">Install Laravel on Debian 11</h3>



<p>Now with the help of Composer, we have to install Laravel. To do this, run the following command</p>



<pre class="wp-block-preformatted">composer create-project --prefer-dist laravel/laravel [project_name]</pre>



<p>Where the last value is where you have to specify the name of your project.</p>



<p>So, Composer will start with downloading and installing all Laravel dependencies. When finished, you will see an output screen like this</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="610" height="160" src="https://www.osradar.com/wp-content/uploads/2021/10/1-1.png" alt="1.- Installing Laravel on Debian 11" class="wp-image-32571" srcset="https://www.osradar.com/wp-content/uploads/2021/10/1-1.png 610w, https://www.osradar.com/wp-content/uploads/2021/10/1-1-300x79.png 300w" sizes="(max-width: 610px) 100vw, 610px" /><figcaption>1.- Installing Laravel on Debian 11</figcaption></figure>



<p>This will create a folder with the name of your project that we need to access.</p>



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



<p>And there will be all our Laravel working and ready for us to start creating code.</p>



<p>If you want to check how the project is running and also if you want to verify the installation, you can run</p>



<pre class="wp-block-preformatted">php artisan serve</pre>



<p>Then open a web browser and go to <code>http://localhost:8000</code> and you’ll see an image like this</p>



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



<p>In case Laravel has been installed on a server or another computer over the network, you can specify that it is accessible from another computer.</p>



<pre class="wp-block-preformatted">php artisan serve --host=0.0.0.0.0 --port=1234</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="808" height="156" src="https://www.osradar.com/wp-content/uploads/2021/10/2-1.png" alt="2.- Serve the Laravel project" class="wp-image-32570" srcset="https://www.osradar.com/wp-content/uploads/2021/10/2-1.png 808w, https://www.osradar.com/wp-content/uploads/2021/10/2-1-300x58.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/2-1-768x148.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/2-1-696x134.png 696w" sizes="(max-width: 808px) 100vw, 808px" /><figcaption>2.- Serve the Laravel project</figcaption></figure>



<p>This way you can access the computer and with the <code>1234</code> port you can change these values to your liking.</p>



<h2 id="conclusion">Conclusion</h2>



<p>During this post, you have learned how to install laravel on Debian 11 so you can start developing cool applications that you can take to production. So, this is a powerful framework that you need to take full advantage of.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-laravel-debian-11/">How to install Laravel 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/how-to-install-laravel-debian-11/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install KumbiaPHP on Debian 11 / Ubuntu 20.04?</title>
		<link>https://www.osradar.com/install-kumbiaphp-debian-ubuntu/</link>
					<comments>https://www.osradar.com/install-kumbiaphp-debian-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 08 Oct 2021 00:35:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[KumbiaPHP]]></category>
		<category><![CDATA[Programming]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=21589</guid>

					<description><![CDATA[<p>Hello, friends in this post, I’ll show you how to install KumbiaPHP on Debian 11 /Ubuntu 20.04. KumbiaPHP is a simple and light PHP framework under the BSD license, that is, we can use it for our personal projects. The framework is used by many Spanish speaking people because it’s a Latin product. It has [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-kumbiaphp-debian-ubuntu/">How to install KumbiaPHP on Debian 11 / Ubuntu 20.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p><strong>Hello, friends in this post, I’ll show you how to install KumbiaPHP on Debian 11 /Ubuntu 20.04.</strong></p>



<p><a href="https://www.kumbiaphp.com/blog/" target="_blank" rel="noreferrer noopener"><strong>KumbiaPHP</strong></a> is a simple and light PHP framework under <a href="https://en.wikipedia.org/wiki/BSD_licenses">the BSD license</a>, that is, we can use it for our personal projects. The framework is used by many Spanish speaking people because it’s a Latin product. It has a documentation in English, in addition to current communication channels such as mailing lists and IRC.</p>



<h2>Some advantages of installing and using KumbiaPHP</h2>



<p>Under the premise of shortening development times, KumbiaPHP is a framework with the characteristic of being “<strong>Zero Config”</strong>. In other words, after you unzip it, you can start working. It’s that simple.</p>



<p>Clearer, more natural codes with fewer errors thanks to Helpers and other patterns to <strong>reduce the use of other languages</strong>.</p>



<p>Another very favorable aspect is that the learning curve is very short.</p>



<p>The framework has as its main premises to be easy to learn, simple to use, open source and everything without sacrificing quality and robustness. Supports 4 database handlers such as <strong><a href="https://www.osradar.com/tag/mysql/" target="_blank" rel="noreferrer noopener">MySQL</a>, <a href="https://osradar.com/tag/postgresql/" target="_blank" rel="noreferrer noopener">PostgreSQL</a>, <a href="https://www.osradar.com/tag/sqlite/" target="_blank" rel="noreferrer noopener">SQLite</a>, </strong>and<strong> Oracle</strong>, which ensures that you can develop without worrying about the compatibility of your database.</p>



<p>So, let us do it.</p>



<h2>Install KumbiaPHP on Debian 11 / Ubuntu 20.04</h2>



<p>Before installing KumbiaPHP, you need to have PHP installed on your computer.</p>



<p>So, open a terminal and run the following:</p>



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



<p>Then, you should install a database manager such as <a aria-label="undefined (opens in a new tab)" href="https://www.osradar.com/tag/mysql" target="_blank" rel="noreferrer noopener">MySQL</a>, MariaDB or <a href="https://www.osradar.com/install-sqlite-ubuntu-20-04/">SQLite</a>. So you can start in shape with the development of an application. The choice is all yours.</p>



<p>The next step is to download KumbiaPHP from the project&#8217;s website. At the time of writing this post, the latest stable version is 1.1.3 so check first which one it is.</p>



<pre class="wp-block-preformatted">:~$ wget -c https://github.com/KumbiaPHP/KumbiaPHP/archive/v1.1.5.zip
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/KumbiaPHP/KumbiaPHP/zip/v1.1.5 [following]
--2021-10-03 23:59:02--  https://codeload.github.com/KumbiaPHP/KumbiaPHP/zip/v1.1.5
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: ‘v1.1.5.zip’

v1.1.5.zip                                    [ &lt;=>                                                                                  ] 327.23K  --.-KB/s    in 0.09s

2021-10-03 23:59:03 (3.38 MB/s) - ‘v1.1.5.zip’ saved [335081]</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="226" src="https://www.osradar.com/wp-content/uploads/2020/07/2-12-1024x226.png" alt="Download and install KumbiaPHP on Debian 11 / Ubuntu 20.04" class="wp-image-32562" srcset="https://www.osradar.com/wp-content/uploads/2020/07/2-12-1024x226.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/2-12-300x66.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/2-12-768x170.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/2-12-696x154.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/2-12-1068x236.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/2-12.png 1358w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download and install KumbiaPHP on Debian 11 / Ubuntu 20.04</figcaption></figure>



<p>Now, decompress it using the <code>unzip</code> command. If you have it, just install it:</p>



<pre class="wp-block-preformatted">:~$ sudo apt install unzip
:~$ unzip v1.1.5.zip</pre>



<p>Then, it is convenient to rename the generated folder to a name related to our project. Or simply the name of our project.</p>



<pre class="wp-block-preformatted">:~$ mv KumbiaPHP-1.1.5/ example</pre>



<p>Remember that you can replace example with the name of your project.</p>



<p>Now KumbiaPHP allows to serve the project in development mode without the need of having a web server installed. To do so, navigate to the project&#8217;s app folder.</p>



<pre class="wp-block-preformatted">:~$ cd ~/example/default/app</pre>



<p>And from there, it starts serving the project in development mode.</p>



<pre class="wp-block-preformatted">:~$ bin/phpserver</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="801" height="162" src="https://www.osradar.com/wp-content/uploads/2020/07/3-13.png" alt="Serve the project" class="wp-image-32563" srcset="https://www.osradar.com/wp-content/uploads/2020/07/3-13.png 801w, https://www.osradar.com/wp-content/uploads/2020/07/3-13-300x61.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/3-13-768x155.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/3-13-696x141.png 696w" sizes="(max-width: 801px) 100vw, 801px" /><figcaption>Serve the project</figcaption></figure>



<p>Now, our project is available from any computer. And all you have to do is open your favorite web browser and check it out.</p>



<p>So, go to <code>http://your-pc:8001</code> and you will see the following:</p>



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



<p>This indicates that KumbiaPHP is installed and ready to start development.</p>



<h2>Conclusion</h2>



<p>In conclusion we can say that web development tools are to reduce coding times. KumbiaPHP stands as a solid proposal for personal work and serious projects.</p>



<p>KumbiaPHP is quite easy to install and practically ready for work. While it is true that compared to other frameworks this has some shortcomings, the truth is that it also becomes very comfortable to work and maintain projects with it.</p>



<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener">our Telegram channel.</a></p>



<p>Some links to learn more about KumbiaPHP</p>



<p><a href="https://github.com/KumbiaPHP/Documentation/tree/master/en" target="_blank" rel="noreferrer noopener">English Documentation</a></p>



<p><a href="https://github.com/KumbiaPHP" target="_blank" rel="noreferrer noopener">GitHub Site</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-kumbiaphp-debian-ubuntu/">How to install KumbiaPHP on Debian 11 / Ubuntu 20.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-kumbiaphp-debian-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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>
	</channel>
</rss>
