Author: Jannson Miller

  • 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 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.

  • 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!

  • How to Install Minecraft on Ubuntu 20.04

    How to Install Minecraft on Ubuntu 20.04

    Minecraft is a popular sandbox video game created by Markus Persson and developed by Mojang Studios. It allows players to build and explore virtual worlds made up of blocks in a 3D procedurally generated environment. In Minecraft, players have the freedom to gather resources, craft tools and items, and engage in various activities such as mining, farming, and combat. The game features different modes, including survival mode where players must gather resources to stay alive and creative mode where they have unlimited resources to build and create. Minecraft has a large community and is available on various platforms, including PC, consoles, and mobile devices. In the continuation of this article, we will teach you step by step How to Install Minecraft on Ubuntu 20.04.

    Prerequisites

    Before install Minecraft on Ubuntu 20.04, you should first ensure that your system meets the following prerequisites:

    – A Linux VPS server with Ubuntu OS.

    Java Development Kit (JDK): Install OpenJDK using the following command:

    sudo apt install default-jdk

    X Window System: Ubuntu 20.04 typically comes with a default X Window System, but you can verify it by running the following command:

    echo $DISPLAY

    – Internet connection: Ensure you have a stable internet connection.

    Once you have met these prerequisites, you can proceed with installing Minecraft on Ubuntu 20.04.

    Download and Install Minecraft on Ubuntu

    In this section, we are going to teach about installing Minecraft on Ubuntu 20.04. Be with us at the following steps:

    Step1: Download the Minecraft Debian Package

    wget -O ~/Minecraft.deb http://launcher.mojang.com/download/Minecraft.deb

    Step2: After downloading the Debian package, install the DEB file by running the gdebi command:

    sudo apt install gdebi-core

    Step3: Finally, install the Minecraft.deb file using the following command:

    sudo gdebi ~/Minecraft.deb

    Tip: During the installation process, if you encounter the question “Do you want to install the software package?” hit “y” and press enter to complete the installation process successfully.

    How to Launch Minecraft on Ubuntu 20.04

    In the Ubuntu desktop manager environment, search for Minecraft in the application search section and click on it:

    launch to minecraft on ubuntu

    ***

    how to launch minecraft on ubuntu 20.04

    Troubleshooting Minecraft on Ubuntu 20.04

    You may encounter issues while running Minecraft on Ubuntu 20.04, here are some troubleshooting steps you can follow:

    1- Graphics/Performance Issues:

    – Make sure your graphics drivers are up to date.

    – Adjust the graphics settings within Minecraft.

    – Allocate more memory to Minecraft. Open the launcher, go to Installations, select your Minecraft version, and click on “More Options“. Under “JVM Arguments” increase the value of -Xmx to allocate more memory.

    – Try enabling vsync in the Minecraft options, which can help with screen tearing.

    2- Authentication/Login Issues:

    – Make sure you are using the correct Minecraft account credentials.

    – Check if the Minecraft login servers are experiencing any downtime by visiting the official Minecraft server status page.

    – Try logging in with your account on the Minecraft website to ensure there are no account-related issues.

    – Reset your password if necessary through the Minecraft website.

    3- Multiplayer Connection Issues:

    – Ensure that both you and the server are using the same Minecraft version.

    – Check if you can connect to other multiplayer servers to ensure it’s not a network issue.

    – If connecting to a specific server fails, check if the server is online and if there are any IP or port-related issues.

    – Verify that your firewall is not blocking the Minecraft application or port used by the server.

    – Attempt to connect using direct IP address rather than domain name to rule out DNS issues.

    4- Mods/Modpack Issues:

    – Ensure that the mods you’re using are compatible with your version of Minecraft.

    – Check if the mods require any specific dependencies or additional setup steps.

    – Verify that you have installed the necessary mod loader, such as Forge or Fabric, and correctly set it up.

    Conclusion

    In conclusion, installing Minecraft on Ubuntu 20.04 is a straightforward process. By downloading the official Minecraft launcher and setting appropriate permissions, users can easily install and run the game on their Ubuntu system. The installation process ensures compatibility with Ubuntu 20.04, allowing players to enjoy Minecraft seamlessly on their Ubuntu machines.

  • Troubleshooting Guide: phpMyAdmin Not Working in cPanel

    Troubleshooting Guide: phpMyAdmin Not Working in cPanel

    PhpMyAdmin is a web-based application that provides a graphical interface to manage MySQL databases. It enables users to easily perform various administrative tasks like creating, editing, and deleting databases, tables, rows, and fields. Sometimes we may encounter errors while working with phpMyAdmin. For this reason, in this article, we decided to prepare a guide for when phpMyAdmin is not working in cPanel.

    Requirements to Setup phpMyAdmin in cPanel

    To setup phpMyAdmin in cPanel, you need to meet the following requirements:

    – A Linux VPS Server

    – Access to the cPanel account

    – Make sure that your cPanel account supports phpMyAdmin

    – MySQL Database

    Requirements to Setup phpMyAdmin in cPanel

    Troubleshooting phpMyAdmin Not Working errors in cPanel

    If phpMyAdmin is not working in cPanel, there could be a few possible reasons for this. Here is a troubleshooting guide to help you resolve the issue:

    Check Server Requirements

    – Ensure that your server meets the minimum requirements for running phpMyAdmin. Confirm that PHP and MySQL are properly installing and up to date.

    – Make sure the PHP extension mysqli is enabled in your server’s PHP configuration file (php.ini).

    Check cPanel error logs

    Check the cPanel error logs for any specific error messages related to phpMyAdmin. The error logs can be accessed from cPanel -> Metrics -> Errors.

    Check phpMyAdmin configuration file

    Verify that the phpMyAdmin configuration file (config.inc.php) is properly configuring The configuration file is located in the phpMyAdmin installation directory. Make sure the database credentials and other settings are correct.

    Confirm phpMyAdmin is enabled

    Check that phpMyAdmin is enabling in the cPanel feature manager. To do this, go to cPanel -> Feature Manager and ensure phpMyAdmin is checked.

    Clear Browser Cache

    – Firstly, clear your browser cache and try accessing phpMyAdmin again.

    Sometimes, cached data can cause issues with loading the application.

    Troubleshooting phpMyAdmin Not Working errors in cPane

    Verify Permissions

    – Check the permissions of the phpMyAdmin directory and its files. The appropriate permissions are usually 755 for directories and 644 for files.

    – If the permissions are incorrect, correct them using a FTP client or the file manager in cPanel.

    Disable Extensions

    If you have any browser extensions or add-ons installed, try disabling them temporarily. Extensions like ad blockers and privacy tools can sometimes interfere with phpMyAdmin’s functionality.

    Check PHP Configuration

    – Make sure that the “upload_max_filesize” and “post_max_size” settings in your server’s “php.ini” file are large enough to accommodate the size of the SQL files you are trying to import/export.

    – For example: “upload_max_filesize = 50M” and “post_max_size = 50M” should allow a maximum file upload size of 50 megabytes.

    – Restart the web server (Apache or Nginx) after making any changes to the “php.ini” file.

    Verify cPanel Access

    Confirm that you have proper access to cPanel and that your account has sufficient privileges. If you are not the server administrator or do not have root access, contact your hosting provider for assistance.

    Check for Errors

    – Review the cPanel error logs for any relevant error messages. These logs can often provide clues about the root cause of the phpMyAdmin issue.

    – You can find the error logs within cPanel. Look for the “Error logs” or “Logs” section and check the appropriate log file(s).

    Conclusion

    phpMyAdmin is a web-based application used to manage and manipulate MySQL databases in cPanel. PhpMyAdmin errors in cPanel can occur due to various reasons, including database connection issues, incorrect configuration, or insufficient privileges. If none of the above steps solve the problem, write us your problem in the comments section so that we can answer you as soon as possible.

  • A Clever and Comprehensive Guide to Install Plesk on Ubuntu 20.04

    A Clever and Comprehensive Guide to Install Plesk on Ubuntu 20.04

    Plesk is a popular web hosting control panel that simplifies server management and allows you to easily host multiple websites on a single server. In this guide, we will walk you through the step-by-step process of installing Plesk on Ubuntu 20.04.

    Prerequisites

    To install Plesk on Ubuntu 20.04, you will need the following prerequisites:

    – A freshly installed and updated Ubuntu 20.04 on a Linux VPS server.

    – A static IP address assigned to the server.

    – SSH access to the server with the root user or a user with sudo privileges.

    – Sufficient disk space (at least 10 GB is recommended).

    – A fully qualified domain name (FQDN) pointing to the server’s IP address.

    A Clever and Comprehensive Guide to Install Plesk on Ubuntu 20.04

    How to Install Plesk using a Web Installer

    Installing Plesk on Ubuntu 20.04 is a straightforward process. This guide will walk you through the steps to ensure a successful installation. Follow the next steps with us.

    Step.1: Update Your Server

    Login to the server as a regular user with permissions using Putty or SSH and then run the following command:

    sudo apt-get update

    Step.2: Configuring UFW

    To proceed, you must configure UFW using the specified commands. Executing these commands will grant access to the ports necessary for the Plesk web interface, such as 80, 443, 8443, and 8880.

    sudo ufw allow 80/tcp
    sudo ufw allow 443/tcp
    sudo ufw allow 8443/tcp
    sudo ufw allow 8447/tcp
    sudo ufw allow 8880/tcp
    sudo ufw enable
    sudo ufw reload

    Please be aware that port 8447 is exclusively utilized during the initial installation process.

    Step.3: Download the Plesk Installer Script

    Now you can easily download the Plesk installer script by running the following command:

    wget https://autoinstall.plesk.com/plesk-installer

    Step.4: Setup and Access Plesk on Ubuntu

    You must be careful to enable the read, write and execute permissions of the downloaded Plesk script using the following command:

    sudo chmod 755 plesk-installer

    Start the Plesk web installation interface using the following command:

    sudo ./plesk-installer --web-interface

    Open your favorite browser. Then type your IP server with port 8447 in the address field of the browser as below and run it.

    https://example.com:8447/

    To continue the installation process, you need to type your server login name and password in the fields you see and log in:

    install plesk on ubuntu

    As shown in the image, you must now click Install or upgrade product:

    install and update plesk

    Then you have to tick Plesk and click on continue:

    plesk version

    Here you can choose the type of installation you want with the following explanations:

    – Recommended: Installs default Plesk components.

    – Full: Installs all supported programs and features.

    – Custom: Allows you to choose which components you want to install on your Plesk panel.

    plesk type

    If you choose Custom from the available options, a list of components available for installation on the Plesk server will be displayed to you as shown in the image below:

    plesk configuration

    Allow the installation to complete. Then open the terminal session again and stop the script by pressing CTRL+C.

    Then, restart your server using the following command:

    sudo shutdown -r 0

    To acquire a one-time login link, execute the subsequent command. This link is vital for establishing a Plesk administrator account and inserting your license key:

    plesk login

    Finally, to finish, you need to agree to the license agreement and press Enter to continue.

    To access the Plesk control panel, open a browser and execute one of the following commands:

    https://your.server.example.com:8443
    http://your.server.example.com:8880

    Conclusion

    By following the above steps, you have successfully installed Plesk on Ubuntu 20.04. You can now utilize Plesk’s intuitive interface to manage your websites, domains, email accounts, and other services effectively. Take advantage of its vast range of features to simplify your server administration tasks and enhance your web hosting experience.