Difference between pages "Package:Tengine" and "Package:Debian-sources"

(Difference between pages)
(added instructions to build all http modules)
 
(Created page with "{{Ebuild |Summary=This is the Debian kernel. This is default recommended kernel to use in http://www.funtoo.org/Funtoo_Linux_Installation |CatPkg=sys-kernel/debian-sources |Ma...")
 
Line 1: Line 1:
 
{{Ebuild
 
{{Ebuild
|Summary=Robust, small and high performance http and reverse proxy server
+
|Summary=This is the Debian kernel. This is default recommended kernel to use in http://www.funtoo.org/Funtoo_Linux_Installation
|CatPkg=www-servers/tengine
+
|CatPkg=sys-kernel/debian-sources
|Maintainer=
+
|Maintainer=Oleg,
|Homepage=http://tengine.taobao.org
+
|Homepage=http://www.funtoo.org/Funtoo_Linux_Kernels
 
}}
 
}}
Tengine is an nginx fork. It supports DSO module loading, meaning it can have external modules without the need to compile them in.
+
== Introduction ==
 
+
This is the Debian kernel. It is roughly equal to a kernel shipped by Debian Linux in their releases. Ebuild now support the <code>binary</code> USE flag. The aim of this ebuild is to have support for near all possible hardware and users shouldn't really dig into configs, aka "install and forget". Daniel has added a special config-extract command which can be used to list all available official Debian kernel configurations, and generate them from the Debian files included with the kernel.  
==Installation==
+
== Usage ==
If you happen to want all modules installed dynamically, you, still, need to install some static modules. Make sure to add this to your {{c|/etc/portage/make.conf}} file:
+
<console>
 
+
###i## echo "sys-kernel/debian-sources binary" >> /etc/portage/package.use
{{file|name=/etc/portage/make.conf|desc=Tengine all-modules build|body=
+
###i## emerge debian-sources
...
+
###i## nano -w /etc/boot.conf
TENGINE_SHARED_MODULES_HTTP="access addition autoindex browser charset_filter empty_gif fastcgi flv footer_filter geoip image_filter limit_conn limit_req lua map memcached mp4 random_index referer reqstat rewrite scgi secure_link slice split_clients sub sysguard tfs trim_filter upstream_ip_hash upstream_least_conn upstream_session_sticky user_agent userid_filter uwsgi xslt"
+
###i## boot-update
TENGINE_STATIC_MODULES_HTTP="concat dav degradation geo gunzip gzip gzip_static perl proxy realip spdy ssi ssl stub_status upstream-rbtree upstream_check upstream_consistent_hash upstream_keepalive"
+
</console>
...
+
{{fancyimportant|1=
}}
+
<code>debian-sources</code> with <code>binary</code> USE flag also automatically installing a /usr/src/linux symlink pointing to debian kernel.}}
 
+
== Advanced use ==
Then, just:
+
Additional information about using <code>config-extract</code> tool and genkernel tips can be found here:
{{console|body=###i## emerge tengine}}
+
http://www.funtoo.org/Funtoo_Linux_Kernels
 
+
==Configuration==
+
Files for configuration are located at {{c|/etc/tengine}}
+
 
+
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===
+
{{c|/etc/tengine/tengine.conf}} contains engine specific configurations.
+
 
+
===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}}
+
 
+
 
{{EbuildFooter}}
 
{{EbuildFooter}}

Revision as of 09:47, March 31, 2015

sys-kernel/debian-sources


Current Maintainer(s):Oleg Vinichenko
Source Repository:Funtoo Overlay
Homepage

Summary: This is the Debian kernel. This is default recommended kernel to use in http://www.funtoo.org/Funtoo_Linux_Installation

Use Flags

binary
Builds and installs kernel automatically
rt
Applies the CONFIG_PREEMPT_RT patch series

News

Drobbins

Better Experiences: Ego and Vim

Info on Funtoo's new personality tool called 'ego', and user-focused updates to vim's defaults.
27 April 2015 by Drobbins
Drobbins

How We're Keeping You At the Center of the Funtoo Universe

Read about recent developments that keep you, our users, at the forefront of our focus as Funtoo moves forward.
10 April 2015 by Drobbins
Mgorny

New OpenGL management in Funtoo

Funtoo is switching to an improved system for managing multiple OpenGL providers (Mesa/Xorg, AMD and NVIDIA). The update may involve blockers and file collisions.
30 March 2015 by Mgorny
View More News...

Debian-sources

Tip

This is a wiki page. To edit it, 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.

Introduction

This is the Debian kernel. It is roughly equal to a kernel shipped by Debian Linux in their releases. Ebuild now support the binary USE flag. The aim of this ebuild is to have support for near all possible hardware and users shouldn't really dig into configs, aka "install and forget". Daniel has added a special config-extract command which can be used to list all available official Debian kernel configurations, and generate them from the Debian files included with the kernel.

Usage

# echo "sys-kernel/debian-sources binary" >> /etc/portage/package.use
# emerge debian-sources
# nano -w /etc/boot.conf
# boot-update
Important

debian-sources with binary USE flag also automatically installing a /usr/src/linux symlink pointing to debian kernel.

Advanced use

Additional information about using config-extract tool and genkernel tips can be found here: http://www.funtoo.org/Funtoo_Linux_Kernels