Linux System Administration and Web Server Basics
Covers essential Linux system administration skills including package management, configuration files, shell commands, and web server technologies like Apache Tomcat, WebDAV, and PKI security
Questions
A ______________ is comprised of encryption technologies, services and software than an organization employs to protect its data transactions and other business interactions from being comprised.
- Encryption
- Tunneling
- SSL
- Public Key Infrastructure (PKI)
The __________ Application is a method of allowing remote authoring of a web site using a compatible WebDAV client.
- Admin Application
- WebDAV Application
- Manager Application
- Examples application
Is Apache Tomcat an Open Source System (True/False)
- True
- False
Is it possible, with Tomcat, to allow ONLY secure connections (HTTPS) for a Context or a Directory?
- True
- False
Which of the following directory contains systems configuration files ?
- /tmp
- /etc
- /var
- /boot
You want to compile and install a GNU software package, but you want to change the default installation target. Which file would you edit?
- config.h
- targets
- configure
- Makefile
Which will be run as the user logs in
- .bash_login
- .bash_profile
- .profile
- All tha above
The proper sequence of installing a OSS from source is(are)
- ./configure;make;make install
- ./configure;make install
- ./configure --prefix=/usr/apps;make;make install
- ./configure;make all;make install
Which command would you use to get a list of all files inside the rpm-package foobar.rpm in /home/bob?
- rpm -ql /home/bob/foobar.rpm
- rpm -ql -p /home/bob/foobar.rpm
- rpm -l /home/bob/foobar.rpm
- rpm -l -p /home/bob/foobar.rpm
How can you best see how much free space you have in your Paritions?
- Use df -ha
- Use df .
- Use du -c
- Use du
How could you get the physical SCSI address of /dev/sda ?
- Using the command scsi-info /dev/sda
- Using the command scsi_info /dev/sda
- Using the command scsiinfo /dev/sda
- Using the command lsscsi
When do you need to rerun the grub-install command?
- After every boot
- After every modification of the grub configuration file.
- After installing a new kernel with a new name in /boot
- Only the first time after installing GRUB
To find out what package /usr/bin/TcsMgrToolkit belongs to, you'd use
- rpm –qf TcsMgrToolkit
- rpm –qf
which TcsMgrToolkit - rpm –qf /usr/bin/TcsMgrToolkit
- rpm –qf /usr/bin/TcsMgrToolkit
You have just installed the new program foobar manually. This program uses shared libraries, which are installed to /usr/local/foobar/lib. What is necessary to do after the installation so that the libraries can be used?
- restart your computer
- run ldconfig
- edit /etc/ld.so.conf to add the new library path and then run ldconfig
- edit /etc/ld.so.conf to add the new library path and then run ld.so
How can you describe the function of the following commands? foo < bar > foobar
- The command bar gets its input from file foo and writes its output to the file foobar.
- The command foo gets its input from the file bar and redirect its output to the command foobar.
- The command bar writes its output to the files foo and foobar.
- The command foo gets its input from the file bar and writes its output to the file foobar.
The command to configure COM1 on IRQ 4, default ioports and all other standard parameters is
- setserial /dev/ttyS0 irq 4 autoconfig
- setserial /dev/ttyS0 irq 4
- setserial /dev/ttyS1 irq 4 autoconfig
- setserial /dev/ttyS1 irq 4