AlmaLinux / Rocky Linux 8 Open HTTP/HTTPS Port 80/443 with Firewalld


Cheap reseller Hosting


In today’s interconnected digital landscape, properly configuring your web server’s firewall settings is crucial for both security and functionality. Whether you’re setting up a new web server or maintaining an existing one, understanding how to manage HTTP (port 80) and HTTPS (port 443) access through firewalld on AlmaLinux or Rocky Linux 8 is an essential skill for system administrators.

As RHEL-compatible distributions, both AlmaLinux and Rocky Linux 8 come with `firewalld` as their default firewall management tool. This powerful firewall solution helps protect your server while allowing necessary services to function smoothly. However, for your web server to be accessible to the outside world, you’ll need to explicitly configure these ports.

Whether you’re a seasoned system administrator or just getting started with Linux server management, this tutorial will help you secure your web server while maintaining its accessibility.

FirewallD includes the default firewall application in these Linux results to follow the commands mentioned below if you have it:

sudo dnf install firewalld
sudo systemctl start firewalld
sudo systemctl enable firewalld
sudo systemctl status firewalld

This tutorial will help you to learn:

  • Steps to open HTTP port 80 and HTTPS port 443 for all time
  • Steps to follow the command to open or close any server and port in AlmaLinux

Check Commands to open or close HTTP port 80 & HTTPS 443 on AlmaLinux/ Rocky 8

Step 1: Monitor the running AlmaLinux port list: Before opening the port, it’s necessary to monitor what are ports & services are using before to communicate outside the public network in our firewall. To access this use:

sudo firewall-cmd --list-all

Or

netstat -na | grep port-number

Now, you have to replace the port number with the one you want to identify. In case the port is non-active then you are not able to get the results in return.

Step 2: Command to Open port 80 and port 443:  It is universal that firewall includes some default pre-configured services and http & https as well. Therefore, we can either include the service command or port command of the firewalld to permit them in the public zone:

sudo firewall-cmd --zone=public --permanent --add-service=http
sudo firewall-cmd --zone=public --permanent --add-service=https


However, if Apache web server’s application is running on some other port apart from 80 & 443 then we can open that also. Let’s assume your web application is running on some custom port 5000. Thus, to access it we can use it:

sudo firewall-cmd --zone=public --permanent --add-port 5000/tcp

You have to replace 5000 with your wish port number which you want to open

Step 3: Reload Firewalld service- Just make sure that open service or port successfully match to the firewalld, reload its services by this command –

sudo firewall-cmd –reload

(optional) Close or block port 80 and 443 – After some time or in some case, you want to block or close the HTTP and HTTPS services or any other port then you can do it, manually, using below the syntax:

sudo firewall-cmd --zone=public --permanent --remove-service=http
sudo firewall-cmd --zone=public --permanent --remove-service=https

For some particular port number

sudo firewall-cmd --zone=public --permanent --remove-port 5000/tcp

For Reloading the firewall –

firewall-cmd –reload

Conclusion:

To open HTTP and HTTPS ports 80 and 443 on AlmaLinux or Rocky Linux 8 using Firewalld, one must configure the firewall settings to allow traffic through these essential ports, thereby enabling web services to function properly. This process is crucial for ensuring that web applications are accessible over the internet.


Cheap web Hosting


Checking Email Summary in DirectAdmin: A Quick Guide


Cheap reseller Hosting


DirectAdmin provides a handy tool called “Email Summary” that allows administrators to monitor email activity within their servers. This feature is handy for identifying potential issues, tracking email usage, and ensuring smooth email operations

Here’s how to access and use the Email Summary feature:

  1. Log in to your DirectAdmin account.
  2. Navigate to the “Admin Tools” section.  
  3. Click on “E-mail Summary.

This will open the Email Summary interface

Using the Email Summary Interface:

  • Range: This field allows you to specify the period in which you want to view email activity. You can choose from predefined options like “Today,” “Yesterday,” “Last 7 Days,” or “Custom.” You can set specific start and end dates and times for custom ranges.  
  • Search: Once you’ve selected the desired range, click the “Search” button. This will display a detailed log of email activity within the specified timeframe.  

Read:How to Effortlessly Change Your VPN Location on Different Devices

Understanding the Email Summary Log:

The log typically includes information such as:

  • Timestamp: The time and date of each email event.
  • User: The username of the sender or recipient.
  • Domain: Domain is included in the email.
  • Action: The type of email activity, such as “Sent,” “Received,” “Delivered,” “Bounced,” or “Failed.”
  • Details: Additional information about the email event, such as the recipient’s address, error messages, or delivery status.

By reviewing this information, you can gain valuable insights into your server’s email traffic, identify potential spam or delivery problems, and take appropriate action to improve email performance.  

Additional Tips:

  • Regular Monitoring: Regularly checking the Email Summary can help you proactively identify and address any issues that may arise.
  • Filtering: You can filter the log by user, domain, or action to focus on specific areas of interest.
  • Troubleshooting: The Email Summary can be a valuable tool for troubleshooting email delivery problems. By analyzing the log, you can pinpoint the cause of delivery failures and take steps to resolve them.  

By effectively utilizing the Email Summary feature in DirectAdmin, you can maintain a healthy and efficient email environment for your users.


Cheap web Hosting


How to Delete Certificate Signing Request (CSR) in Webuzo?


Cheap reseller Hosting


A Certificate Signing Request (CSR) is crucial in obtaining an SSL certificate for your website. However, there might be times when you need to delete a CSR, such as when you’ve generated a new one or no longer require the associated certificate.

Here’s a step-by-step guide on how to delete a CSR in Webuzo:

  1. Log in to your Webuzo account.
  2. Navigate to the SSL section.
    1. Click on the “Security” section in the Webuzo dashboard.
    1. Select “SSL Certificates.”
  3. Locate the CSR to delete.
    1. In the “Certificate Signing Request” subsection, you’ll see a list of all generated CSRs.  
    1. Identify the specific CSR you want to remove.
  4. Delete the CSR.
    1. Click on the “X” icon under the “OPTION” column for the desired CSR.
    1. A confirmation window will appear.
    1. Click “Yes” to confirm the deletion.

Read: Delete an FTP User Account in Webuzo: A Quick and Easy Tutorial

Important Notes:

  • Backups: Before deleting any CSR, it’s highly recommended to back up your current SSL configurations and any important data to prevent data loss.  
  • Repercussions: Deleting a CSR might impact the security of your website if it’s associated with an active SSL certificate. Ensure you have a replacement plan before proceeding.

By following these steps, you can effectively delete a CSR in Webuzo and manage your SSL certificates efficiently.


Cheap web Hosting


A Quick Guide to Install Control Web Panel (CWP)


Cheap reseller Hosting


CWP is a powerful web hosting control panel that offers a user-friendly interface for managing your server. Here’s a quick guide to install it on your CentOS/RHEL server:

Prerequisites:

  • CentOS/RHEL 7 or 8 server
  • Root or sudo privileges

Installation Steps:

Update the system:

    yum update -y

    • Install required packages:

    yum install wget curl php php-mysqlnd php-gd php-curl php-json php-zip -y

    • Download the CWP installation script:

    wget http://install.cwp.pro/cwp.sh

    • Make the script executable:

    chmod +x cwp.sh

    • Run the installation script:

    ./cwp.sh

    Follow the on-screen prompts to configure CWP. You’ll be asked to enter your server’s IP address, desired username and password for the CWP admin account, and other settings.

    • Access the CWP panel:

    Once the installation is complete, you can access the CWP panel by visiting

    https://your_server_ip:2030. Replace your_server_ip

    with the actual IP address of your server.

    Additional Notes:

    • Firewall: It required to configure firewall as per mentioned guidelines.
    • Security: Always keep your CWP installation updated and follow best security practices to protect your server.
    • Customization: CWP offers various customization options to tailor the panel to your specific needs. Take a look at settings and features to customize the experience.  

    Cheap web Hosting


    How do you check the version of cPanel/WHM?


    Cheap reseller Hosting


    It is a famous tool used for managing web hosting. An easy-to-use interface that allows for the easy management of websites and services. Understanding the cPanel version is mandatory for the users as it affects the functions and features.

    Just make sure that your cPanel/WHM software is updated; keeping the server safe and working is crucial. Here, in this document, you will see in-depth knowledge on checking the cPanel version using multiple methods to stay informed about hosting setup.

    Method 1: Checking cPanel Version Through the WHM Command Line

    Log in to WHM: Access your WHM interface using the root username and password.

    Navigate to Terminal: Go to Server Configuration -> Terminal.

    Execute the Command:

    In the terminal window, use this command and type Enter:

    /usr/local/cpanel/cpanel -V

    This command will output the cPanel version to the terminal.

    Example Output:

    11.98.0 (build 12)

    Explanation:

    • The command /usr/local/cpanel/cpanel -V is the same as running it directly on the server’s command line.
    • This method provides a quick and efficient way to check the cPanel version without leaving the WHM interface.

    Method 2: Checking cPanel Version Through WHM Dashboard

    Steps:

    1. Log in to your WHM account.
    2. The cPanel/WHM version is typically displayed at the top of the WHM dashboard.

    Method 3: Examine the cPanel Version Through the WHM Version File

    Login to WHM: Access your WHM interface using your root credentials.

    Navigate to Terminal: Go to Server Configuration -> Terminal.

    Write the Command > terminal window > write the following command and give Enter

    cat /usr/local/cpanel/version

    View the Version: The output will display the cPanel version number.

    Method 4: Checking the cPanel Version from the cPanel Dashboard

    This is the simplest method to check your cPanel version

    Steps:

    1. Log in to your cPanel account.
    2. Locate the “Server Information” section: This is usually found on the right side of the dashboard. It might be in a sidebar or a separate panel.
    3. Click on “Server Information”.
    4. Look for the “cPanel Version” information: This will be listed along with other server details.

    Method 5: Checking cPanel Version Through SSH

    Establish an SSH connection: Use an SSH client like PuTTY or the built-in terminal on macOS/Linux to connect to your server as root.

    Execute the command: Once connected, type the following command and press Enter:

    Conclusion

    Frequently checking and updating your cPanel/WHM installation confirms excellent features, improvement, and security patches. Retain the server running smoothly by updating yourself about the cPanel/WHM version.


    Cheap web Hosting


    Learn Programming Faster with these 7 Critical Tips

    learn to program faster
    Cheap reseller Hosting


    To become a better programmer, you have to be really good when it comes to the data structure, algorithms, design using OOPSmulti-thread and several other programming concepts, for example, recursion, divide and conquer, prototyping and unit tests.

    Programming requires combining several skills or abilities, which implies that it is not possible to learn to program in a short period of time. Rather it is a process that involves time and experience and will not happen automatically.

    But in this article, I am going to give you 7 essential tips to learn programming faster. These golden rules, each more important than the previous one, are as simple as they are powerful. I advise you not to take them lightly. You will notice how your development time is drastically reduced, without changing your work style.

    1. Think about the main objectives of your application:

    Always focus on your main motive behind the project. Keep your goal very clear. If you are going to make an application to share photos, the purpose of your application is to share photos. If you are going to make a chat, your goal is to chat. In both cases, your main objective will not be, or add features related to profile photos, or put the menu with dynamic shading, or any kind of extra that you can think of. Be clear about this. What will be your outcome of the project, you should be aware of that. This enables your thinking towards the main objective of your application and your mind will not be diverted on other problems. Forget about the secondary functionalities. Get in the head that your objectives are to program an application prototype with the fair and necessary that allows you to make it work and fulfill what you have in mind to do. You can add extra functionalities later but primarily you should concentrate on the main features only.

    2. Read programming books:

    There is a big difference between good code and poor code. This is obvious, but how can you distinguish them? Until you see a good code with your own eyes, it is difficult to understand the difference. And this is when the books are very useful since most of the time the authors are great programmers. They offer all their experience in book form. My advice is that if you can get hold of programming books, don’t hesitate. I also recommend reading more classic books and use them as reference books. Also, by reading, you are learning from someone else’s experience, and there are only two ways to improve: either through your own experience (which is limited) or through the experience of others. 

    3. Take help from the Internet:

    Contribute to Open Source and sign up for Mailing lists. When you contribute to open source projects, especially from Apache, Google, and some others, this is another way to improve your skills as a programmer. The simple fact of registering mailing lists and following the debates and current events teaches you a lot. Because most of the debates are between good programmers, by paying attention you understand the problems and the approach they are given, the solutions and points of view, etc. Over time you automatically acquire good programming habits. To get the most out of them, ask questions, give your point of view if you can, but also weigh and weigh the points of view of others. Be the part of programming communities and forums to solve problems while coding. Stackoverflow is a very good platform to solve queries related to coding where programmers can ask questions and experts in that field can answer your questions.

    Also read,

    4. Make small increments of code in your application:

    Make small modules and then test them. This will save your time in debugging a long code. Leave that bad habit you have to write all the entire code and then debug. Doing things this way will waste more than twice as much time in debugging, than in developing code. Remember those hours you lost looking for mistakes that ultimately turned out to be very “dumb.” The test must be very fast. This is important because it cannot interfere with your real work. It has to be as fluid as possible. In addition, your modifications should be focused on causing small changes that you can easily check. In this way, you will always have perfectly bounded errors and you will know the effect that each small step has caused to your application. Write the indispensable code then order it. Every small increase in code should be as fast as possible. For this, we need to make what we want to “add” work as soon as possible. Therefore, it is important to write the essential minimum code so that the change we want to produce is functional. After verifying that the change does what you want, rewrite the code so that it is clean and tidy. And check again.

    5. Don’t make programming a recursive problem:

    Whenever you try to program something, you will need to learn something new by searching for information online. Sometimes you realize that you need to apply a concept A. But to apply A, you need to understand another concept B. After a while with B, you realize that you need to understand another concept. With the passage of time, we can surprise ourselves trying to find the solution to a problem that is very far from the main problem. Do not fall into this trap. Find information, learn, but never get away from the problem you want to solve. Are you sure there is no simpler way? Maybe it’s time to stop for coffee and continue later.

     6. Practice data structure, Algorithms, and design-related problems:

    This is one of the most critical things when it comes to becoming a better programmer. Most of the good programmers are really good in the data structure, algorithms, and fundamentals. By mastering them, you can make the most of everything that is available. Because the structure of the data is a fundamental part of any program, its domain is very useful when troubleshooting. Similarly, a solid knowledge of the principles of programming, and search and sort algorithms, and other typical algorithms help you improve your skills as a programmer.

    7. Talk to other programmers and developers:

    Reading is a passive exercise when compared to speaking. Talking about development and discussing it with a partner often results in better development and a better application. And it is normal because when you speak your mind is more involved. Most of the programmers find bugs and gaps when discussing their developments with other developers. In the software industry in which programmers usually work in isolation on their computers, chatting and doing sessions on the board helps a lot. Do not sit and chop code, you must also listen, think and spend time with your fellow developers.

    Conclusion:

    Every programmer wants to improve as a programmer, but not everyone is capable. In addition to natural talent and being able to solve problems, it requires a lot of workcontinuous training and consistency to become better. I hope these tips will help you to learn to program faster. Let me know which tip you find out most helpful? 


    Cheap web Hosting


    How to install Joomla from Softaculous


    Cheap reseller Hosting


     

    Softaculous is a software that allows for the installation of Joomla with easy. Using the Softaculous software you can install Joomla on any domain or domain sub-directory. In this article you will find on how to use Softaculous to install a Joomla 3 application on your hosting account.

    install Joomla-from-Softaculous

    Please follow the steps by steps: 

    Step 1 : Log into your cPanel Account.

    Step 2 : Under Software/Services section, Click on Softaculous.

    Step 3 : Find Joomla script.

    Step 4 : Click on Install button in order to start the Joomla 3 setup process.

    Step 5 : Select Joomla 3 from the drop-down menu.

    Step 6 : Choose the installation folder for the new application.

    Step 7 : Leave empty if you want Joomla 3 to be installed in the root directory of your account.

    Step 8 : Select administrative Username.

    Step 9 : Select administrative Password.

    Step 10 : Select administrative E-mail Address.

    Note : It is important to provide correct email address because it will be used in case you forget your password or want to reset it.

    Step 11 : Press the Install button to complete the installation.

    In a few seconds, your Joomla 3 application will be installed and ready to use. 

     

    That’s!!!!


    Cheap web Hosting


    How to install Nvidia drivers in Ubuntu


    Cheap reseller Hosting


    In this article will give you how you can easily install Nvidia drivers in Ubuntu. Follow the steps and install Nvidia drivers on Ubuntu.

    install Nvidia drivers in Ubuntu

    If you are using an older version of Ubuntu, or if you aren’t notified about additional drivers, you can launch the installation yourself.

    Step 1 :  Go to Software & Updates -> Additional Drivers

    Then you’ll see that Nvidia drivers are not in use.

    Step 2 : To Check or tick the box underneath Enabled to enable the drivers.

    Step 3 : Click Enable Driver.

    Step 4 : Wait for the installer file to download.

    Step 5 : Open the downloaded file.

    Step 6 : Right click on downloaded file and mark it as execute.

    Step 7 :  The drivers can only be installed in command mode, under sudo and the graphics daemon must not be running.

    Step 8 : Switch to command mode tty CTRL+ALT+F1, then run following command to stop the display manager.

    sudo service lightdm stop

    Step 9 : If you see a blank screen, that means the mode resolution conflicts with improper video driver. Fix that by running this..

    sudo sed -i -e ‘s/#GRUB_TERMINAL/GRUB_TERMINAL/g’ /etc/default/grub
    sudo update-grub

    Step 10 : Run your nvidia installer by using following command.

    sudo ./NVIDIA_750TI_350.linux64.run

     

    Thats it,

     

    You’ll then see that the drivers are enabled and will be available for use upon a reboot.


    Cheap web Hosting


    London Railway System Passwords Exposed During TV Documentary


    Cheap reseller Hosting


    The Weakest Link In the Information Security Chain is still – Humans.

    And this news has ability to prove this fact Right.

    One of London’s busiest railway stations has unwittingly exposed their system credentials during a BBC documentary. The sensitive credentials printed and attached to the top of a station controller’s monitor were aired on Wednesday night on BBC.

    What could be even


    Source: Hacker News


    Cheap web Hosting


    Mumblehard Malware Targets Linux and FreeBSD Servers


    Cheap reseller Hosting


    Thousands of computers and web servers running Linux and FreeBSD operating systems have been infected over past five years with sophisticated malware that turn the machines into spambots.

    The new Linux malware, discovered by the security researchers from the antivirus provider Eset, has been dubbed “Mumblehard” because it is Muttering spam from your servers, says Eset 23-page long report (


    Source: Hacker News


    Cheap web Hosting


    1 2 3 6