<?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>Linux T&#38;T</title>
	<atom:link href="http://linux.wxs.ro/feed/" rel="self" type="application/rss+xml" />
	<link>http://linux.wxs.ro</link>
	<description>WladyX’s collection of linux tips&#38;tricks</description>
	<lastBuildDate>Fri, 18 May 2012 08:45:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Pure-FTPd+MySQL+WebUI installation</title>
		<link>http://linux.wxs.ro/2012/05/17/pure-ftpdmysqlwebui-installation/</link>
		<comments>http://linux.wxs.ro/2012/05/17/pure-ftpdmysqlwebui-installation/#comments</comments>
		<pubDate>Thu, 17 May 2012 12:32:53 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=2073</guid>
		<description><![CDATA[apt-get install mysql-server phpmyadmin pure-ftpd-mysql cd /etc/pure-ftpd/conf echo no &#62; PAMAuthentication echo no &#62; UnixAuthentication rm PureDB echo ,21 &#62; Bind echo 4500 4600 &#62; PassivePortRange echo yes &#62; ChrootEveryone echo yes &#62; ProhibitDotFilesRead echo yes &#62; ProhibitDotFilesWrite echo yes &#62; NoChmod echo yes &#62; BrokenClientsCompatibility echo 4 &#62; MaxClientsPerIP echo 20 &#62; MaxClientsNumber echo [...]]]></description>
			<content:encoded><![CDATA[<p><code>apt-get install mysql-server phpmyadmin pure-ftpd-mysql</code></p>
<p><code>cd /etc/pure-ftpd/conf<br />
echo no &gt; PAMAuthentication<br />
echo no &gt; UnixAuthentication<br />
rm PureDB<br />
echo ,21 &gt; Bind<br />
echo 4500 4600 &gt; PassivePortRange<br />
echo yes &gt; ChrootEveryone<br />
echo yes &gt; ProhibitDotFilesRead<br />
echo yes &gt; ProhibitDotFilesWrite<br />
echo yes &gt; NoChmod<br />
echo yes &gt; BrokenClientsCompatibility<br />
echo 4 &gt; MaxClientsPerIP<br />
echo 20 &gt; MaxClientsNumber<br />
echo yes &gt; CustomerProof<br />
echo yes &gt; DontResolve<br />
echo yes &gt; IPV4Only<br />
echo 90 &gt; MaxDiskUsage<br />
echo 1000 &gt; MinUID<br />
echo yes &gt; NoAnonymous<br />
echo yes &gt; CreateHomeDir</code></p>
<p><code>groupadd -g 2001 ftpgroup<br />
useradd -u 2001 -s /bin/false -d /bin/null -c "pureftpd user" -g ftpgroup ftpuser</code></p>
<p><code>/etc/pure-ftpd/db/mysql.conf:<br />
MYSQLSocket /var/run/mysqld/mysqld.sock<br />
#MYSQLServer localhost<br />
#MYSQLPort 3306<br />
MYSQLUser pureftpd<br />
MYSQLPassword pureftpdpass<br />
MYSQLDatabase pureftpd<br />
#MYSQLCrypt md5, cleartext, crypt() or password() - md5 is VERY RECOMMENDABLE uppon cleartext<br />
MYSQLCrypt md5<br />
MYSQLGetPW SELECT Password FROM ftpd WHERE User="\L" AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")<br />
MYSQLGetUID SELECT Uid FROM ftpd WHERE User="\L" AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")<br />
MYSQLGetGID SELECT Gid FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")<br />
MYSQLGetDir SELECT Dir FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")<br />
MySQLGetBandwidthUL SELECT ULBandwidth FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")<br />
MySQLGetBandwidthDL SELECT DLBandwidth FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")<br />
MySQLGetQTASZ SELECT QuotaSize FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")<br />
MySQLGetQTAFS SELECT QuotaFiles FROM ftpd WHERE User="\L"AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "\R")</code></p>
<p><code>mkdir -p /media/storage/ftp<br />
chown root:ftpgroup /media/storage/ftp</code></p>
<p>untar webui in /var/www</p>
<p><code>chown www-data /var/www/ftp -R</code></p>
<p>browse to ftp/install.php</p>
<p><code>root@server:~# mysql -u root -p<br />
Enter password:</p>
<p>mysql&gt; GRANT ALL PRIVILEGES ON pureftpd.* TO 'pureftpd'@'localhost' IDENTIFIED BY 'pureftpdpass';</code></p>
<p>service pure-ftpd-mysql restart</p>
<p><a href="http://linux.wxs.ro/2010/01/06/how-to-install-and-configure-pure-ftpd-on-ubuntu/">source1</a> <a href="http://pure-ftpd-webui.org/wiki/Pure-FTPd%2BMySQL%20installation">source2</a> <a href="http://pure-ftpd-webui.org/wiki/Pure-FTPd%20WebUI%20installation">source3</a> <a href="http://wsjoung.wordpress.com/2008/04/15/pure-ftpd-mysql-error-home-directory-not-available-aborting/">source4</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2012/05/17/pure-ftpdmysqlwebui-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mail Log Analyzer &#8211; MailGraph</title>
		<link>http://linux.wxs.ro/2012/05/14/mail-log-analyzer-mailgraph/</link>
		<comments>http://linux.wxs.ro/2012/05/14/mail-log-analyzer-mailgraph/#comments</comments>
		<pubDate>Mon, 14 May 2012 08:48:48 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Mail]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=2070</guid>
		<description><![CDATA[[1] Install maillog analyzer, MailGraph. Web Server is also required to installed. root@mail05:~# aptitude -y install mailgraph rrdtool root@mail05:~# mkdir /var/www/mailgraph root@mail05:~# cp -p /usr/lib/cgi-bin/mailgraph.cgi /var/www/mailgraph root@mail05:~# vi /etc/apache2/conf.d/mailgraph.conf # create new Options ExecCGI Order deny,allow Deny from all Allow from 127.0.0.1 10.0.0.0/24 # IP address you allow &#160; root@mail05:~# /etc/init.d/apache2 restart * Restarting web [...]]]></description>
			<content:encoded><![CDATA[<p>[1] Install maillog analyzer, MailGraph. <a href="http://www.server-world.info/en/note?os=Ubuntu_10.04&amp;p=httpd">Web Server</a> is also required to installed.</p>
<p><code>root@mail05:~#<br />
aptitude -y install mailgraph rrdtool</code></p>
<p>root@mail05:~#<br />
mkdir /var/www/mailgraph</p>
<p>root@mail05:~#<br />
cp -p /usr/lib/cgi-bin/mailgraph.cgi /var/www/mailgraph</p>
<p>root@mail05:~#<br />
vi /etc/apache2/conf.d/mailgraph.conf</p>
<p># create new<br />
Options ExecCGI</p>
<p>Order deny,allow</p>
<p>Deny from all</p>
<p>Allow from 127.0.0.1 10.0.0.0/24<br />
# IP address you allow</p>
<p>&nbsp;</p>
<p>root@mail05:~#<br />
/etc/init.d/apache2 restart</p>
<p>* Restarting web server apache2<br />
&#8230; waiting &#8230;done.<br />
root@mail05:~#<br />
sysv-rc-conf mailgraph on</p>
<p>&nbsp;</p>
<p><a href="http://www.server-world.info/en/note?os=Ubuntu_10.04&amp;p=mail&amp;f=8">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2012/05/14/mail-log-analyzer-mailgraph/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>archlinux passwordless su</title>
		<link>http://linux.wxs.ro/2012/05/14/archlinux-passwordless-su/</link>
		<comments>http://linux.wxs.ro/2012/05/14/archlinux-passwordless-su/#comments</comments>
		<pubDate>Mon, 14 May 2012 08:40:17 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Arch]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=2067</guid>
		<description><![CDATA[/etc/pam.d/su: auth sufficient pam_wheel.so trust use_uid source]]></description>
			<content:encoded><![CDATA[<p>/etc/pam.d/su:</p>
<p><code>auth sufficient pam_wheel.so trust use_uid </code></p>
<p><a href="http://archlinux.2023198.n4.nabble.com/Tired-of-being-asked-for-a-password-for-quot-su-quot-Arch-has-the-solution-td2033573.html">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2012/05/14/archlinux-passwordless-su/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostfixAmavisNew</title>
		<link>http://linux.wxs.ro/2012/05/09/postfixamavisnew/</link>
		<comments>http://linux.wxs.ro/2012/05/09/postfixamavisnew/#comments</comments>
		<pubDate>Wed, 09 May 2012 15:02:28 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Mail]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=2065</guid>
		<description><![CDATA[Ubuntu Postfix integration with amavis-new]]></description>
			<content:encoded><![CDATA[<p><a href="https://help.ubuntu.com/community/PostfixAmavisNew">Ubuntu Postfix integration with amavis-new</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2012/05/09/postfixamavisnew/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vmware converter &#8220;GrubInstaller::InstallGrub: /usr/lib/vmware-converter/installGrub.sh failed</title>
		<link>http://linux.wxs.ro/2012/05/09/vmware-converter-grubinstallerinstallgrub-usrlibvmware-converterinstallgrub-sh-failed/</link>
		<comments>http://linux.wxs.ro/2012/05/09/vmware-converter-grubinstallerinstallgrub-usrlibvmware-converterinstallgrub-sh-failed/#comments</comments>
		<pubDate>Wed, 09 May 2012 15:00:47 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=2062</guid>
		<description><![CDATA[I got it to work on debian 6.0 but it was a little different I had an lvm configuration I mounted / I mounted my /boot chroot /mnt (if arent already) -dpkg-reconfigure grub-pc -dpkg-reconfigure linux-image-2.6.32-5-686 (whatever your latest is) -update-grub -grub-intall /dev/sda (wherever the boot loader is) source]]></description>
			<content:encoded><![CDATA[<p>I got it to work on debian 6.0 but it was a little different</p>
<p>I had an lvm configuration</p>
<p>I mounted /<br />
I mounted my /boot<br />
chroot /mnt (if arent already)<br />
-dpkg-reconfigure grub-pc<br />
-dpkg-reconfigure linux-image-2.6.32-5-686 (whatever your latest is)<br />
-update-grub<br />
-grub-intall /dev/sda (wherever the boot loader is)</p>
<p><a href="http://communities.vmware.com/message/1395202">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2012/05/09/vmware-converter-grubinstallerinstallgrub-usrlibvmware-converterinstallgrub-sh-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vmware converter linux no volume groups</title>
		<link>http://linux.wxs.ro/2012/05/08/vmware-converter-linux-no-volume-groups/</link>
		<comments>http://linux.wxs.ro/2012/05/08/vmware-converter-linux-no-volume-groups/#comments</comments>
		<pubDate>Tue, 08 May 2012 08:41:11 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=2059</guid>
		<description><![CDATA[problem: * Mounting /dev/VolGroup00/LogVol00 on /sysroot mount: mounting /dev/VolGroup00/LogVol00 on /sysroot failed: No such file or directory mount: mounting /dev on /sysroot/dev failed: No such file or directory * Switching / to /sysroot switch_root: bad newroot /sysroot Kernel panic &#8211; not syncing: Attempted to kill init! solution: In the Converter wizard, on Data to copy [...]]]></description>
			<content:encoded><![CDATA[<p>problem:</p>
<p>* Mounting /dev/VolGroup00/LogVol00 on /sysroot<br />
mount: mounting /dev/VolGroup00/LogVol00 on /sysroot failed: No such file or directory<br />
mount: mounting /dev on /sysroot/dev failed: No such file or directory<br />
* Switching / to /sysroot<br />
switch_root: bad newroot /sysroot<br />
Kernel panic &#8211; not syncing: Attempted to kill init!</p>
<p>solution:<br />
In the Converter wizard, on Data to copy page, switch to Advanced view, select Destination, in the table with target virtual disks select the one where the root partition resides and click the &#8220;To Basic&#8221; button below the table. This will trigger the old 4.3 behavior where LVM was not preserved and / will be stored in a basic volume. The destination VM will boot, however your root folder will be no longer in a LVM volume. If it is OK for you this is the easiest way.</p>
<p>&nbsp;</p>
<p><a href="http://communities.vmware.com/thread/325984">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2012/05/08/vmware-converter-linux-no-volume-groups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EICAR &amp; GTUBE</title>
		<link>http://linux.wxs.ro/2012/05/04/eicar-gtube/</link>
		<comments>http://linux.wxs.ro/2012/05/04/eicar-gtube/#comments</comments>
		<pubDate>Fri, 04 May 2012 15:04:54 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[Mail]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=2052</guid>
		<description><![CDATA[EICAR: X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* &#8212; antivirus GTUBE: XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X &#8212; antispam eicar gtube]]></description>
			<content:encoded><![CDATA[<p>EICAR: <code>X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*</code>                  &#8212; antivirus<br />
GTUBE: <code>XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X</code>                  &#8212; antispam<br />
<a href="http://www.eicar.org/86-0-Intended-use.html">eicar</a> <a href="http://spamassassin.apache.org/gtube/">gtube</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2012/05/04/eicar-gtube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TV-Maxe SopCast Player</title>
		<link>http://linux.wxs.ro/2012/05/02/tv-maxe-sopcast-player/</link>
		<comments>http://linux.wxs.ro/2012/05/02/tv-maxe-sopcast-player/#comments</comments>
		<pubDate>Wed, 02 May 2012 14:55:38 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PPA]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=2047</guid>
		<description><![CDATA[sudo add-apt-repository ppa:venerix/blug sudo apt-get update sudo apt-get install tv-maxe source]]></description>
			<content:encoded><![CDATA[<p><code><img class="alignnone" src="http://4.bp.blogspot.com/-s4CV3_fyShY/T56w20yB7yI/AAAAAAAAIzg/KZgk6nOqZm0/s320/tv-maxe_0.7.png" alt="" width="320" height="215" /></code></p>
<p><code>sudo add-apt-repository ppa:venerix/blug<br />
sudo apt-get update<br />
sudo apt-get install tv-maxe</code></p>
<p><a href="http://www.webupd8.org/2012/04/tv-maxe-07-released-ubuntu-ppa.html">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2012/05/02/tv-maxe-sopcast-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Logical Volume Manager (LVM) Commands for AIX</title>
		<link>http://linux.wxs.ro/2012/04/27/logical-volume-manager-lvm-commands-for-aix/</link>
		<comments>http://linux.wxs.ro/2012/04/27/logical-volume-manager-lvm-commands-for-aix/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 09:45:01 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[AIX]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=2045</guid>
		<description><![CDATA[http://networktechnologist.com/tips-aix-lvm.html]]></description>
			<content:encoded><![CDATA[<p><a href="http://networktechnologist.com/tips-aix-lvm.html">http://networktechnologist.com/tips-aix-lvm.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2012/04/27/logical-volume-manager-lvm-commands-for-aix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIX view model/firmware/etc</title>
		<link>http://linux.wxs.ro/2012/04/23/aix-view-modelfirmwareetc/</link>
		<comments>http://linux.wxs.ro/2012/04/23/aix-view-modelfirmwareetc/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 13:34:59 +0000</pubDate>
		<dc:creator>WladyX</dc:creator>
				<category><![CDATA[AIX]]></category>

		<guid isPermaLink="false">http://linux.wxs.ro/?p=2042</guid>
		<description><![CDATA[lsattr -El sys0]]></description>
			<content:encoded><![CDATA[<p><code>lsattr -El sys0</code></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.wxs.ro/2012/04/23/aix-view-modelfirmwareetc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

