Blog

  • 2 Ways to Install Aircrack-ng on Kali Linux

    2 Ways to Install Aircrack-ng on Kali Linux

    In today’s digital landscape, ensuring the security of computer networks and systems is of utmost importance. Penetration testing, also known as ethical hacking, plays a crucial role in identifying vulnerabilities and strengthening the overall security posture. One such powerful tool used by security professionals is Aircrack-ng, a suite of wireless network assessment tools. This article aims to show you how to install Aircrack-ng on Kali Linux, a popular ethical hacking operating system, enabling you to harness the capabilities of this versatile tool for effective penetration testing. For this tutorial, you can also use Linux VPS and save yourself a lot of time and resources. So, let’s dive in and explore the installation process step-by-step, unlocking the potential of Aircrack-ng on your Kali Linux environment.

    Requirements

    1. Kali Linux OS: Aircrack-ng is usually pre-installed in Kali Linux. Make sure you have the latest version of Kali Linux installed.
    2. Root Access: You need to have root access or superuser privileges to install and use Aircrack-ng.
    3. Wireless Adapter: Aircrack-ng requires a compatible wireless adapter that supports monitor mode and packet injection. Not all wireless adapters are compatible, so ensure that you have a supported adapter. You can check the Aircrack-ng website for a list of compatible wireless adapters.
    4. Dependencies: Aircrack-ng has some dependencies that you need to install. To install these dependencies, open a terminal and run the following command:
    sudo apt-get install build-essential libssl-dev libnl-3-dev libnl-genl-3-dev ethtool

    If you need to buy Linux VPS server, we suggest you to use the various plans offered on our website, which have a wide variety of locations and immediate delivery.

    Aircrack-ng Installing Methods on Kali Linux

    Once you have met these requirements, you should be able to install and use Aircrack-ng on Kali Linux.

    A security tool for penetration testing - How to Install Aircrack-ng on Kali Linux

    A. Installing Aircrack-ng on Kali Linux Using the apt Package Manager

    Well, now it’s time to learn how you can install Aircrack-ng on Kali Linux using the apt package manager. This is the first method of the two methods explained in this article.

    • Open a Kali Linux terminal.
    • Update the package lists by running the command:
    sudo apt update
    • Install Aircrack-ng by running the command:
    sudo apt install aircrack-ng

    The installation process will begin, and you will be prompted to confirm the installation. Type ‘Y‘ and hit Enter.

    • Once the installation is complete, you can start using Aircrack-ng.

    That’s it! Using this method you can easily download and install Aircrack-ng on your Kali Linux machine. Some people may prefer to manually install this tool. If you’re one of those people, we’ve written the next section for you.

    B. Aircrack-ng Manual Installation on Kali Linux

    Another way of installing Aircrack-ng is the manual installation from the source. Here’s how:

    • Open a Kali Linux terminal.
    • Download the latest version of Aircrack-ng by running the command
    wget https://download.aircrack-ng.org/aircrack-ng-1.6.tar.gz
    • Extract the downloaded archive by running the command:
    tar -zxvf aircrack-ng-1.6.tar.gz
    • Change into the extracted directory by running the command:
    cd aircrack-ng-1.6
    • Compile Aircrack-ng by running the command:
    make
    • Install Aircrack-ng by running the command:
    sudo make install
    • The installation process will be complete, and you can start using Aircrack-ng.

    And here’s how you can manually install Aircrack-ng on your machine. Both methods are somehow similar but you can choose the method that suits you better.

    A security tool for penetration testing-How to Install Aircrack-ng on Kali Linux

    Troubleshooting Common Issues

    There are certain factors that you need for Aircrack-ng to run smoothly. We gathered a short list of them for you, so you can find the issue easier and faster.

    • Monitor mode not supported: Some wireless cards do not support monitor mode, which is required for certain Aircrack-ng functions. Check if your card supports it.
    • Driver issues: Ensure that your wireless card is compatible with Aircrack-ng and you’ve installed the correct drivers.
    • Interface not detected: If Aircrack-ng does not detect your wireless interface, try restarting the network manager or manually configuring the interface using commands like “ifconfig” or “iwconfig.”
    • Incorrect password or handshake capture: Make sure you have captured a valid handshake or have the correct password when attempting to crack a Wi-Fi password.
    • Insufficient signal strength: Weak signal strength can affect the success rate of Aircrack-ng attacks. Try moving closer to the target access point or using a more powerful wireless card.
    • False positives: Some antivirus software may falsely detect Aircrack-ng as a malicious tool. Disable or whitelist Aircrack-ng in your antivirus software if necessary.

    Conclusion

    In conclusion, Aircrack-ng is a powerful tool for assessing the security of wireless networks. By understanding its capabilities and following the installation guide provided, you can successfully install Aircrack-ng on Kali Linux. Remember to ensure compatibility with your wireless card, troubleshoot any issues that may arise, and exercise responsible and ethical usage. With Aircrack-ng at your disposal, you can enhance your network security knowledge and protect against potential vulnerabilities.

  • How to Manage Cron Jobs on CWP

    How to Manage Cron Jobs on CWP

    Cron jobs are scheduled tasks that run automatically at specified intervals on a Unix-like system. CentOS Web Panel (CWP) is a control panel for managing web hosting environments on CentOS servers. This article focuses on teaching you how to manage Cron Jobs on CWP (CentOS Web Panel), But first of all, you should understand completely what are Cron Jobs and how you can benefit from that. keep studying.

    Note that to work with cron jobs, you should have a proper Linux distribution. If you want to buy Linux VPS server, we suggest you to visit the plans with a large variety of locations and high quality presented on our website.

    Functionality of Cron Jobs

    The function of cron jobs for system administrators in Linux is that they can automate and schedule various tasks such as system maintenance, data backups, updates with security patches, disk space monitoring, storage checks, etc. Use cron jobs to send notifications and other things. These tasks are written in a text editor to create a simple text file called crontab.

    The crontab shows the current user’s profile, such as what they want to automate and when it should run.

    So, this system is beneficial in two ways:

    1- The first advantage is automation: You can automate repetitive tasks using cron. This saves time and reduces the risk of error.

    2- Scheduling: Cron jobs allow you to schedule tasks at a certain time, bringing order to the work and systematic performance.

    How-to-Manage-Cron-Jobs-on-CWP

    How We Can Manage Cron Jobs on CWP?

    If you want to maintain and schedule Cron Jobs you can use Crontab or Cron Table, which is a Linux program. So to execute Cron Jobs on CWP, follow these steps:

    – Login to the CWP as an administrative user by navigating to your server’s IP address or domain name.

    – Now navigate to the Cron Jobs section. Go to the left and select Crontab for root under the Server Settings. Activate Cron Jobs:

    manage-cron-jobs-on-cwp

    – If you need to quickly automate tasks and run every once or twice a day, week, etc. use the Common cron jobs Option.

    – If you want to set more unique schedules, use Add Custom Cron Jobs. This option is good for ensuring two resource-intensive tasks will not run concurrently.

    – If you want to type or paste a full Cron Jobs, choose Add Full Custom Cron Jobs.

    – As the last action select Save Changes.

    Here we gave you an example of the way your command looks like:

    Example of job definition:
    .---------------- minutes (0 - 59)
    | .------------- Hour (0 - 23)
    | | .---------- day of month (1 - 31)
    | | | .------- month (1 - 12) OR jan,feb,mar,apr …
    | | | | .---- day of week (0 - 6) (Sunday=0 or 7)
    | | | | |
    * * * * * user-name command to be executed

    How to Configure Cron Jobs on CWP

    You’ll need to configure various settings for the cron jobs. Options to change are these:

    Select User: Choose the user for whom the cron jobs will run. This user should have the necessary permissions for the task.

    Common Settings: You can often select from common time intervals (e.g., hourly, daily, weekly) or set a custom cron expression.

    Command: Enter the command you want to run as cron jobs. Provide the full path to the command and any necessary arguments.

    Email: You can enter an email address to which the output of the cron jobs will be sent. This can be useful for debugging and monitoring.

    How-to-Configure-Cron-Jobs-on-CWP

    After configuring the settings, click the Add or Save button to create the cron jobs. The cron jobs will be added to the system and will run according to the schedule you defined.

    Conclusion

    Cron jobs are scheduled tasks that run automatically at specified intervals on a Unix-like operating system. We tried to give a simple and useful explanation to show the way of creating and configuring Cron Jobs on CWP. Besides, it is a good idea to consult the official documentation for CWP or seek assistance from their support if you encounter any issues or need more specific guidance.

  • How to Install Photoshop on Admin RDP

    How to Install Photoshop on Admin RDP

    Photoshop is one of the most popular graphic software that is used to edit, reconstruct, and make changes to images within spaces and different color models such as RGB, CMYK, black and white, and so on. This software can run on Windows, Mac, and Linux operating systems through interface software. Activating and installing Photoshop is done in several ways for each of these operating systems. Photoshop software is a graphic software product of Adobe. The features, speed and AI of Photoshop have been greatly improved in the new versions. We will examine this perfect app and teach you how to install Photoshop on Admin RDP.

    Requirements

    To install Photoshop on an Admin RDP, the following requirements are recommended:

    – Processor: Intel Core i5 or higher

    – RAM: 8GB or more

    – Storage: At least 10GB of free disk space for installation and additional space for files.

    – Graphics card: NVIDIA GeForce GTX 1050 or higher with at least 2GB of VRAM.

    If you want to buy Admin RDP Server, we suggest you to test and use different plans with different locations that are presented on our website.

    How to Install Photoshop on Admin RDP

    At first, You must log in to your Creative Cloud account, but if you do not have one, sign up.

    After logging in to your account, now you can download the Photoshop program from the Creative Cloud website. Just click Download.

    Tip: First you have to buy Photoshop, then download it.

    download-photoshop

    Now you have to double-click on the downloaded file to start the installation progress.

    At this point, just follow the onscreen instructions to complete the installation of Photoshop. So in the window that opens, select the language you want and click Continue:

    installing-photoshop-on-windows-server

    Wait a few moments for Photoshop to finish. Finally, click Close:

    how-to-install-photoshop-on-windows-server

    How to Run Photoshop on an Admin RDP Server

    After installing Photoshop, you can run it by clicking on its icon on the desktop or the Start menu. In the image below, you can see the Photoshop environment:

    adobe photoshop on admin rdp

    Troubleshooting

    If you are encountering issues while trying to install Photoshop on admin RDP session, there are a few troubleshooting steps you can try:

    1) Administrative privileges: Make sure you have administrative privileges on the RDP session. To do this, right-click on the installer file and select “Run as administrator.”

    2) Antivirus software: Temporarily disable any antivirus or security software running on the RDP session. Some security applications may interfere with the installation process. Remember to re-enable the antivirus software after installation.

    3) Compatibility mode: Right-click on the installer file and select “Properties.” Under the “Compatibility” tab, enable the option to run the program in compatibility mode. Choose a previous version of Windows that you know is compatible with Photoshop.

    Conclusion

    If you Install Photoshop on Admin RDP, it provides the convenience of accessing and using the software remotely. By following this comprehensive guide, you can successfully install Photoshop on an Admin RDP by setting up the remote desktop connection, downloading and installing the Adobe Creative Cloud application, and then installing and activating Photoshop itself. With Photoshop readily available on your Admin RDP, you can now enjoy all its features and functionalities from anywhere with an internet connection.

  • Tutorial Configure and Use Ansible on AlmaLinux 8.5

    Tutorial Configure and Use Ansible on AlmaLinux 8.5

    Ansible is known as a free, open-source automation tool that allows system administrators to configure and control hundreds of nodes from a central server without having to install any agents on the nodes. This tool is a better management solution than Poppet and Chef due to its easy installation and use. You will learn How to Configure and Use Ansible on AlmaLinux 8.5 by studying this article.

    Requirements

    To configure and use Ansible on AlmaLinux 8.5, you need to ensure that your system meets the following requirements:

    – Processor: You will need at least a 1 GHz processor or higher.

    – RAM: It is recommended to have at least 4 GB of RAM for better performance.

    – Storage: A minimum of 20 GB of storage should be sufficient.

    – Network Connectivity: A stable network connection is essential for Ansible to communicate with the target hosts.

    Notice that to use this helpful tool on distributions like AlmaLinux you can purchase Cheap Linux VPS servers from NeuronVM.

    How to Install Ansible on AlmaLinux 8.5

    First, you need to make sure the system is up to date using the following commands:

    sudo dnf update
    sudo dnf upgrade

    Then you need to install EPEL using the following command:

    sudo dnf install epel-release

    Then, use the following commands to install Python 3 and run other dependencies:

    sudo dnf module install python3.8
    sudo alternatives --config python

    In this step, install Ansible from the official AlmaLinux repository:

    sudo dnf install ansible

    To install Ansible, you need to run the following commands:

    sudo pip3 install setuptools-rust wheel
    sudo pip3 install --upgrade pip
    sudo python3 -m pip install ansible

    When done, it is time to confirm the installation using the following command:

    ansible –version

    How to Configure Ansible on AlmaLinux 8.5

    In the first step of this step, to configure Ansible, it is necessary to install OpenSSH-server using the following commands:

    sudo dnf install openssh-server
    sudo systemctl enable ssh

    Enter the following command to allow port 22 in the firewall:

    sudo ufw allow 22

    You can use the following commands for RHEL or CentOS Linux VPS:

    sudo dnf install openssh-server
    sudo systemctl enable sshd

    You should allow port 22 in the firewall:

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

    To perform these steps, you must have three servers: Ubuntu, Debian, and CentOS:

    Ubuntu – server_IP
    CentOS – server_IP
    Debian – server_IP

    How to Use Ansible on AlmaLinux 8.5

    In the continuation of this article, we intend to teach you step-by-step How to Use Ansible on AlmaLinux 8.5.

    How to Generate SSH Keys on Ansible Installed AlmaLinux

    To install the package or deploy it on the target remote server, create a pair of SSH keys on the localhost and then press them on each remote server so that you can manage them using SSH.

    Type the command and press the Enter key several times until the keys are generated:

    ssh-keygen

    How to Copy SSH keys to Remote or Target Servers

    Press the key created in almaLinux to the remote servers that you want to configure or manage. You need to know the username of the remote server or use the default root user.

    Tip: Replace Linda with sudo users on remote servers or use the default root and replace the IP address with the server address.

    ssh-copy-id linda@Ubuntu – server_IP
    ssh-copy-id linda@CentOS – server_IP
    ssh-copy-id linda@Debian – server_IP

    Run the following command on each server so that you can run sudo commands on them using Ansible without entering a password:

    echo "$(whoami) ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/$(whoami)

    How to Inventory Files for Remote Hosts

    In Ansible, create a file that defines the entire remote host or target system that you want to manage. Also create a group of hosts, for example, a group is a web server that only includes a remote system that runs some web servers such as Apache, and another group can be a Mysql group running a Database server and so on. The Inventory file is also important because it uses the commands, modules, and tasks in a playbook.

    Now as you have three remote servers in this tutorial, add them to the Ansible host file:

    sudo dnf install nano -y
    sudo nano /etc/ansible/hosts

    If you do not want to create a group, put your remote server IP address or domain name in the file, and specify a group before adding IP addresses.

    Edit the default values of the Ansible inventory file that already contains samples, or add your own samples at the bottom of the file. In this section, add two servers to a host group identified by the web servers, and one server is defined as an individual.

    They are in a group called a web server. The advantage of creating a group is that you can issue a command to a complete set of servers defined in that particular group of hosts.

    Inventory with custom SSH port

    If you are using a server that does not have a default SSH port 22, for example, a server running on a Docker, you can also define it by its IP address:

    your_IP_address ansible_user=remote-server-username ansible_port=49153

    Tip: In the above command, replace the IP address, remote-server username, and port number and add it to the inventory file:

    Tutorial-Configure-and-Use-Ansible-on-AlmaLinux-8.5.2

    To save the file, just press Ctrl + X, Type “-y” and press Enter.

    How to Ping all added Remote Servers on AlmaLinux

    Once you have successfully created the inventory file, check if Ansible can ping all the added servers for it. To ping group server:

    ansible -m ping group-name

    example:

    ansible -m ping web-servers

    To ping a single server:

    ansible -m ping ip-address

    example:

    ansible -m ping your_IP_address

    Finally, you can type the following command to ping all:

    ansible -m ping all

    Ansible Commands to Install Packages from Remote Servers

    Suppose you want to install the Apache web server on a group of servers that you have defined in the Inventory file. Use a web server, as we have already mentioned here, you can use any name you give to your server group.

    Command Syntax 

    You can use the following command as a syntax command:

    ansible -b --become-method = sudo -m shell -a 'command to execute' web servers

    For example, running an update and installing the Apache server on Debian and Ubuntu remote systems simultaneously:

    ansible -b --become-method=sudo -m shell -a 'apt update' webservers

    Installing Apache

    You can use the following command to install Apache:

    ansible -b --become-method=sudo -m shell -a 'apt install -y apache2' webservers
    Tutorial-Configure-and-Use-Ansible-on-AlmaLinux-8.5.webp

    To execute the same command above for all defined remote PCs:

    ansible -b --become-method=sudo -m shell -a 'apt install -y apache2 ' all

    For non-grouped hosts, you can use their IP address, for example, the following command:

    ansible -b --become-method=sudo -m shell -a 'apt install -y apache2' your_IP_address

    Also use other commands that do not require sudo, such as working time check:

    ansible -m command -a "uptime" group-name/ip-adress

    The command can be used for other purposes, just replace the uptime with the command you want to run on the remote server and rename the group/IP address.

    Troubleshooting

    1) Ansible command not found:

    If you are unable to run Ansible commands on AlmaLinux, it could be due to the package not being installed. You can troubleshoot this by running the following command to ensure Ansible is installed on your system.

    sudo dnf install ansible

    2) SSH connection failure:

    Ansible relies on SSH for remote execution, so if you are unable to establish an SSH connection to the target host, it will prevent Ansible from working. Troubleshoot this issue by checking if SSH is installed and correctly configured on both the Ansible control node and the target host.

    3) Inventory file not found:

    Ansible uses an inventory file to define the hosts and groups it manages. If Ansible is unable to locate the inventory file, it will fail to execute playbooks. Verify the path to the inventory file specified in the Ansible configuration file (typically “ansible.cfg“) and ensure that it exists.

    4) Permission denied for SSH key:

    When using SSH key-based authentication, ensure that the SSH key is correctly configured and has the necessary permissions. The private key file should have permissions set to 600 (i.e., only readable by the owner) to prevent permission-denied errors.

    5) Playbook syntax errors:

    If you encounter issues with running Ansible playbooks, syntax errors within the playbook YAML files could be the cause. Use the “ansible-playbook” command with the “–syntax-check” flag to validate the syntax of the playbook files and troubleshoot any errors or warnings reported by the command. Also, ensure that indentation is correct, as YAML is sensitive to correct indentation.

    Conclusion

    In this tutorial, you have learned how to configure and use Ansible on AlmaLinux 8.5. We covered the installation process, configuring Ansible using an inventory file, testing the connection to remote hosts, writing Ansible playbooks, and running them to automate tasks on your server infrastructure. With Ansible, you can easily manage and deploy applications, configurations, and systems across your network, saving time and effort in the process. Experiment with Ansible, explore its vast capabilities and unlock the power of automation in your IT operations.

  • How to Install and Uninstall Samba on AlmaLinux 8

    How to Install and Uninstall Samba on AlmaLinux 8

    Samba is a widely used open-source software suite that allows interoperability between Linux and Windows systems, enabling file and print sharing across networks. AlmaLinux 8 is a popular Linux distribution that is a drop-in alternative to CentOS 8. This guide will teach you about install and uninstall Samba on AlmaLinux 8, ensuring seamless integration between your AlmaLinux system and Windows-based networks.

    Requirements

    To install Samba on AlmaLinux 8, you need to meet the following requirements:

    – Access to an AlmaLinux 8 machine with root privileges.

    – Internet connectivity to download the necessary packages.

    – RAM: It is recommended to have at least 2 GB or more.

    If you need to buy a Linux VPS server to run Samba, we suggest you to use the various, high-quality and location-variety plans offered on our website.

    How to Install Samba on AlmaLinux 8

    install samba on almalinux

    In the first step, you should install Samba on AlmaLinux 8 by executing the following command:

    sudo dnf install samba samba-client

    SMB is a daemon that handles the actual transfer and sharing operations and nmb performs the NetBIOS name resolutions and allows resources to appear in Windows while browsing the network.

    After installing the packages, you need to start and enable the SMB and the NMB daemons at the boot:

    sudo systemctl enable --now {smb,nmb}

    AlmaLinux has a firewalld that is enabled by default. The firewall blocks other connections of computers trying to access the Samba service. In this step, you need to allow the proper ports through the firewalld with the help of the following command:

    sudo firewall-cmd --permanent --add-service=samba
    sudo firewall-cmd --reload

    You can add the –zone option to the above command if configuration is needed.

    How to Create a Samba User on AlmaLinux 8

    You can setup a Samba Share without the need for an account, But it’s better for people who connect to Samba Share to create user accounts. Each Samba user needs a normal user account on the AlmaLinux account.

    You can create a new Samba account by running the following command:

    sudo adduser -M sambauser -s /sbin/nologin

    The -M option is the short form for –no-create-home, and the -s option allows you to specify a shell: /sbin/nologin. There is no need to set a password for a user account, just a password for the Samba service.

    You can create a Samba password for the newly created user by entering the following command:

    sudo smbpasswd -a sambauser

    How to Configure Samba to Share a Directory on AlmaLinux 8

    Now it’s time to configure the directory you want to share via Samba:

    configure samba on almalinux 8

    In this tutorial, a shared directory is made at /mnt/shared:

    sudo mkdir -p /mnt/shared
    sudo chmod 777 /mnt/shared

    Then you need to open your configuration file with your favorite text editor to edit it:

    sudo nano /etc/samba/smb.conf

    Next, you should go all the way to the bottom of the file and paste the following lines:

    [neuronvm]
            path = /mnt/shared
            guest ok = no
                    read only = no

    Save the changes to the file and exit it. You should restart the Samba service by entering the following command for the changes to take effect:

    sudo systemctl restart {smb,nmb}

    Now it’s time to allow Samba through SELinux. SELinux is also enabled by default in AlmaLinux. You should assign the appropriate context to your shared directory and files. This allows Samba to function while keeping SELinux in the recommended enforcing mode:

    sudo chcon -R -t samba_share_t /mnt/shared

    Connecting to Samba Server from AlmaLinux

    Other systems should be able to connect to this directory to upload or download files from the Samba server.

    First, you need to create an empty directory by entering the following command to use it as a mount point for the remote Samba share:

    sudo mkdir -p /mnt/fileserver

    In this step, you need to install the remote Samba share to the folder you just created by executing the following command:

    sudo mount -t cifs -o username-sambauser //192.168.1.10/neuronvm/mnt/fileserver

    Enter the password to mount Samba Share.

    Now you should access your Samba share from Gnome’s file manager:

    smb://127.0.0.1/neuronvm/

    Remember to replace the IP address.

    The Samba share will be installed on the left side of the Gnome file manager.

    How to Uninstall Samba on AlmaLinux 8

    You can remove Samba from your AlmaLinux server by executing the following command:

    sudo apt-get remove --purge samba

    If you have client problems, enter the following command to remove the SMB client:

    sudo apt-get remove --purge smbclient libsmbclient

    Conclusion

    Install and uninstall Samba on AlmaLinux 8 is a straightforward process that allows you to enhance cross-platform compatibility between Linux and Windows systems. By following the steps outlined in this comprehensive guide, you can easily set up Samba to share files and printers, and later remove it if desired. Enjoy seamless integration and efficient network collaboration between your AlmaLinux system and Windows-based networks.

    FAQ

    Where is the Samba configuration file on Linux?

    You can find the samba configuration file at /etc/samba/smb. conf.

    Which one is better, Samba or FTP?

    If we compare these two, FTP is much faster and more efficient than samba. file transferring protocol in FTP is better.

  • Tutorial Configure Nginx on WHM/Cpanel

    Tutorial Configure Nginx on WHM/Cpanel

    Nginx is a popular web server software widely used for its high performance and scalability. WHM (Web Host Manager) and Cpanel are widely used hosting control panels that provide an intuitive interface for managing web hosting accounts. In this tutorial, we will guide you to Configure Nginx on WHM/Cpanel to enhance the performance and security of your website.

    Remarkable Points Before Installation

    If you install and configure Nginx on your WHM, it will help you perform actions such as installation, removal, and changes with reverse proxy. Suppose Nginx is not installed on your system. In that case, the administration entry page allows you to install this web server on the Cpanel server by clicking the Nginx button, but, if it is preinstalled, the default interface is placed in the system settings tab.

    Finally, if the server has already installed a Nginx-Standalone package, it will ask for the installation interface of Nginx with the reverse proxy cache. For this reason, click on the switch to Nginx reverse proxy mode and the package will be installed.

    Configure Nginx on WHM-Cpanel

    Requirements

    To configure Nginx on WHM/CPanel, you will need:

    – Processor: At least 2 cores, but more cores will provide better performance.

    – RAM: Minimum of 2GB, but more RAM is recommended for better performance.

    – Hard Disk Space: At least 20GB of available disk space for the operating system and Nginx installation.

    – Root Access

    – WHM/CPanel License

    If you want to install cPanel on VPS server, we suggest you use the Linux VPS server plans that are presented on our website with a wide variety of locations.

    Installing Nginx on WHM

    You can install Nginx on Cpanel in 3 different ways:

    _ The first method is to use the easyApache 4 interface in Cpanel.

    _ The second one is to use the WHM manager interface by going to the software part in WHM

    _ And the last method is to run the bellow command on the command line as the root user:

    yum install ea-nginx

    The most user-friendly method is to install the Nginx manager on WHM. Now, click on the install button and you will see a new interface appears. Then WHM installs the Nginx web server on your system. This way all Cpanel accounts will be configured to use Nginx and cache feature by default.

    After the installation is done, you will see an option with the content “Go to Nginx manager“. Now you can click on it to return to the interface. You should then open the system setting tab:

    install-nginx-cpanel

    Configure Nginx on WHM

    Here we will analyze the way of configuring Nginx. So follow the rest of the article carefully.

    Configuration changes on Nginx

    The Nginx installation process, changes the Apache server installation, to use different ports. Then Nginx will proxy all requests to Apache. The Apache ports will only change if the Apache configuration uses the default ports (80, 443).

    By installing Nginx, this process will also install the Apache module ea-ruby27-mod_passenger to install and create a Ruby application on Cpanel.

    Main Configuration for Nginx

    You can use the command below for the default Nginx configuration file:

    /etc/nginx/conf.d/ea-nginx.conf

    Then for user configuration and customizing every server that the user owns create your own .conf file in the directory:

    /etc/nginx/conf.d/users/username 

    Customize a specific server block for a specific domain and create your .conf file in this directory:

    /etc/nginx/conf.d/users/username/domainname/

    To add global configuration, go to the following directory:

    /etc/nginx/conf.d/

    To set every server block on your server, create your .conf file in the directory below:

    /etc/nginx/conf.d/server-includes/

    Configuration for Apache

    If you install Nginx, it will change the Apache port to the first available port under 1024. this will be port 81. Also, Nginx installation will change Apache SSL to the first available port 1024 which is 444.

    At last, this installation will add the details below to the directory /etc/nginx/conf.d/ea-nginx.conf.

    map $host $CPANEL_APACHE_PROXY_IP {
    default 127.0.0.1;
    }
    map $host $CPANEL_APACHE_PROXY_PORT {
    default 81;
    }

    If you want to customize the server blocks for Nginx, you should create the .conf file in the appropriate location. The server block is the same as the virtual host in Apache, and each block includes .conf file in the /etc/nginx/conf.d/server-includes/ directory.

    In Cloudflare configuration, Nginx installation will detect when a domain is using Cloudflare. Then it will configure the system to work properly and the location in which the Cloudflare configuration will be saved is /etc/nginx/conf.d/includes-optional/cloudflare.conf.

    Troubleshooting

    1) Check the Nginx configuration file: Make sure that the Nginx configuration file, located typically at /etc/nginx/nginx.conf, is properly configured. Check for any syntax errors or missing directives.

    2) Verify Nginx service status: Ensure that the Nginx service is running and active. You can use the following command to check the status:

    systemctl status nginx

    If it is not running, start the service using the below command:

    systemctl start nginx

    3) Check Nginx listening ports: Nginx should be listening on the appropriate ports for HTTP (port 80) and HTTPS (port 443). You can use the following command to check the listening ports. If Nginx is not listening on the required ports, check your Nginx configuration:

    netstat -tuln

    Conclusion

    With this article, you can now configure Nginx on WHM/Cpanel. It is really easy to use as you can use Nginx Manager and control Nginx on the Cpanel web server with only a few clicks. If you have any other ideas, please share by leaving a comment.

  • Tutorial Setup Python on RDP Server 2019

    Tutorial Setup Python on RDP Server 2019

    Python Programming Language is an easy-to-learn language, which is why many novice programmers choose it as their first programming language because Python was developed as a General-Purpose Language and not limited to the development of certain types of software. The main purpose of inventing the Python programming language is high readability of the code of the program commands so that blocks of code appear automatically in the IDE. It is an open-source programming language and is managed by the Python Software Foundation. This article will teach you about Tutorial Setup Python on RDP Server 2019 step by step.

    If you want to buy Admin RDP, we suggest you to use the attractive plans presented on our website, which have high performance and variety of locations.

    Requirements

    To setup Python on Admin RDP server running on Windows Server 2019, you would generally need the following requirements:

    – Processor: A minimum of 1.4 GHz 64-bit processor or faster is recommended.

    – RAM: At least 2 GB of RAM is recommended.

    – Administrative access: You need administrative privileges to install software on the server.

    – Internet connectivity: Ensure that the server has a stable internet connection to download the Python installation files.

    – Python installer: Download the Python installer from the official Python website. Choose the appropriate Windows installer, which would typically be an executable file with the extension “.exe”.

    How to Install Python on RDP Server 2019

    In this section, we plan to teach you how to install Python on Rdp Server 2019. To enter the RDP server environment, you must first search and run the Remote Desktop Connection in your Windows start menu. After entering the required IP as well as the password, you can enter the server by clicking on Connect:

    remote-desktop-connection

    Now, you must first run and install PowerShell with Admin Privilege.

    Download the Python using the following command:

    Invoke-WebRequest -Uri "https://www.python.org/ftp/python/3.7.4/python-3.7.4-amd64.exe" -OutFile "python-3.7.4-amd64.exe"

    Then, you should install Python in PowerShell using the following command:

    .\python-3.7.4-amd64.exe /quiet InstallAllUsers=1 PrependPath=1 Include_test=0

    In the next step, you can reload environment variables by running the command below:

    $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")

    You can also follow the installation steps below in the GUI installation method:

    Double-click the installer in the folder where the file was downloaded.

    Python Path will add to the environment variables by checking the “Add Python ** to PATH” box. Note that if you select the “Install Now” option, Python will be installed only for the current user, and if you select the “Customize install” option, Python will be installed for all users:

    install-python

    Now you must first check “Install for all users” and then click “Install“:

    Advanced-options-python

    Click “Close” to finish the installation process:

    setup-python

    Verify the installation by running PowerShell and entering the following command:

    python -V
    execute-python-command

    Troubleshooting

    If you are experiencing issues while trying to install Python on RDP Server 2019, here are some troubleshooting steps you can follow:

    1) Verify system requirements: Make sure your server meets the system requirements for Python 3.x or the specific Python version you are trying to install. Check if the server has the required operating system version and architecture (32-bit or 64-bit). Also, ensure that you have sufficient disk space available.

    2) Run the installer as an administrator: Right-click on the installer executable and select “Run as administrator” to ensure that you have the necessary permissions to install software on the server.

    3) Disable antivirus/firewall: Sometimes, antivirus or firewall software can interfere with the installation process. Temporarily disable any antivirus or firewall software running on the server before attempting to install Python.

    4) Try a different version: If you are encountering issues with one version of Python, try installing a different version to see if the issue persists. Sometimes, specific versions may have compatibility problems with certain system configurations.

    Conclusion

    By following the above steps, you have successfully installed Python on your RDP Server 2019. Python provides a vast range of libraries and frameworks that can be utilized for various projects, including web development, data analysis, machine learning, and automation tasks. With Python installed, you can begin harnessing the power of this programming language on your RDP Server, enabling you to create efficient and effective applications to meet your requirements. Start exploring Python’s capabilities now and unlock endless possibilities for your development endeavors.

  • How to Install minecraft on Windows Server

    How to Install minecraft on Windows Server

    Minecraft is a popular sandbox video game. It has been so successful that it has attracted the attention of professional gamers. It helps players to build structures with different blocks in a 3D virtual world. Of course, the possibility of playing and having fun is only part of this story, and there are other advantages in this amazing game. This article deals with how to install Minecraft on Windows Server. Users must connect to a central computer that acts as a host. Let’s explore the continuation of this guide in the content below.

    Prerequisites to Install a Minecraft

    If you plan to install Minecraft on a Windows server, you must provide the necessary prerequisites. These prerequisites include:

    – A Windows VPS with Windows Server 2012, 2016, 2019, 2022

    – 4 GB of RAM

    – High-speed internet connection

    Note: To have a hassle-free performance, for a multiplayer server, you should have a lightning-fast CPU.

    Install Minecraft on the Windows Server

    Follow the seven steps below to get an easy and fast installation of the Minecraft server.

    Step 1: Downloading Java

    Go to the official website of Java and download the latest version on your Windows server:

    Downloading Java

    As you can see, a .exe file will be downloaded. Open the file and click on the Install button. When you finish the installation process, restart your computer.

    installing java on windows server

    Note: Try to download the latest version of Java.

    Step 2: Download Minecraft Server

    After downloading the latest version of Java, it is time to download Minecraft files from its official website.

    Find the minecraft_server.1.20.4.jar file and click on it to download the Minecraft jar file. Then move the Minecraft server file from your default downloads folder to your desired location. It is better to create a special folder for this file:

    download minecraft server

    Step 3: Extracting Files From Minecraft Server File

    You need to extract the required installation files, so double-click on the downloaded server.jar file. These files will be used in the next steps to configure Minecraft on the Windows server:

    how to setup a minecraft server on windows

    Step 4: Configuring the Server Properties

    Now you can set server properties with configuration files:

    configure the server properties

    You must agree to the Minecraft End User License Agreement (EULA) to proceed. So open this agreement and read it. Then open the eula.txt file, and change eula=false to eula=true and save. Now accept the contract.

    Use the server.properties file to configure server properties. Essential server settings include memory, game settings, and server port. The default server port is 25565.

    Note that you can change and adjust the server settings according to your desire from the server.properties file. So make the required changes and save it on your Windows server.

    Step 5: Running Minecraft Java File

    Remember the Minecraft Java file that we extracted in step 3. Now, by configuring all the server settings, you can run the same Minecraft Java file in your Windows server environment.

    Step 6: Allowing Access

    At this point, you need to allow access to the Minecraft server installed in your Windows firewall. This way you can successfully connect to the Minecraft server. Now click on the Allow access button so that the Minecraft server works in the firewall. (If needed)

    Step 7: Connecting Minecraft Server

    After a successful installation and setup, you will see the Minecraft stats window:

    configure the server properties

    If your system can’t keep up with the details required to run a multiplayer server even after providing the prerequisites, you can use a cloud server for a seamless experience:

    configure the server properties

    For this, you can install a cloud server and connect to it from your Minecraft server. Now select multiplayer and select the add server option:

    configure the server properties

    The only step is to enter the details and voila. Finally, the Minecraft server is ready to run on your Windows server. simply!

    If you need to know the IP address of your Minecraft server, you can simply ‘What’s my IP address?‘. Please enter it in Google so that you can find it. You can also use the server IP example your_server_ip:25565.

    If your teammates can’t connect to the game, you can provide them access directly through your router from port 25565. Also, your IP address keeps changing. That’s why you should give your teammates the latest information.

    Get ready and hit the play button to start the game.

    minecraft on windows server

    Note: To use a cloud platform like AWS or Google Cloud, enable the port from security groups.

    Using Command Prompt to Install Minecraft on Windows Server

    Another easy way to install Minecraft is to use the command line. So, open the command line and go to the Minecraft folder because the downloaded jar file is located there. If the desired folder is located in Documents, use the following command:

    cd Documents/Minecraft

    Now insert the following command:

    java -Xmx1024M -Xms1024M -jar minecraft_server.1.20.4.jar nogui

    Well done! Now you can see the Minecraft server screen:

    minecraft on windows server

    Troubleshooting Common Issues Of Minecraft on Windows Server

    Minecraft server administrators on Windows may encounter various issues. Here we will examine some common problems and their solutions:

    1- Running the wrong version of Java can cause problems.

    Solution:

    Ensure you’re using the correct version of Java that’s compatible with your Minecraft server version.

    2- Server not accessible due to firewall blocking or incorrect port forwarding.

    Solution:

    Check your Windows firewall settings and ensure that the necessary ports (default is 25565) are open. Set up port forwarding on your router if hosting from home.

    3- The server fails to start or crashes.

    Solution:

    Check the server logs for error messages, update Java, and ensure you have enough system resources allocated to the server.

    4- Players experience lag or poor server performance.

    Solution:

    Optimize server settings, limit excessive resource-intensive mods/plugins, and allocate more resources if needed.

    Conclusion

    As mentioned, Minecraft is a popular game that can be played by various users in the virtual space. Now you can connect with other players through the Minecraft gameplay that you have installed on your Windows server and enjoy it. You can also customize mods and add-ons to your liking in your Minecraft server. Install the game and feel the pleasure of a dedicated gaming environment.

  • The Easiest Way To Buy a Minecraft Server With Bitcoin

    The Easiest Way To Buy a Minecraft Server With Bitcoin

    In the ever-evolving world of gaming, Minecraft has emerged as a popular and immersive universe where players can create, explore, and collaborate. As the game continues to captivate individuals of all ages, the demand for dedicated Minecraft servers has skyrocketed. To cater to the growing needs of Minecraft enthusiasts, this article presents the easiest and most convenient method to buy a Minecraft server with Bitcoin. As cryptocurrencies gain traction in various industries, the intersection of Minecraft and Bitcoin offers a seamless solution for gamers seeking an efficient means of accessing their own dedicated server. We delve into the benefits and steps required to acquire a Minecraft server with Bitcoin, revolutionizing the way enthusiasts indulge in the endless possibilities of Minecraft’s virtual realm.

    Introduction to Bitcoin and Minecraft Servers

    Bitcoin is a digital currency that has gained immense popularity over the years. It is a decentralized form of currency that allows users to make transactions directly without the need for intermediaries such as banks. Minecraft, on the other hand, is a popular sandbox video game that allows players to build and explore virtual worlds. These two seemingly different entities have found a unique connection in the form of Bitcoin payments for Minecraft servers.

    Minecraft and Bitcoin

    Minecraft servers are private multiplayer networks that allow players from all over the world to connect and play together. These servers require hosting and maintenance costs, which are typically paid for with real-world currency.

    However, with the introduction of Bitcoin payments, players now have the option to purchase Minecraft servers using their Bitcoin funds. This not only provides a convenient and secure mode of payment but also opens up new opportunities for players who may have limited access to traditional payment methods.

    Benefits of Purchasing a Minecraft Server with Bitcoin

    There are several benefits to purchasing a Minecraft server with Bitcoin. Firstly, Bitcoin payments offer a higher level of privacy and security compared to traditional payment methods. When using Bitcoin, users can make transactions without revealing any personal information, ensuring their financial details remain anonymous. This added layer of security can be particularly appealing to Minecraft players, who may be concerned about their online privacy.

    Benefits of Bitcoin Minecraft Server

    Secondly, Bitcoin transactions are generally faster and more efficient than traditional payment methods. With Bitcoin, payments can be processed in a matter of minutes, eliminating the need for lengthy verification processes or waiting periods. This means that players can quickly set up and enjoy their Minecraft servers without any unnecessary delays.

    Additionally, Bitcoin transactions are not subject to geographical boundaries or financial institutions, so that players from any part of the world have equal access to purchase Minecraft servers.

    Choosing the Right Minecraft Server Hosting Provider

    Choosing the right Minecraft server hosting provider is crucial for an optimal gaming experience. There are several factors to consider when making this decision.

    Firstly, the server provider should offer reliable and high-performance servers that can handle the demands of Minecraft gameplay. It should have a strong infrastructure that minimizes lag and ensures smooth gameplay for all players.

    Additionally, the provider should offer good customer support, so that any issues or concerns can be addressed promptly. It is also important to consider the pricing plans and packages offered by the provider, ensuring that they align with your budget and gaming requirements.

    By carefully considering these factors, players can find a server hosting provider that enhances their Minecraft experience.

    At NeuronVM, we pride ourselves on being a leading Minecraft server hosting provider that offers top-quality servers at a competitive price.

    Our servers are equipped with the latest hardware and high-speed connections, ensuring excellent performance and minimal lag. Additionally, we offer a wide range of plugins that cater to various gaming preferences, providing an immersive and customizable experience.

    Our team of dedicated professionals is available round the clock to provide reliable customer support. With our affordable pricing plans, we strive to make Minecraft server hosting accessible to all gamers, without compromising on quality or performance.

    Choose NeuronVM for the best Minecraft servers and take your gaming experience to the next level.

    How to Buy Minecraft server with Bitcoin?

    I’m sure there are many of you out there who may need a fast and strong Minecraft dedicated server. I’m sure because I was in a need of the same thing a few months back. After scrolling through a lot of websites who claimed that their servers are the best. Bought one, used it for a short while and wasn’t really happy with the results.

    At NeuronVM, we started to provide Minecraft servers and so far the feedback has been great! You buy it and you use it for one week and if it didn’t fulfil your requirements (which is unlikely), you can get your money back, no question asked. So here’s a small guideline on how to buy Minecraft server with Bitcoin to make things easier for you:

    Buy Minecraft server with Bitcoin
    • Choose the plan you need click on Buy Now.
    minecraft Server Plans
    • It will direct you to the page shown below. There’s a small form to fill under the “Configure Server” section. You can also change the options like Operating System, Location and Additional IP.
    minecraft server Shopping Cart
    • You’ll be landed on Review and Checkout pay where you can simply review the items in your shopping card and enter a promo code to apply discounts. After you’re done, click on Checkout button and proceed.
    Review & Checkout about game servers
    • Fill the form if you haven’t signed up before. After that you can choose your preferred method on payment and click on Complete Order button down below.
    login to neuronvm website
    • Now select Bitcoin from the Select Coin section and then click on Complete Checkout.
    buy server pay with bitcoin
    • Copy your bitcoin wallet information and pay easily.
    server with bitcoin

    That’s it! Our specialists will deliver your server to you in no time and you’ll be able to run your Minecraft server without worrying about anything! Remember if you had any questions you can contact us through different ways, or you can comment under this post and I will answer any related question to this topic!

    Final Words

    Playing Minecraft is so fun and engaging, but it’s most enjoyable when there’s no obstacle slowing you down. Having a strong dedicated server can really boost your experience and all the other players that you host! Plus, you don’t have to worry about paying high commissions to online payment gateways. At NeuronVM you can simply get a Minecraft server with Perfect Money, Bitcoin or any other cryptocurrency!