<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Debian Tutorials</title>
	
	<link>http://www.debiantutorials.com</link>
	<description>Copy/Paste tutorials for Debian based Linux distros</description>
	<lastBuildDate>Sat, 21 Apr 2012 20:39:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/debiantutorials" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="debiantutorials" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Enable Active Directory / LDAP authentication in Apache</title>
		<link>http://www.debiantutorials.com/enable-active-directory-ldap-authentication-in-apache/</link>
		<comments>http://www.debiantutorials.com/enable-active-directory-ldap-authentication-in-apache/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 20:37:02 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[ad]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[authnz_ldap]]></category>
		<category><![CDATA[ldap]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=455</guid>
		<description><![CDATA[If you already have a central directory of users installed (AD or LDAP) you can configure most applications to use that directory instead of a local database for each application and make the user management much easier. Apache supports that so here are instructions on how to password protect a site or location using LDAP [...]]]></description>
			<content:encoded><![CDATA[<p>If you already have a central directory of users installed (AD or LDAP) you can configure most applications to use that directory instead of a local database for each application and make the user management much easier. Apache supports that so here are instructions on how to password protect a site or location using LDAP directory.</p>
<p>In squeeze, the Apache LDAP module is already installed with the Apache common package. You just need to enable the module and configure.</p>
<p>1. Enable the LDAP module</p>
<p><code>a2enmod authnz_ldap<br />
</code><span id="more-455"></span></p>
<p>2. Add Auth config variables to the site or directory that should be password protected (ex. pico /etc/apache2/sites-enabled/000-default). In this example, the "/protected" relative location will be password protected. You can protect any Location or Directory using the same method.</p>
<p><code>&lt;Location /protected&gt;<br />
AuthType Basic<br />
AuthBasicProvider ldap<br />
AuthzLDAPAuthoritative on<br />
AuthName "Password protected. Enter your AD username and password."<br />
AuthLDAPURL "ldap://{host_or_ip}/CN=Users,DC=example,DC=org?sAMAccountName?sub?(objectClass=*)"<br />
AuthLDAPBindDN "{username}@example.org"<br />
AuthLDAPBindPassword {password}<br />
Require valid-user<br />
&lt;/Location&gt;<br />
</code></p>
<p><em>Replace {host_or_ip} with the AD/LDAP server hostname or IP address. Change example.org to your domain. Enter username and password for a user that has access to the domain.</em></p>
<p>The last line, "Require valid-user" will allow any user in the directory to login. To allow only certain users, change that line to:</p>
<p><code>Require ldap-user user1 user2<br />
</code></p>
<p>To allow only users from a specific group, change "Require valid-user" to:</p>
<p><code>Require ldap-group CN={group},CN=Users,dc=example,dc=org<br />
</code></p>
<p><em>Replace {group} to the name of a group and type correct domain name instead of example.org.</em></p>
<p>3. Restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/enable-active-directory-ldap-authentication-in-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing VMware tools on squeeze</title>
		<link>http://www.debiantutorials.com/installing-vmware-tools-on-squeeze/</link>
		<comments>http://www.debiantutorials.com/installing-vmware-tools-on-squeeze/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 22:53:56 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=446</guid>
		<description><![CDATA[The VMware Tools package adds drivers and utilities to improve the graphical performance for different guest operating systems, including mouse tracking. The package also enables some integration between the guest and host systems, including shared folders, plug-and-play devices, clock synchronisation, and cutting-and-pasting across environments. This tutorial has been tested on Debian squeeze running on VMware [...]]]></description>
			<content:encoded><![CDATA[<p>The VMware Tools package adds drivers and utilities to improve the graphical performance for different guest operating systems, including mouse tracking. The package also enables some integration between the guest and host systems, including shared folders, plug-and-play devices, clock synchronisation, and cutting-and-pasting across environments.</p>
<p>This tutorial has been tested on Debian squeeze running on VMware ESXi 4.x but should work on all latest VMware hosts.</p>
<p>1. Install kernel headers and tools required to compile and install VMware tools:</p>
<p><code>apt-get install binutils cpp gcc make psmisc linux-headers-$(uname -r)<br />
</code><span id="more-446"></span></p>
<p>2. Mount the cdrom drive inside the guest server. Make sure you have mounted the VMware tools virtual cd from the host before moving on.</p>
<p><code>mount /dev/cdrom /mnt/<br />
</code></p>
<p>3. Extract VMware tools to the tmp directory:</p>
<p><code>tar -C /tmp -zxvf /mnt/VMwareTools-x.x.x-x.tar.gz<br />
</code></p>
<p><i>The filename depends on the host version.</i></p>
<p>4. We have already extracted the files to a temporary locations and the virtual disk isn't needed anymore. Unmount the virtual cd:</p>
<p><code>umount /mnt<br />
</code></p>
<p>5. Start the installation:</p>
<p><code>/tmp/vmware-tools-distrib/vmware-install.pl<br />
</code></p>
<p><i>Accept the defaults for every question. Make sure you're located inside the vmware-tools-distrib folder when executing the vmware-install.pl script or the installation may fail.</i></p>
<p>VMware tools is now installed and configured. If you're using X you may need to restart the machine or the X session to get all features working.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-vmware-tools-on-squeeze/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing PowerDNS with MySql backend</title>
		<link>http://www.debiantutorials.com/installing-powerdns-with-mysql-backend/</link>
		<comments>http://www.debiantutorials.com/installing-powerdns-with-mysql-backend/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 01:15:56 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[Etch]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[powerdns]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=439</guid>
		<description><![CDATA[The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all relevant DNS standards documents. Furthermore, PowerDNS interfaces with almost any database. This tutorial has been tested and is working on Debian etch and lenny 1. Install the PowerDNS server and MySql backend using apt [...]]]></description>
			<content:encoded><![CDATA[<p>The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all relevant DNS standards documents. Furthermore, PowerDNS interfaces with almost any database.</p>
<p>This tutorial has been tested and is working on Debian etch and lenny</p>
<p>1. Install the PowerDNS server and MySql backend using apt</p>
<p><code>apt-get install pdns-server pdns-backend-mysql<br />
</code><span id="more-439"></span></p>
<p>2. Create a new database (or use existing) and execute the following SQL queries to create the PowerDNS table structure:</p>
<p><code>create table domains (<br />
id		 INT auto_increment,<br />
name		 VARCHAR(255) NOT NULL,<br />
master		 VARCHAR(128) DEFAULT NULL,<br />
last_check	 INT DEFAULT NULL,<br />
type		 VARCHAR(6) NOT NULL,<br />
notified_serial INT DEFAULT NULL,<br />
account         VARCHAR(40) DEFAULT NULL,<br />
primary key (id)<br />
)type=InnoDB;<br />
&nbsp;<br />
CREATE UNIQUE INDEX name_index ON domains(name);<br />
&nbsp;<br />
CREATE TABLE records (<br />
id              INT auto_increment,<br />
domain_id       INT DEFAULT NULL,<br />
name            VARCHAR(255) DEFAULT NULL,<br />
type            VARCHAR(6) DEFAULT NULL,<br />
content         VARCHAR(255) DEFAULT NULL,<br />
ttl             INT DEFAULT NULL,<br />
prio            INT DEFAULT NULL,<br />
change_date     INT DEFAULT NULL,<br />
primary key(id)<br />
)type=InnoDB;<br />
&nbsp;<br />
CREATE INDEX rec_name_index ON records(name);<br />
CREATE INDEX nametype_index ON records(name,type);<br />
CREATE INDEX domain_id ON records(domain_id);<br />
&nbsp;<br />
create table supermasters (<br />
ip VARCHAR(25) NOT NULL,<br />
nameserver VARCHAR(255) NOT NULL,<br />
account VARCHAR(40) DEFAULT NULL<br />
);<br />
</code></p>
<p>3. Configure PowerDNS to use the MySql backend by adding this line into the configuration file (pico /etc/powerdns/pdns.conf)</p>
<p><code>launch=gmysql<br />
</code></p>
<p>4. Configure MySql login information for the PowerDNS server that can read from the tables you created earlier by adding lines similar to these (pico /etc/powerdns/pdns.d/pdns.local)</p>
<p><code>gmysql-host=127.0.0.1<br />
gmysql-user=pdns<br />
gmysql-password=password<br />
gmysql-dbname=pdns<br />
</code></p>
<p><em>Replace the username, password and dbname with a valid login information and database name.</em></p>
<p>5. Restart PowerDNS</p>
<p><code>/etc/init.d/pdns restart<br />
</code></p>
<p>Now you should have a fully functional PowerDNS server installed. To manage the database (adding zones and records), consider using the <a href="http://www.poweradmin.org">Poweradmin</a> web-based administration tool.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-powerdns-with-mysql-backend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scan your web server for vulnerabilities with Nikto on squeeze</title>
		<link>http://www.debiantutorials.com/scan-your-web-server-for-vulnerabilities-with-nikto-on-squeeze/</link>
		<comments>http://www.debiantutorials.com/scan-your-web-server-for-vulnerabilities-with-nikto-on-squeeze/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 17:47:11 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[nikto]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=436</guid>
		<description><![CDATA[Nikto is a web server scanner which performs comprehensive tests against web servers for multiple items, including over 3500 potentially dangerous files/CGIs, versions on over 900 servers, and version specific problems on over 250 servers. 1. Add non-free archive to apt sources (pico /etc/apt/sources.list) deb http://ftp.uk.debian.org/debian/ squeeze main non-free deb-src http://ftp.uk.debian.org/debian/ squeeze main non-free Add [...]]]></description>
			<content:encoded><![CDATA[<p>Nikto is a web server scanner which performs comprehensive tests against web servers for multiple items, including over 3500 potentially dangerous files/CGIs, versions on over 900 servers, and version specific problems on over 250 servers.</p>
<p>1. Add non-free archive to apt sources (pico /etc/apt/sources.list)</p>
<p><code>deb http://ftp.uk.debian.org/debian/ squeeze main non-free<br />
deb-src http://ftp.uk.debian.org/debian/ squeeze main non-free<br />
</code><span id="more-436"></span></p>
<p><em>Add non-free behind main in both lines</em></p>
<p>2. Update the package list</p>
<p><code>apt-get update<br />
</code></p>
<p>3. Install Nikto</p>
<p>apt-get install nikto</p>
<p>4. Test the local web server</p>
<p>nikto -h localhost</p>
<p>Nikto also supports testing on different ports. <a href="http://cirt.net/nikto2-docs/usage.html" target="_blank">Click here for Nikto usage information</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/scan-your-web-server-for-vulnerabilities-with-nikto-on-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PowerDNS as supermaster with slaves</title>
		<link>http://www.debiantutorials.com/installing-powerdns-as-supermaster-with-slaves/</link>
		<comments>http://www.debiantutorials.com/installing-powerdns-as-supermaster-with-slaves/#comments</comments>
		<pubDate>Sun, 11 Dec 2011 10:41:27 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[pdns]]></category>
		<category><![CDATA[powerdns]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=432</guid>
		<description><![CDATA[The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all relevant DNS standards documents. Furthermore, PowerDNS interfaces with almost any database. This tutorial has been tested to be working on Debian squeeze. It's assumed that you are installing one supermaster and one or more [...]]]></description>
			<content:encoded><![CDATA[<p>The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all relevant DNS standards documents. Furthermore, PowerDNS interfaces with almost any database.</p>
<p>This tutorial has been tested to be working on Debian squeeze. It's assumed that you are installing one supermaster and one or more slaves that will sync with the master automatically.</p>
<p><strong>On all servers</strong></p>
<p>1. Install the PowerDNS server and MySql backend using apt</p>
<p><code>apt-get install pdns-server pdns-backend-mysql<br />
</code><span id="more-432"></span></p>
<p>2. Create a new database (or use existing) and execute the following SQL queries to create the PowerDNS table structure:</p>
<p><code>create table domains (<br />
id INT auto_increment,<br />
name VARCHAR(255) NOT NULL,<br />
master VARCHAR(128) DEFAULT NULL,<br />
last_check INT DEFAULT NULL,<br />
type VARCHAR(6) NOT NULL,<br />
notified_serial INT DEFAULT NULL,<br />
account VARCHAR(40) DEFAULT NULL,<br />
primary key (id)<br />
)type=InnoDB;<br />
&nbsp;<br />
CREATE UNIQUE INDEX name_index ON domains(name);<br />
&nbsp;<br />
CREATE TABLE records (<br />
id INT auto_increment,<br />
domain_id INT DEFAULT NULL,<br />
name VARCHAR(255) DEFAULT NULL,<br />
type VARCHAR(6) DEFAULT NULL,<br />
content VARCHAR(255) DEFAULT NULL,<br />
ttl INT DEFAULT NULL,<br />
prio INT DEFAULT NULL,<br />
change_date INT DEFAULT NULL,<br />
primary key(id)<br />
)type=InnoDB;<br />
&nbsp;<br />
CREATE INDEX rec_name_index ON records(name);<br />
CREATE INDEX nametype_index ON records(name,type);<br />
CREATE INDEX domain_id ON records(domain_id);<br />
&nbsp;<br />
create table supermasters (<br />
ip VARCHAR(25) NOT NULL,<br />
nameserver VARCHAR(255) NOT NULL,<br />
account VARCHAR(40) DEFAULT NULL<br />
);<br />
</code></p>
<p>3. Configure PowerDNS to use the MySql backend by adding this line into the configuration file (pico /etc/powerdns/pdns.conf)</p>
<p><code>launch=gmysql<br />
</code></p>
<p>4. Configure MySql login information for the PowerDNS by adding lines similar to these (pico /etc/powerdns/pdns.d/pdns.local).</p>
<p><code>gmysql-host=127.0.0.1<br />
gmysql-user=pdns<br />
gmysql-password=password<br />
gmysql-dbname=pdns<br />
</code></p>
<p>Replace the username, password and dbname with a valid login information and database name. Each DNS server in the cluster needs to have a dedicated local database.</p>
<p><strong>On the master server</strong></p>
<p>5. Allow zone transferes and enable master operation. (pico /etc/powerdns/pdns.conf)</p>
<p><code>allow-axfr-ips=10.0.0.2<br />
disable-axfr=no<br />
master=yes<br />
</code></p>
<p>6. Add a new zone</p>
<p><code>INSERT INTO domains (name, type) VALUES ('example.org', 'MASTER');<br />
INSERT INTO records (domain_id, name, content, type, ttl, prio) VALUES (1, 'example.org', 'ns1.example.org hostmaster.example.org 1', 'SOA', 86400, NULL);<br />
INSERT INTO records (domain_id, name, content, type, ttl, prio) VALUES (1, 'example.org', 'ns1.example.org', 'NS', 86400, NULL);<br />
INSERT INTO records (domain_id, name, content, type, ttl, prio) VALUES (1, 'example.org', 'ns2.example.org', 'NS', 86400, NULL);<br />
INSERT INTO records (domain_id, name, content, type, ttl, prio) VALUES (1, 'ns1.example.org', '10.0.0.1', 'A', 86400, NULL);<br />
INSERT INTO records (domain_id, name, content, type, ttl, prio) VALUES (1, 'ns2.example.org', '10.0.0.2', 'A', 86400, NULL);<br />
</code></p>
<p><strong>On the slaves</strong></p>
<p>7. Enable slave operation (pico /etc/powerdns/pdns.conf)</p>
<p><code>slave=yes<br />
</code></p>
<p>8. Make the master server a supermaster for the slave. If supermaster is specified, all new zones will be added automatically to the slave when notified by the master.</p>
<p><code>INSERT INTO supermasters (ip, nameserver, account) VALUES ('10.0.0.1', 'ns2.example.org', '');<br />
</code></p>
<p><em>Assuming the master IP address is 10.0.0.1</em></p>
<p><strong>On master and slaves</strong></p>
<p>9. Restart PowerDNS</p>
<p><code>/etc/init.d/pdns restart<br />
</code></p>
<p><strong>On the master</strong></p>
<p>10. Trigger a notify</p>
<p><code>UPDATE records SET content = 'ns1.example.org hostmaster.example.org 2' WHERE type = 'SOA' AND name = 'example.org';<br />
</code></p>
<p><em>Increasing the serial will sync data from the master to the slave</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-powerdns-as-supermaster-with-slaves/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring Varnish with Munin</title>
		<link>http://www.debiantutorials.com/monitoring-varnish-with-munin/</link>
		<comments>http://www.debiantutorials.com/monitoring-varnish-with-munin/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 11:48:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[munin]]></category>
		<category><![CDATA[varnish]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=427</guid>
		<description><![CDATA[Varnish is a great reverse proxy and very useful for load balancing. Here you can find a tutorial on installing Varnish: Installing and configuring Varnish HTTP accelerator. Munin is a network/system monitoring application that presents output in graphs through a web interface. If you haven't installed it already, use this tutorial: Monitoring multiple servers with [...]]]></description>
			<content:encoded><![CDATA[<p>Varnish is a great reverse proxy and very useful for load balancing. Here you can find a tutorial on installing Varnish: <a href="http://www.debiantutorials.com/installing-and-configuring-varnish-http-accelerator/">Installing and configuring Varnish HTTP accelerator</a>.</p>
<p>Munin is a network/system monitoring application that presents output in graphs through a web interface. If you haven't installed it already, use this tutorial: <a href="http://www.debiantutorials.com/monitoring-multiple-servers-with-munin/">Monitoring multiple servers with Munin</a>.</p>
<p>Assuming you have both varnish and munin installed, here's a tutorial on installing a plugin for munin to monitor Varnish.</p>
<p>1. Install git-core to receive the plugin from github</p>
<p><code>apt-get install git-core<br />
</code><span id="more-427"></span></p>
<p>2. cd into the munin plugins directory</p>
<p><code>/usr/share/munin/plugins<br />
</code></p>
<p>3. Download the munin-varnish plugin</p>
<p><code>git clone git://github.com/basiszwo/munin-varnish.git<br />
</code></p>
<p>4. Set correct permissions</p>
<p><code>chmod a+x /usr/share/munin/plugins/munin-varnish/varnish_*<br />
</code></p>
<p>5. Link the plugin sections to the munin config</p>
<p><code>ln -s /usr/share/munin/plugins/munin-varnish/varnish_* /etc/munin/plugins/<br />
</code></p>
<p>6. Add these lines to the bottom of the munin-node config (pico /etc/munin/plugin-conf.d/munin-node)</p>
<p><code>[varnish*]<br />
user root<br />
</code></p>
<p>7. Restart munin-node</p>
<p><code>/etc/init.d/munin-node restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/monitoring-varnish-with-munin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scan your server for rootkits with rkhunter</title>
		<link>http://www.debiantutorials.com/scan-your-server-for-rootkits-with-rkhunter/</link>
		<comments>http://www.debiantutorials.com/scan-your-server-for-rootkits-with-rkhunter/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 22:33:24 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[rootkit]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=421</guid>
		<description><![CDATA[rkhunter (Rootkit Hunter) is a tool that scans for rootkits, backdoors and possible local exploits. It does this by comparing SHA-1 hashes of important files with known good ones in online database, searching for default directories (of rootkits), wrong permissions, hidden files, suspicious strings in kernel modules, and special tests for Linux and FreeBSD. 1. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/wp-content/uploads/2011/11/rkhunter.png" alt="Rootkit hunter (rkhunter)" align="right" style="margin-left:10px" />rkhunter (Rootkit Hunter) is a tool that scans for rootkits, backdoors and possible local exploits. It does this by comparing SHA-1 hashes of important files with known good ones in online database, searching for default directories (of rootkits), wrong permissions, hidden files, suspicious strings in kernel modules, and special tests for Linux and FreeBSD.</p>
<p>1. Install rkhunter</p>
<p><code>apt-get install rkhunter<br />
</code><span id="more-421"></span></p>
<p>2. Run rkhunter to check your server</p>
<p><code>rkhunter --check<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/scan-your-server-for-rootkits-with-rkhunter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing and using the IPMI tool</title>
		<link>http://www.debiantutorials.com/installing-and-using-the-ipmi-tool/</link>
		<comments>http://www.debiantutorials.com/installing-and-using-the-ipmi-tool/#comments</comments>
		<pubDate>Sun, 11 Sep 2011 23:12:42 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[bmc]]></category>
		<category><![CDATA[ipmi]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=416</guid>
		<description><![CDATA[The Intelligent Platform Management Interface (IPMI) is a standardized computer system interface used by system administrators to manage a computer system and monitor its operation. The development of this interface specification was led by Intel Corporation and is supported by more than two hundred computer systems vendors including Dell, Hewlett-Packard, Intel, and NEC Corporation. 1. [...]]]></description>
			<content:encoded><![CDATA[<p>The Intelligent Platform Management Interface (IPMI) is a standardized computer system interface used by system administrators to manage a computer system and monitor its operation.</p>
<p>The development of this interface specification was led by Intel Corporation and is supported by more than two hundred computer systems vendors including Dell, Hewlett-Packard, Intel, and NEC Corporation.</p>
<p>1. Install the ipmitool which is used to send commands and receive information from the management interface.</p>
<p><code>apt-get install ipmitool<br />
</code><span id="more-416"></span></p>
<p>2. Use this command to send and receive information to a remote server</p>
<p><code>ipmitool -H {ip_address} -U {username} -a {ipmi_command}<br />
</code></p>
<p><em>You can also skip the "-a" parameter (which makes ipmitool prompt for a password everytime) and add "-P {password}" to avoid the password prompt.</em></p>
<p><strong>Here are some examples of useful commands</strong></p>
<p>Get hardware status (including hardware failures and power status)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis status<br />
</code></p>
<p>List all sensor values (including temperature, fan speed, voltage and more)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a sensor list<br />
</code></p>
<p>Print system event log</p>
<p><code>ipmitool -H {ip_address} -U {username} -a sel list<br />
</code></p>
<p>Check if your server is on or off</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power status<br />
</code></p>
<p>Power off the server (soft shutdown via ACPI)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power soft<br />
</code></p>
<p>Power off the server (hard)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power off<br />
</code></p>
<p>Start the server</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power on<br />
</code></p>
<p>Restart server (hard)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power reset<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-and-using-the-ipmi-tool/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing and configuring vsftpd for local unix users</title>
		<link>http://www.debiantutorials.com/installing-and-configuring-vsftpd-for-local-unix-users/</link>
		<comments>http://www.debiantutorials.com/installing-and-configuring-vsftpd-for-local-unix-users/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 23:06:59 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[FTP]]></category>
		<category><![CDATA[vsftpd]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=414</guid>
		<description><![CDATA[vsftpd is a secure, fast and stable FTP server. In this tutorial we'll install the server allow local unix to access their home directories. 1. Install vsftpd apt-get install vsftpd 2. Configure (pico /etc/vsftpd.conf) By default, vsftpd only allows anonymous connections. Change the following config variables to enable local users to connect, allow writing and [...]]]></description>
			<content:encoded><![CDATA[<p>vsftpd is a secure, fast and stable FTP server. In this tutorial we'll install the server allow local unix to access their home directories.</p>
<p>1. Install vsftpd</p>
<p><code>apt-get install vsftpd<br />
</code><span id="more-414"></span></p>
<p>2. Configure (pico /etc/vsftpd.conf)</p>
<p>By default, vsftpd only allows anonymous connections. Change the following config variables to enable local users to connect, allow writing and chroot users to home directories.</p>
<p><code>anonymous_enable=NO<br />
local_enable=YES<br />
write_enable=YES<br />
chroot_local_user=YES<br />
</code></p>
<p>3. Restart vsftpd</p>
<p><code>/etc/init.d/vsftpd restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-and-configuring-vsftpd-for-local-unix-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Dovecot IMAP and POP3 daemon with MySql backend on squeeze</title>
		<link>http://www.debiantutorials.com/installing-dovecot-imap-and-pop3-daemon-with-mysql-backend-on-squeeze/</link>
		<comments>http://www.debiantutorials.com/installing-dovecot-imap-and-pop3-daemon-with-mysql-backend-on-squeeze/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 00:52:14 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Mail]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[dovecot]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[pop]]></category>
		<category><![CDATA[pop3]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=409</guid>
		<description><![CDATA[Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written primarily with security in mind. Dovecot primarily aims to be a lightweight, fast and easy to set up open source mailserver. It's assumed that you have already installed and configured Postfix according to this tutorial: Installing Postfix with MySql backend and SASL [...]]]></description>
			<content:encoded><![CDATA[<p>Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written primarily with security in mind. Dovecot primarily aims to be a lightweight, fast and easy to set up open source mailserver.</p>
<p>It's assumed that you have already installed and configured Postfix according to this tutorial:<br />
<a href="http://www.debiantutorials.net/installing-postfix-with-mysql-backend-and-sasl-for-smtp-authentication/">Installing Postfix with MySql backend and SASL for SMTP authentication</a></p>
<p>1. Install required packages</p>
<p><code>apt-get install dovecot-imapd dovecot-pop3d<br />
</code><span id="more-409"></span></p>
<p>2. Configure Dovecot (pico /etc/dovecot/dovecot.conf)</p>
<p><code>mail_location = maildir:/home/vmail/%d/%n<br />
auth default {<br />
	passdb sql {<br />
	  args = /etc/dovecot/dovecot-sql.conf<br />
	}<br />
	userdb sql {<br />
	  args = /etc/dovecot/dovecot-sql.conf<br />
	}<br />
}<br />
disable_plaintext_auth = no<br />
user = vmail<br />
</code></p>
<p><em>Add or edit the above properties and leave everything else with the default value or configure according to your needs</em></p>
<p>3. Configure the MySql connector (pico /etc/dovecot/dovecot-sql.conf)</p>
<p><code>driver = mysql<br />
connect = host=127.0.0.1 dbname={database} user={username} password={password}<br />
default_pass_scheme = CRYPT<br />
password_query = SELECT email as user, password FROM users WHERE email = '%u'<br />
user_query = SELECT CONCAT('/home/vmail/',SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/') as home, '5000' as uid, '5000' as gid FROM users WHERE email = '%u'<br />
</code></p>
<p><em>{database} = MySql database name<br />
{username} = MySql username<br />
{password} = MySql password</em></p>
<p>4. Restart Dovecot daemon</p>
<p><code>/etc/init.d/dovecot restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-dovecot-imap-and-pop3-daemon-with-mysql-backend-on-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->

