Skip to main content

setupwebserver

Setup Web Server Combination

This tool will help you to setupset up and prepare the web servers for deploying websites and apps. Eenos is a modern hosting control panel that brings the modern webserver configuration ,configuration, which will help to deploy any apps on a web hosting server. 

The default eenos installer will configure your server with Nginx and Apache HTTPD server. The nginx works on the server front-end and the HTTPD server on back-end. 

The eenos control panel is  for enterprise high high-traffic web siteswebsites and applications.

Command :

/usr/local/eenos/scripts/setupwebserver

Command Options :


Usage: /usr/local/eenos/scripts/setupwebserver <options> <value>

Command Groups:
Options:
    -i <type> , --install <type>  -   Your choice of web server(s)    
    webserver type : ( chose any of the following )  
        nginx             , Install nginx only web server
        httpd             , Install apache httpd web server
        ols               , Install OpenLiteSpeed web server
        olsvarnish        , install OpenliteSpeed and varnish cache
        nginxhttpd        , Install nginx and apache httpd
        nginxvarnish      , Install nginx with varnish cache
        httpdvarnish      , Install httpd with varnish cache
        nginxhttpdvarnish , Install nginx and httpd with varnish cache
        nginxolsvarnish   , Install nginx and OpenLiteSpeed with varnish cache

Supported Web Server Combinations ( Options)

The eenos control panel supportsupports Nginx, Apache HTTPDHTTPD, , OpenLiteSpeedOpenLiteSpeed, and Varnish Cache  server.servers.  The following combinations of web servers are also supported.

nginx

It can be used to install in nginx only web server .server. Websites and apps run nginx standalone web server.servers. 

Command

/usr/local/eenos/scripts/setupwebserver -i nginx

StandA stand-alone Nginx web server is suitable for wordpressWordPress websites ,websites, which is faster than a traditional HTTPD server.

The Nginx web server doesn't support .htaccess rewrite rules. 

httpd

To install in traditional apacheApache HTTPD web server.

Command:

/usr/local/eenos/scripts/setupwebserver -i httpd

Modern apps and websites doesn'don't  recommend Apache any more.anymore.

ols

To install in OpenLiteSpeed  stand stand-alone web server.server, Thisthis is another high high-performance webserver.web server.

Command:

/usr/local/eenos/scripts/setupwebserver -i ols

There is also a commercial version of OpenLiteSpeed availableavailable, ,called LiteSpeed Enerprise,Enterprise, which  has been do a drop drop-in replacement for OLS. This may also work,work if you replace it with the commercial binary. But remember, it is untested. 

nginxhttpd

The Nginx + Apache HTTPD web servers. It is the default installation choice. It combines the performance onof Nginx and the usability of the Apache web server. You can use nginx Nginx as a proxyproxy, , hybridhybrid, or stand stand-alone  with this mode. 

The proxy mode will setupset up the websites as a proxy server and all requests will be served from apache.Apache. The hybrid mode will serve static files from Nginx and dynamic scripts from HTTPD. Stand Stand-alone mode will serve everything from apache.Apache. 

The mode of the webbsitewebsite is called app template or  vhost template .template.  Eenos provides a huge combination of optimized app templates for the web server. You can also build the templates or customize itthem as you wish.

Command:

/usr/local/eenos/scripts/setupwebserver -i nginxhttpd
nginxvarnish

Use a combination of Varnish cache with the Nginx web server. To setupset up this type of  serve ,server, use the following command.

Command:

/usr/local/eenos/scripts/setupwebserver -i nginxvarnish

Eenos is the first control panel to provide in-built  Varnish Cache Support.

httpdvarnish

To use a combination of the Varnish cache server with apachethe Apache HTTPD web server,  you  may use the following command to setupset up the server.

Command:

/usr/local/eenos/scripts/setupwebserver -i httpdvarnish
olsvarnish

To setupset up the Varnish  cache server with the OpenLiteSpeed web server. server, Eenos is the first control panel whichthat provides this combination.

Command:

/usr/local/eenos/scripts/setupwebserver -i olsvarnish
nginxhttpdvarnish

To run the Varnish Cache server in front of the Nginx  + Apache HTTPD server combination to bring the maximum performance for web apps.

Command :

/usr/local/eenos/scripts/setupwebserver -i nginxhttpdvarnish
nginxolsvarnish

If you are crazy enough to run a  combination of Varnish Cache with Nginx and OpenLiteSpeed  web servers, it is also possible. No one ever did this and we bring this to you.  To setupset up this combination use the following command.

/usr/local/eenos/scripts/setupwebserver -i nginxolsvarnish

Eenos is the first control panel to Provide Varnish  With Nginx+OpenLiteSpeeed