Difference between pages "Package:Tengine" and "Package:Java SE Runtime Environment (JRE)"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
m
 
Line 1: Line 1:
{{Ebuild
{{Ebuild
|Summary=Robust, small and high performance http and reverse proxy server
|Summary=Oracle's Java SE Runtime Environment (JRE) - For running Java applications.
|CatPkg=www-servers/tengine
|CatPkg=dev-java/oracle-jre-bin
|Maintainer=
|Maintainer=
|Homepage=http://tengine.taobao.org
|Homepage=http://www.oracle.com/technetwork/java/javase/overview/index.html
}}
}}
Tengine is an nginx fork.  It supports DSO module loading, meaning it can have external modules without the need to compile them in.


==Installation==
JRE is oracles java runtime environment.  {{package|dev-java/oracle-jdk-bin}} also includes JRE.  This package is for running java programs.
{{console|body=###i## emerge tengine}}


==Configuration==
{{console|body=
Files for configuration are located at {{c|/etc/tengine}}
###i## emerge dev-java/oracle-jre-bin
 
The major differing point in tengine from nginx is that you have to specifically declare which modules are loaded.  Available modules are located at {{c|/var/lib/tengine/modules}}.
 
{{file|name=/etc/tengine/tengine.conf|desc=DSO module statements|body=
...
dso {
load ngx_http_charset_filter_module.so;
load ngx_http_fastcgi_module.so;
load ngx_http_rewrite_module.so;
}
...
}}
}}


===Tengine===
=== Runtime ===
{{c|/etc/tengine/tengine.conf}} contains engine specific configurations.
To run java jar packages:
 
{{console|body=###i## java -jar package-to-run.jar}}
===Sites===
{{c|/etc/tengine/sites-available/localhost}} has site specific configurations.  Generally localhost is copied to domain.tld file formats in the {{c|/etc/tengine/sites-available/}} directory.
 
==Usage==
To start the tengine server:
 
{{console|body=###i## rc-update add tengine default
###i## rc}}


{{PageNeedsUpdates}}
{{EbuildFooter}}
{{EbuildFooter}}

Revision as of 11:24, January 30, 2015

Java SE Runtime Environment (JRE)

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


JRE is oracles java runtime environment. dev-java/oracle-jdk-bin also includes JRE. This package is for running java programs.

root # emerge dev-java/oracle-jre-bin

Runtime

To run java jar packages:

root # java -jar package-to-run.jar