Posts

Showing posts from December, 2021

LINUX - MANAGING DEVICES

  Configuring a Virtual (PDF) Printer Scenario HR wants to distribute the acceptable use policy (AUP) to employees at Develetech in both hardcopy and electronic form. Right now, you don't have an actual printer connected to your Linux system, but you can still print the AUP text file to a PDF, which is more suitable than a raw text file for distribution purposes. Before you can create the PDF, you'll need to set up a virtual printer. Objectives Completing this activity will help you to use content examples from the following syllabus objectives: 2.7 Explain the use and operation of Linux devices 4.4 Given a scenario, analyze and troubleshoot application and hardware issues Examine the current list of printers Log in as  student01  with  Pa22w0rd  as the password. From the Desktop, select  Applications→System Tools→Settings . From the navigation menu, select  Devices . Select  Printers . Verify that no printers are currently listed. Keep this windo...

LINUX - MANAGING LINUX COMPONENTS

Image
Guidelines for Troubleshooting Process Issues Use the following guidelines when troubleshooting process issues. TROUBLESHOOT PROCESS ISSUES When troubleshooting process issues: Gather information about a process, including its process ID (PID) and state. Use  ps  to print information on all running processes, including CPU usage. For example, a process consuming over 50% of the CPU may cause performance issues, and is worth investigating further. Use  top  to retrieve a dynamic and interactive list of all running processes. Use  systemd-analyze blame  to determine what startup processes are slowing down boot operations . Use  lsof  to identify which processes have open files. Use  nice  and  renice  to prioritize certain processes over others. Use  fg  and  bg  to manage foreground and background processes. Use  nohup  to keep a command running even after logging off. Use  kill  and its a...

LINUX - MANAGING LINUX BOOT PROCESS

Image
  Creating an initrd Image Scenario As part of your server infrastructure, you plan on having some systems boot from an NFS share. The kernel in the deployed systems doesn't have an NFS module. Without this, your systems cannot mount an NFS share as the root file system. So, you need to create a new initrd image so that the kernel can successfully mount the share. First, however, you'll establish a baseline image that other images can build off of. Objectives Completing this activity will help you to use content examples from the following syllabus objectives: 1.1 Explain the Linux boot process 3.3 Summarize security best practices in a Linux environment Create a new initrd image. Log in as  student01  with  Pa22w0rd  as the password. Enter  uname -r  to identify the current kernel. Enter  sudo mkinitrd -v /boot/initrd-$(uname -r).img $(uname -r) $(uname -r)  substitutes the name of the kernel in this command. Examine the verbose output from ...