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 will configure your server with Nginx and Apache HTTPD server. The nginx works on server front front-end and HTTPD server on backend.back-end.
The eenos control panel is for enterprise high traffic web sites and application.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 support Nginx, Apache HTTPD , OpenLiteSpeed and Varnish Cache server. The following combinations of web servers are supportedalso supported.
nginx
ToIt can be used to install in nginx only web server . Websites and apps run nginx standalone 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 serverserver.
Nginx web server doesn't support .htaccess rewrite rules.
httpd
To install in traditional apache HTTPD web serverserver.
Command:
/usr/local/eenos/scripts/setupwebserver -i httpd
Modern apps and websites don'doesn't recommend Apache any more.
ols
To install in OpenLiteSpeed stand alone web server. This is another high performance webserverwebserver.
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 combinecombines 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 serverserve everything from apache.
The mode of the webbsite is called app template or vhost template . Eenos provideprovides 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 severof serve , use the following command.
Command:
/usr/local/eenos/scripts/setupwebserver -i nginxvarnish
Eenos is the first control panel provide in buildin-built Varnish Cache SupportSupport.
httpdvarnish
To use a combination of Varnish cache server with apache HTTPD web server, you may use the following command to setup thisthe 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 providewhich provides 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 VanishVarnish Cache with Nginx and OpenLiteSpeed web servers.servers, it is also possible. No one everyever 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 VannishVarnish With Nginx+OpenLiteSpeeed