Skip to main content

setupwebserver

Setup Web Server Combination

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

The default eenos installer  configure your server with Nginx and Apache HTTPD server. The nginx works on server front end  HTTPD server on backend. 

The eenos control panel is  for enterprise high traffic web sites and application.

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 support Nginx, Apache HTTPD , OpenLiteSpeed and Varnish Cache  server.  The following combinations of web servers are supported 

nginx

To install nginx only web server . Websites and apps run nginx stand alonstandalone web server. 

Command

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

Stand alone Nginx web server is suitable for wordpress websites , which is faster than traditional HTTPD server

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

httpd

To install traditional apache HTTPD web server

Command:

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

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

ols

To install OpenLiteSpeed  stand alone web server. This is another high performance webserver

Command:

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

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

nginxhttpd

The Nginx + Apache HTTPD web servers. It is the default installation choice. It combine the performance on Nginx and  usability of Apache web server. You can use nginx  as   proxy , hybrid or stand alone  with this mode. 

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

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

Command:

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

Use a combination of Varnish cache with Nginx web server. To setup this type sever , use the following command.

Command:

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

Eenos is the first control panel provide in build  Varnish Cache Support

httpdvarnish

To use a combination of Varnish cache server with apache HTTPD web server,  you  may use the following command to setup this server.

Command:

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

To setup Varnish  cache server with OpenLiteSpeed web server. Eenos is the first control panel provide this combination.

Command:

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

To run  Varnish Cache server in front of 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 Vanish Cache with Nginx and OpenLiteSpeed  web servers. No one every did this and we bring this to you.  To setup this combination use the following command.

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

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