Burak Çalışkan

FreeBSD Servis Listesi ve Port Kullanımı

  • 10 ay önce, Burak Çalışkan tarafından yazılmıştır.
  • 0 Yorum
  • Genel

Hangi servis hangi portu kullandığı bilgisi

# sockstat -4 -l

root@FreeBSD:~ # sockstat -4 -l
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
root sshd 795 4 tcp4 *:22 *:*
mysql mysqld 758 13 tcp46 *:3306 *:*
www nginx 642 6 tcp4 *:80 *:*
root nginx 641 6 tcp4 *:80 *:*
root syslogd 448 7 udp4 *:514 *:*

Servis Listesi;

root@generic:~ # service -e
/etc/rc.d/growfs
/etc/rc.d/hostid
/etc/rc.d/hostid_save
/etc/rc.d/cleanvar
/etc/rc.d/ip6addrctl
/etc/rc.d/netif
/etc/rc.d/devd
/etc/rc.d/newsyslog
/etc/rc.d/syslogd
/etc/rc.d/ntpdate
/etc/rc.d/rpcbind
/etc/rc.d/savecore
/etc/rc.d/dmesg
/etc/rc.d/mountd
/etc/rc.d/nfsd
/etc/rc.d/virecover
/usr/local/etc/rc.d/pure-ftpd
/etc/rc.d/motd
/etc/rc.d/rctl
/usr/local/etc/rc.d/php-fpm
/usr/local/etc/rc.d/nginx
/usr/local/etc/rc.d/mysql-server
/etc/rc.d/sshd
/etc/rc.d/cron
/etc/rc.d/mixer
/etc/rc.d/gptboot
/etc/rc.d/bgfsck


FreeBSD nginx site root

Dosya Yolu:  /usr/local/etc/nginx/nginx.conf

load_module /usr/local/libexec/nginx/ngx_mail_module.so;
load_module /usr/local/libexec/nginx/ngx_stream_module.so;

#user nobody;
user www;
worker_processes 1;
error_log /var/log/nginx/error.log info; (Devamını Oku)