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 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 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 active the license for the exact IP showing on 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:  Setup 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  IP

Pointing  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 host name 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 resolve from outside the server.

Firewall Configurations

Your server may come with a default firewall installed by the Operating system. This may be  firewalld  or ufw services. We recommend disabling the firewall services or Open 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.

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

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

Please disable SElinux and reboot the server before installing RHEL, AlmaLInux, RockyLinux, or CloudLinux.