Instead using nslookup use dig, in RHEL distro, dig is part of bind-utils package.
http://www.madboa.com/geek/dig/
Thursday, August 25, 2011
Tuesday, August 02, 2011
How to SMTP Auth in Sendmail (CentOS)
By default sendmail-cf is not installed in CentOS:
yum install sendmail-cf
Then edit /etc/mail/sendmail.mc and add this:
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
compile the new configuration:
make -C /etc/mail/
saslauthd must by running:
/etc/init.d/saslauthd start
and make it available on startup:
chkconfig saslauthd on
then restart sendmail:
/etc/init.d/sendmail restartand it's ready to use
For a powerful mail server, you can combine this configuration with MailScanner, clamav and grey-list.
Tuesday, June 21, 2011
Risk Management Strategy for the Provide Domain Name Resolution Services Critical Function
http://www.dhs.gov/xlibrary/assets/it-sector-risk-management-strategy-domain-name-resolution-services-june2011.pdf
Tuesday, June 14, 2011
Unix file compression utilities
to compress and zip:
tar -czvf archive.tgz files/
more info
http://www.fluidthoughts.com/howto/tar-gzip/
Virtualization in Linux, KVM way by IBM
Well documented information at:
http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=/liaat/liaatkvm.htm&sf1617284=1
http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=/liaat/liaatkvm.htm&sf1617284=1
Wednesday, May 18, 2011
vi intro -- the cheat sheet method by Daniel Robbins
vi, useful cheat sheet
http://www.ibm.com/developerworks/linux/tutorials/l-vi/
http://www.ibm.com/developerworks/linux/tutorials/l-vi/
Tuesday, April 05, 2011
How to add rpmforge repo to CentOS 5.5
x86_64 version
wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
You can disable the rpmforge repo in /etc/yum.repos.d/rpmforge.repo
and changed enabled = 1 to enabled = 0
and changed enabled = 1 to enabled = 0
Source
http://blog.bloke.com/2010/05/enable-rpmforge-for-centos-5-5-for-subversion-1-6/
Sunday, March 13, 2011
Updating time on Linux
First install NTP
yum install ntp
then update by a remote NTP server
ntpdate my.server.xx
or set manually
date mmddHHMM[YYyy]
yum install ntp
then update by a remote NTP server
ntpdate my.server.xx
or set manually
date mmddHHMM[YYyy]
Thursday, December 02, 2010
CentOS 5 poptop how to
I like short answers
rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/rhel5/pptp-release-current.noarch.rpm
yum install kernel_ppp_mppe dkms ppp pptpd
Here is the source
http://pptpclient.sourceforge.net/yum/
rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/rhel5/pptp-release-current.noarch.rpm
yum install kernel_ppp_mppe dkms ppp pptpd
Here is the source
http://pptpclient.sourceforge.net/yum/
LVM support on Ubuntu
short answer :)
Install lvm2:
$ sudo apt-get install lvm2
Load the necessary module(s):
$ sudo modprobe dm-mod
Scan your system for LVM volumes and identify in the output the volume group name that has your Fedora volume (mine proved to be VolGroup00):
$ sudo vgscan
Activate the volume:
$ sudo vgchange -ay VolGroup00
Create a mount point for that volume:
$ sudo mkdir /mnt/fcroot
Mount it:
$ sudo mount /dev/VolGroup00/LogVol00 /mnt/fcroot -o ro,user
long answer :)
http://www.linuxquestions.org/questions/fedora-35/how-can-i-mount-lvm-partition-in-ubuntu-569507/
Install lvm2:
$ sudo apt-get install lvm2
Load the necessary module(s):
$ sudo modprobe dm-mod
Scan your system for LVM volumes and identify in the output the volume group name that has your Fedora volume (mine proved to be VolGroup00):
$ sudo vgscan
Activate the volume:
$ sudo vgchange -ay VolGroup00
Create a mount point for that volume:
$ sudo mkdir /mnt/fcroot
Mount it:
$ sudo mount /dev/VolGroup00/LogVol00 /mnt/fcroot -o ro,user
long answer :)
http://www.linuxquestions.org/questions/fedora-35/how-can-i-mount-lvm-partition-in-ubuntu-569507/
Friday, August 27, 2010
Saturday, August 21, 2010
Wednesday, August 11, 2010
My Twitter acount
Hi, this is my Twitter acount
Genaraly speaking about tech news and computer stuffs
http://twitter.com/jfloreslizana
Genaraly speaking about tech news and computer stuffs
http://twitter.com/jfloreslizana
Wednesday, May 12, 2004
How to clean Squid cache from console and other stuffs
As a Linux fan I will post some interestings links like this
http://www.squid-cache.org/Doc/FAQ/FAQ-7.html
http://www.squid-cache.org/Doc/FAQ/FAQ-7.html
Subscribe to:
Posts (Atom)