Everything You Always Wanted To Know About Swimming 
http://www.swim-city.com/


[ add comment ] ( 6 views )   |  [ 0 trackbacks ]   |  permalink
Skateboarding Dog 




[ add comment ] ( 6 views )   |  [ 0 trackbacks ]   |  permalink
Remove filename which contains non ASCII (not printable) characters  
Here we can see a strange 'empty' filename and 'back_space+w' filename:


# ls -la
-rw-r--r-- 1 root root 9538 Nov 28 10:10
-rw-r--r-- 1 root root 596 Oct 10 13:53w


Get their i-nodes:


# ls -lbi
845042 -rw-r--r-- 1 root root 9538 Nov 28 10:10 \177
845038 -rw-r--r-- 1 root root 596 Oct 10 13:53 \177w


Delete files through find:


# find . -inum 845042 -exec rm -i {} \;
# find . -inum 845038 -exec rm -i {} \;



[ add comment ] ( 5 views )   |  [ 0 trackbacks ]   |  permalink
How to build RPM  
The bes links I've found so far:

http://www.ibm.com/developerworks/library/l-rpm1/
http://www.ibm.com/developerworks/library/l-rpm2/



[ add comment ] ( 7 views )   |  [ 0 trackbacks ]   |  permalink
Night walk in Prague with Vesmir 


Exposure: f4.5/4s at iso 400 (Sigma 15-30,28mm,EOS400D)

[ add comment ] ( 6 views )   |  [ 0 trackbacks ]   |  permalink
Mount and Umount ISO with lofi command (Solaris) 
Mount:


# lofiadm -a /path/to/cd.iso
/dev/lofi/1
# mount -o ro -F hsfs /dev/lofi/1 /mnt


Unmount:


# umount /mnt
# lofiadm -d /dev/lofi/1


[ add comment ] ( 6 views )   |  [ 0 trackbacks ]   |  permalink
Mail pretending to be sent from your domain? SPF! 
Mail servers usually have no method how to verify valid server which is authorized to send emails from concrete domain. Unless they do use SPF record mechanism. SPF stands for "Sender Permitted From"; SPF record says who is responsible for SENDING mail for a specific domain. (Note the MX record is primary designed to inform the world who is responsible for RECEIVING mail for a domain).

How to tell the world the only authorized mail servers (mail senders) for our domain? Via the DNS.

The example below says: if the mail claims to be from someone in ourdomain.org the mail must be sent from the MX server for this domain. The a: record can be used to specify other hosts authorized to sent mail as well (other than hosts with the regular MX record). Those are -all the server. No exceptions.

ourdomain.org

TXT "v=spf1 mx a:yetanother.mailserver.com -all"



Some nice short reading about SPF:
http://www.openspf.org/Introduction

Official:
http://www.openspf.org/

To test SPF settings:
http://www.kitterman.com/spf/validate.html


Note: SPF records should also be published in DNS as type SPF records. This is new and most implementations do not support it yet.

Please consider to implement SPF to your mail server while receiving mail as well.




[ add comment ] ( 3 views )   |  [ 0 trackbacks ]   |  permalink
Notes on Veritas FS 

Find out where the diskgroup is imported (on which host)

vxdisk -s list

Start all the volumes in diskgroup

vxvol -g <dg> startall

Import/Deport pool

vxdg deport <dg> # deport pool from host
vxdg import <dg> -C # C switch clears hostid
vxdg import <dg> -f # F force import?

List disks/diskgroup/details

vxdisk list # shows disks
vxdg list # shows dg
vxinfo -g <dg> # show volumes in the groups



[ add comment ] ( 3 views )   |  [ 0 trackbacks ]   |  permalink
Installing Oracle Database 11g Release 1 on Linux - (RHEL 5) 
http://www.idevelopment.info/data/Oracl ... l#Overview


[ add comment ] ( 5 views )   |  [ 0 trackbacks ]   |  permalink
Disable yum kernel updates in CentOS Linux 

echo "exclude = kernel*" >> /etc/yum.conf


[ add comment ] ( 3 views )   |  [ 0 trackbacks ]   |  permalink

<<First <Back | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | Next> Last>>