Skip to main content

Prepare Server

Overview

 This procedure will help you to get a fully deployed and secured eenos control panel. You may prepare your server as follows before starting the installation on the Eenos  Hosting  Control Panel.

Activate License

The first step is to activate a  License from your client area.   The eenos license is dedicated to your server's main IP address. Find the license IP of your server using the following command from the server shell prompt.

Using the curl command

curl https://verify4.eenos.com/myip

Using Dig Command:

dig +short txt ch whoami.cloudflare @1.0.0.1

Using Curl:

curl api.ipify.org

This command will show the license IP on your server terminal. This IP may be an IPv4 or IPv6 IP. 

Make sure to activate the license for the exact IP shown in the above command

Setup Hostname

Every server needs a hostname. You can set up the hostname from your server terminal using the following command 

hostnamectl set-hostname NAME

Here, the NAME is the name of the host

Example: Set up hostname as server100.myhosting.com

hostnamectl set-hostname server100.myhosting.com

After setting up the hostname, please point the IP of your hostname to your server's IP

Pointing the IP of your hostname will help to setup SSL certificate during the installation time. If not, self-signed ssl will be used. 

After pointing the IP of your hostname, you can test it by sending a ping request to the hostname from your desktop.

An example is given below. Assume the hostname is server100.myhosting.com and my server IP is 10.0.0.10

# ping server100.myhosting.com
PING server100.myhosting.com (10.0.0.10) 56(84) bytes of data.
64 bytes from server100.myhosting.com (10.0.0.10): icmp_seq=1 ttl=64 time=0.035 ms
64 bytes from server100.myhosting.com (10.0.0.10): icmp_seq=2 ttl=64 time=0.040 ms
64 bytes from server100.myhosting.com (10.0.0.10): icmp_seq=3 ttl=64 time=0.037 ms

The above example will show the correct IP, and it will ensure the DNS  IP of the hostname is correct and can be resolved from outside the server.

Firewall Configurations

Your server may come with a default firewall installed by the Operating system. This may be the firewalld or ufw services. We recommend disabling the firewall services or opening the following ports in your server firewall.

21,22,25,53,853,80,110,143,443,465,587,993,995,3332,3333,4443,4444,5554,5555,

 Eenos supports CSF, APF, UFW, and iptables firewalls. You can install any of these firewalls after installing the Eenos control panel.

Basic OS Packages for ( RHEL / AlmaLinux/RockyLinux/CloudLinux)

Please install the following RPMs

dnf -y install python3-pyyaml  wget tar curl

SELinux Configurations for ( RHEL / AlmaLinux/RockyLinux/CloudLinux)

SELinux is not compatible with Eenos installations. We recommend disabling SELinux and rebooting the server before starting Eenos installations.

Please disable SELinux and reboot the server before installing RHEL, AlmaLinux, RockyLinux, or CloudLinux.