setupwebserver
Setup Web Server Combination
This tool will help you to set up 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 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-traffic websites 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 supports Nginx, Apache HTTPD, OpenLiteSpeed, and Varnish Cache servers. The following combinations of web servers are also supported.
nginx
It can be used to install in nginx only web server. Websites and apps run nginx standalone web servers.
Command
/usr/local/eenos/scripts/setupwebserver -i nginx
A stand-alone Nginx web server is suitable for WordPress websites, which is faster than a traditional HTTPD server.
The Nginx web server doesn't support .htaccess rewrite rules.
httpd
To install in traditional Apache HTTPD web server.
Command:
/usr/local/eenos/scripts/setupwebserver -i httpd
Modern apps and websites don't recommend Apache anymore.
ols
To install in OpenLiteSpeed stand-alone web server, this is another high-performance web server.
Command:
/usr/local/eenos/scripts/setupwebserver -i ols
There is also a commercial version of OpenLiteSpeed available, called LiteSpeed Enterprise, which has been a drop-in replacement for OLS. This may also 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 of Nginx and the usability of the Apache web server. You can use Nginx as a proxy, hybrid, or stand-alone with this mode.
The proxy mode will set up 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 serve everything from Apache.
The mode of the website is called app template or vhost template. Eenos provides a huge combination of optimized app templates for the web server. You can also build the templates or customize them as you wish.
Command:
/usr/local/eenos/scripts/setupwebserver -i nginxhttpd
nginxvarnish
Use a combination of Varnish cache with the Nginx web server. To set up this type of 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 the Apache HTTPD web server, you may use the following command to set up the server.
Command:
/usr/local/eenos/scripts/setupwebserver -i httpdvarnish
olsvarnish
To set up the Varnish cache server with the OpenLiteSpeed web server, Eenos is the first control panel that 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 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 set 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