<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Glen Lumanau &#187; debian</title>
	<atom:link href="http://lumanau.web.id/tag/debian/feed" rel="self" type="application/rss+xml" />
	<link>http://lumanau.web.id</link>
	<description>About Glen Lumanau</description>
	<lastBuildDate>Fri, 23 Jul 2010 10:08:00 +0000</lastBuildDate>
	<language></language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Debian GNU/Linux 5.0 updated</title>
		<link>http://lumanau.web.id/2009/04/13/debian-gnulinux-50-updated.html</link>
		<comments>http://lumanau.web.id/2009/04/13/debian-gnulinux-50-updated.html#comments</comments>
		<pubDate>Mon, 13 Apr 2009 07:15:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.lumanau.web.id/?p=240</guid>
		<description><![CDATA[The Debian project is pleased to announce the first update of its stable distribution Debian GNU/Linux 5.0 (codename &#8220;lenny&#8221;). This update mainly adds corrections for security problems to the stable release, along with a few adjustment to serious problems. Please note that this update does not constitute a new version of Debian GNU/Linux 5.0 but [...]]]></description>
			<content:encoded><![CDATA[<p>The Debian project is pleased to announce the first update of its stable distribution Debian GNU/Linux 5.0 (codename &#8220;lenny&#8221;).  This update mainly adds corrections for security problems to the stable release, along with a few adjustment to serious problems.</p>
<p>Please note that this update does not constitute a new version of Debian GNU/Linux 5.0 but only updates some of the packages included.  There is no need to throw away 5.0 CDs or DVDs but only to update via an up-to- date Debian mirror after an installation, to cause any out of date packages to be updated.</p>
<p>Those who frequently install updates from security.debian.org won&#8217;t have to update many packages and most updates from security.debian.org are included in this update.</p>
<p>New CD and DVD images containing updated packages and the regular installation media accompanied with the package archive respectively will be available soon at the regular locations.</p>
<p><span id="more-240"></span></p>
<p>Upgrading to this revision online is usually done by pointing the aptitude (or apt) package tool (see the sources.list(5) manual page) to one of Debian&#8217;s many FTP or HTTP mirrors.  A comprehensive list of mirrors is available at:</p>
<p>&lt;http://www.debian.org/distrib/ftplist&gt;</p>
<p>Miscellaneous Bugfixes<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>This stable update adds several binary updates for various architectures to packages whose version was not synchronised across all architectures.<br />
It also adds a few important corrections to the following packages:</p>
<p>Package                                      Reason</p>
<p>barnowl                                      Fix for CVE-2009-0363 (through testing-security)<br />
base-files                                   Fix a typo to remove &#8220;base&#8221; correctly<br />
bind9                                        Fix atomic operations on alpha and ia64<br />
brltty                                       Upload with fixed version number<br />
consolekit                                   Various fixes<br />
fai                                          Fix typo which prevents perl scripts to work<br />
firmware-nonfree                             Kernel ABI change<br />
flpsed                                       Fix dependency on ghostscript-x<br />
gdm                                          Fix a double free<br />
gthumb                                       Fix copying loop<br />
gtick                                        Add dependency on oss-compat<br />
gtk+2.0                                      Fix infinite loop caused by setting color scheme<br />
gtkguitune                                   Add dependency on oss-compat<br />
heartbeat                                    Fix failover and message corruption<br />
imagemagick                                  Replace non-free fonts<br />
irqbalance                                   Do not crash on bogus /proc/irq entries<br />
kvm                                          Fix hang on reboot with virtio<br />
libbz2-ruby [armel]                          Rebuild to put modules in arm-linux instead of arm-linux-eabi<br />
libcgi-application-plugins-perl              Fix information leak<br />
libeb-ruby [armel]                           Rebuild to put modules in arm-linux instead of arm-linux-eabi<br />
libfilesystem-ruby [armel]                   Rebuild to put modules in arm-linux instead of arm-linux-eabi<br />
libfusefs-ruby [armel]                       Rebuild to put modules in arm-linux instead of arm-linux-eabi<br />
libkakasi-ruby [armel]                       Rebuild to put modules in arm-linux instead of arm-linux-eabi<br />
libodbc-ruby [armel]                         Rebuild to put modules in arm-linux instead of arm-linux-eabi<br />
libopengl-ruby [armel]                       Rebuild to put modules in arm-linux instead of arm-linux-eabi<br />
librevolution-ruby [armel]                   Rebuild to put modules in arm-linux instead of arm-linux-eabi<br />
libvorbisfile-ruby [armel]                   Rebuild to put modules in arm-linux instead of arm-linux-eabi<br />
libwrap-ruby [armel]                         Rebuild to put modules in arm-linux instead of arm-linux-eabi<br />
linux-2.6                                    Several issues<br />
linux-kernel-di-alpha-2.6                    New kernel for debian-installer<br />
linux-kernel-di-amd64-2.6                    New kernel for debian-installer<br />
linux-kernel-di-arm-2.6                      Add minix-modules to orion5x kernel flavour<br />
linux-kernel-di-armel-2.6                    New kernel for debian-installer<br />
linux-kernel-di-hppa-2.6                     New kernel for debian-installer<br />
linux-kernel-di-i386-2.6                     New kernel for debian-installer<br />
linux-kernel-di-ia64-2.6                     New kernel for debian-installer<br />
linux-kernel-di-mips-2.6                     New kernel for debian-installer<br />
linux-kernel-di-mipsel-2.6                   New kernel for debian-installer<br />
linux-kernel-di-powerpc-2.6                  New kernel for debian-installer<br />
linux-kernel-di-s390-2.6                     New kernel for debian-installer<br />
linux-kernel-di-sparc-2.6                    New kernel for debian-installer<br />
linux-latest-2.6                             Kernel ABI change<br />
linux-modules-contrib-2.6                    Rebuild for kernel ABI change<br />
linux-modules-di-alpha-2.6                   New kernel modules for debian-installer<br />
linux-modules-di-amd64-2.6                   New kernel modules for debian-installer<br />
linux-modules-di-arm-2.6                     New kernel modules for debian-installer<br />
linux-modules-di-armel-2.6                   New kernel modules for debian-installer<br />
linux-modules-di-hppa-2.6                    New kernel modules for debian-installer<br />
linux-modules-di-i386-2.6                    New kernel modules for debian-installer<br />
linux-modules-di-ia64-2.6                    New kernel modules for debian-installer<br />
linux-modules-di-mips-2.6                    New kernel modules for debian-installer<br />
linux-modules-di-mipsel-2.6                  New kernel modules for debian-installer<br />
linux-modules-di-powerpc-2.6                 New kernel modules for debian-installer<br />
linux-modules-di-s390-2.6                    New kernel modules for debian-installer<br />
linux-modules-di-sparc-2.6                   New kernel modules for debian-installer<br />
linux-modules-extra-2.6                      Rebuild for kernel ABI change<br />
linux-modules-nonfree-2.6                    Rebuild for kernel ABI change<br />
live-initramfs                               Fix media timeout, boot and shutdown issues<br />
lvm2                                         Fix lvm on multipath in initrd<br />
mediawiki                                    Fix XSS vulnerabilities<br />
mp3gain [i386]                               Rebuild in a clean environment<br />
mt-daapd                                     Fix crasher in built-in webserver<br />
munin                                        Fix cgi mode<br />
nvidia-graphics-legacy-96xx-modules-amd64    Rebuild for kernel ABI change<br />
nvidia-graphics-legacy-96xx-modules-i386     Rebuild for kernel ABI change<br />
nvidia-graphics-modules-amd64                Rebuild for kernel ABI change<br />
nvidia-graphics-modules-i386                 Rebuild for kernel ABI change<br />
oldsys-preseed                               Add support for the D-Link DNS-323<br />
open-vm-tools                                Fix builds with other kernels than the running one<br />
openoffice.org                               Repacked source to remove RFC text file, various bug fixes<br />
optipng                                      Fix array overflow vulnerability<br />
pam                                          Fix signedness error in _pam_StrTok<br />
pcapy                                        Fix memory leak and capturing on lo<br />
pidgin                                       Fix failure while connecting to ICQ servers due to protocol changes<br />
pidgin-otr                                   Provide translation<br />
posixlock [armel]                            Rebuild to put modules in arm-linux instead of arm-linux-eabi<br />
postgresql-8.3                               New upstream bugfix release<br />
pyusb                                        Fix module for python2.5 on 64 bit arch<br />
qwik [armel]                                 Rebuild to put modules in arm-linux instead of arm-linux-eabi<br />
root-system                                  Add libsm-dev as Build-Dependency<br />
roundup                                      Fix several vulnerabilities<br />
ruby-v4l [armel]                             Rebuild to put modules in arm-linux instead of arm-linux-eabi<br />
samba                                        Fix two bugs of severity important<br />
sary-ruby [armel]                            Rebuild to put modules in arm-linux instead of arm-linux-eabi<br />
sbnc                                         Fix sbnc.key file location<br />
schroot                                      Build with pthreads explicitly to fix a crash on alpha<br />
smartmontools                                Fix target not checking for running daemon<br />
snort                                        Fix possible segfault<br />
texlive-extra                                Blacklist aurora, non-commercial license<br />
toolame                                      Portability fixes<br />
user-mode-linux                              Rebuild against updated linux-source<br />
xorg-server                                  Work around broken PCI on sparc in lenny&#8217;s kernel<br />
xserver-xorg-video-savage                    Do not add panel modes when there is no panel</p>
<p>New version of debian-installer<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>debian-installer was updated to incorporate the updated Linux kernel (DSA-1749), to add support for the D-Link DNS-323 (a NAS device) and to incorporate new archive keys.</p>
<p>Security Updates<br />
&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>This revision adds the following security updates to the stable release.<br />
The Security Team has already released an advisory for each of these<br />
updates:</p>
<p>Advisory ID    Package                 Correction(s)</p>
<p>DSA-1719       gnutls26                Certificate validation<br />
DSA-1725       websvn                  Information leak<br />
DSA-1726       python-crypto           Denial of service<br />
DSA-1728       dkim-milter             Denial of service<br />
DSA-1730       proftpd-dfsg            SQL injection vulnerabilities<br />
DSA-1734       opensc                  Information disclosure<br />
DSA-1735       znc                     Privilege escalation<br />
DSA-1736       mahara                  Cross-site scripting<br />
DSA-1737       wesnoth                 Several vulnerabilities<br />
DSA-1738       curl                    Arbitrary file access<br />
DSA-1739       mldonkey                Double slash vulnerability<br />
DSA-1740       yaws                    Denial of service<br />
DSA-1741       psi                     Denial of service<br />
DSA-1742       libsndfile              Arbitrary code execution<br />
DSA-1743       libtk-img               Arbitrary code execution<br />
DSA-1744       weechat                 Denial of service<br />
DSA-1745       lcms                    Arbitrary code execution<br />
DSA-1746       ghostscript             Arbitrary code execution<br />
DSA-1747       glib2.0                 Arbitrary code execution<br />
DSA-1749       linux-2.6               Several issues<br />
DSA-1750       libpng                  Several vulnerabilities<br />
DSA-1751       xulrunner               Several vulnerabilities<br />
DSA-1752       webcit                  Potential remote code execution<br />
DSA-1755       systemtap               Local privilege escalation<br />
DSA-1756       xulrunner               Multiple vulnerabilities<br />
DSA-1757       auth2db                 SQL injection<br />
DSA-1758       nss-ldapd               Information disclosure<br />
DSA-1759       strongswan              Possible denial of service<br />
DSA-1760       openswan                Possible denial of service</p>
<p>URLs<br />
&#8212;-</p>
<p>The complete lists of packages that have changed with this revision:</p>
<p>&lt;http://ftp.debian.org/debian/dists/lenny/ChangeLog&gt;</p>
<p>The current stable distribution:</p>
<p>&lt;http://ftp.debian.org/debian/dists/stable&gt;</p>
<p>Proposed updates to the stable distribution:</p>
<p>&lt;http://ftp.debian.org/debian/dists/proposed-updates&gt;</p>
<p>stable distribution information (release notes, errata etc.):</p>
<p>&lt;http://www.debian.org/releases/stable/&gt;</p>
<p>Security announcements and information:</p>
<p>&lt;http://www.debian.org/security/&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://lumanau.web.id/2009/04/13/debian-gnulinux-50-updated.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian GNU/Linux 5.0 released</title>
		<link>http://lumanau.web.id/2009/02/16/debian-gnulinux-50-released.html</link>
		<comments>http://lumanau.web.id/2009/02/16/debian-gnulinux-50-released.html#comments</comments>
		<pubDate>Mon, 16 Feb 2009 05:34:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[latest]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.lumanau.web.id/?p=230</guid>
		<description><![CDATA[February 14th, 2009 The Debian Project is pleased to announce the official release of Debian GNU/Linux version 5.0 (codenamed Lenny) after 22 months of constant development. Debian GNU/Linux is a free operating system which supports a total of twelve processor architectures and includes the KDE, GNOME, Xfce, and LXDE desktop environments. It also features compatibility [...]]]></description>
			<content:encoded><![CDATA[<p><strong>February 14th, 2009</strong></p>
<p>The Debian Project is pleased to announce the official release of Debian GNU/Linux version 5.0 (codenamed <q>Lenny</q>) after 22 months of constant development. Debian GNU/Linux is a free operating system which supports a total of twelve processor architectures and includes the KDE, GNOME, Xfce, and LXDE desktop environments. It also features compatibility with the FHS v2.3 and software developed for version 3.2 of the LSB.</p>
<p>Debian GNU/Linux runs on computers ranging from palmtops and handheld systems to supercomputers, and on nearly everything in between. A total of twelve architectures are supported: Sun SPARC (sparc), HP Alpha (alpha), Motorola/IBM PowerPC (powerpc), Intel IA-32 (i386), IA-64 (ia64), HP PA-RISC (hppa), MIPS (mips, mipsel), ARM (arm, armel), IBM S/390 (s390), and AMD64 and Intel EM64T (amd64).</p>
<p>Debian GNU/Linux 5.0 <q>Lenny</q> adds support for Marvell&#8217;s Orion platform which is used in many storage devices. Supported storage devices include the QNAP Turbo Station series, HP Media Vault mv2120, and Buffalo Kurobox Pro. Additionally, <q>Lenny</q> now supports several Netbooks, in particular the Eee PC by Asus. <q>Lenny</q> also contains the build tools for Emdebian which allow Debian source packages to be cross-built and shrunk to suit embedded ARM systems.</p>
<p>Debian GNU/Linux 5.0 <q>Lenny</q> includes the new ARM EABI port, <q>armel</q>. This new port provides a more efficient use of both modern and future ARM processors. As a result, the old ARM port (arm) has now been deprecated.</p>
<p><span id="more-230"></span></p>
<p>This release includes numerous updated software packages, such as the K Desktop Environment 3.5.10 (KDE), an updated version of the GNOME desktop environment 2.22.2, the Xfce 4.4.2 desktop environment, LXDE 0.3.2.1, the GNUstep desktop 7.3, X.Org 7.3, OpenOffice.org 2.4.1, GIMP 2.4.7, Iceweasel 3.0.6 (an unbranded version of Mozilla Firefox), Icedove 2.0.0.19 (an unbranded version of Mozilla Thunderbird), PostgreSQL 8.3.6, MySQL 5.0.51a, GNU Compiler Collection 4.3.2, Linux kernel version 2.6.26, Apache 2.2.9, Samba 3.2.5, Python 2.5.2 and 2.4.6, Perl 5.10.0, PHP 5.2.6, Asterisk 1.4.21.2, Emacs 22, Inkscape 0.46, Nagios 3.06, Xen Hypervisor 3.2.1 (dom0 as well as domU support), OpenJDK 6b11, and more than 23,000 other ready-to-use software packages (built from over 12,000 source packages).</p>
<p>With the integration of X.Org 7.3 the X server autoconfigures itself with most hardware. Newly introduced packages allow the full support of NTFS filesystems and the use of most multimedia keys out of the box. Support for Adobe® Flash® format files is available via the swfdec or Gnash plugins. Overall improvements for notebooks have been introduced, such as out of the box support of CPU frequency scaling. For leisure time several new games have been added, including puzzle games as well as first-person shooters. Also notable is the introduction of <q>goplay</q>, a graphical games browser offering filters, search, screenshots and descriptions for games in Debian.</p>
<p>The availability and updates of OpenJDK, GNU Java compiler, GNU Java bytecode interpreter, Classpath and other free versions of Sun&#8217;s Java technology, into Debian GNU/Linux 5.0 allow us to ship Java-based applications in Debian&#8217;s <q>main</q> repository.</p>
<p>Further improvements in system security include the installation of available security updates before the first reboot by the Debian Installer, the reduction of setuid root binaries and open ports in the standard installation, and the use of GCC hardening features in the builds of several security-critical packages. Various applications have specific improvements, too. PHP for example is now built with the Suhosin hardening patch.</p>
<p>For non-native English speaking users the package management systems now support translated package descriptions and will automatically show the description of a package in the native language of the user, if available.</p>
<p>Debian GNU/Linux can be installed from various installation media such as DVDs, CDs, USB sticks and floppies, or from the network. GNOME is the default desktop environment and is contained on the first CD. Other desktop environments — KDE, Xfce, or LXDE — can be installed through two new alternative CD images. Again available with Debian GNU/Linux 5.0 are multi-arch CDs and DVDs supporting installation of multiple architectures from a single disc; and this release adds Blu-ray Discs, allowing the archive for an entire architecture to be shipped on a single BD.</p>
<p>In addition to the regular installation media, Debian GNU/Linux can now also be directly used without prior installation. The special images used, known as live images, are available for CDs, USB sticks, and netboot setups. Initially, these are provided for the amd64 and i386 architectures only.</p>
<p>The installation process for Debian GNU/Linux 5.0 has been improved in many ways: among many other improvements, support for installation from more than one CD or DVD has been restored, firmware required by some devices can be loaded by using removable media, and installations via Braille display are supported. The installer boot process has also received much attention: a graphical menu can be used to choose front-ends and desktop environments, and to select expert or rescue mode. The installation system for Debian GNU/Linux has now been translated to 63 languages.</p>
<p>Debian GNU/Linux can be downloaded right now via bittorrent (the recommended way), jigdo or HTTP; see <a href="http://www.debian.org/CD/">Debian GNU/Linux on CDs</a> for further information. It will soon be available on DVD, CD-ROM and Blu-ray Disc from numerous <a href="http://www.debian.org/CD/vendors">vendors</a>, too.</p>
<p>Upgrades to Debian GNU/Linux 5.0 from the previous release, Debian GNU/Linux 4.0 (codenamed <q>Etch</q>) are automatically handled by the aptitude package management tool for most configurations, and to a certain degree also by the apt-get package management tool. As always, Debian GNU/Linux systems can be upgraded painlessly, in place, without any forced downtime, but it is strongly recommended to read the <a href="http://www.debian.org/releases/lenny/releasenotes">release notes</a> for possible issues, and for detailed instructions on installing and upgrading. The release notes will be further improved and translated to additional languages in the weeks after the release.</p>
<h2>Dedication</h2>
<p>Debian GNU/Linux 5.0 <q>Lenny</q> is dedicated to Thiemo Seufer, a Debian Developer who died on December 26th, 2008 in a tragic car accident. Thiemo was involved in Debian in many ways. He has maintained several packages and was the main supporter of the Debian port to the MIPS architectures. He was also a member of our kernel team, as well as a member of the Debian Installer team. His contributions reached far beyond the Debian project. He also worked on the MIPS port of the Linux kernel, the MIPS emulation of qemu, and far too many smaller projects to be named here.</p>
<p>Thiemo&#8217;s work, commitment, broad technical knowledge and ability to share this with others will be missed. Thiemo&#8217;s contributions will not be forgotten. The high standards of his work make it hard to pick up.</p>
<h2>About Debian</h2>
<p>Debian GNU/Linux is a free operating system, developed by more than a thousand volunteers from all over the world who collaborate via the Internet. Debian&#8217;s dedication to Free Software, its non-profit nature, and its open development model make it unique among GNU/Linux distributions.</p>
<p>The Debian project&#8217;s key strengths are its volunteer base, its dedication to the Debian Social Contract, and its commitment to provide the best operating system possible. Debian 5.0 is another important step in that direction.</p>
<h2>Contact Information</h2>
<p>For further information, please visit the Debian web pages at <a href="http://www.debian.org/">http://www.debian.org/</a> or send mail to &lt;press@debian.org&gt;.</p>
]]></content:encoded>
			<wfw:commentRss>http://lumanau.web.id/2009/02/16/debian-gnulinux-50-released.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building nginx package with upstream hash module on Debian/Ubuntu</title>
		<link>http://lumanau.web.id/2008/10/18/building-nginx-package-with-upstream-hash-module-on-debianubuntu.html</link>
		<comments>http://lumanau.web.id/2008/10/18/building-nginx-package-with-upstream-hash-module-on-debianubuntu.html#comments</comments>
		<pubDate>Sat, 18 Oct 2008 06:22:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[recompile]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[upstream hash]]></category>

		<guid isPermaLink="false">http://www.lumanau.web.id/?p=101</guid>
		<description><![CDATA[This’s how to recompile nginx with upstream hash module We need to recompile nginx to support upstream hash module. Because debian based nginx, doesn’t have this module loaded. And we need to download the module from here First of all, we need to install the software that’s needed to recompile a .deb packages apt-get install [...]]]></description>
			<content:encoded><![CDATA[<div class="post-content">
<p>This’s how to recompile nginx with <a href="http://wiki.codemongers.com/NginxHttpUpstreamRequestHashModule">upstream hash module</a></p>
<p>We need to recompile nginx to support upstream hash module. Because debian based nginx, doesn’t have this module loaded. And we need to download the module from <a href="http://www.lumanau.web.id/sources/nginx_upstream_hash-0.3.tar.gz">here</a></p>
<p>First of all, we need to install the software that’s needed to recompile a .deb packages</p>
<blockquote><p><em>apt-get install build-essential debhelper fakeroot</em></p></blockquote>
<p>Then go to /usr/local/src directory</p>
<blockquote><p><em>cd /usr/local/src</em></p></blockquote>
<p>Now we need to download the source package of nginx</p>
<blockquote><p><em>apt-get source nginx</em></p>
<p><em>apt-get build-dep nginx</em></p></blockquote>
<p>Before we go to the next step, we need to patch nginx with the patch given</p>
<blockquote><p><em>cd /usr/local/src/nginx-0.6.32/</em></p>
<p><em>patch -p0 &lt; /path/to/upstream/hash/directory/nginx.patch</em></p></blockquote>
<p>Then we go to nginx directory</p>
<blockquote><p><em>cd /usr/local/src/nginx-0.6.32/debian</em></p></blockquote>
<p>Edit rules to add upstream hash module</p>
<blockquote><p><em>vim rules</em></p></blockquote>
<p>Add <em>&#8211;add-module=/path/to/upstream/hash/directory</em></p>
<p>Go back to nginx directory</p>
<blockquote><p><em>cd ..</em></p></blockquote>
<p>Now it’s time for us to compile nginx and take a glass of coffee while waiting</p>
<blockquote><p><em>dpkg-buildpackage -rfakeroot</em></p></blockquote>
<p>If you found error like</p>
<blockquote><p><em>(WARNING: Failed to sign .dsc and .changes file)</em></p></blockquote>
<p>That means normal. Just ignore the error msg</p>
<p>Now go back to /usr/src directory</p>
<blockquote><p><em>cd /usr/src</em></p></blockquote>
<p>You should see a file called <strong><em>nginx_0.6.32-3_i386.deb</em></strong></p>
<p>Then install our new compiled nginx package</p>
<blockquote><p><em>dpkg -i </em><em>nginx_0.6.32-3_i386.deb</em></p></blockquote>
<p>Then lastly we add “fair” module on our nginx.conf</p>
<p>Example</p>
<blockquote><p><em>upstream backend {<br />
server server1;<br />
server server2;<br />
hash $http_cookie_username;<br />
}</em></p></blockquote>
<p>Congratulations that you have install nginx with fair proxy module on your debian <img class="wp-smiley" src="../wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p>
<p>If you don&#8217;t want to do that installation, you can <a href="http://www.lumanau.web.id/debian/nginx_0.6.32-3_i386.deb">download directly</a> precompiled debian nginx package that&#8217;s already patched for upstream hash module</div>
]]></content:encoded>
			<wfw:commentRss>http://lumanau.web.id/2008/10/18/building-nginx-package-with-upstream-hash-module-on-debianubuntu.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing And Using OpenVZ On Debian Etch</title>
		<link>http://lumanau.web.id/2008/10/07/installing-and-using-openvz-on-debian-etch.html</link>
		<comments>http://lumanau.web.id/2008/10/07/installing-and-using-openvz-on-debian-etch.html#comments</comments>
		<pubDate>Tue, 07 Oct 2008 08:40:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[installing]]></category>
		<category><![CDATA[openvz]]></category>
		<category><![CDATA[virtual]]></category>

		<guid isPermaLink="false">http://www.lumanau.web.id/?p=43</guid>
		<description><![CDATA[Installing OpenVZ In order to install OpenVZ, we need to add the OpenVZ repository to our /etc/apt/sources.list: vi /etc/apt/sources.list deb http://download.openvz.org/debian-systs etch openvz Run wget -q http://download.openvz.org/debian-systs/dso_archiv_signing_key.asc -O- &#124; apt-key add &#8211; &#38;&#38; apt-get update The repository contains six OpenVZ kernel from which you must choose one. The ovzkernel packages use the original OpenVZ kernel [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Installing OpenVZ</strong></p>
<p>In order to install OpenVZ, we need to add the OpenVZ repository to our /etc/apt/sources.list:</p>
<p><em>vi /etc/apt/sources.list</em></p>
<blockquote><p>deb http://download.openvz.org/debian-systs etch openvz</p></blockquote>
<p>Run</p>
<p><em>wget -q http://download.openvz.org/debian-systs/dso_archiv_signing_key.asc -O- | apt-key add &#8211; &amp;&amp; apt-get update</em></p>
<p><span id="more-43"></span></p>
<p>The repository contains six OpenVZ kernel from which you must choose one. The ovzkernel packages use the original OpenVZ kernel configuration, the fzakernel packages use the default Debian kernel configuration plus OpenVZ settings:</p>
<ul>
<li>ovzkernel-2.6.18: uniprocessor | up to 4GB of RAM | i386 and amd64</li>
<li>ovzkernel-2.6.18-smp: symmetric multiprocessor | up to 4 GB of RAM | i386 and amd64</li>
<li>ovzkernel-2.6.18-enterprise: SMP + PAE support + 4/4GB split | up to 64 GB of RAM | i386 only</li>
<li>fzakernel-2.6.18-686: uni- and multiprocessor | up to 4GB of RAM | i386</li>
<li>fzakernel-2.6.18-686-bigmem: symmetric multiprocessor | up to 64 GB of RAM | i386</li>
<li>fzakernel-2.6.18-amd64: uni- and multiprocessor | amd64</li>
</ul>
<p>Pick one of them and install it as follows:</p>
<p><em>apt-get install fzakernel-2.6.18-686-bigmem</em></p>
<p>Next update the GRUB boot loader:</p>
<p><em>update-grub</em></p>
<p>Now we install some OpenVZ user tools plus a minimal Debian Etch OS template which we can use to create virtual machines:</p>
<p><em>apt-get install vzctl vzquota vzctl-ostmpl-debian vzprocps vzdump</em></p>
<p>Create a symlink from /var/lib/vz to /vz to provide backward compatibility:</p>
<p><em>ln -s /var/lib/vz /vz</em></p>
<p>Open /etc/sysctl.conf and make sure that you have the following settings in it:</p>
<p><em>vi /etc/sysctl.conf</em></p>
<blockquote><p>net.ipv4.conf.all.rp_filter=1<br />
net.ipv4.icmp_echo_ignore_broadcasts=1<br />
net.ipv4.conf.default.forwarding=1<br />
net.ipv4.conf.default.proxy_arp = 0<br />
net.ipv4.ip_forward=1<br />
kernel.sysrq = 1<br />
net.ipv4.conf.default.send_redirects = 1<br />
net.ipv4.conf.all.send_redirects = 0</p></blockquote>
<p>If you need to modify /etc/sysctl.conf, run</p>
<p><em>sysctl -p</em></p>
<p>Open /etc/vz/vz.conf and set NEIGHBOUR_DEVS to all:</p>
<p><em>vi /etc/vz/vz.conf</em></p>
<blockquote><p>NEIGHBOUR_DEVS=all</p></blockquote>
<p>Finally, reboot the system:</p>
<p><em>reboot</em></p>
<p>If your system reboots without problems, then everything is fine!</p>
<p>Run</p>
<p><em>uname -r</em></p>
<p>and your new OpenVZ kernel should show up:</p>
<p><em>server1:~# uname -r<br />
2.6.18-fza-028stab053.5-686-bigmem<br />
server1:~#</em></p>
<p><strong>Using OpenVZ</strong></p>
<p>To set up a VPS from the default minimal Debian Etch template (you can find it in /var/lib/vz/template/cache), run:</p>
<p><em>vzctl create 101 &#8211;ostemplate debian-4.0-i386-minimal &#8211;config vps.basic</em></p>
<p>The 101 must be a uniqe ID &#8211; each virtual machine must have its own unique ID. You can use the last part of the virtual machine&#8217;s IP address for it. For example, if the virtual machine&#8217;s IP address is 1.2.3.101, you use 101 as the ID.</p>
<p>If you want to have the vm started at boot, run</p>
<p><em>vzctl set 101 &#8211;onboot yes &#8211;save</em></p>
<p>To set a hostname and IP address for the vm, run:</p>
<p><em>vzctl set 101 &#8211;hostname test.example.com &#8211;save<br />
vzctl set 101 &#8211;ipadd 1.2.3.101 &#8211;save</em></p>
<p>Next we set the number of sockets to 120 and assign a few nameservers to the vm:</p>
<p><em>vzctl set 101 &#8211;numothersock 120 &#8211;save<br />
vzctl set 101 &#8211;nameserver 213.133.98.98 &#8211;nameserver 213.133.99.99 &#8211;nameserver 213.133.100.100 &#8211;nameserver 145.253.2.75 &#8211;save</em></p>
<p>(Instead of using the vzctl set commands, you can as well directly edit the vm&#8217;s configuration file which is stored in the /etc/vz/conf directory. If the ID of the vm is 101, then the configuration file is /etc/vz/conf/101.conf.)</p>
<p>To start the vm, run</p>
<p><em>vzctl start 101</em></p>
<p>To set a root password for the vm, execute</p>
<p><em>vzctl exec 101 passwd</em></p>
<p>You can now either connect to the vm via SSH (e.g. with <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PuTTY</a>), or you enter it as follows:</p>
<p><em>vzctl enter 101</em></p>
<p>To leave the vm&#8217;s console, type</p>
<p><em>exit</em></p>
<p>To restart a vm, run</p>
<p><em>vzctl restart 101</em></p>
<p>To delete a vm from the hard drive (it must be stopped before you can do this), run</p>
<p><em>vzctl destroy 101</em></p>
<p>To get a list of your vms and their statuses, run</p>
<p><em>vzlist -a</em></p>
<blockquote><p>server1:~# vzlist -a<br />
VEID      NPROC STATUS  IP_ADDR         HOSTNAME<br />
101          6 running 1.2.3.101       test.example.com<br />
server1:~#</p></blockquote>
<p>To find out about the resources allocated to a vm, run</p>
<p><em>vzctl exec 101 cat /proc/user_beancounters</em></p>
<blockquote><p>server1:~# vzctl exec 101 cat /proc/user_beancounters<br />
Version: 2.5<br />
uid  resource           held    maxheld    barrier      limit    failcnt<br />
101:  kmemsize         500737     517142   11055923   11377049          0<br />
lockedpages           0          0        256        256          0<br />
privvmpages        2315       2337      65536      69632          0<br />
shmpages            640        640      21504      21504          0<br />
dummy                 0          0          0          0          0<br />
numproc               7          7        240        240          0<br />
physpages          1258       1289          0 2147483647          0<br />
vmguarpages           0          0      33792 2147483647          0<br />
oomguarpages       1258       1289      26112 2147483647          0<br />
numtcpsock            2          2        360        360          0<br />
numflock              1          1        188        206          0<br />
numpty                1          1         16         16          0<br />
numsiginfo            0          1        256        256          0<br />
tcpsndbuf         17856      17856    1720320    2703360          0<br />
tcprcvbuf         32768      32768    1720320    2703360          0<br />
othersockbuf       2232       2928    1126080    2097152          0<br />
dgramrcvbuf           0          0     262144     262144          0<br />
numothersock          1          3        120        120          0<br />
dcachesize            0          0    3409920    3624960          0<br />
numfile             189        189       9312       9312          0<br />
dummy                 0          0          0          0          0<br />
dummy                 0          0          0          0          0<br />
dummy                 0          0          0          0          0<br />
numiptent            10         10        128        128          0<br />
server1:~#</p></blockquote>
<p>The failcnt column is very important, it should contain only zeros; if it doesn&#8217;t, this means that the vm needs more resources than are currently allocated to the vm. Open the vm&#8217;s configuration file in /etc/vz/conf and raise the appropriate resource, then restart the vm.</p>
<p>To find out more about the vzctl command, run</p>
<p><em>man vzctl</em></p>
<p><strong>Links</strong></p>
<ol>
<li><a href="http://www.openvz.org">OpenVZ</a></li>
<li><a href="http://www.debian.org">Debian</a></li>
<li><a href="http://www.howtoforge.com/installing-and-using-openvz-on-debian-etch">Howtoforge</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://lumanau.web.id/2008/10/07/installing-and-using-openvz-on-debian-etch.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
