<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>IT CAFFE . NET</title>
	<link>http://itcaffe.net</link>
	<description>IT solutions over a cup of coffee</description>
	<lastBuildDate>Sun, 15 Apr 2012 19:37:27 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.1.1" -->

	<item>
		<title>Restrict SSH to certain IPs</title>
		<description><![CDATA[Here&#039;s how you can restrict SSH only to a couple of IPs : iptables -A INPUT -p tcp &#8211;dport 22 -s 1.1.1.1 -j ACCEPT iptables -A INPUT -p tcp &#8211;dport 22 -s 2.2.2.2 -j ACCEPT iptables -A INPUT -p tcp &#8211;dport 22 -j DROP This will only allow access to SSH from IPs 1.1.1.1 and [...]]]></description>
		<link>http://itcaffe.net/uncategorized/restrict-ssh-to-certain-ips/</link>
			</item>
	<item>
		<title>Upgrading PHP to 5.2.x on CentOS 5</title>
		<description><![CDATA[CentOS 5 comes by default with PHP version 5.1.6 and MySQL 5.0. Here&#039;s how you can upgrade to version 5.2.17 using a 3rd party repo. I have been using the Atomic repository for a while now and the RPMs are well built : echo &#034;exclude=php*5.3*&#034; >> /etc/yum.conf rpm -ivh http://www6.atomicorp.com/channels/atomic/centos/5/i386/RPMS/atomic-r$ yum update php* mysql* -y [...]]]></description>
		<link>http://itcaffe.net/apache/upgrading-php-to-5-2-x-on-centos-5/</link>
			</item>
	<item>
		<title>Fixing PHP Fatal error: Class &#039;OptionalServices_ServicesConfiguration&#039; Plesk error</title>
		<description><![CDATA[A client got an email this morning with the following content from the Plesk cron daemon : /usr/local/psa/libexec/modules/watchdog/cp/send-report weekly PHP Fatal error: Class &#039;OptionalServices_ServicesConfiguration&#039; not found in /usr/local/psa/admin/plib/common_func.php3 on line 2948 Apparently, Plesk already released a fix for this and the fix can be seen at http://kb.parallels.com/en/9329. The thing is, the attachment is double-zipped so [...]]]></description>
		<link>http://itcaffe.net/plesk/fixing-php-fatal-error-class-optionalservices_servicesconfiguration-plesk-error/</link>
			</item>
	<item>
		<title>Find broken symlinks</title>
		<description><![CDATA[Often times you may find that your directories contain broken symlinks ( symlinks from folders which have been deleted ). In order to find broken symlinks, the following should help : find -L /home/user/public_html -type l]]></description>
		<link>http://itcaffe.net/bash/find-broken-symlinks/</link>
			</item>
	<item>
		<title>Sort files in current directory by modification time</title>
		<description><![CDATA[This is how you can list all the files in the current directory, sorting them by modification time :]]></description>
		<link>http://itcaffe.net/bash/sort-files-in-current-directory-by-modification-time/</link>
			</item>
	<item>
		<title>Check the validity of your ssl certificates</title>
		<description><![CDATA[With this command you can check the validity period of your generated certificates (apache, postfix, dovecot, cyrus, etc ). Example: Encrypted certificate Content of the certificate decrypted:]]></description>
		<link>http://itcaffe.net/bash/check-the-validity-of-your-ssl-certificates/</link>
			</item>
	<item>
		<title>Password protect web directories</title>
		<description><![CDATA[Here is how you can password protect web directories using Apache. First, you would need to make sure that Apache allows the use of .htaccess. This can be simply done by changing the following directive : As you can see, mine is already set to &#039;All&#039;. After you have set AllowOverride to All, reload Apache [...]]]></description>
		<link>http://itcaffe.net/apache/password-protect-web-directories/</link>
			</item>
	<item>
		<title>Cyrus 2 Dovecot mail stack migration</title>
		<description><![CDATA[Motto : I hate the DOTS !!! Cyrus 2 Dovecot Migration In our organization, we have an internal application using a mysql database structure. We also have some linux boxes with squid and postfix/cyrus MTA/POP-IMAP-MDA using their own databases. So, you can imagine the mess caused by these applications having separate ways to store the [...]]]></description>
		<link>http://itcaffe.net/email/cyrus/cyrus-2-dovecot-mail-stack-migration/</link>
			</item>
	<item>
		<title>Print the IPs which have more than 1000 hits</title>
		<description><![CDATA[Here is how you can print the IPs ( fetched from the access_log of Apache ) which have more than 1000 hits : Additionally, you can change 1000 to your desired value.]]></description>
		<link>http://itcaffe.net/bash/print-the-ips-which-have-more-than-1000-hits/</link>
			</item>
	<item>
		<title>Installing BIND on a FreeBSD server</title>
		<description><![CDATA[Here is how you can install BIND on a FreeBSD server : You will be prompted with a window like the following : Select the stuff that you need, and hit &#039;OK&#039;. After this, run the following to begin the installation : Add the following to /etc/rc.conf : Now, simply start the named service by [...]]]></description>
		<link>http://itcaffe.net/dns/installing-bind-on-a-freebsd-server/</link>
			</item>
</channel>
</rss>

