Instalasi dan aktivasi Postfix
Untuk distribusi TSL (Trustix Secure Linux), Postfix sudah menjadi bagian dari paket instalasi. Yang diperlukan hanyalah mengaktifkannya. Namun jika pada saat instalasi terlewatkan, Postfix bisa diinstal secara manual. Berikut langkah instalasinya :
- Mount CD Trustix Secure Linux dengan account root.
- # mount /dev/cdrom /mnt/cdrom
- Masuk ke direktori RPMS, tempat disimpannya program aplikasi.
- # cd /mnt/cdrom/Trustix/RPMS
- Instal Program Postfix dari Trustix Secure Linux
- # rpm -ivh postfix-19991231_p108-1tr.i386.rpm
- Setelah itu, postfix bisa langsung diaktifkan (dengan catatan komputer memiliki alamat host FQDN), dengan menjalankan skrip yang sudah terpasang di /etc/rc.d/init.d.
- # /etc/rc.d/init.d/postfix start
- Untuk mengecek postfix sudah berjalan dengan baik, bisa dilakukan dengan beberapa cara
- # netstat -a Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost:smtp *:* LISTEN
tcp 0 0 *:6000 *:* LISTEN
tcp 0 0 *:printer *:* LISTEN
raw 0 0 *:icmp *:* 7
raw 0 0 *:tcp *:* 7
# ps ax
PID TTY STAT TIME COMMAND
1 ? S 0:06 init [3]
2 ? SW 0:00 [kflushd]
3 ? SW 0:00 [kupdate]
4 ? SW 0:00 [kpiod]
5 ? SW 0:00 [kswapd]
6 ? SW< 0:00 [mdrecoveryd]
227 ? S 0:00 syslogd -m 0
235 ? S 0:00 klogd
248 ? S 0:00 crond
261 ? S 0:00 lpd
380 tty1 S 0:00 login – sofyan
381 tty2 S 0:00 login – root
382 tty3 S 0:00 /sbin/mingetty tty3
383 tty4 S 0:00 /sbin/mingetty tty4
384 tty5 S 0:00 /sbin/mingetty tty5
385 tty6 S 0:00 /sbin/mingetty tty6
388 tty1 S 0:00 -bash
395 tty2 S 0:00 -bash
527 ? S 0:00 /usr/lib/postfix/master
551 pts/0 S 0:00 /bin/bash
557 pts/0 R 0:00 ps ax
silahkan tinggalkan komentar anda