This is a quick walk through on how to set up domain keys on Centos 5 using sendmail. It should also be very similar for Redhat or Fedora.
Domainkeys is a method mostly used by yahoo to verify that the sender of an email is valid. I did notice that gmail changes the domainkeys header line [...]
Posted on March 9th, 2010 by Denie
Filed under: BASH, CentOS, Linux, Sendmail, Tutorials | No Comments »
First, Squid server installed (use up2date squid) and configured by adding following directives to file:
# vi /etc/squid/squid.conf
Posted on December 18th, 2009 by Denie
Filed under: BASH, Linux, Tutorials | No Comments »
If you would like to have a set of web pages that are protected, requiring a username/password to gain access, this tutorial will show you how to set it up. This is geared towards the Unix Apache httpd servers used on holly, lamar, and www.colostate.edu. If you are using another web server, you’ll need to [...]
Posted on November 24th, 2009 by Denie
Filed under: Apache, BASH, Linux, Tutorials | No Comments »
If you’re going to be doing a lot of Geotargeting or IP Address Lookups, please take a feed instead which will preserve both our bandwidth and your bandwidth.
Simple GET
That said, there is an easy HTTP oriented API to locate IP addresses and Geocode them. If you don’t supply the “?ip=aa.bb.cc.dd” bit, [...]
Posted on October 22nd, 2009 by Denie
Filed under: BASH, Linux, Scripting, Tutorials | No Comments »
To search in the current directory and all sub directories for a file named httpd.conf
find . -name “httpd.conf” -print
To find some string or text, type
find . -exec grep “MaxClients” ‘{}’ \; -print
Posted on July 25th, 2009 by Denie
Filed under: Apache, BASH, Linux, Tutorials | No Comments »
How to get help with svn?
If you are looking for svn reference in man pages, you have gone to the wrong place. To check the references of svn commands, simple do this:
svn help
Posted on June 30th, 2009 by Denie
Filed under: BASH, Linux, SVN | No Comments »
Better answer – use /etc/profile.d/proxy.[csh,sh]
You just need to create the following files in /etc/profile.d, and then this will work in *any* shell for *any* user of the system:
#proxy.sh
export http_proxy=http://host.com:port/
export ftp_proxy=http://host.com:port/
export no_proxy=.domain.com
export HTTP_PROXY=http://host.com:port/
export FTP_PROXY=http://host.com:port/
#proxy.csh
setenv http_proxy http://host.com:port/
setenv ftp_proxy http://host.com:port/
setenv no_proxy .domain.com
setenv HTTP_PROXY http://host.com:port/
setenv FTP_PROXY http://host.com:port/
After that, you can run YUM/WGET
Posted on May 26th, 2009 by Denie
Filed under: BASH, Linux | No Comments »
When compiling PHP from source, some of the CentOS users reported that they getting errors like below:
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
What you need to do, is just follow the below steps.
Verify that the libtool and libtool-ltdl packages are installed.
Symlink libltdl.so to libltdl.so.x.x.x
If libtool and libtool-ltdl already exist, you may go [...]
Posted on February 26th, 2009 by Denie
Filed under: BASH, Linux, PHP, Tutorials | No Comments »