How to properly launch the services on a dedicated server ?
FTP (port 21)
Ftp is managed by
ncftpd:
www.ncftpd.com
You need to edit
/etc/inittab (check if it includes the line about ncftpd) and restart
init
# pico /etc/inittab
#/sbin/init q
It's sufficient to kill all the processes. ncftpd will be started automatically.
# killall -9 ncftpd
SSH (port 22)
If your ssh doesn't work, you need to enable telnet or use webmin.
Ssh is managed by
openssh:
www.openssh.com
# /etc/rc.d/init.d/ssh stop
# /etc/rc.d/init.d/ssh start
Telnet (port 23)
Telnet is managed by
xinetd. You need to edit the configuration file for telnet, and restart xinetd. The option in xinetd works the other way, you need to choose
no, to activate the service.
# pico /etc/xinetd.d/telnet
#/etc/rc.d/init.d/xinetd restart
# pico /etc/xinetd.d/telnet
# /etc/rc.d/init.d/xinetd restart
Smtp (port 25)
Smtp is managed by
qmail :
www.qmail.org
Script operates also on pop3 server.
# cd /
#/etc/rc.d/init.d/qmail stop
# cd /
# /etc/rc.d/init.d/qmail start
DNS (port 53)
DNS is managed by
bind:
www.isc.org/products/BIND/
# /etc/rc.d/init.d/named stop
# /etc/rc.d/init.d/named start
Web (port 80)
Web is managed by
Apache: httpd.apache.org
# /etc/rc.d/init.d/httpd stop
# /etc/rc.d/init.d/httpd start
POP3 (port 110)
POP3 is managed by
qmail:
www.qmail.org
Script operates also on SMTP.
# cd /
# /etc/rc.d/init.d/qmail stop
# cd /
# /etc/rc.d/init.d/qmail start
IMAP (port 143)
IMAP is managed by
courier-imap:
www.inter7.com/
# /etc/rc.d/init.d/imapd stop
# /etc/rc.d/init.d/imapd start
MySQL (port 3306)
MySQL is managed by
mysql:
www.mysql.com
# /etc/rc.d/init.d/mysql stop
# /etc/rc.d/init.d/mysql start
Webmin (port 10000)
Webmin is managed by
webmin:
www.webmin.com
# /etc/rc.d/init.d/webmin stop
# /etc/rc.d/init.d/webmin start