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

(Difference between pages)
m (add passenger garbage)
 
(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 {{package|www-servers/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 ==
==== Shared & Static Modules ====
+
<console>
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:
+
###i## echo "sys-kernel/debian-sources binary" >> /etc/portage/package.use
 
+
###i## emerge debian-sources
{{file|name=/etc/portage/make.conf|desc=Tengine all-modules build|body=
+
###i## nano -w /etc/boot.conf
...
+
###i## boot-update
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"
+
</console>
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"
+
{{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 ==
 
+
Additional information about using <code>config-extract</code> tool and genkernel tips can be found here:
==== External Modules ====
+
http://www.funtoo.org/Funtoo_Linux_Kernels
If you want to run passenger:
+
{{file|name=/etc/portage/make.conf|desc=build the passenger module|body=
+
TENGINE_EXTERNAL_MODULES_HTTP="passenger"
+
}}
+
 
+
Then, just:
+
{{console|body=###i## emerge tengine}}
+
 
+
===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.
+
 
+
===PHP-FPM===
+
Tengine does not natively support php, so we delegate that responsibility to [[Package:PHP#Fpm | php-fpm]]
+
 
+
{{file|name=/etc/tengine/sites-available/localhost|desc=fpm tcp/ip configuration|body=
+
server {
+
        ...
+
index index.php index.cgi index.htm index.html;
+
location ~ \.php$ {
+
        fastcgi_pass 127.0.0.1:9000;
+
include fastcgi.conf;
+
        }
+
        ...
+
}
+
}}
+
 
+
===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

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
Drobbins

Subarch Profiles are coming...

Subarch profiles are on their way! Learn more here.
29 March 2015 by Drobbins
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