Posisi Bulan pada tanggal 19 Juli 2012

Posisi Bulan pada tanggal 19 Juli 2012 (29 Sya'ban 1433H) pada pukul 17:40:57.

Gambar 2

Pemandangan 2.

Gambar 3

Pemandangan 3.

Gambar 4

Pemandangan 4.

Gambar 6

Pemandangan 6.

Gambar 7

Pemandangan 7.

Gambar 8

Pemandangan 8.

Gambar 9

Pemandangan 9.

Gambar 5

Pemandangan 5.

Gambar 10

Pemandangan 10.

Monday, July 20, 2009

Men-disable Autorun pada USB

Pada flash disc yang terkena virus biasanya (tidak selalu) terdapat file autorun.info yang di dalamnya terdapat perintah untuk menjalankan program virus. Nah, ketika flash disc tersebut dimasukkan ke drive USB yang fitur autorun-nya tidak di-disable maka secara otomatis Windows akan menjalankan program pada background tanpa adanya konfirmasi kepada user.

Salah satu cara untuk mengurangi resiko terkena virus tersebut adalah dengan mendisable fitur autorun pada drive USB. Ada pun caranya adalah sebagai berikut:

Klik tombol Start - Run.
Ketik gpedit.msc dan tekan OK.
Klik pada User Configuration - Administrative Templates - System.
Klik 2x pada Turn Off Autoplay.
Klik pada option Enable.
Pada option Turn off Autoplay on, pilih All drives.
Klik OK.
Selesai.
Catatan: gpedit.msc hanya ada di Windows XP Professional.

Sumber : http://www.klik-kanan.com/men-disable-autorun-pada-usb.htm



Saturday, July 18, 2009

Relaying Postfix SMTP via smtp.gmail.com

I’ve got a few servers in different places around the country and try to monitor them using the logwatch utility. One problem that I’ve run into however is that a few of these servers are not able to send their logwatch emails to me, based on email restrictions by the ISPs. I spent some time this afternoon researching what was required to have my servers authenticate to my gmail account and send me the mail that way. This setup assumes Ubuntu 8.04 (or later) and Postfix.

Install the required packages

sudo aptitude install postfix libsasl2 ca-certificate libsasl2-modules

Configure Postfix

This tutorial will not outline how to configure your postfix server, but we’ll jump directly to the relayhost section. You’ll want to add the following lines to your /etc/postfix/main.cf file:

relayhost = [smtp.gmail.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_use_tls = yes

The above lines are telling Postfix that you want to relay mail through gmail on a specific port, telling it to authenticate, and where to find the username and password. The last three lines specify the authentication types supported, where the certificate authority file is and that it should use tls.

Define Username and Password

Next we’ll need to populate the sasl_passwd file. Create the file /etc/postfix/sasl_passwd with the following contents:

[smtp.gmail.com]:587 user.name@gmail.com:password

This file should have restrictive permissions and then needs to be translated into a .db that Postfix will read.

sudo chmod 400 /etc/postfix/sasl_passwd
sudo postmap /etc/postfix/sasl_passwd

At this point you can restart Postfix and it should work, however it will complain about not being able to authenticate the certificate. To take care of this issue we’ll use the ca-certificate package we installed and tell it where it can validate the certificate.

cat /etc/ssl/certs/Thawte_Premium_Server_CA.pem | sudo tee -a /etc/postfix/cacert.pem

Go ahead and reload postfix (sudo /etc/init.d/postfix reload) and you should be set.

If this site has been useful, please consider participating in the Fundraiser.

Source:http://ubuntu-tutorials.com/2008/11/11/relaying-postfix-smtp-via-smtpgmailcom/




Ubuntu Linux vsftpd ftp service / server install, configuration howto

Ubuntu Linux comes with various ftp servers to setup FTP service such as:
=> proftpd - Versatile, virtual-hosting FTP daemon

=> vsftpd - The Very Secure FTP Daemon

=> ftpd - FTP server

=> wu-ftpd - powerful and widely used FTP server

=> wzdftpd - A portable, modular, small and efficient ftp server

=> pure-ftpd - Pure-FTPd FTP server

I recommend using vsftpd. It is simple and quite secure FTP server. According to vsftpd man page:

vsftpd is the Very Secure File Transfer Protocol Daemon. The server can be launched via a super-server such as inetd or xinetd. Alternatively, vsftpd can be launched in standalone mode, in which case vsftpd itself will listen on the network.

=> Default ftp port : 21
=> Default configuration file : /etc/vsftpd.conf
How do I set up the vsftpd daemon to accept connections from another computer?

The configuration of the vsftpd FTP service (read as daemon ) simply requires three steps.
Step # 1: Install vsftpd

Type apt-get command to install vsftpd
$ sudo apt-get install vsftpd
Output:

Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
vsftpd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 121kB of archives.
After unpacking 438kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com edgy/main vsftpd 2.0.4-0ubuntu5 [121kB]
Fetched 121kB in 0s (246kB/s)
Selecting previously deselected package vsftpd.
(Reading database ... 31396 files and directories currently installed.)
Unpacking vsftpd (from .../vsftpd_2.0.4-0ubuntu5_amd64.deb) ...
Setting up vsftpd (2.0.4-0ubuntu5) ...
Adding system user `ftp' with uid 106...
Adding new user `ftp' (106) with group `nogroup'.
Not creating home directory `/home/ftp'.
* Starting FTP server: vsftpd

Step # 2: Configure /etc/vsftpd.conf

The default vsftpd configuration file is /etc/vsftpd.conf. You need to edit this file using text editor such as vi:
$ sudo vi /etc/vsftpd.conf

Add the following line (uncomment line) to the vsftpd configuration file:
local_enable=YES
Above config directive will allow local users to log in via ftp

If you would like to allow users to upload file, add the following to the file:
write_enable=YES

For security you may restrict local users to their home directories. Add the following to the file:
chroot_local_user=YES

Save and close the file.
Step # 3: Restart vsftpd

To restart vsftpd type the command :
$ sudo /etc/init.d/vsftpd restart
Output:

* Stopping FTP server: vsftpd [ ok ]
* Starting FTP server: vsftpd [ ok ]

How do I use ftp command line utility?

Now you should be able to FTP to this server with any account that exists on the system except for the root user. From Windows or other Linux system use ftp client, type the command:
$ ftp ftp.nixcraft.in
Output:

Connected to ftp.nixcraft.in.
220 (vsFTPd 2.0.4)
Name (ftp.nixcraft.in:vivek): vivek
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/"
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rw-r--r-- 1 1000 1000 91798 Aug 16 08:26 apf-current.tar.gz
-rwxr-xr-x 1 1000 1000 156 Nov 10 07:05 iptables.stop
drwxr-xr-x 3 0 0 4096 Dec 23 11:11 postfix
-rw-r--r-- 1 0 0 10481942 Nov 29 23:35 webmin_1.310_all.deb
226 Directory send OK.
ftp> quit
221 Goodbye.

Open FTP port using iptables (optional)

Add following rules to your iptables script. Assuming that default incoming policy is drop. If protocol is TCP and destination port is 21 (ftp):
iptables -A INPUT -p tcp -m tcp --dport 21 -j ACCEPT
See - How do I open open ftp port 21 using iptables for more information.

There are a large number of other configuration options available for vsftpd that can be used to fine tune ftp server. Read vsftpd.conf man page by typing following command:
$ man vsftpd.conf
Sumber : http://www.ubuntugeek.com/settingup-an-ftp-server-on-ubuntu-with-proftpd.html



Friday, July 17, 2009

Instalasi dan Konfigurasi LAMP server di Ubuntu 9.04 (Jaunty Jackalope)

Berikut ini adalah instalasi LAMP (Linux-Apache-MySQL-PHP) di Ubuntu 9.04 (Jaunty Jackalope) melalui command line:

1. Instal Apache: $ sudo apt-get install apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2-suexec libexpat1 ssl-cert
2. Instal PHP: $ sudo apt-get install libapache2-mod-php5 libapache2-mod-ruby libapache2-mod-python php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
3. Instal MySQL: $ sudo apt-get install mysql-server mysql-client libmysqlclient15-dev
4. Instal phpMyAdmin: $ sudo apt-get install phpmyadmin

Konfigurasi Web Server Apache:

* Edit file /etc/apache2/sites-enabled/000-default, rubah pada bagian:


Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all


menjadi:


Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all


* Untuk aktifkan module rewrite gunakan command: $ sudo a2enmod rewrite, sehingga akan muncul:Module rewrite installed; run /etc/init.d/apache2 force-reload to enable.
* Jalankan/restart web server apache untuk mengaktifkan perubahan yang sudah dilakukan dengan command: $ sudo /etc/init.d/apache2 restart, jika berhasil maka akan muncul:

Restarting web server apache2
…waiting [ok]

Konfigurasi MySQL:

Untuk mengelola database MySQL gunakan phpMyAdmin. Anda perlu menambahkan user baru selain root untuk akses database nantinya.

1. Dari browser arahkan URL ke: http://localhost/phpmyadmin. Kemudian masukkan username root dan password.
2. Setelah login dihalaman phpMyAdmin, pilih tab Hak Akses. Kemudian tambahkan pengguna baru, beri hak atas akses database untuk host localhost.

Konfigurasi php.ini:
Silakan edit file /etc/php5/apache2/php.ini

Sumber : http://whplus.com/blog/2009/07/01/instalasi-dan-konfigurasi-lamp-server-di-ubuntu-9-04-jaunty-jackalope.html



Thursday, July 16, 2009

Setting WAP / GPRS menggunakan Sony Ericsson W200i

Setelah beberapa kali mencoba akhirnya jadi juga. Awalnya sih cuma bisa pake telkomsel aja. Pake SIMPATI. dan ternyata mahal banget.... :( Ga terasa habis banyak.

Gene neh settingannya

Masuk Menu Settings
Pilih Connectivity
Pilih Data Comm
Pilih Data Accounnts
Buat Account baru dengan memilih New Account
Pilih GPRS data
Kasih nama bebas
APN : telkomsel
Username : wap
Password : wap123
Authentication : None
Lainnya biarin aja dech

Tapi biasanya klo dari Sonernya udah dibuatin, jadi ga perlu buat New Account lagi
Kita tinggal masuk menu Internet Settings, Internet Profiles, New Profiles
Connect Using diisi dengan Account tadi yang udah dibuat, ato yang udah disediakan sama SONER, misal TSEL WAP GPRS
Klo udah, disimpan
Jadi dech


Kalo Pake IM3

APN : indosatgprs
Username : gprs
Password : im3
Lainnya sama dengan diatas

Tapi disini ada tambahan lagi
Setelah dibuat internet profilnya, pilih menu More, Settings
Use Proxy : Yes
Proxy Address : 010.019.019.019
Port number : 8080
username : gprs
password : im3

Padahal settingannya kemaren juga geto. tapi ga konek2. Ternyata setelah diisi pulsa lagi baru bisa.
Padahal sebelumnya aku dah isi pulsa yang kusus internet. Dan kalo dicek bonusnya juga ada gratis Internet

Setelah aku isi pulsa yang aku bilangnya yang bisa untuk telp sama sms, baru bisa. Aneeh.... apa aku yang ga ngerti ya....?


Konfigurasi / Setting POP Akses menggunakan Microsoft Outlook

Microsoft Outlook
Pilih menu Tools, Account Setting
Pada Tab Email, Click New
Pada Choose Email Service, pilih Microsoft Exchange, POP3, IMAP or HTTP. Klik Next
Pada Auto Account Settup, pilih Manually Configure Server Settings …, dengan member tanda centang. Klik Next
Klik Next lagi
Isi your name dengan nama, dan Alamat Email yang sesuai
Account Type : POP3
Incoming mail server : pop.gmail.com
Outgoing Server : smtp.gmail.com
User Name : nama user email
Password : passwordnya


Klik More Settings
Masuk Outgoing Server
Beri tanda centang pada My outgoing server (SMTP) requires Authentication
Logon using diisi dengan data yang sesuai
Masuk Tab Advanced
Incoming Server (POP3) : 995
Beri tanda cek pada This server requires an encrypted connection (SSL)
Outgoing Server (SMTP) : 465
Use the following encrypted connection pilih SSL
Klik OK

Jadi deh.

Untuk mulai download emailnya, pilih menu Tools, Send and Receive, Send And Receive All. Ato bisa juga tekan tombol F9 pada keyboard