<?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>Bowlero &#187; Linux</title>
	<atom:link href="http://noelbautista.com/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://noelbautista.com/blog</link>
	<description>From Tech stuff to paranormal to internet marketing</description>
	<lastBuildDate>Sat, 17 Mar 2012 05:27:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Phpmyadmin Problem! Internal Server Error</title>
		<link>http://noelbautista.com/blog/phpmyadmin-problem-internal-server-error/</link>
		<comments>http://noelbautista.com/blog/phpmyadmin-problem-internal-server-error/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 08:11:46 +0000</pubDate>
		<dc:creator>noel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://noelbautista.com/blog/?p=186</guid>
		<description><![CDATA[I encountered this problem. I was using phpmyadmin and I keep on getting &#8220;Internet Server Error&#8221; whenever I browse records. I tried resetting mysql service using &#8220;service mysqld restart&#8221;, it didn&#8217;t work. I tried rebooting the mysql server but it didn&#8217;t work either. I later on found out that clearing your browser&#8217;s cookies will do [...]]]></description>
			<content:encoded><![CDATA[<p>I encountered this problem.  I was using phpmyadmin and I keep on getting &#8220;Internet Server Error&#8221; whenever I browse records.</p>
<p>I tried resetting mysql service using  &#8220;service mysqld restart&#8221;, it didn&#8217;t work.  I tried rebooting  the mysql server but it didn&#8217;t work either.</p>
<p>I later on found out that clearing your browser&#8217;s cookies will do the trick.  So try clearing your cookies and see if it works for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://noelbautista.com/blog/phpmyadmin-problem-internal-server-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find the largest files or directories in Linux?</title>
		<link>http://noelbautista.com/blog/how-to-find-the-largest-files-or-directories-in-linux/</link>
		<comments>http://noelbautista.com/blog/how-to-find-the-largest-files-or-directories-in-linux/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 01:23:53 +0000</pubDate>
		<dc:creator>noel</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://noelbautista.com/blog/how-to-find-the-largest-files-or-directories-in-linux/</guid>
		<description><![CDATA[My VPS disk usage is already 96% so I have to find a way to search for the largest files/directories in Linux and check if they should be deleted or not. Â  I&#8217;m sure I can find files such as web log files which I can delete. There isn&#8217;t any 1 linux command to do [...]]]></description>
			<content:encoded><![CDATA[<p>My VPS disk usage is already 96% so I have to find a way to search for the largest files/directories in Linux and check if they should be deleted or not. Â  I&#8217;m sure I can find files such as web log files which I can delete.</p>
<p>There isn&#8217;t any 1 linux command to do this but you can string a couple of commands to do the job.  Here&#8217;s what I use.<br />
<code># du -a /home | sort -n -r | head -n 300</code></p>
<ul>
<li>du : Estimate file space usage</li>
<li>sort : Sort lines of text files or given input data</li>
<li>head : Output the first part of files i.e. to display first 10 largest file</li>
</ul>
<p>Better yet, you can run it in your background using this</p>
<p><code># du -a /home | sort -n -r | head -n 300 >  spacehog.txt &#038;</code></p>
<p>This will create a text file called spacehog.txt which you can review later after the background process finished.</p>
]]></content:encoded>
			<wfw:commentRss>http://noelbautista.com/blog/how-to-find-the-largest-files-or-directories-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Send Mail from PHP via SMTP</title>
		<link>http://noelbautista.com/blog/how-to-send-mail-from-php-via-smtp/</link>
		<comments>http://noelbautista.com/blog/how-to-send-mail-from-php-via-smtp/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 03:04:42 +0000</pubDate>
		<dc:creator>noel</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://noelbautista.com/blog/how-to-send-mail-from-php-via-smtp/</guid>
		<description><![CDATA[I was working on a project and needed to send mails via php using an SMTP server. Â Â  It seems that Fedora doesn&#8217;t have this built in when I installed my linux box.Â Â  So anyway, for those people who are searching for information on how to send mail from php via SMTP,Â  below are the [...]]]></description>
			<content:encoded><![CDATA[<p>I was working on a project and needed to send mails via php using an SMTP server. Â Â  It seems that Fedora doesn&#8217;t have this built in when I installed my linux box.Â Â  So anyway, for those people who are searching for information on how to send mail from php via SMTP,Â  below are the steps.</p>
<p><strong>Step # 1: DownloadÂ  Pear Packages for Mail, Net_SMTP, and Net_Socket</strong><code /></p>
<p><code># cd /tmp<br />
# wget http://download.pear.php.net/package/Mail-1.1.14.tgz<br />
# wget http://download.pear.php.net/package/Net_SMTP-1.2.10.tgz<br />
# wget http://download.pear.php.net/package/Net_Socket-1.0.8.tgz</code></p>
<p>Untar all files:</p>
<p><code># tar -zxvf Mail-1.1.14.tgz<br />
# tar -zxvf  Net_SMTP-1.2.10.tgz<br />
# tar -zxvf  Net_Socket-1.0.8.tgz</code></p>
<p><strong> Step#2:Â  Copy the files to /usr/share/pear</strong></p>
<p><code># cd /usr/share/pear<br />
# mkdir Net<br />
# cd Net<br />
# cp /tmp/Net_SMTP-1.2.10/SMTP.php .<br />
# cp  /tmp/Net_Socket-1.0.8/Socket.php .<br />
# cd ..<br />
# cp -avr /tmp/Mail-1.1.14/Mail/  .<br />
# cp -avr /tmp/Mail-1.1.14/Mail.php .</code></p>
<p>You're Done!</p>
<p>Now to test, try this small php program.<br />
<code>include("Mail.php");<br />
/* mail setup recipients, subject etc */<br />
$recipients = "yournamehere@domain.com";<br />
$headers["From"] = "from@yourdomain.com";<br />
$headers["To"] = "receipient@theirdomain.com";<br />
$headers["Subject"] = "test via smtp";<br />
$mailmsg = "Hello, This is a test.";<br />
/* SMTP server name, port, user/passwd */<br />
$smtpinfo["host"] = "smtp.yourserver.com";<br />
$smtpinfo["port"] = "25";<br />
$smtpinfo["auth"] = true;<br />
$smtpinfo["username"] = "test";<br />
$smtpinfo["password"] = "test";<br />
/* Create the mail object using the Mail::factory method */<br />
$mail_object =&#038; Mail::factory("smtp", $smtpinfo);<br />
/* Ok send mail */<br />
$mail_object->send($recipients, $headers, $mailmsg);<br />
?><br />
</code></p>
<p>Now check your email and see if it worked!</p>
]]></content:encoded>
			<wfw:commentRss>http://noelbautista.com/blog/how-to-send-mail-from-php-via-smtp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora Core 9 Alpha Now Available</title>
		<link>http://noelbautista.com/blog/fedora-core-9-alpha-now-available/</link>
		<comments>http://noelbautista.com/blog/fedora-core-9-alpha-now-available/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 15:48:20 +0000</pubDate>
		<dc:creator>noel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://noelbautista.com/blog/fedora-core-9-alpha-now-available/</guid>
		<description><![CDATA[Fedora Core 9 Alpha is now available. Note that this isn&#8217;t the final FC9 release. This is the Alpha release. Some of highlights of Fedora 9 Alpha: GNOME 2.21 Development Release KDE 4.0 Firefox 3 Beta 2 Support for resizing ext2, ext3 and NTFS partitions during install Support for creating and installing to encrypted filesystems [...]]]></description>
			<content:encoded><![CDATA[<p>Fedora Core 9 Alpha is now available.  Note that this isn&#8217;t the final FC9 release.  This is the Alpha release.</p>
<p>Some of highlights of Fedora 9 Alpha:</p>
<ul>
<li>GNOME 2.21 Development Release</li>
<li>KDE 4.0</li>
<li>Firefox 3 Beta 2</li>
<li>Support for resizing ext2, ext3 and NTFS partitions during install</li>
<li>Support for creating and installing to encrypted filesystems</li>
<li>PackageKit</li>
<li>Kernel 2.6.24</li>
</ul>
<p>And numerous other improvements and enhancements.</p>
<p>The final release is set to happen on April 29, 2008.   Should you want more details of the release schedule of FC9, <a href="http://fedoraproject.org/wiki/Releases/9/Schedule">check this out</a>.</p>
<p>The Alpha release is available both through our mirroring system and<br />
via bittorrent.</p>
<p>In Fedoraproject.org  here&#8217;s the download link:</p>
<p><a href="http://fedoraproject.org/get-prerelease">http://fedoraproject.org/get-prerelease</a></p>
<p>For direct http access to a local mirror:<br />
<a rel="nofollow" href="http://download.fedoraproject.org/pub/fedora/linux/releases/test/9-Alpha/">http://download.fedoraproject.org/pub/fedora/linux/releases/test/9-Alpha/</a></p>
<p>For a list of mirrors carrying the content and the various protocols<br />
they support:<br />
<a rel="nofollow" href="http://mirrors.fedoraproject.org/publiclist/Fedora/9-Alpha/">http://mirrors.fedoraproject.org/publiclist/Fedora/9-Alpha/</a></p>
<p>For bittorrent:<br />
<a rel="nofollow" href="http://torrent.fedoraproject.org/">http://torrent.fedoraproject.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://noelbautista.com/blog/fedora-core-9-alpha-now-available/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Backup and Restore MySQL Database Using Command Line</title>
		<link>http://noelbautista.com/blog/backup-and-restore-mysql-database-using-command-line/</link>
		<comments>http://noelbautista.com/blog/backup-and-restore-mysql-database-using-command-line/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 15:35:02 +0000</pubDate>
		<dc:creator>noel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://noelbautista.com/blog/backup-and-restore-mysql-database-using-command-line/</guid>
		<description><![CDATA[Method 1 (Long Method) mysqldump -u USER -pPASSWORD DATABASE > filename.sql copy the file to the new host and restore using mysql -u USER -pPASSWORD DATABASE < filename.sql Method 2 (short method) mysqldump &#8211;opt &#8211;compress &#8211;user=USERHERE &#8211;password=PWHERE &#8211;host=SOURCE.HOST.HERE SOURCE_DB_NAME &#124; mysql &#8211;user=USERHERE &#8211;password=PWHERE &#8211;host=TARGET.HOST.HERE -D TARGET_DB_NAME -C TARGET_DB_NAME]]></description>
			<content:encoded><![CDATA[<p>Method 1   (Long Method)</p>
<p><strong>mysqldump -u USER -pPASSWORD DATABASE > filename.sql</strong></p>
<p>copy the file to the new host and restore using</p>
<p><strong>mysql -u USER -pPASSWORD  DATABASE < filename.sql</strong></p>
<p>Method 2 (short method)</p>
<p><strong>mysqldump &#8211;opt &#8211;compress &#8211;user=USERHERE &#8211;password=PWHERE<br />
&#8211;host=SOURCE.HOST.HERE SOURCE_DB_NAME | mysql &#8211;user=USERHERE<br />
&#8211;password=PWHERE &#8211;host=TARGET.HOST.HERE -D TARGET_DB_NAME -C<br />
TARGET_DB_NAME</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://noelbautista.com/blog/backup-and-restore-mysql-database-using-command-line/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ISPConfig  Conflict with Fedora Core 7 and Fedora Core 8</title>
		<link>http://noelbautista.com/blog/ispconfig-conflict-with-fedora-core-7-and-fedora-core-8/</link>
		<comments>http://noelbautista.com/blog/ispconfig-conflict-with-fedora-core-7-and-fedora-core-8/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 10:08:00 +0000</pubDate>
		<dc:creator>noel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://noelbautista.com/blog/ispconfig-conflict-with-fedora-core-7-and-fedora-core-8/</guid>
		<description><![CDATA[I was installing ISPConfig to a Fedora Core 7 Installation but when I rebooted, it shows a black screen with a cursor that appears to be &#8220;busy&#8221;. Logging in remotely via ssh seems to be working but when I check out which process was &#8220;hanging&#8221; by issuing the &#8220;top&#8221; command, I see that gdmgreeter seems [...]]]></description>
			<content:encoded><![CDATA[<p>I was installing ISPConfig to a Fedora Core 7 Installation but when I rebooted,   it shows a black screen with a cursor that appears to be &#8220;busy&#8221;.     Logging in remotely via ssh seems to be working but when I check out which process was &#8220;hanging&#8221; by issuing the &#8220;top&#8221; command,  I see that  gdmgreeter seems to be using up a lot of CPU resource.  About 70% to 90%.</p>
<p>After searching google for  &#8220;ISPconfig conflict&#8221;   &#8220;ispconfig gdmgreeter&#8221;   &#8220;ispconfig hang&#8221; and similar keywords,  the solution I found that worked best was to create/edit  the file called  &#8220;/etc/sysconfig/desktop&#8221;</p>
<p>vi /etc/sysconfig/desktop</p>
<p>and add the following two lines to the file /etc/sysconfig/desktop</p>
<p>DESKTOP=&#8221;GNOME&#8221;<br />
DISPLAYMANAGER=&#8221;KDE&#8221;<br />
After reboot,  everything works properly.    I believe this solution also works for Fedora Core 8.   Leave a comment if it worked for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://noelbautista.com/blog/ispconfig-conflict-with-fedora-core-7-and-fedora-core-8/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using HP printers in Linux (Fedora) &#8211;  HP linux driver</title>
		<link>http://noelbautista.com/blog/using-hp-printers-in-linux-fedora-hp-linux-driver/</link>
		<comments>http://noelbautista.com/blog/using-hp-printers-in-linux-fedora-hp-linux-driver/#comments</comments>
		<pubDate>Fri, 20 Oct 2006 17:22:07 +0000</pubDate>
		<dc:creator>noel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://noelbautista.com/blog/using-hp-printers-in-linux-fedora-hp-linux-driver/</guid>
		<description><![CDATA[We&#8217;re trying to run an HP4355 all in one fax,scan,copy,print printer in linux (Fedora Core 5). As you know, one of the biggest challenges with using linux is searching for drivers. I&#8217;ve found a great application in sourceforge that supports many HP printers in linux. Its called HP Linux Imaging and Printing (http://hplip.sourceforge.net). Configuring HP [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re trying to run an HP4355 all in one fax,scan,copy,print printer in linux (Fedora Core 5).  As you know, one of the biggest challenges with using linux is searching for drivers.</p>
<p>I&#8217;ve found a great application in sourceforge that supports many HP printers in linux.  Its called HP Linux Imaging and Printing (<a href="http://hplip.sourceforge.net/">http://hplip.sourceforge.net</a>).</p>
<p>Configuring HP for linux was easy using hplip.  You might need to connect your printer to the internet as there is a point where it will download (via yum) development packages from the internet.</p>
<p>You can then use CUPS to add the device and manage the printing.  CUPS has a web management interface at (http://localhost:631).
</p>
<p>
]]></content:encoded>
			<wfw:commentRss>http://noelbautista.com/blog/using-hp-printers-in-linux-fedora-hp-linux-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to run Xwindows in WinXP</title>
		<link>http://noelbautista.com/blog/how-to-run-xwindows-in-winxp/</link>
		<comments>http://noelbautista.com/blog/how-to-run-xwindows-in-winxp/#comments</comments>
		<pubDate>Fri, 20 Oct 2006 17:14:24 +0000</pubDate>
		<dc:creator>noel</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://noelbautista.com/blog/how-to-run-xwindows-in-winxp/</guid>
		<description><![CDATA[I was playing around with linux today and thought about running an application in a linux box while displaying the window in WinXP. Yeah doing a ssh from WinXP will work for command line and non-Xwindows applications, but how about if its an Xwindows application? After a few minutes on the internet, I found a [...]]]></description>
			<content:encoded><![CDATA[<p>I was playing around with linux today and thought about running an application in a linux box while displaying the window in WinXP.   Yeah doing a ssh from WinXP will work for command line and non-Xwindows applications, but how about if its an Xwindows application? After a few minutes on the internet, I found a good solution. It&#8217;s called Cygwin.</p>
<p><strong>Cygwin</strong> is a set of powerful tools to assist developers in migrating applications from UNIXÂ®/Linux to the MicrosoftÂ® WindowsÂ®; platform.  Cygwin/X is the port of X Window System to Cygwin.<br />
I downloaded cygwinx and followed the <a href="http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html">cygwin/X installation guide .</a>  An important note to remember is this&#8230;</p>
<p><em>You may also want to ensure that the <strong><tt class="literal">inetutils</tt></strong> and <strong><tt class="literal">openssh</tt></strong> packages are selected if you wish to use <strong class="command">telnet</strong> and <strong class="command">ssh</strong> to connect to remote machines. </em></p>
<p>So after installation, I fired up cygwin and I was given a shell prompt.  Here&#8217;s what I did next.</p>
<p>1. I started Xwindows (I used the command &#8216;<strong>startx</strong>&#8216;), and another window opened up.</p>
<p>2. I typed <strong>ssh -Y -l </strong><strong><em> user remote-ip</em></strong>   to login as <strong><em>user</em></strong> in the remote machine where the Xwindows application resides</p>
<p>3. Once I was able to login,  I just run the application in the linux shell.   You can try running xterm, or xclock and the application will be shown on your Windows Box.</p>
<p>The nice thing about running an application in the linux box is that you don&#8217;t use your WinXP&#8217;s resources.  Since the  application is running in the linux box, it utilized the linux box&#8217;s resources (ie memory, diskspace).</p>
<p>It also allows you to have the freedom to use one machine and manage things remotely.</p>
]]></content:encoded>
			<wfw:commentRss>http://noelbautista.com/blog/how-to-run-xwindows-in-winxp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

