Infrastructure servers Flashcards

1
Q

DNS

A
53 tcp/udp
\_\_\_
BIND
dnsmasq
Unbound
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

NTP

A
123 udp
\_\_\_\_
ntpd
cronyd
systemd-timesyncd (client only)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

DHCP

A

67, 68 udp
___
dhcpd
dnsmasq

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Authentication servers

A
389 tcp for ldap
636 tcp for encrypted lpap-ldaps
88 tcp for Kerberos
\_\_\_\_
Open LDAP
Active Directory
Kerberos
RH Identity Manager
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Certificate authority servers

A

443 tcp for ssl
_________
Openssl

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Load Balancing Servers

A

Apache, Nginx (web traffic)
BIND, dnsmasq (for DNS traffic)
HAProxy
Keepalive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Logging servers

A
514 udp for syslog
6514 tcp for secure syslog
19531 tcp for systemd-journal-gatewayd 
\_\_\_\_ 
syslog-ng
rsyslog
systemd-journald (default logging mechanism for systemd-based systems)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Monitoring servers

A
161,162 udp (snmp)
10161, 10162 snmp over tls
SNMP
Nagios
Munin
Zabbix
Monit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Proxy servers

A
3128 (squid proxy)
\_\_\_
Squid
Varnish
Apache
Nginx
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

File servers

A
137, 138, 139, 445 tcp (samba)
11 tcp/udp, 2049 tcp/upd (nfs)
\_\_\_\_
Samba
NFS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Email servers

A
25 tcp (smtp)
465 (smtps)
587 tcp (msa, message submission for email)
110 tcp (pop3)
995 (encrypted ssl/tls pop3)
143 tcp (imap)
993 tcp (encrypted ssl/tls imap) 
\_\_\_\_\_\_
Sendmail (smtp)
Postfix (smtp)
Dovecot (imap, pop3)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Web servers

A
80 http
443 encrypted http
\_\_\_
Nginx
Apache
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Print servers

A

631 tcp
_____
cups

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

DB servers

A
3306 tcp (mysql, mariadb)
5432 tcp (postgres)
\_\_\_\_\_\_
Maria DB
MySQL
Postrges
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Default URL for cups

A

http://localhost:631

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Main files contains conf files for cups

A

/etc/cups/printers.conf

/etc/cups/cupsd.conf

17
Q

Display status of cups server

A

lpstat -s (summary)

lpstat -l -long list including printers and jobs

18
Q

Add new printer

A

lpadmin -p my-printer -L 415 -v socket://192.168.0.8:9100 -m everywhere
lpadmin -p CUPS-PDF -v cups-pdf:/

19
Q

Display available printer devices and drivers that can be used to install printer

A

lpinfo -v

20
Q

Search for drivers for printer

A

lpinfo –make-and-model “HP Envy 451” -m

21
Q

Modify printer settings

A

lpadmin -p my-printer -m “cups-pdf.ppd” -E (enable the printer)

22
Q

List all available printers

A

lpc status

23
Q

Print a document

A

lpr -P my-printer /etc/passwd

24
Q

List print queue

A

lpq -a

25
Q

Remove print job

A

lprm 22 (id of job)

26
Q

Delete printer

A

lpadmin -x my-printer

27
Q

Disable/enable queuing of the printer

A

cupsreject/cupsaccept my-printer

28
Q

Disable/ enable printing of the printer

A

cupsdisable/cupsenable my-printer

29
Q

Set printer as default

A

lpadmin -d my-printer -E