<?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>Random Linux</title>
	<atom:link href="http://randomlinux.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://randomlinux.com</link>
	<description>Random Linux, MySQL, script, and web hosting tips</description>
	<lastBuildDate>Wed, 15 Feb 2012 03:46:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>PS3 Custom FirmWare 4.00/4.10 CFW Debunk</title>
		<link>http://randomlinux.com/console-gaming/ps3-custom-firmware-4-004-10-cfw-debunk/</link>
		<comments>http://randomlinux.com/console-gaming/ps3-custom-firmware-4-004-10-cfw-debunk/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 03:46:51 +0000</pubDate>
		<dc:creator>Johnny</dc:creator>
				<category><![CDATA[Console gaming]]></category>
		<category><![CDATA[CFW]]></category>
		<category><![CDATA[custom firmware]]></category>
		<category><![CDATA[Debunk]]></category>
		<category><![CDATA[effort]]></category>
		<category><![CDATA[firm ware]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[home]]></category>
		<category><![CDATA[ps3]]></category>
		<category><![CDATA[self]]></category>

		<guid isPermaLink="false">http://randomlinux.com/?p=15978</guid>
		<description><![CDATA[I know a lot of people my self included got their PS3s late in the game (the slim models and 3rd iterations of the fat) and wanted to tinker with it, run home brew, be able to back up our games in case the drive failed or disk got ruined, run a 2nd OS, and [...]]]></description>
			<content:encoded><![CDATA[<p>I know a lot of people my self included got their PS3s late in the game (the slim models and 3rd iterations of the fat) and wanted to tinker with it, run home brew, be able to back up our games in case the drive failed or disk got ruined, run a 2nd OS, and the mass majority  which if any one said this wasn&#8217;t true you would account for the 10% of people who aren&#8217;t liars; play warzed/pirated games. So you got this late gen ps3 and you want to do these things so you feverishly start scouring the internet, page after page trying to find custom firmware for your system, to be pointed to dongle solution, which now only work on ps3s with custom firm ware or flasher sites that want to sell you a kit so you can flash your ps3 back to an older firm ware.  Maybe you even see all these youtube videos and sites showing you that there is a firm wear and give you a download if you complete a survey or sign up.</p>
<p>&nbsp;</p>
<p>The truth of the matter is you can stop looking because this firmware simply does not exist. I would link examples to sites that claim to have it but I don&#8217;t want to provide more spammy back linking to people trying to make some quick affiliate cash and farm your personal information to sell out. The fact is there is no custom firmware beyond 3.72, there are dongles which are either licensed or that you can put together for some money to play your backed up games or to use home brew but those dongles are all reliant on 3.72 or older firmware. On some ps3s it is possible to flash your firmware backward but this is going to be on a slim margin of ps3s these days and you can only flash down to the firmware version that the ps3 came with, the newest ps3s can not be flashed down.</p>
<p>Going beyond this point if you did flash your ps3 down to a version where you could installed custom firmware you would then only be able to play games that were released under that firmware or below and you can&#8217;t play online or on PSN so you would be in a repetitious cycle of flashing, reflashing back and forth to be able to play your games. Unfortunately if you have a new ps3 there really isn&#8217;t a solution for you, if you are a die hard technologist and simply just want to explore your ps3 and have no concerns for the gaming aspect of it all there are a number of options that may be well worth your time and effort which all come with a varied risk factor, but to the 13-40s casual gamer your going to be stuck with what you got more or less as there is no mod chip or custom firmware in  sight for you. Sony made a fairly secure piece of hardware and was really quick and active in fixing any holes that were found this will likely continue into their next system which likely won&#8217;t hit an announcement date until 2013 for a release in 2014/15.</p>
<p>If you want to run custom firmware with the least amount of effort and with the most options for change and support for content get on ebay or goto your local game shop and track down a 1st generation ps3 fat which you will be able to patch, downgrade, and run custom firm ware on.</p>
]]></content:encoded>
			<wfw:commentRss>http://randomlinux.com/console-gaming/ps3-custom-firmware-4-004-10-cfw-debunk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install and run ClamAV</title>
		<link>http://randomlinux.com/security-2/install-and-run-clamav/</link>
		<comments>http://randomlinux.com/security-2/install-and-run-clamav/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 18:24:29 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[clamav]]></category>
		<category><![CDATA[malware scanner]]></category>

		<guid isPermaLink="false">http://randomlinux.com/?p=15963</guid>
		<description><![CDATA[ClamAV is a popular malware scanner that can help to find malware on your accounts. You are able to find more information about that at the following link: http://clamav.net This software has many built in definitions that will find *most* of the malicious files under your accounts. It can find many shells, phishing sites and [...]]]></description>
			<content:encoded><![CDATA[<p>ClamAV is a popular malware scanner that can help to find malware on your accounts.  You are able to find more information about that at the following link:</p>
<p>http://clamav.net</p>
<p>This software has many built in definitions that will find *most* of the malicious files under your accounts.  It can find many shells, phishing sites and other malware.  We won&#8217;t be able to cover all of the different options available in ClamAV in this article, but we will cover the parts that you will need to initially locate the malware so that it an be removed.  </p>
<p>To install that, all you will need to do is run the following command.</p>
<p>If you are on a RedHat based OS, such as CentOS, you can install it with</p>
<p>yum install clamav</p>
<p>If you are using debian, you can use </p>
<p>apt-get install clamav</p>
<p>Once that is installed, you will want to run the freshclam command so that the definitions are updated to the most recent.</p>
<p>root@server [/home/user]# freshclam<br />
ClamAV update process started at Thu Jan 12 04:41:48 2012<br />
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)<br />
daily.cld is up to date (version: 14300, sigs: 70715, f-level: 63, builder: guitar)<br />
bytecode.cvd is up to date (version: 160, sigs: 38, f-level: 63, builder: edwin)</p>
<p>Then, you can use the clamscan command to run the scan.  You will also want to use a couple of flags to only show the infected files, to search recursively, and to log your findings to a log file.  The i limits the output to only infected files, the r flag means to recurse through the directoies and the l flag with a file name will log the scan to that file.</p>
<p>root@server [/home/user/public_html]# clamscan -ir -l log.txt</p>
<p>&#8212;&#8212;&#8212;&#8211; SCAN SUMMARY &#8212;&#8212;&#8212;&#8211;<br />
Known viruses: 1113857<br />
Engine version: 0.97.3<br />
Scanned directories: 139<br />
Scanned files: 1602<br />
Infected files: 0<br />
Data scanned: 29.30 MB<br />
Data read: 15.53 MB (ratio 1.89:1)<br />
Time: 6.608 sec (0 m 6 s)</p>
<p>If a malicious file is found, it will show the path to the file and why it was flagged.</p>
<p>root@server [/home/user/public_html]# clamscan -ir -l log.txt<br />
/home/user/public_html/thing.php: PHP.Shell-38 FOUND</p>
<p>&#8212;&#8212;&#8212;&#8211; SCAN SUMMARY &#8212;&#8212;&#8212;&#8211;<br />
Known viruses: 1113857<br />
Engine version: 0.97.3<br />
Scanned directories: 2412<br />
Scanned files: 20511<br />
Infected files: 1<br />
Data scanned: 354.85 MB<br />
Data read: 832.57 MB (ratio 0.43:1)<br />
Time: 102.922 sec (1 m 42 s)</p>
<p>The output of the scan will also be logged to a file called log.txt if you run the command as it is in the example.  You can then get the timestamps from that file and find the source, remove the file and patch the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://randomlinux.com/security-2/install-and-run-clamav/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix iBooks after jailbreaking iOS 5.0.1</title>
		<link>http://randomlinux.com/ios-2/fix-ibooks-after-jailbreaking-ios-5-0-1-9/</link>
		<comments>http://randomlinux.com/ios-2/fix-ibooks-after-jailbreaking-ios-5-0-1-9/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 18:50:34 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[Click]]></category>
		<category><![CDATA[iBooks]]></category>
		<category><![CDATA[Open]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[RedSn]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://randomlinux.com/?p=15953</guid>
		<description><![CDATA[A lot of people have used the recent jailbreak tool RedSn0w to unlock their devices. Most have found that this is causing iBooks to no longer open or crash when opening after the jailbreak is done. Thanks Apple. Luckily, some tools have been created to fix this, however not everyone is getting the results they [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of people have used the recent jailbreak tool RedSn0w to unlock their devices.  Most have found that this is causing iBooks to no longer open or crash when opening after the jailbreak is done.  Thanks Apple.  Luckily, some tools have been created to fix this, however not everyone is getting the results they want with it.  The issue with the tools looks to be that they are not fixing the permissions correctly when the iBooks files are moved to /var/stash.  We found that with an extra step, you can get that working correctly.</p>
<p>First off, you will want to download SBSettings for the BigBoss repo.  This repo have came installed with Cydia, so you shouldn&#8217;t need to add anything new.  Once SBSettings is installed, your device should respring and take you back to the lockscreen.</p>
<p>Now, you will want to install iBooks by using the iBooks Fix for iOS 5 app found in the xsellize repo.  To add this, you will need to go to Cydia > Sources > edit > add, then add http://cydia.xsellize.com/.  You will get a warning and can just click ok.  You can then search for iBooks fix for iOS 5 and install it.  Once it has finished installing, it should respring once more.</p>
<p>Now, you should be back at your lockscreen once more.  You will now want to go into the SBSettings app, then to System options, which is towards the bottom.  Once you are there, just click the &#8220;fix user dir permissions.&#8221;. It will then fix the permissions of all your files.  Your device should respring one more time.</p>
<p>Now, you should be able to open up and use iBooks without a problem.  Let us know if this works for you in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://randomlinux.com/ios-2/fix-ibooks-after-jailbreaking-ios-5-0-1-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Wifi tether with LG Vortex and Optimus One with out root</title>
		<link>http://randomlinux.com/uncategorized/free-wifi-tether-with-lg-vortex-and-optimus-one-with-out-root/</link>
		<comments>http://randomlinux.com/uncategorized/free-wifi-tether-with-lg-vortex-and-optimus-one-with-out-root/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 15:40:16 +0000</pubDate>
		<dc:creator>Johnny</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[Click]]></category>
		<category><![CDATA[LG Vortex]]></category>
		<category><![CDATA[Optimus One]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[Settings]]></category>
		<category><![CDATA[Step]]></category>
		<category><![CDATA[wifi hotspot]]></category>

		<guid isPermaLink="false">http://randomlinux.com/?p=15921</guid>
		<description><![CDATA[This article may be considered way late in the game being that the LG Vortex was release November of 2010 and the Optimus One quite a bit before that, but for those of you who are not a keeping up with the jones&#8217; kinda person, have wanted to use your phone for wifi access but [...]]]></description>
			<content:encoded><![CDATA[<p>This article may be considered way late in the game being that the LG Vortex was release November of 2010 and the Optimus One quite a bit before that, but for those of you who are not a keeping up with the jones&#8217; kinda person, have wanted to use your phone for wifi access but don&#8217;t want to commit to the additional charge or rooting your phone the following walk through is for you.</p>
<p>This old bug came back to me when I was out and wanted to get online to make some updates but didn&#8217;t want to do it through a touch screen, I figured the bug that this relies on had long since been fixed but as of writing this I know it is definitely still present on the LG Vortex and have been given mixed responses on whether it is still present on the Optimus.</p>
<p>The bug is in how they handle the enabling and disabling of the wifi hotspot in the phones software. The issue is the wifi hotspot application has a few things that is does to let your carrier know that it&#8217;s on and to tell them when your using your phone as a hotspot or not. This is a feature you would normally have to have called or sign up for with them explicitly, but with the bug in quick settings this is all gone.</p>
<p>Ok, enough of the past and to the important part that you really want from all of this.</p>
<p>&nbsp;</p>
<p>Step One: Goto your phones settings, select &#8220;Wireless &amp; Network Settings&#8221;</p>
<p>Step Two: Select 3G Mobil Hotspot, Enable 3g Mobil Hotspot (It&#8217;s going to tell you that you need to have their service blah blah blah, you can just click ok, it will not be added to your bill automatically or any thing like that.) Once it is enabled you can click &#8220;3G Mobile Hotspot Settings&#8221; to configure your security password and HotSpot name. Once you have configured this information you can turn the hotspot back off. ( You can short change this entire process if you get a quick settings application but this should do for you just as well.</p>
<p>Step Three: Download any hotspot quick set widget, I use &#8220;Hotspot Widget&#8221; just cause its small.</p>
<p>Step Four: Add the widget to one of your desktops</p>
<p>Step Five: Click the widget to turn it on, after if is lit green, connect to your phone with your computer, you should now be all set to go.</p>
<p>&nbsp;</p>
<p>Last notes: It is possible that this has been patched in later release phones that do not use Android 2.2 Froyo, like I Said I did get mixed reports on functionality on Optimus One. If you get a page telling you to register or add wifi hotspot services to your plan then they patched it as that forwarder is in the phone software it self. If you get a blank page there is probably an issue with connection or the dns resolvers that are being accessed.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://randomlinux.com/uncategorized/free-wifi-tether-with-lg-vortex-and-optimus-one-with-out-root/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Iptables Firewall Basics</title>
		<link>http://randomlinux.com/uncategorized/iptables-firewall-basics/</link>
		<comments>http://randomlinux.com/uncategorized/iptables-firewall-basics/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 12:56:55 +0000</pubDate>
		<dc:creator>Johnny</dc:creator>
				<category><![CDATA[General Commands]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[destination]]></category>
		<category><![CDATA[drop]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[machine]]></category>
		<category><![CDATA[packet traffic]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[rule number]]></category>
		<category><![CDATA[TCP]]></category>

		<guid isPermaLink="false">http://randomlinux.com/?p=15915</guid>
		<description><![CDATA[This article is aimed at providing the basics to using iptables as a fire wall for your personal home or production server, we won&#8217;t be covering every thing here but what we will be covering will give you enough information to demystify their man pages and get you going. Firstly, the firewall and how it [...]]]></description>
			<content:encoded><![CDATA[<p>This article is aimed at providing the basics to using iptables as a fire wall for your personal home or production server, we won&#8217;t be covering every thing here but what we will be covering will give you enough information to demystify their man pages and get you going.</p>
<p>Firstly, the firewall and how it behaves is base events depending on if packet traffic is incoming, out bounding, or passing through. Basically, any time some one is sending a packet to your server it is incoming, any time your server sends a packet to another computer it is out bounding and in the case where you server is acting as a gateway or proxy to another machine on your network it is forwarding. These events that are triggered in this process are INPUT, OUTPUT, and FORWARD respectively.</p>
<p>Now for each of these chains you may have rules that determine how this traffic will be handled and every time a packet is sent or received it checks the corresponding chain for what is called a rule.  A rule can be comprise of many different flag being triggered based on a number of criteria such as the ip the traffic is coming from or going to, the port the connection is coming from/going to, you can even filter traffic based on any text that the packet may contain, known as string blocking.All rules are read by iptables top to bottom, so any rule that is matched will be how the traffic is handled, if no rule is triggered then the handling based on the over all chain will determine how the traffic is handled. Based on any of that criteria you are going to tell iptables what to do with the traffic, this is signified by telling it one of the following modes.</p>
<p>ACCEPT &#8211; Accepts the packet and sends it to its destination.</p>
<p>DENY/REJECT -  Will stop the packet and send a response back to the machine that initiated contact telling it that it is not accepting connections from them.</p>
<p>DROP &#8211; Will drop the packet altogether and send no response to the machine that initiated contact.</p>
<p>RETURN &#8211; Accepts the packet and and sends it to the target where there the packet is handled how ever it decides to. Use of this function will not be discussed in this article.</p>
<p>QUEUE &#8211; Sends the packet into the system queue in user space where it will be processed, queuing will ultimately be determined by the kernel you are running and what it&#8217;s method of queuing is, this is beyond the scope of this article.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Let&#8217;s say we just want to block one ip from accessing the server, this can be done simply with the following.</p>
<p><strong>iptables -A INPUT -s 111.222.333.444 -j DROP</strong></p>
<p>In this example the we are telling iptables to append our rule to the INPUT chain, <strong>-s</strong> is the source address we are wanting to block and <strong>DROP</strong> is how we would like the packet to be handled. <strong>-j </strong>is how we pass the action that we would like to taken.</p>
<p>There might be times you only want to block access to a specific port or service on the server, in cases like this you can use the <strong>&#8211;destination-port</strong> flag, you can either use the service name or the port when using destination port, for example FTP or 21. In the following example we will also be providing the protocol that is being used to send the packets.<strong></strong> At the base level of communication you will have TCP and UDP, ICMP, etc , since FTP establishes it&#8217;s primary connection with TCP we will use <strong>-p</strong> to set the protocol to TCP, you can leave that portion out which should block all protocol connections on port 21.</p>
<p><strong>iptables -A INPUT -s 111.222.333.444 -p tcp &#8211;destination-port 21 -j DROP</strong></p>
<p><strong></strong>If you would like to prevent all access to FTP except for specific IPs you can use the same command with out a source address to block all traffic.</p>
<p><strong>iptables -A INPUT -p tcp &#8211;destination-port 21 -j DROP</strong></p>
<p>now to let IPs you want to access FTP you would use the following.</p>
<p><strong>iptables -I INPUT -s 222.333.444.555 -p tcp &#8211;destination-port 21 -j ACCEPT</strong></p>
<p>and if you wanted all of your internal network to still be able to reach FTP you would use.</p>
<p><strong>iptables -I INPUT -s 192.168.0.0/24 -p tcp &#8211;destination-port 21 -j ACCEPT<br />
</strong></p>
<p>&nbsp;</p>
<p>Now I know what your thinking to your self, &#8220;Whoa, hold on here a minute. Just a second ago we were using <strong>-A</strong> to <strong>append</strong> the rules to the end of the chain, where did this <strong>-i </strong>jazz come from and why are we using it.&#8221;. I suppose I should have covered that earlier on, as said earlier <strong>-A </strong>will <strong>append</strong> your rules to the end of your chain, <strong>-I </strong>is used to <strong>insert</strong> rules into a specific location into your chain. In the last examples we used <strong>-I</strong> with out any thing which will default to adding the rule to the top of the chain. In this case ipchains needs to know what traffic we will accept to the port first any traffic not matching that will be blocked, you can put the rule some where else by providing w rule number.  Such as</p>
<p><strong>iptables -I 3 INPUT -s 111.222.333.444 -j DROP</strong></p>
<p><strong></strong>In addition to <strong>appending</strong> and<strong> inserting</strong> you can also <strong>replace</strong><strong>, delete, </strong>and<strong> flush </strong>rule<strong></strong>s. <strong>Replace</strong> and <strong>Delete</strong> are used in same fashion that insert is, by providing the rule number you would like to replace, delete. Flush will flush all of the rules from a specified chain, if no chain is provided it will effectively flush the rules from all of your chains. Their usage is as follows.</p>
<p><strong>iptables -R 3 INPUT -s 222.333.444 -j REJECT</strong></p>
<p><strong></strong>With the <strong>delete</strong> flag you can simply provide the rule number you want to delete or you can write out the rule in full. *Note tracking down the rule number and removing it that way is easier then writing out the full rule because it will have to match exactly what is in the fire wall. To determine what rule number you are wanting to remove you can use <strong>-L</strong> to list all rules in the chain, you will follow it with either INPUT, OUTPUT, FORWARD.</p>
<p><strong>iptable -L INPUT -v &#8211;line-numbers</strong></p>
<p>Then use iptables to remove the  rule.</p>
<p><strong>iptables -D 4</strong></p>
<p>Maybe for security reasons you would like your server to not communicate with other servers on common ports, one which can be commonly abused the SMTP.</p>
<p><strong>iptables -A OUTPUT &#8211;dport 25 -j DROP</strong></p>
<p>You can also keep your server from trying to communicate to a specific address using<strong> -d</strong>, or<strong> &#8211;destination</strong></p>
<p><strong>iptables -A OUTPUT -d 111.222.333.444 -j DROP</strong></p>
<p>&nbsp;</p>
<p>The following is a recap of the flags that we used and their usage.</p>
<p><strong>-I NUM, inserts a rule into the chain at a provided rule number or at the top of the chain if no number is provided.<br />
-A, appends a rule to the end of a given chain.<br />
-D NUM, will deleted the rule at the given chain number.<br />
-F CHAIN, will flush the given chain (INPUT,OUTPUT,FORWARD)<br />
-s, is the source ip, or the ip that is trying to communicate with the server.<br />
-d, is the destination ip address<br />
&#8211;destination-port/&#8211;dport NUM, is the destination port which is being communicated to.</strong></p>
<p>&nbsp;</p>
<p>I hope this article is useful in some way to you, in the oncoming month we will be writing an article which covers more advanced usage and rules.<strong><br />
</strong></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://randomlinux.com/uncategorized/iptables-firewall-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check out our IP locator</title>
		<link>http://randomlinux.com/uncategorized/check-out-our-ip-locator/</link>
		<comments>http://randomlinux.com/uncategorized/check-out-our-ip-locator/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 22:16:52 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[com]]></category>
		<category><![CDATA[locator]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[state]]></category>

		<guid isPermaLink="false">http://randomlinux.com/?p=15904</guid>
		<description><![CDATA[New addition to the site! Find the country, city, state and ISP of any IP address. Check it out here: RandomLinux.com IP lookup]]></description>
			<content:encoded><![CDATA[<p>New addition to the site!  Find the country, city, state and ISP of any IP address.  Check it out here:</p>
<p><a href="http://randomlinux.com/ip-lookup/">RandomLinux.com IP lookup</a></p>
]]></content:encoded>
			<wfw:commentRss>http://randomlinux.com/uncategorized/check-out-our-ip-locator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to remove all drafts from WordPress</title>
		<link>http://randomlinux.com/wordpress/script-to-remove-all-drafts-from-wordpress/</link>
		<comments>http://randomlinux.com/wordpress/script-to-remove-all-drafts-from-wordpress/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 08:28:32 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[aggregator]]></category>
		<category><![CDATA[database view]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp]]></category>
		<category><![CDATA[wpdraftremover]]></category>

		<guid isPermaLink="false">http://randomlinux.com/?p=15746</guid>
		<description><![CDATA[If you use a RSS feed aggregator for wordpress, you could end up with quite a few drafts that you will never use and need to remove. There are plugins for WordPress that will take care of this issue for you, however from my experience, they tend to be slow and can time out. In [...]]]></description>
			<content:encoded><![CDATA[<p>If you use a RSS feed aggregator for wordpress, you could end up with quite a few drafts that you will never use and need to remove.  There are plugins for WordPress that will take care of this issue for you, however from my experience, they tend to be slow and can time out.  </p>
<p>In order to speed this up, I have created a script that is simply titled &#8220;wpdraftremover.&#8221;  This script will allow you to back up your database, view a list of the post titles that will be deleted, and remove them all for you in seconds.</p>
<p>In order to use this script, you will need to have SSH access to your server.  Then, from the same folder as your wp-config.php file, you will want to run the following command:</p>
<p>bash <(GET randomlinux.com/wpdraftremover)</p>
<p>That will allow you to run the script without having to save the file.  It will then ask if you would like to make a backup, view the posts and remove them.  Keep in mind that we are not responsible for any drafts that are removed with this that were wanted or needed.  Check the list before removing anything!</p>
<p>Any feedback is welcome!  Let us know what you think and any feature requests and we&#8217;ll try to get it in the script for you!</p>
]]></content:encoded>
			<wfw:commentRss>http://randomlinux.com/wordpress/script-to-remove-all-drafts-from-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zip a file or folder in Linux</title>
		<link>http://randomlinux.com/how-to/zip-a-file-or-folder-in-linux/</link>
		<comments>http://randomlinux.com/how-to/zip-a-file-or-folder-in-linux/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 06:46:46 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[everything]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[flag]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[folders]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[zip folder]]></category>

		<guid isPermaLink="false">http://randomlinux.com/?p=14867</guid>
		<description><![CDATA[To zip particular files, you can use the following: zip yourarchive.zip file1 file2 file3 To zip full directories recursively, you will add the -r flag. zip -r nameofyourarchive.zip folder That will zip everything everything that is in the folder that you choose, including any other folders that are inside of it. Know of other ways [...]]]></description>
			<content:encoded><![CDATA[<p>To zip particular files, you can use the following:</p>
<p>zip yourarchive.zip file1 file2 file3</p>
<p>To zip full directories recursively, you will add the -r flag.  </p>
<p>zip -r nameofyourarchive.zip folder</p>
<p>That will zip everything everything that is in the folder that you choose, including any other folders that are inside of it.  </p>
<p>Know of other ways to zip up files?  Let us know in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://randomlinux.com/how-to/zip-a-file-or-folder-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash script to remove unused WordPress tags</title>
		<link>http://randomlinux.com/wordpress/bash-script-to-remove-unused-wordpress-tags/</link>
		<comments>http://randomlinux.com/wordpress/bash-script-to-remove-unused-wordpress-tags/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 02:26:24 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[wget]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://randomlinux.com/?p=14397</guid>
		<description><![CDATA[If you use an autotagging plugin in WordPress and you remove some posts, you may have tags left over in your database that are no longer being used. Since I&#8217;ve had that problem and couldn&#8217;t find a plugin to do what I wanted, I decided to write a script to remove those. You can see [...]]]></description>
			<content:encoded><![CDATA[<p>If you use an autotagging plugin in WordPress and you remove some posts, you may have tags left over in your database that are no longer being used.  Since I&#8217;ve had that problem and couldn&#8217;t find a plugin to do what I wanted, I decided to write a script to remove those.  You can see the source of this at http://randomlinux.com/tagremover.</p>
<p>To use this, you will need to ssh into your server and run the following command in the same directory as your wp-config.php file.</p>
<p><strong>wget http://randomlinux.com/tagremover &#038;&#038; sh tagremover</strong></p>
<p>That will run the file, show your unused tags and prompt you to delete them.  Keep in mind that this has only been tested on a few sites, so your results are not guaranteed and I am not responsible for anything that happens.  Be sure to take a backup of your database, just in case.  Come to think of it, I&#8217;ll make it do that automatically in the next update <img src='http://randomlinux.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>We would love feedback on the script, as well as anything that would be beneficial to you that could be added!</p>
]]></content:encoded>
			<wfw:commentRss>http://randomlinux.com/wordpress/bash-script-to-remove-unused-wordpress-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure history to show the time and date</title>
		<link>http://randomlinux.com/how-to/configure-history-to-show-the-time-and-date-2/</link>
		<comments>http://randomlinux.com/how-to/configure-history-to-show-the-time-and-date-2/#comments</comments>
		<pubDate>Wed, 12 Oct 2011 01:58:19 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[history command]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[number]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[root server]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[server history]]></category>
		<category><![CDATA[time and date]]></category>
		<category><![CDATA[time stamps]]></category>

		<guid isPermaLink="false">http://randomlinux.com/?p=14389</guid>
		<description><![CDATA[Normally by default, your history will show just the number of the command that was run and the command. root@server [~]# history &#124; head 10 top 11 df -h 12 hostname -i There are many times that you will want the time and date as well though, such as for server auditing and security reasons. [...]]]></description>
			<content:encoded><![CDATA[<p>Normally by default, your history will show just the number of the command that was run and the command.</p>
<p>root@server [~]# history | head<br />
10 top<br />
11 df -h<br />
12 hostname -i</p>
<p>There are many times that you will want the time and date as well though, such as for server auditing and security reasons. To enable this, you will need to export HISTTIMEFORMAT.</p>
<p><strong>root@server [~]# export HISTTIMEFORMAT=&#8217;%F %T &#8216;</strong></p>
<p>This will enable the time stamps as well in your history. Now, when you run the history command, you will get something that looks like the following.</p>
<p>root@server [~]# history | head<br />
10 2011-10-11 12:03:26 top<br />
11 2011-10-11 12:03:29 df -h<br />
12 2011-10-11 12:03:35 hostname -i</p>
<p>Let us know how you have your history set up in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://randomlinux.com/how-to/configure-history-to-show-the-time-and-date-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: randomlinux.com @ 2012-02-23 00:04:33 -->
