Page 556 chapter 13 questions 1-6 Why would you use http or ftp instead of bit torrent for downloading large files? == you would use ftp because it does not have client authorization needed, and you would use http because it connects directly to a server to download when with bit torrent uses more TCP connections which can be blocked by firewalls.. Which command would you give to update all installed packages using yum? == yum update but if you are using older versions the yum update might not work you would need to use the yum up2date command Why would you build a package from a source code when a (binary) rpm file is available? = because a source code you can modify the shell and with a binary you cannot also some binary distributions require that you unpack the software from the root directory Suggest two advantages that rpm files have over source distributions? = automatic dependency resolution, faster installation, easier to deploy. When you compile a package yourself rather from an rpm file, which directory hierarchy should you put it in? = /usr/local/man What are some steps you should take before performing an upgrade on a mission critical server? = Perform the upgrade on an identically configured spare system and see what breaks and how to fix it. In particular, look for .rpmsave files and see what configuration information needs to be changed manually, when would you use rpm –i instead of rpm –u? You would use –i (followed by the name) to leave the old kernel intact when you install a new kernel and the –u (command) followed by the name of the file you would use when you want to upgrade the package and install the new package. And make sure you have everything backed up also as a safety precaution
Page 582 chapter 14 questions 1-10 Which commands can you use from the command line to send a file to the default printer? == lp filename or you can use lpr filename and either of those commands will print