<?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>Linux Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 01 Sep 2023 05:16:10 +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>Five key points to recover an old PC</title>
		<link>https://www.osradar.com/five-key-points-to-recover-an-old-pc/</link>
					<comments>https://www.osradar.com/five-key-points-to-recover-an-old-pc/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Mon, 04 Sep 2023 21:15:00 +0000</pubDate>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[old pc]]></category>
		<category><![CDATA[recover pc]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=39587</guid>

					<description><![CDATA[<p>The technology industry does not stop for anyone. In fact, it is advancing unstoppable and gradually rendering obsolete computer equipment of a certain age. The first response is usually to buy a new PC. However, it is also worth considering whether an old PC could be recovered, provided that the cost is reasonable. Time passes [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/five-key-points-to-recover-an-old-pc/">Five key points to recover an old PC</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 technology industry does not stop for anyone. In fact, it is advancing unstoppable and gradually rendering obsolete computer equipment of a certain age. The first response is usually to buy a new PC. However, it is also worth considering whether an old PC could be recovered, provided that the cost is reasonable. Time passes inexorably. Even for our personal computers. We run out of storage space or memory. It happens that the computer gets too hot or too noisy. It also happens that it takes forever to boot up or run software. Sometimes it disconnects from Wi-Fi, crashes or has random errors that you don&#8217;t know where they come from. In general, the user experience is quite negative. Or simply, even if it works fine, we can&#8217;t install the latest versions of operating systems. Nor can we run new applications or games. It&#8217;s time to look for solutions.</p>



<h2>How to recover an old PC</h2>



<p>Keep in mind that miracles are not possible. In fact, sometimes stretching the useful life of a computing device to the limit of what is reasonable is not going to generate any savings and a lot of headaches. In addition, there is a supply of solvent new entry-level equipment available at very low prices.</p>



<p>But depending on the equipment in question and after a proper assessment of the necessary budget, you can recover those computers that we have cornered. This is what we will see in this post, in which we address those major hardware upgrades. All with the intention of improving its performance and enable it to work again. Or simply, to be able to have it active more years of use either as primary or secondary use.</p>



<p>We will also discuss a software change that can make a difference. Remember that not all operating systems have the same requirements. Let&#8217;s get to it.</p>



<h2>Mount an SSD</h2>



<p>There are few hardware upgrades that will give you so much for so little and so directly. Hard disk drives have been a bottleneck for years for computer systems. In addition, any type of upgrade involves replacing them with an SSD. This will give you the advantages of solutions based on NAND flash memory. Especially in terms of performance. Also in terms of boot time of the operating system or applications. Even in terms of transferring files internally or to external drives.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="1024" src="https://www.osradar.com/wp-content/uploads/2023/08/ol-1024x1024.png" alt="" class="wp-image-39588" srcset="https://www.osradar.com/wp-content/uploads/2023/08/ol-1024x1024.png 1024w, https://www.osradar.com/wp-content/uploads/2023/08/ol-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2023/08/ol-150x150.png 150w, https://www.osradar.com/wp-content/uploads/2023/08/ol-768x768.png 768w, https://www.osradar.com/wp-content/uploads/2023/08/ol-1536x1536.png 1536w, https://www.osradar.com/wp-content/uploads/2023/08/ol-696x696.png 696w, https://www.osradar.com/wp-content/uploads/2023/08/ol-1068x1068.png 1068w, https://www.osradar.com/wp-content/uploads/2023/08/ol.png 1600w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Your old PC will probably not have the latest connectors for the M.2 PCIe. However, it will certainly have support for the SATA interface. This is more than enough because the data transfer performance will increase fourfold compared to a hard disk. The change is simple. As for the cost, a 250 or 500 Gigabytes SATA drive is cheap.</p>



<h2>Increases RAM memory</h2>



<p>Another of the most obvious upgrades to revive an old PC is to upgrade the RAM. This component has a direct impact on the user experience. Particularly on whether it is possible to perform certain tasks on a personal computer. Simply doubling the installed RAM from 4 to 8 Gigabytes is a radical improvement.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="1000" height="522" src="https://www.osradar.com/wp-content/uploads/2023/08/ol2.png" alt="" class="wp-image-39589" srcset="https://www.osradar.com/wp-content/uploads/2023/08/ol2.png 1000w, https://www.osradar.com/wp-content/uploads/2023/08/ol2-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2023/08/ol2-768x401.png 768w, https://www.osradar.com/wp-content/uploads/2023/08/ol2-696x363.png 696w" sizes="(max-width: 1000px) 100vw, 1000px" /></figure>



<p>RAM replacement is a relatively inexpensive upgrade that allows you to improve your equipment without having to change major components such as the motherboard. However, a little care should be taken when putting it into practice. For example, you must know the number of slots available for the modules. In addition to the maximum capacity supported, and the standard used (DDR5, DDR4, DDR3 and earlier…). Another element to know is the form factor. That is, if it is for desktops or laptops and the main specifications. As with SSDs, their price is dirt cheap.</p>



<h2>Upgrades the CPU and potentially the GPU</h2>



<p>Processor replacement is not as easy or as cost effective as SSD or RAM. However, you can value it as well. Both Intel and AMD market dozens of different models. Moreover, they usually keep the same platform for a few generations. This potentially allows you to upgrade the CPU without having to replace the entire motherboard.</p>



<p>The list of supported CPUs will vary by motherboard. Therefore, you should investigate whether the motherboard&#8217;s chipset and BIOS support it. Benchmark applications such as CPU-Z can help you get started.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="683" src="https://www.osradar.com/wp-content/uploads/2023/08/ol5-1024x683.jpeg" alt="" class="wp-image-39593" srcset="https://www.osradar.com/wp-content/uploads/2023/08/ol5-1024x683.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2023/08/ol5-300x200.jpeg 300w, https://www.osradar.com/wp-content/uploads/2023/08/ol5-768x512.jpeg 768w, https://www.osradar.com/wp-content/uploads/2023/08/ol5-1536x1024.jpeg 1536w, https://www.osradar.com/wp-content/uploads/2023/08/ol5-2048x1365.jpeg 2048w, https://www.osradar.com/wp-content/uploads/2023/08/ol5-696x464.jpeg 696w, https://www.osradar.com/wp-content/uploads/2023/08/ol5-1068x712.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2023/08/ol5-1920x1280.jpeg 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Changing the CPU will increase the performance of the PC in any type of task. Indeed, it will increase the number of processing cores and the working frequency. And another important point, it may include a higher level of integrated graphics than the one you had. In any case, if you see that it is worth it, in a desktop you could additionally mount a dedicated graphics.</p>



<p>It can not be the latest generation, for which you probably do not have enough power in the power supply. In that case, it would be more profitable to buy a new PC. However, you should know that there are older GPUs that can be perfectly suitable for this type of equipment.</p>



<h2>Improved cooling</h2>



<p>The CPU replacement will probably entail a new heatsink-fan. Although, you might want to check if the old one will still be able to do its job. Keeping the temperature of this component at bay is key. This can also be extended to the rest of the PC.</p>



<p>It must be said that the dirt or dust generated inside any computer equipment can decrease the performance of the equipment. Besides forcing the fans to be permanently connected. They can even shut down the equipment if the temperature rises above the safety limit. Finally, it can end up reducing the useful life of the components.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="682" src="https://www.osradar.com/wp-content/uploads/2023/08/ol3-1-1024x682.jpg" alt="" class="wp-image-39592" srcset="https://www.osradar.com/wp-content/uploads/2023/08/ol3-1-1024x682.jpg 1024w, https://www.osradar.com/wp-content/uploads/2023/08/ol3-1-300x200.jpg 300w, https://www.osradar.com/wp-content/uploads/2023/08/ol3-1-768x512.jpg 768w, https://www.osradar.com/wp-content/uploads/2023/08/ol3-1-696x464.jpg 696w, https://www.osradar.com/wp-content/uploads/2023/08/ol3-1-1068x712.jpg 1068w, https://www.osradar.com/wp-content/uploads/2023/08/ol3-1.jpg 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Cleaning is free. In addition, it is convenient to do it with certain assiduity and more if it is a laptop. We assure you that you will notice it. Some PC errors are caused by overheating, and cleaning will directly improve it.</p>



<h2>Change the operating system</h2>



<p>If you don&#8217;t have much budget for hardware. Even if with the recommended upgrades you haven&#8217;t noticed a level jump, it&#8217;s time to take another step. This one, like the cleaning, is totally free. Yes, you will probably be tempted to stick with Windows. However, if you want to use recent versions such as Windows 11, the system itself may be contributing to its slowness. Or it may simply not let you install it because of the TPM requirement.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="1024" height="1024" src="https://www.osradar.com/wp-content/uploads/2023/08/ol6.png" alt="" class="wp-image-39594" srcset="https://www.osradar.com/wp-content/uploads/2023/08/ol6.png 1024w, https://www.osradar.com/wp-content/uploads/2023/08/ol6-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2023/08/ol6-150x150.png 150w, https://www.osradar.com/wp-content/uploads/2023/08/ol6-768x768.png 768w, https://www.osradar.com/wp-content/uploads/2023/08/ol6-696x696.png 696w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>There is life beyond <a href="https://www.microsoft.com/software-download/windows11" target="_blank" rel="noreferrer noopener">Windows.</a> However, in a scenario of recovering your old PC, there is nothing better than switching to <a href="https://www.osradar.com/lxqt-0-16-available/" target="_blank" rel="noreferrer noopener">GNU/Linux.</a> The free system has dozens of different distributions. Moreover, some of them stand out for their low resource consumption and their great capacity to run on older hardware.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/five-key-points-to-recover-an-old-pc/">Five key points to recover an old PC</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/five-key-points-to-recover-an-old-pc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>6 things you can only do with GNU/Linux</title>
		<link>https://www.osradar.com/6-things-you-can-only-do-with-gnu-linux/</link>
					<comments>https://www.osradar.com/6-things-you-can-only-do-with-gnu-linux/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Tue, 28 Feb 2023 22:26:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[gnu/linux]]></category>
		<category><![CDATA[open source]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=38304</guid>

					<description><![CDATA[<p>Today we want to introduce you to some differences that you will find in GNU/Linux with respect to Microsoft&#8217;s new operating system. That is to say, Windows 11. Surely it will make you think more than twice before staying with Microsoft&#8217;s system. Windows 11 has certainly come on strong. This makes many wonders if it [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/6-things-you-can-only-do-with-gnu-linux/">6 things you can only do with GNU/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>Today we want to introduce you to some differences that you will find in GNU/Linux with respect to Microsoft&#8217;s new operating system. That is to say, Windows 11. Surely it will make you think more than twice before staying with Microsoft&#8217;s system. Windows 11 has certainly come on strong. This makes many wonders if it is a serious alternative to GNU/Linux. Certainly, it is likely that the majority of users do not take this OS so much into account. However, GNU/Linux is one of the big players for software developers. It is true that many others who have decided to switch to Linux will need a couple of weeks to become familiar with it. However, after that, everything will be just as easy on <a href="https://www.microsoft.com/software-download/windows11" target="_blank" rel="noreferrer noopener">Windows</a> as it is on Linux.</p>



<p>In short, today, it is equally easy to use both Linux and Windows. In reality, it&#8217;s just a matter of taste and habits to feel more comfortable with one operating system than the other. However, there are still some things that make more sense in GNU/Linux. GNU/Linux can be used in numerous (and creative) ways. That&#8217;s why we wanted to compile a list of things GNU/Linux does. These things don&#8217;t necessarily make it much better than Microsoft with Windows 11. However, it does do it differently. As already mentioned, it all depends on preferences.</p>



<h2>Things you can currently only do on Linux, and it&#8217;s not Windows 11</h2>



<h3>A truly free operating system.</h3>



<p>As you probably already know, GNU/Linux is open source, and you can install it for free. Unlike Windows, which is sometimes quite expensive. The creator of GNU/Linux developed this operating system because he wanted it to be truly free to use. Therefore, you can select any version of Linux and install it without worrying about spending a dollar. There are certainly some paid versions. However, they are the exception to the rule. Besides, they are optional, and you will always have the opportunity to install a free version.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="512" height="512" src="https://www.osradar.com/wp-content/uploads/2023/02/linux.png" alt="" class="wp-image-38306" srcset="https://www.osradar.com/wp-content/uploads/2023/02/linux.png 512w, https://www.osradar.com/wp-content/uploads/2023/02/linux-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2023/02/linux-150x150.png 150w" sizes="(max-width: 512px) 100vw, 512px" /></figure>



<p>In addition, most of the applications that come with Linux, such as LibreOffice, Firefox, GIMP and many more, are also free. Here is a big difference from the expensive Microsoft Office subscriptions, which has really generated a great success.</p>



<h3>Forget about having to reboot to upgrade.</h3>



<p>Rebooting after every system update or uninstalling software is quite annoying on Windows. This is usually not the case with Linux. Indeed, installations do not require the system to reboot at every step. It is true that there is an exception and Linux needs to reboot sometimes. However, this is only after updates to the Linux kernel. With this and in general, the experience is quite smooth. Therefore, it does not require long hours of waiting for a system to reboot and configure after an update.</p>



<h3>GNU/Linux can run on almost any hardware</h3>



<p>This is one of the great comparative points with respect to Windows 11. Let&#8217;s remember that this system usually generates installation <a href="https://www.osradar.com/skip-windows-11-installation-requirements-with-rufus/" target="_blank" rel="noreferrer noopener">problems.</a> More than everything to its almost ridiculous requirements of installation. For example, it doesn&#8217;t matter if you have a 7-year-old PC, Linux will bring it back to life, and you will be able to use it.</p>



<h3>GNU/Linux allows a high degree of customization</h3>



<p>As this system is open source, it means that anyone can use, modify and test its code. As a result, we will be able to add custom features and enhancements to your system. Suppose you are not a developer or simply don&#8217;t want to mess with the source code. Don&#8217;t worry, Linux allows you to customize almost every aspect from the configuration. This step is considered quite innovative and is one of the reasons behind its popularity.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="766" src="https://www.osradar.com/wp-content/uploads/2023/02/linux2-1024x766.png" alt="" class="wp-image-38307" srcset="https://www.osradar.com/wp-content/uploads/2023/02/linux2-1024x766.png 1024w, https://www.osradar.com/wp-content/uploads/2023/02/linux2-300x225.png 300w, https://www.osradar.com/wp-content/uploads/2023/02/linux2-768x575.png 768w, https://www.osradar.com/wp-content/uploads/2023/02/linux2-1536x1150.png 1536w, https://www.osradar.com/wp-content/uploads/2023/02/linux2-696x521.png 696w, https://www.osradar.com/wp-content/uploads/2023/02/linux2-1068x799.png 1068w, https://www.osradar.com/wp-content/uploads/2023/02/linux2-265x198.png 265w, https://www.osradar.com/wp-content/uploads/2023/02/linux2.png 1602w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Clearly, you can&#8217;t do such things on Windows because of the unavailability of source code. Microsoft prefers to keep Windows closed source.</p>



<h3>Using antivirus is not necessary</h3>



<p>Another advantage of using Linux is that Linux-based systems do not need antivirus software. This is because most viruses and malware target Windows PCs. On the other hand, the GNU/Linux system has a protective layer over the core files of the operating system. This does not allow anyone except the users to access the files. That is why virus attacks on Linux are rare. Therefore, you don&#8217;t need to buy or download free versions of antivirus software for your system, as you do with Windows. </p>



<h3>You will also be able to run Windows software.</h3>



<p>Indeed, if you want to run Windows software on Linux, there is a way, and it&#8217;s called Wine. First developed in 1993, it is a software program that allows users to run many Windows applications on Linux. Unlike running a virtual machine or an emulator, Wine focuses on Windows Application Protocol Interface (API) calls. It then translates them into portable operating system interface (POSIX) calls.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/6-things-you-can-only-do-with-gnu-linux/">6 things you can only do with GNU/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/6-things-you-can-only-do-with-gnu-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to mirror the screen of your Android to the PC via USB</title>
		<link>https://www.osradar.com/how-to-mirror-the-screen-of-your-android-to-the-pc-via-usb/</link>
					<comments>https://www.osradar.com/how-to-mirror-the-screen-of-your-android-to-the-pc-via-usb/#respond</comments>
		
		<dc:creator><![CDATA[vazquez]]></dc:creator>
		<pubDate>Tue, 16 Nov 2021 10:11:00 +0000</pubDate>
				<category><![CDATA[Mobiles]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=33229</guid>

					<description><![CDATA[<p>Greetings friends, in the world of Android phones, it is well known that the technology that allows us to get the image and sound from a phone through cable, known as MHL (Mobile High Definition Link), is a feature present in high-end or more expensive devices. For lower-priced devices, it is not usually present to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-mirror-the-screen-of-your-android-to-the-pc-via-usb/">How to mirror the screen of your Android to the PC via USB</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Greetings friends, in the world of Android phones, it is well known that the technology that allows us to get the image and sound from a phone through cable, known as MHL (Mobile High Definition Link), is a feature present in high-end or more expensive devices. For lower-priced devices, it is not usually present to reduce costs and is also a more premium feature. It can be taken advantage of by many mid-range devices if it were present. It is a function that for example would allow you to transmit the screen of your phone live. Most phones that don&#8217;t have MHL allow you to mirror the screen over Wi-Fi, but with disadvantages such as lower resolution and higher latency. The higher the latency, the more lag there will be in the image.<strong> </strong></p>



<p><strong>There is a solution that has been in development for some time now and that is to transmit the screen via USB using <a href="http://osradar.com/?s=ADB" target="_blank" rel="noreferrer noopener">ADB</a></strong>. Thanks to an app called Vysor. You can duplicate the screen of your phone on your PC in an elementary way. Besides, this app is free, so you can try it without any problem. In this post, we will show you how to mirror your <a href="http://osradar.com/?s=Android" target="_blank" rel="noreferrer noopener">Android </a>screen to PC via USB.</p>



<h2>Downloading the Vysor App</h2>



<p>Download and install the <em>Vysor </em>App by following the link below:</p>



<p><a href="http://Android control on PC">Google Play | Vysor Android control on PC</a></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="461" height="1024" src="https://www.osradar.com/wp-content/uploads/2021/11/Usb01-461x1024.jpg" alt="Press the install button! mirror the" class="wp-image-33232" srcset="https://www.osradar.com/wp-content/uploads/2021/11/Usb01-461x1024.jpg 461w, https://www.osradar.com/wp-content/uploads/2021/11/Usb01-135x300.jpg 135w, https://www.osradar.com/wp-content/uploads/2021/11/Usb01-768x1707.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/11/Usb01-691x1536.jpg 691w, https://www.osradar.com/wp-content/uploads/2021/11/Usb01-922x2048.jpg 922w, https://www.osradar.com/wp-content/uploads/2021/11/Usb01-696x1547.jpg 696w, https://www.osradar.com/wp-content/uploads/2021/11/Usb01-1068x2373.jpg 1068w, https://www.osradar.com/wp-content/uploads/2021/11/Usb01.jpg 1080w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption>Press the install button!</figcaption></figure>



<h2>Enabling Developer Options</h2>



<p>Once you have installed the <em>Vysor </em>App, the first thing you should do is to activate the <em>Developer Options</em>, this is an advanced options menu that is hidden in Android. In this menu, you can change more specific system settings. It will be of vital importance for the following steps and the correct functioning of Vysor.</p>



<h3>First step</h3>



<p>Go to the settings of your Android phone, then go to the <em>&#8220;Device Information&#8221;</em> section. In the case of Xiaomi, it is <em>&#8220;About phone&#8221;</em>. You should take into account that the names of these menus may change depending on the brand of your phone, if you have problems locating them I recommend you to use the settings search engine.</p>



<h3>Second step</h3>



<p>After you are in the section where the device&#8217;s system information is displayed. Tap five times on <em>&#8220;Build number&#8221;</em>. In the case of Xiaomi, you must tap five times on <em>&#8220;MIUI Version&#8221;</em>. This will activate the Developer options.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="461" height="1024" src="https://www.osradar.com/wp-content/uploads/2021/11/Usb02-461x1024.jpg" alt="Tap five times on &quot;Build number&quot; mirror the" class="wp-image-33233" srcset="https://www.osradar.com/wp-content/uploads/2021/11/Usb02-461x1024.jpg 461w, https://www.osradar.com/wp-content/uploads/2021/11/Usb02-135x300.jpg 135w, https://www.osradar.com/wp-content/uploads/2021/11/Usb02-768x1707.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/11/Usb02-691x1536.jpg 691w, https://www.osradar.com/wp-content/uploads/2021/11/Usb02-922x2048.jpg 922w, https://www.osradar.com/wp-content/uploads/2021/11/Usb02-696x1547.jpg 696w, https://www.osradar.com/wp-content/uploads/2021/11/Usb02-1068x2373.jpg 1068w, https://www.osradar.com/wp-content/uploads/2021/11/Usb02.jpg 1080w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption>Tap five times on &#8220;Build number&#8221;</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" width="461" height="1024" src="https://www.osradar.com/wp-content/uploads/2021/11/Usb03-461x1024.jpg" alt="Developer options enabled! mirror the" class="wp-image-33234" srcset="https://www.osradar.com/wp-content/uploads/2021/11/Usb03-461x1024.jpg 461w, https://www.osradar.com/wp-content/uploads/2021/11/Usb03-135x300.jpg 135w, https://www.osradar.com/wp-content/uploads/2021/11/Usb03-768x1707.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/11/Usb03-691x1536.jpg 691w, https://www.osradar.com/wp-content/uploads/2021/11/Usb03-922x2048.jpg 922w, https://www.osradar.com/wp-content/uploads/2021/11/Usb03-696x1547.jpg 696w, https://www.osradar.com/wp-content/uploads/2021/11/Usb03-1068x2373.jpg 1068w, https://www.osradar.com/wp-content/uploads/2021/11/Usb03.jpg 1080w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption>Developer options enabled!</figcaption></figure>



<h2>Enabling USB Debugging</h2>



<p>Another requirement for the Vysor app to work is to enable <em>USB Debugging</em>.</p>



<h3>First step</h3>



<p>Go to the Developer Options, you can use the browser settings to find it more easily. In Xiaomi, you can find it in <em>Settings&gt;Additional settings&gt;developer options.</em></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="922" height="1024" src="https://www.osradar.com/wp-content/uploads/2021/11/usb04-922x1024.jpg" alt="Go to the Developer Options" class="wp-image-33235" srcset="https://www.osradar.com/wp-content/uploads/2021/11/usb04-922x1024.jpg 922w, https://www.osradar.com/wp-content/uploads/2021/11/usb04-270x300.jpg 270w, https://www.osradar.com/wp-content/uploads/2021/11/usb04-768x853.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/11/usb04-1382x1536.jpg 1382w, https://www.osradar.com/wp-content/uploads/2021/11/usb04-1843x2048.jpg 1843w, https://www.osradar.com/wp-content/uploads/2021/11/usb04-696x773.jpg 696w, https://www.osradar.com/wp-content/uploads/2021/11/usb04-1068x1187.jpg 1068w, https://www.osradar.com/wp-content/uploads/2021/11/usb04-1920x2133.jpg 1920w" sizes="(max-width: 922px) 100vw, 922px" /><figcaption>Go to the Developer Options</figcaption></figure>



<h3>Second step</h3>



<p>Then scroll down and in the debugging section, enable USB debugging. Also if you have a Xiaomi phone, in this same section enable the<em> &#8220;USB debugging (security settings)&#8221;</em> setting. Please note that to enable this option, you need to have a Xiaomi account linked to your phone. You may need to wait sometime after you have linked your account to enable this option. Finally, in this same section, enable the <em>&#8220;Install via USB&#8221;</em> option and disable the <em>&#8220;Verify apps over USB&#8221;</em> option.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="346" height="1024" src="https://www.osradar.com/wp-content/uploads/2021/11/Usb05-346x1024.jpg" alt="enable USB debugging" class="wp-image-33236" srcset="https://www.osradar.com/wp-content/uploads/2021/11/Usb05-346x1024.jpg 346w, https://www.osradar.com/wp-content/uploads/2021/11/Usb05-101x300.jpg 101w, https://www.osradar.com/wp-content/uploads/2021/11/Usb05-768x2276.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/11/Usb05-691x2048.jpg 691w, https://www.osradar.com/wp-content/uploads/2021/11/Usb05-696x2062.jpg 696w, https://www.osradar.com/wp-content/uploads/2021/11/Usb05-1068x3164.jpg 1068w, https://www.osradar.com/wp-content/uploads/2021/11/Usb05-scaled.jpg 864w" sizes="(max-width: 346px) 100vw, 346px" /><figcaption>Enable USB debugging</figcaption></figure>



<h2>Download Vysor on your PC</h2>



<p>Your phone configuration is ready but you need to install the Vysor client on your PC. The process is really simple, you must download the installer (choose your operating system, Windows, Mac, or Linux) from the <a href="https://www.vysor.io/download/" target="_blank" rel="noreferrer noopener">official Vysor website</a> and then run it. After a few minutes, you will notice how the program starts without any problem.</p>



<h2>Connect your phone to your PC</h2>



<p>Then connect your phone to your PC using a USB cable and you will notice how it starts installing drivers. Confirm the requests to get access to your phone.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="461" height="1024" src="https://www.osradar.com/wp-content/uploads/2021/11/Usb06-461x1024.jpg" alt="allow USB debugging" class="wp-image-33237" srcset="https://www.osradar.com/wp-content/uploads/2021/11/Usb06-461x1024.jpg 461w, https://www.osradar.com/wp-content/uploads/2021/11/Usb06-135x300.jpg 135w, https://www.osradar.com/wp-content/uploads/2021/11/Usb06-768x1707.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/11/Usb06-691x1536.jpg 691w, https://www.osradar.com/wp-content/uploads/2021/11/Usb06-922x2048.jpg 922w, https://www.osradar.com/wp-content/uploads/2021/11/Usb06-696x1547.jpg 696w, https://www.osradar.com/wp-content/uploads/2021/11/Usb06-1068x2373.jpg 1068w, https://www.osradar.com/wp-content/uploads/2021/11/Usb06.jpg 1080w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption>Allow USB debugging</figcaption></figure>



<p>After that, press the <em>&#8220;View&#8221;</em> button in the <em>Vysor </em>window on your PC. You will get a message about installing APK, then you will be able to see the phone screen on the PC. And that&#8217;s it. Enjoy!</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="802" height="767" src="https://www.osradar.com/wp-content/uploads/2021/11/Usb08.png" alt="press the &quot;View&quot; button" class="wp-image-33238" srcset="https://www.osradar.com/wp-content/uploads/2021/11/Usb08.png 802w, https://www.osradar.com/wp-content/uploads/2021/11/Usb08-300x287.png 300w, https://www.osradar.com/wp-content/uploads/2021/11/Usb08-768x734.png 768w, https://www.osradar.com/wp-content/uploads/2021/11/Usb08-696x666.png 696w" sizes="(max-width: 802px) 100vw, 802px" /><figcaption>Press the &#8220;View&#8221; button</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" width="461" height="1024" src="https://www.osradar.com/wp-content/uploads/2021/11/Usb07-461x1024.jpg" alt="Press Install" class="wp-image-33239" srcset="https://www.osradar.com/wp-content/uploads/2021/11/Usb07-461x1024.jpg 461w, https://www.osradar.com/wp-content/uploads/2021/11/Usb07-135x300.jpg 135w, https://www.osradar.com/wp-content/uploads/2021/11/Usb07-768x1707.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/11/Usb07-691x1536.jpg 691w, https://www.osradar.com/wp-content/uploads/2021/11/Usb07-922x2048.jpg 922w, https://www.osradar.com/wp-content/uploads/2021/11/Usb07-696x1547.jpg 696w, https://www.osradar.com/wp-content/uploads/2021/11/Usb07-1068x2373.jpg 1068w, https://www.osradar.com/wp-content/uploads/2021/11/Usb07.jpg 1080w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption>Press Install</figcaption></figure>



<figure class="wp-block-image size-full"><img loading="lazy" width="803" height="768" src="https://www.osradar.com/wp-content/uploads/2021/11/USb09.jpg" alt="Final Result!" class="wp-image-33240" srcset="https://www.osradar.com/wp-content/uploads/2021/11/USb09.jpg 803w, https://www.osradar.com/wp-content/uploads/2021/11/USb09-300x287.jpg 300w, https://www.osradar.com/wp-content/uploads/2021/11/USb09-768x735.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/11/USb09-696x666.jpg 696w" sizes="(max-width: 803px) 100vw, 803px" /><figcaption>Final Result!</figcaption></figure>



<h2>Conclusion</h2>



<p>The possibility to mirror the screen of your Android to a PC via USB is very convenient, it can be used for academic purposes for work, or fun. And thanks to Vysor the process is quite simplified. Thanks for reading us. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-mirror-the-screen-of-your-android-to-the-pc-via-usb/">How to mirror the screen of your Android to the PC via USB</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-mirror-the-screen-of-your-android-to-the-pc-via-usb/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 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>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>
