Inspiration – Go Open Source

rainbow

Archive for August, 2009

Tutor Standar Command Linux Pemula

Title: Contoh2 Perintah manual untuk dijalankan di Terminal linux
Post by: frozila on June 08, 2008, 02:19:48 PM


Pemberitahuan:
Tidak semua linux support dengan perintah2 manual.
Saya pertama memakai Xandros, ada sebagian perintah manual yang gk jalan.
Sekarang saya pake Ubuntu V.5.
Insya4w1 perintah2 manual di linux ini jalan semua.
( Tapi kalo ada yang gk jalan, jgn salahin diriku yaw..  :P )
(more…)

How to Change the Timezone in Linux

Steps

  1. For ubuntu: [1]http://webonrails.com/2009/07/15/change-timezone-of-ubuntu-machine-from-command-line/
  1. Logged in as root, check which timezone your machine is currently using by executing `date`. You’ll see something like Mon 17 Jan 2005 12:15:08 PM PST, PST in this case is the current timezone.
  2. Change to the directory /usr/share/zoneinfo here you will find a list of time zone regions. Choose the most appropriate region, if you live in Canada or the US this directory is the “America” directory.
  3. If you wish, backup the previous timezone configuration by copying it to a different location. Such as
    mv /etc/localtime  /etc/localtime-old
    
  4. Create a symbolic link from the appropiate timezone to /etc/localtime. Example:
    ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
    
  5. If you have the utility rdate, update the current system time by executing
    /usr/bin/rdate -s time-a.nist.gov
    
  6. Set the ZONE entry in the file /etc/sysconfig/clock file (e.g. “America/Los_Angeles”)
  7. Set the hardware clock by executing:
    /sbin/hwclock --systohc
    

http://www.wikihow.com/Change-the-Timezone-in-Linux

How to Setup DNS record for DKIM (iRedMail)

After installation, please reboot your system, then use amavisd to help you setup DNS record:

# amavisd showkeys
dkim._domainkey.iredmail.org.   3600 TXT (
  "v=DKIM1; p="
  "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDYArsr2BKbdhv9efugByf7LhaK"
  "txFUt0ec5+1dWmcDv0WH0qZLFK711sibNN5LutvnaiuH+w3Kr8Ylbw8gq2j0UBok"
  "FcMycUvOBd7nsYn/TUrOua3Nns+qKSJBy88IWSh2zHaGbjRYujyWSTjlPELJ0H+5"
  "EV711qseo/omquskkwIDAQAB")

You should add a ‘TXT’ type DNS record, the value is:

v=DKIM1; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDYArsr2BKbdhv9efugByf7LhaKtxFUt0ec5+1dWmcDv0WH0qZLFK711sibNN5LutvnaiuH+w3Kr8Ylbw8gq2j0UBokFcMycUvOBd7nsYn/TUrOua3Nns+qKSJBy88IWSh2zHaGbjRYujyWSTjlPELJ0H+5EV711qseo/omquskkwIDAQAB

After you added this in DNS, type this command to verify it:

# amavisd testkeys
TESTING: dkim._domainkey.iredmail.org      => pass

If it shows ‘pass’, it works.