03142014 Flashcards

0
Q

OpenSSH SSH daemon

A

sshd

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

Authentication key generation, management and conversion

A

ssh-keygen

simulate apache server via peer to peer

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

To configure sshd, to change how root logins work, see the _____ file

A

sshd_config

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

LOGGING INTO ANOTHER MACHINE- TELNET AND SECURE SHELL

A

telnet hostname

ssh username@hostname

telnet 192.168.1.115
pwd
exit

ssh jklewis@192.168.1.115
pwd
uptime
exit

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

Message of the day

A

/etc/motd

you can change to another directory, edit files, and pretty much whatever you would normally do if you were actually on the system

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

Allows you to download files from the

A

URLs.

wget

cd /tmp
wget www.jklewis.com
more index.html
wget www.jklewis.com/shipfire.gif

man wget

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

BROWSING THE WEB- FIREFOX

A

firefox &

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

RUNNING YOUR OWN WEBSERVER- HTTPD

A
yum install httpd
cd /etc/httpd/conf
cp httpd.conf /tmp/httpd.conf.orig
vi httpd.confc
cd /etc/httpd
systemctl start httpd.service
systemctl enable httpd.service
cd /var/www/html
dmesg > dmesg1.txt
echo "This is a new file" > newfile.txt
192.168.1.15:/newfile.txt

read the first page very closely where it talks about ServerRoot

# if a filename begins with a slash,the server will use that path as indicated. If a relative path is used, the value of ServerRoot is prepended e.g.
Include conf.modules.d/*.conf

the directory will be really:

/etc/httpd/conf.modules.d

Be sure to remember how ServerRoots works!

httpd.conf file

The Listen directive tells httpd which port to use.

Scroll down to ServerName. This is where you can enter the name of your particular server.

DocumentRoot. This is the directory where your web pages will be served. It should be set to /var/www/html

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