<?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>almalinux Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/almalinux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 26 Jul 2021 16:27:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to configure DHCP Server on RockyLinux 8 / AlmaLinux OS 8 / CentOS 8?</title>
		<link>https://www.osradar.com/configure-dhcp-server-rockylinux-almalinux-centos-8/</link>
					<comments>https://www.osradar.com/configure-dhcp-server-rockylinux-almalinux-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 31 Jul 2021 00:26:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[almalinux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[Rocky Linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=31413</guid>

					<description><![CDATA[<p>Hello friends. A DHCP server can solve a lot of problems in an internal network, that’s why it’s good to know how to configure it on a server. That’s why today I will show you how to configure a DHCP server on Rocky Linux 8 / AlmaLinux OS 8 / CentOS 8. What is DHCP? [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/configure-dhcp-server-rockylinux-almalinux-centos-8/">How to configure DHCP Server on RockyLinux 8 / AlmaLinux OS 8 / CentOS 8?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-line-data">Hello friends. A DHCP server can solve a lot of problems in an internal network, that’s why it’s good to know how to configure it on a server. That’s why today I will show you <strong>how to configure a DHCP server on Rocky Linux 8 / AlmaLinux OS 8 / CentOS 8.</strong></p>



<h2 class="code-line"><a id="What_is_DHCP_2"></a>What is DHCP?</h2>



<p class="has-line-data"><a href="https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol" target="_blank" rel="noreferrer noopener">DHCP </a>(Dynamic Host Configuration Protocol) is a client-server network protocol that automatically assigns IP addresses within a set range. The DHCP server assigns IP addresses as they become free or unused by other members of the network. To achieve its goal a DHCP server can assign IP addresses as follows: Manual or static assignment: assigns an IP address to a specific machine. Automatic assignment: assigns an IP address to a client machine the first time it makes the request to the DHCP server and until the client releases it. And the third way to assign an IP address by a DHCP server is dynamic assignment.</p>



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



<h2 class="code-line"><a id="Configuring_DHCP_on_Rocky_Linux_8__AlmaLinux_OS_8__CentOS_8_8"></a>Configuring DHCP Server on Rocky Linux 8 / AlmaLinux OS 8 / CentOS 8</h2>



<p class="has-line-data">Before we start we need to make sure that the server is fully up to date. So, connect to it and update it.</p>



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



<h3 class="code-line"><a id="Set_a_static_IP_address_on_Rocky_Linux_8__AlmaLinux_OS_8__CentOS_8_14"></a>Set a static IP address on Rocky Linux 8 / AlmaLinux OS 8 / CentOS 8</h3>



<p class="has-line-data">The DHCP server must have a static IP address. This is important for the host to be able to do the process well. So, this is our first step.</p>



<p class="has-line-data">If you need to know <a href="https://www.osradar.com/how-to-set-a-static-ip-address-on-centos-8-rhel-8-oracle-linux-8/">How to set a static IP address on Rocky Linux 8 / AlmaLinux OS 8 / CentOS 8</a> then you can do it through the post we have prepared for you.</p>



<p class="has-line-data">After that, you can continue</p>



<h3 class="code-line"><a id="Configuring_the_DHCP_server_22"></a>Configuring the DHCP server</h3>



<p class="has-line-data">The package that gives us the ability to deploy the server is <code>dhcp-server</code> So we have to install it</p>



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



<p class="has-line-data">The package is fairly lightweight so the installation can be done quickly.</p>



<p class="has-line-data">Now we have to edit the server configuration file. The file in question is <code>/etc/dhcp/dhcpd.conf</code> but before editing it create a backup</p>



<pre class="wp-block-preformatted">sudo cp /etc/dhcp/dhcpd.conf /etc/dhcpp/dhcpd.confl.bak</pre>



<p class="has-line-data">Now proceed to edit it with your favorite text editor. I use <code>nano</code> but you can use <code>vi</code> or <code>vim</code>.</p>



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



<p class="has-line-data">Now add the following</p>



<pre class="wp-block-preformatted">default-lease-time 900;
max-lease-time 10800;
ddns-update-style none;
authoritative;
subnet 192.168.20.0 netmask 255.255.255.0 {
  range 192.168.20.10 192.168.20.200;
  option routers 192.168.20.1;
  option subnet-mask 255.255.255.0;
  option domain-name-servers 192.168.20.1;

}</pre>



<p class="has-line-data">Remember that all these values have to be modified. In this case, I will use some example values.</p>



<p class="has-line-data">Thanks to the <code>default-lease-time</code> option we will be able to define how long the DHCP server will reserve an address. While the <code>max-lease-time</code> option will define the maximum. In this case, I have set 900 seconds or 15 minutes for <code>default-lease-time</code> and 10800 minutes or 3 hours for <code>max-lease-time</code>.</p>



<p class="has-line-data">Now comes the vital part of the subnet configuration.</p>



<p class="has-line-data">In this case, the subnet to configure is <code>192.168.20.0</code> and the mask is <code>255.255.255.0</code>. With the <code>range</code> option you define the range of IP addresses to assign. And with the <code>option router</code> option you can define the default gateway. The subnet mask assignment to each host is defined by the <code>option subnet-mask</code> option. Finally, <code>option domain-name-servers</code> defines the DNS servers to assign to each host.</p>



<p class="has-line-data">Finally, when you are done editing the file, save your changes and close the editor.</p>



<p class="has-line-data">Now enable and start the <code>option domain-name-servers</code> service.</p>



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



<p class="has-line-data">You can check the status of the service,</p>



<pre class="wp-block-preformatted">sudo systemctl status dhcpd</pre>



<p class="has-line-data">In order for the dhcp service to work properly, you need to open UDP port 67 on your firewall.</p>



<p class="has-line-data">Now you just need to configure the network on your client computers for this configuration.</p>



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



<p class="has-line-data">A DHCP server is a simple thing to do, however, it is good to have knowledge about your network to do it correctly.</p>



<p class="has-line-data">So, enjoy it!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/configure-dhcp-server-rockylinux-almalinux-centos-8/">How to configure DHCP Server on RockyLinux 8 / AlmaLinux OS 8 / CentOS 8?</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/configure-dhcp-server-rockylinux-almalinux-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to open ports in Linux?</title>
		<link>https://www.osradar.com/how-to-open-ports-in-linux/</link>
					<comments>https://www.osradar.com/how-to-open-ports-in-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 16 Jun 2021 04:44:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[almalinux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=30550</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to open ports in the Firewall using Linux. This way you will be able to have a base to continue working with your applications without problems. For this guide, we will use the terminal although there are graphical applications such as GUFW. Why is it important [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-open-ports-in-linux/">How to open ports in 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 open ports in the Firewall using Linux. This way you will be able to have a base to continue working with your applications without problems. For this guide, we will use the terminal although there are graphical applications such as <a href="https://www.osradar.com/how-to-configure-a-firewall-on-ubuntu-debian/" target="_blank" rel="noreferrer noopener">GUFW</a>.</p>



<h2 id="why-is-it-important-to-use-a-firewall?"><a href="#why-is-it-important-to-use-a-firewall?" name="why-is-it-important-to-use-a-firewall?"></a>Why is it important to use a Firewall?</h2>



<p>Although Linux is a very secure system, it is not perfect and can be attacked by an external network. Especially critical applications that make use of data such as database managers or others. Therefore, it is advisable to install a Firewall and establish adequate policies to protect your computer.</p>



<p>In addition to security, there is something that many people overlook and that is that in a Firewall we can not only block incoming connections but also outgoing ones. In this way, we will be able to know which applications are making connections with the Internet and make our decisions.</p>



<p>In Linux, there are a variety of Firewalls that can be classified as domestic or professional like <em>PFSense</em>. I believe that the domestic ones can work in many cases and we will work on them in this post.</p>



<h2 id="how-to-open-ports-in-linux---debian,-ubuntu,-and-derivatives"><a href="#how-to-open-ports-in-linux---debian,-ubuntu,-and-derivatives" name="how-to-open-ports-in-linux---debian,-ubuntu,-and-derivatives"></a>How to Open Ports in Linux &#8211; Debian, Ubuntu, and derivatives</h2>



<p>In these distributions, UFW is present by default. In case it is not then you can install it without problems.</p>



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



<p>After that, you can start opening ports.</p>



<p>The easiest way is to follow this syntax</p>



<pre class="wp-block-preformatted">sudo ufw allow [port]</pre>



<p>This way, if you want to open port 26 for all protocols, just run.</p>



<pre class="wp-block-preformatted">sudo ufw allow 26</pre>



<p>You can also specify a specific protocol for that port like <code>UDP</code> or <code>TCP</code>.</p>



<pre class="wp-block-preformatted">sudo ufw allow 26/tcp</pre>



<p>In this case, only port 26 will be opened for the TCP protocol.</p>



<p>If you have to open many consecutive ports, then you can specify a range</p>



<pre class="wp-block-preformatted">sudo ufw allow 4000:4007/tcp</pre>



<p>This will open all ports from 4000 to 4007 for TCP. Remember that you can change <code>tcp</code> to <code>udp</code> and enable them for that protocol.</p>



<p>To apply the changes run</p>



<pre class="wp-block-preformatted">sudo ufw reset</pre>



<p>So, this way, you can open the ports in Debian, Ubuntu, and derivatives.</p>



<h2 id="how-to-open-ports-in-linux---rhel,-centos-and-fedora"><a href="#how-to-open-ports-in-linux---rhel,-centos-and-fedora" name="how-to-open-ports-in-linux---rhel,-centos-and-fedora"></a>How to Open Ports in Linux &#8211; RHEL, CentOS and Fedora</h2>



<p>Unlike Debian, Ubuntu, and its derivatives, in the RHEL family, another similar application is used to manage the Firewall and it is <code><a href="https://firewalld.org/" target="_blank" rel="noreferrer noopener">firewalld</a></code>.</p>



<p>In case it is not installed, you can do it as follows</p>



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



<p>And after that, initialize it and make it run with the system.</p>



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



<p>This application works with zones with <code>public</code> being the default zone. If we assume that this is the current zone, we can open a port as follows:</p>



<pre class="wp-block-preformatted">sudo firewall-cmd --zone=public --add-port=[port]/[protocol]</pre>



<p>If you would like to open port <code>2122</code> of the TCP protocol, then you should run</p>



<pre class="wp-block-preformatted">sudo firewall-cmd --zone=public --add-port=2122/tcp</pre>



<p>Unlike UFW in this case we do have to specify the protocol.</p>



<p>Similarly, you can specify a range of ports but still specify the protocol.</p>



<pre class="wp-block-preformatted">sudo firewall-cmd --zone=public --permanent --add-port=3220-3225/udp</pre>



<p>In this case, I have opened ports from <code>3220</code> to <code>3225</code> in the UDP protocol.</p>



<p>To apply the changes run</p>



<pre class="wp-block-preformatted">sudo firewall-cmd --reload</pre>



<p>This way you can open ports in Linux</p>



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



<p>Opening ports in Linux is very easy and can help you with a network problem. Also having a Firewall always increases the security of the system.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-open-ports-in-linux/">How to open ports in 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/how-to-open-ports-in-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install WebERP on AlmaLinux 8 / CentOS 8</title>
		<link>https://www.osradar.com/install-weberp-on-almalinux-centos/</link>
					<comments>https://www.osradar.com/install-weberp-on-almalinux-centos/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 04 Jun 2021 04:13:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[almalinux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[ERP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[weberp]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=30351</guid>

					<description><![CDATA[<p>Hello, friends. In this post, we will show you how to install WebERP on AlmaLinux OS 8.4 / CentOS 8 According to the project website: webERP is a complete web-based accounting and business management system that requires only a web-browser and pdf reader to use. It has a wide range of features suitable for many [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-weberp-on-almalinux-centos/">Install WebERP on AlmaLinux 8 / CentOS 8</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, we will show you how to install WebERP on AlmaLinux OS 8.4 / CentOS 8</p>



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



<blockquote class="wp-block-quote"><p>webERP is a complete web-based accounting and business management system that requires only a web-browser and pdf reader to use. It has a wide range of features suitable for many businesses particularly distributed businesses in wholesale, distribution, and manufacturing.</p><p>There are 33 different language translations available all included in the archive with users all over the world.</p></blockquote>



<p>Some of the main goals that the project planned and achieved are:</p>



<ul><li>Fast, web-based, integrated “best practice” business administration software.</li><li>“Low footprint” efficient and fast, with absolutely minimal network traffic</li><li>Platform Independence with no reliance on any propriety technologies</li><li>Scripts easily readable and modifiable by a business</li></ul>



<p>So, it’s time to start work</p>



<h2 id="install-weberp-on-almalinux-os-8-/-centos-8"><a href="#install-weberp-on-almalinux-os-8-/-centos-8" name="install-weberp-on-almalinux-os-8-/-centos-8"></a>Install WebERP on AlmaLinux OS 8 / CentOS 8</h2>



<p>The first thing you have to do, is to open a new terminal session or connect via SSH and update the distribution</p>



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



<p>Then, you have to install the LAMP stack because WebERP works as a web application. So, you can read our post about it which is compatible with AlmaLinux OS.</p>



<p><a href="https://www.osradar.com/install-lamp-stack-on-oracle-linux-8-rhel-8-centos-8/" target="_blank" rel="noreferrer noopener">How to install LAMP on CentOS 8?</a></p>



<p>Also, install some modules and packages needed for the tutorial:</p>



<pre class="wp-block-preformatted">php php-mysqli php-curl php-curl php-json php-cgi php-xmlrpc php-gd php-mbstring unzip</pre>



<p>Once this is installed, you can continue.</p>



<h3 id="creating-a-new-database-for-weberp"><a href="#creating-a-new-database-for-weberp" name="creating-a-new-database-for-weberp"></a>Creating a new database for WebERP</h3>



<p>As you can imagine, this application needs to store data and for that it is compatible with advanced database drivers such as MariaDB.</p>



<p>Although MariaDB and AlmaLinux OS are very secure, it is advisable to create a database that is managed by a MariaDB user different from the root user.</p>



<p>So, open the shell</p>



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



<p>And create the database, the user, his password and the corresponding permissions.</p>



<pre class="wp-block-preformatted">CREATE DATABASE weberpdb;
GRANT ALL PRIVILEGES ON weberpdb.* TO 'weberpuser'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
EXIT;</pre>



<p>You can replace the values with whatever you want, especially the password.</p>



<h3 id="download-weberp-on-almalinux-os-8.4-/-centos-8"><a href="#download-weberp-on-almalinux-os-8.4-/-centos-8" name="download-weberp-on-almalinux-os-8.4-/-centos-8"></a>Download WebERP on AlmaLinux OS 8.4 / CentOS 8</h3>



<p>Now, with the help of the <code>wget</code> command you can download the WebERP package.</p>



<pre class="wp-block-preformatted">wget https://sourceforge.net/projects/web-erp/files/webERP_4.15.zip</pre>



<p>Unzip it inside the Apache folder.</p>



<pre class="wp-block-preformatted">sudo unzip webERP_4.15.zip -d /var/www/html</pre>



<p>Then, make Apache the owner of the folder and set the appropriate permissions:</p>



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



<p>Now create a new VirtualHost for webERP</p>



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



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



<pre class="wp-block-preformatted">&lt;VirtualHost *:80>

ServerAdmin admin@weberp.org
DocumentRoot /var/www/html/webERP
ServerName weberp.osradar.test

        &lt;Directory /var/www/html/webERP/>
                Options FollowSymLinks
                AllowOverride All
                Order allow,deny
                allow from all
        &lt;/Directory>

ErrorLog /var/log/httpd/weberp.org-error_log
CustomLog /var/log/httpd/weberp.org-access_log common
&lt;/VirtualHost></pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="884" height="410" src="https://www.osradar.com/wp-content/uploads/2021/06/1-1.png" alt="1.- New VirtualHost for WebERP" class="wp-image-30418" srcset="https://www.osradar.com/wp-content/uploads/2021/06/1-1.png 884w, https://www.osradar.com/wp-content/uploads/2021/06/1-1-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2021/06/1-1-768x356.png 768w, https://www.osradar.com/wp-content/uploads/2021/06/1-1-696x323.png 696w" sizes="(max-width: 884px) 100vw, 884px" /><figcaption>1.- New VirtualHost for WebERP</figcaption></figure>



<p>Replace the value of <code>ServerName</code> with your domain. Save the changes and close the edit</p>



<p>To apply the changes, restart Apache.</p>



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



<h3 id="install-weberp-on-almalinux-os"><a href="#install-weberp-on-almalinux-os" name="install-weberp-on-almalinux-os"></a>Install webERP on AlmaLinux OS</h3>



<p>Now, open a web browser and access <code>http://your-server/</code> and you will see the first screen where you will have to choose the installation language</p>



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



<p>Next, set up the database parameters</p>



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



<p>In the next step, you have to define the company name, as well as create the <code>admin</code> user and password.</p>



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



<p>After this, webERP will be installed and you will see the Login screen.</p>



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



<p>After logging in you will see the dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="522" src="https://www.osradar.com/wp-content/uploads/2021/06/6-1-1024x522.png" alt="6.- WebERP on AlmaLinux 8.4 / CentOS 8" class="wp-image-30423" srcset="https://www.osradar.com/wp-content/uploads/2021/06/6-1-1024x522.png 1024w, https://www.osradar.com/wp-content/uploads/2021/06/6-1-300x153.png 300w, https://www.osradar.com/wp-content/uploads/2021/06/6-1-768x392.png 768w, https://www.osradar.com/wp-content/uploads/2021/06/6-1-696x355.png 696w, https://www.osradar.com/wp-content/uploads/2021/06/6-1-1068x545.png 1068w, https://www.osradar.com/wp-content/uploads/2021/06/6-1.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- WebERP on AlmaLinux 8.4 / CentOS 8</figcaption></figure>



<p>Enjoy it</p>



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



<p>WEbERP is a very efficient application to manage your company. The installation is easy to install and use and it’s free.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-weberp-on-almalinux-centos/">Install WebERP on AlmaLinux 8 / CentOS 8</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-weberp-on-almalinux-centos/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>AlmaLinux OS 8.4 available</title>
		<link>https://www.osradar.com/almalinux-os-8-4-available/</link>
					<comments>https://www.osradar.com/almalinux-os-8-4-available/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 27 May 2021 23:45:06 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[almalinux]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=30289</guid>

					<description><![CDATA[<p>Hello, friends. As we all know AlmaLinux OS is one of the best performing alternatives to CentOS 8. Proof of this is that recently has been released version 8.4 which is compatible with Red Hat Enterprise Linux 8.4 In this post, we will tell you the highlights of AlmaLinux OS 8.4 AlmaLinux OS Foundation is [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/almalinux-os-8-4-available/">AlmaLinux OS 8.4 available</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. As we all know AlmaLinux OS is one of the best performing alternatives to CentOS 8. Proof of this is that recently has been released version 8.4 which is compatible with Red Hat Enterprise Linux 8.4 In this post, we will tell you the highlights of AlmaLinux OS 8.4</p>



<p>AlmaLinux OS Foundation is proud to <a href="https://almalinux.org/blog/almalinux-os-8-4-stable-now-available/" target="_blank" rel="noreferrer noopener">announce the release of AlmaLinux OS 8.4 Stable</a>. One of the highlights of this release is that This is a production-ready, stable release and ready to power all your computing needs and workloads.</p>



<p>Also, Secure Boot is now fully supported in this release. So more and more AlmaLinux OS is becoming a solid alternative to CentOS whose support is about to end.</p>



<h2>Some features of this release</h2>



<p>AlmaLinux OS 8.4 is based directly on RHEL 8.4 so many of its new features are also present in this release. However, there are a few other new features that deserve to be highlighted</p>



<ul><li>OpenSCAP security profiles are now ready for production</li><li>devel repo released with extra packages and build dependencies not included in upstream distribution. You should not enable this repository in production environments.</li><li>PowerTools repo is now disabled by default to match upstream distribution and moved to separate file <code>almalinux-powertools.repo</code></li></ul>



<p>Also, <strong>several compilers such as GCC Go and Rust have been updated.</strong> This allows developers to have more up-to-date tools for these languages.</p>



<p>But not only this, but also Added new module streams: PostgreSQL13, MariaDB 10.5, and others.</p>



<p>As expected in these releases, several RHEL-related packages have been removed to give more personality to the distribution.</p>



<h2>Where can I download AlmaLinux OS 8.4?</h2>



<p>For now, there are only 64-bit images available, which you can download directly from a nearby mirror, although it is recommended to do so <a href="https://repo.almalinux.org/almalinux/8.4/isos/x86_64/AlmaLinux-8.4.torrent" target="_blank" rel="noreferrer noopener">via torrent</a>.</p>



<p>In case you are already using version 8.3, you just need to run a</p>



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



<p>and wait for the process to finish. Also, you can <a href="https://www.osradar.com/how-to-migrate-from-centos-almalinux/" target="_blank" rel="noreferrer noopener">migrate from CentOS 8</a>. </p>



<p>Enjoy it!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/almalinux-os-8-4-available/">AlmaLinux OS 8.4 available</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/almalinux-os-8-4-available/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install lighttpd on CentOS 8 / AlmaLinux?</title>
		<link>https://www.osradar.com/how-to-install-lighttpd-almalinux-centos/</link>
					<comments>https://www.osradar.com/how-to-install-lighttpd-almalinux-centos/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 17 Apr 2021 03:11:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[almalinux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[lighhtpd]]></category>
		<category><![CDATA[PHP]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29549</guid>

					<description><![CDATA[<p>There are many web services in Unix but we always look for the one that best suits our needs. In this case, we will show you how to install Lighttpd on AlmaLinux / CentOS 8 Lighttpd is a “secure, fast, compatible, and very flexible” web server optimized for high-performance environments. It consumes very few resources [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-lighttpd-almalinux-centos/">How to install lighttpd on CentOS 8 / AlmaLinux?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>There are many web services in Unix but we always look for the one that best suits our needs. In this case, we will show you how to install Lighttpd on AlmaLinux / CentOS 8</p>



<p><a href="https://www.lighttpd.net/" target="_blank" rel="noreferrer noopener">Lighttpd</a> is a “secure, fast, compatible, and very flexible” web server optimized for high-performance environments. It consumes very few resources compared to other web servers and especially fast for running AJAX applications. It is also open source and uses a BSD license and works on UNIX-like systems, such as Linux or BSD.</p>



<p>A server with AlmaLinux as an operating system together with Lighttpd is a guarantee for an efficient and resource-efficient web server.</p>



<h2 id="install-lighttpd-on-almalinux-/-centos-8"><a href="#install-lighttpd-on-almalinux-/-centos-8" name="install-lighttpd-on-almalinux-/-centos-8"></a>Install Lighttpd on AlmaLinux / CentOS 8</h2>



<p>Installing Lighttpd is very easy to do but there are a few extra configurations to do.</p>



<p>Let’s start by adding the <a href="https://www.osradar.com/nable-the-epel-repository-centos-rhel-oracle-linux-8/" target="_blank" rel="noreferrer noopener"><code>EPEL</code> repository</a> to the system because that is where the lighttpd package is hosted.</p>



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



<p>Then, you can install the program by running the following command:</p>



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



<p>This will install the package immediately.</p>



<p>By default, AlmaLinux does not start the service when a program is installed. Therefore we have to do it.</p>



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



<p>And now make the service start with the system.</p>



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



<p>Then, you can test the operation of the service with the command</p>



<pre class="wp-block-preformatted">sudo systemctl status lighttpd</pre>



<p>Output</p>



<pre class="wp-block-preformatted">● lighttpd.service - Lightning Fast Webserver With Light System Requirements
   Loaded: loaded (/usr/lib/systemd/system/lighttpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2021-04-14 16:54:29 CEST; 11s ago
 Main PID: 1247 (lighttpd)
    Tasks: 1 (limit: 12142)
   Memory: 1.1M
   CGroup: /system.slice/lighttpd.service
           └─1247 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf

Apr 14 16:54:29 osradar systemd[1]: Started Lightning Fast Webserver With Light System Requirements.
Apr 14 16:54:29 osradar lighttpd[1247]: 2021-04-14 16:54:29: (server.c.1404) can't have more connections than fds/2:  1024 1024
</pre>



<p>Also, you can check the installed version with the command:</p>



<pre class="wp-block-preformatted">lighttpd -v
lighttpd/1.4.55 (ssl) - a light and fast webserver</pre>



<h2 id="install-php-on-almalinux-/-centos-8"><a href="#install-php-on-almalinux-/-centos-8" name="install-php-on-almalinux-/-centos-8"></a>Install PHP on AlmaLinux / CentOS 8</h2>



<p>One way to test the performance of the webserver, you have to <a href="https://www.osradar.com/configuring-php-opcache-apache-nginx/" target="_blank" rel="noreferrer noopener">install PHP</a> and make it work with Lighttpd</p>



<pre class="wp-block-preformatted">sudo dnf install php php-mysqlnd php-pdo php-gd php-mbstring php-fpm php-fpm lighttpd-fastcgi</pre>



<p>Now we need to make it work with Lighttpd by editing some configuration files.</p>



<pre class="wp-block-preformatted">sudo nano /etc/php-fpm.d/www.conf</pre>



<p>And modify the <code>group</code> and <code>user</code> values to be <code>lighttpd</code> values.</p>



<pre class="wp-block-preformatted">user = lighttpd
group = lighttpd</pre>



<p>In this same file, modify the value of <code>listen</code> to this one</p>



<pre class="wp-block-preformatted">listen = 127.0.0.1:9000</pre>



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



<p>Now edit the <code>/etc/php.ini</code> file, which also needs to be modified by one value</p>



<pre class="wp-block-preformatted">sudo nano /etc/php.ini</pre>



<p>And edit the <code>cgi.fix_pathinfo</code> value to <code>1</code>.</p>



<pre class="wp-block-preformatted">cgi.fix_pathinfo=1</pre>



<p>Now, make another change to the <code>/etc/lighttpd/modules.conf</code> file and uncomment the following line:</p>



<pre class="wp-block-preformatted">include "conf.d/fastcgi.conf"</pre>



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



<p>Finally, we have to edit another configuration file called <code>fastcgi.conf</code> where we have to add the server that will listen for PHP requests.</p>



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



<p>And add this to the end of the file</p>



<pre class="wp-block-preformatted">fastcgi.server += ( ".php" =>
         ((
                 "host" => "127.0.0.1",
                 "port" => "9000",
                 "broken-scriptfilename" => "enable"
         ))
 )</pre>



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



<p>Then, restart the <code>lighttpd</code> service and start and enable <code>php-fpm</code>.</p>



<pre class="wp-block-preformatted">sudo systemctl restart lighttpd
sudo systemctl start php-fpm.service
sudo systemctl enable php-fpm.service</pre>



<h3 id="test-lighttpd-and-php-on-almalinux-/-centos-8"><a href="#test-lighttpd-and-php-on-almalinux-/-centos-8" name="test-lighttpd-and-php-on-almalinux-/-centos-8"></a>Test Lighttpd and PHP on AlmaLinux / CentOS 8</h3>



<p>The best way to know if everything is OK is to create a PHP file and check if it is interpreted.</p>



<p>So, create a PHP file with any valid code such as the <code>phpinfo</code> method in the default root directory.</p>



<pre class="wp-block-preformatted">sudo nano /var/www/lighttpd/info.php

<code data-origin="<pre&gt;<code&gt;sudo nano /var/www/lighttpd/info.php

<?php
phpinfo();
?&gt;
</code&gt;</pre&gt;
<p&gt;">&lt;?php
phpinfo();
?>
</code></pre>



<p>Save the changes and access it from a web browser, for example <code>http://your-domain/info.php</code> or <code>http://ip-server/info.php</code>.</p>



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



<p>This checks that everything is working properly.</p>



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



<p>Lighttpd stands out for being very light in the execution of web applications. So it can serve us for many interesting things in our daily work on a server. Today we have learned to install it on a server with Ubuntu 20.04 and we have also added support for PHP.</p>



<p>Please share this post and join our Telegram channel.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-lighttpd-almalinux-centos/">How to install lighttpd on CentOS 8 / AlmaLinux?</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-lighttpd-almalinux-centos/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to migrate from CentOS to AlmaLinux?</title>
		<link>https://www.osradar.com/how-to-migrate-from-centos-almalinux/</link>
					<comments>https://www.osradar.com/how-to-migrate-from-centos-almalinux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 07 Apr 2021 04:15:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[almalinux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29398</guid>

					<description><![CDATA[<p>Hello friends. I think everyone knows what has happened with CentOS and some alternatives like AlmaLinux have emerged. So, in this post, we will explain to you how to migrate from CentOS to AlmaLinux. According to the AlmaLinux website An open-source RHEL fork built by the team at CloudLinux, inspired by the community. AlmaLinux OS [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-migrate-from-centos-almalinux/">How to migrate from CentOS to AlmaLinux?</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. I think everyone knows <a href="https://www.osradar.com/centos-linux-8-will-be-discontinued/" target="_blank" rel="noreferrer noopener">what has happened with CentOS</a> and some alternatives like AlmaLinux have emerged. So, in this post, we will explain to you how to migrate from CentOS to AlmaLinux.</p>



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



<blockquote class="wp-block-quote"><p>An open-source RHEL fork built by the team at CloudLinux, inspired by the community. AlmaLinux OS is an enterprise-grade server OS, a stable Linux distribution with regular releases that come with long support windows. You can rely on AlmaLinux OS to run you and your clients’ critical workloads.</p></blockquote>



<p>Thus, we have another RHEL-based clone, but it seems to be the best positioned to replace CentOS.</p>



<p>For AlmaLinux the most important thing is the community so they guarantee that it will never stop being free.</p>



<h2 id="migrating-from-centos-8-to-almalinux"><a href="#migrating-from-centos-8-to-almalinux" name="migrating-from-centos-8-to-almalinux"></a>Migrating from CentOS 8 to AlmaLinux</h2>



<p>The migration process is quite simple but there are two considerations to take into account before starting the process:</p>



<ul><li><strong>You need to make a backup</strong>. If you use CentOS as a Workstation then LuckyBackup is a good option. In case you use it on a server you should use more professional and specific tools.</li><li><p> <strong>Disable Secure Boot</strong> because AlmaLinux doesn’t support it yet. This is very important to avoid problems after the process.</p> In general, the process is quite secure but it is better to be careful and take care of as much data as possible,</li></ul>



<p>So, open a terminal and update the distribution</p>



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



<p>After the whole system is updated, make sure you have the <code>curl</code> package to download the script.</p>



<pre class="wp-block-preformatted">curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12323  100 12323    0     0  50504      0 --:--:-- --:--:-- --:--:-- 50297</pre>



<p>And then, you have to run the script as such.</p>



<pre class="wp-block-preformatted">sudo bash almalinux-deploy.sh</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="140" src="https://www.osradar.com/wp-content/uploads/2021/04/1-2-1024x140.png" alt="1.- Migrating from CentOS to AlmaLinux" class="wp-image-29407" srcset="https://www.osradar.com/wp-content/uploads/2021/04/1-2-1024x140.png 1024w, https://www.osradar.com/wp-content/uploads/2021/04/1-2-300x41.png 300w, https://www.osradar.com/wp-content/uploads/2021/04/1-2-768x105.png 768w, https://www.osradar.com/wp-content/uploads/2021/04/1-2-696x95.png 696w, https://www.osradar.com/wp-content/uploads/2021/04/1-2-1068x146.png 1068w, https://www.osradar.com/wp-content/uploads/2021/04/1-2.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Migrating from CentOS to AlmaLinux</figcaption></figure>



<p>The process will take some time depending on what you have installed on your internet connection and your computer.</p>



<p>After the process is finished you can check the changes.</p>



<pre class="wp-block-preformatted">cat /etc/redhat-release</pre>



<p>And you should get an output screen similar to this one</p>



<pre class="wp-block-preformatted">AlmaLinux release 8.3 (Purple Manul)</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="651" height="68" src="https://www.osradar.com/wp-content/uploads/2021/04/2-1.png" alt="2.- AlmaLinux installed" class="wp-image-29406" srcset="https://www.osradar.com/wp-content/uploads/2021/04/2-1.png 651w, https://www.osradar.com/wp-content/uploads/2021/04/2-1-300x31.png 300w" sizes="(max-width: 651px) 100vw, 651px" /><figcaption>2.- AlmaLinux installed</figcaption></figure>



<p>This way the migration will be complete.</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-migrate-from-centos-almalinux/">How to migrate from CentOS to AlmaLinux?</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-migrate-from-centos-almalinux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
