Assignments Solutions

Compiled Solutions : System Administration (SEMESTER - 02)

Compiled by : Sagar Kundu

1. Internal Components of a PC

A Personal Computer (PC) contains several important internal components that allow it to function efficiently. Below are the key parts and their roles:

2. Steps to Assemble a PC

Assembling a PC involves several steps to ensure that all components are correctly installed and work together properly. Follow these steps for a successful build:

  1. Prepare your workspace:

    Start by ensuring that your workspace is clean and static-free. Ground yourself by using an anti-static wrist strap or touching a grounded metal object to avoid damaging components with static electricity.

  2. Install the CPU and cooler:

    Carefully insert the CPU into the motherboard's socket, aligning the pins or notches as indicated. Apply a small amount of thermal paste on top of the CPU, and then securely attach the CPU cooler over it to prevent overheating.

  3. Insert the RAM:

    Place the RAM sticks into the designated slots on the motherboard. Ensure the notch on the RAM aligns with the slot and press down until the clips on the sides lock it in place.

  4. Secure the motherboard:

    Carefully position the motherboard inside the PC case and screw it into place, aligning it with the standoffs. Make sure it is securely fastened and all ports are accessible from the case’s I/O panel.

  5. Install the Power Supply Unit (PSU):

    Mount the PSU into its designated spot in the case (usually at the bottom or top rear). Connect the 24-pin power cable to the motherboard and other power cables to the CPU and storage devices.

  6. Install storage drives:

    Place your SSD or HDD in the drive bays inside the case. Secure the drives with screws, and connect both the data cables (SATA) and power cables from the PSU to the motherboard and drives.

  7. Mount the GPU:

    Insert the Graphics Processing Unit (GPU) into the PCIe slot on the motherboard. Secure the GPU to the case with screws and connect the necessary power cables from the PSU to the GPU.

  8. Connect case fans and peripherals:

    Attach any case fans, front panel connectors, and other peripherals (e.g., USB ports) to the motherboard using the designated headers and ports.

  9. Power on and install the operating system:

    After assembling all components, connect the PC to a power source and monitor. Power on the system and enter the BIOS to verify that all components are recognized. Install the operating system from a bootable USB or DVD.

3. Network Connection Between Two PCs

To establish a network connection between two PCs in Windows, follow these steps:

  1. Open Control Panel and navigate to Network and Sharing Center:

    Go to the Control Panel, then find and open the Network and Sharing Center.

  2. Select Change adapter settings:

    In the Network and Sharing Center, click on Change adapter settings on the left-hand menu.

  3. Right-click the network adapter and select Properties:

    Right-click the active network adapter (either Ethernet or Wi-Fi) and choose Properties.

  4. Choose Internet Protocol Version 4 (TCP/IPv4) and enter a static IP address for both PCs:

    In the properties window, select Internet Protocol Version 4 (TCP/IPv4) and click Properties. Manually enter the following information:

    • PC 1 IP Address: 192.168.1.1 | Default gateway 192.168.1.2 (Optional)
    • PC 2 IP Address: 192.168.1.2 | Default gateway 192.168.1.1 (Optional)
    • Subnet Mask: 255.255.255.0
  5. Ensure both PCs are on the same subnet and save the changes:

    Once both PCs have IP addresses on the same subnet, save your changes by clicking OK. The PCs are now connected.

If everything is set up correctly, the two PCs should now be able to communicate with each other over the network.

4. UNIX Commands and Their Functions

UNIX commands are used to interact with the system through the terminal. Below are some common UNIX commands, their functions, and examples of usage:

5. Sharing Printers and Files Over a Network

Sharing printers and files over a network in Windows allows other users on the same network to access shared resources. Follow these steps to enable file and printer sharing:

  1. Open Control Panel:

    Navigate to the Control Panel by searching for it in the Start menu.

  2. Network and Sharing Center:

    In Control Panel, find Network and Sharing Center under "Network and Internet".

    Example: Go to Control Panel > Network and Sharing Center > Advanced Sharing Settings.

  3. Enable File and Printer Sharing:

    In the advanced sharing settings, turn on File and Printer Sharing to allow others on the network to access shared files and printers.

  4. Share a File or Folder:

    Right-click the file or folder you wish to share, then select Properties.

    Example: Right-click a folder > Properties > Sharing tab.

  5. Select Users and Set Permissions:

    In the Sharing tab, click Share, then choose users from your network and set the appropriate permissions (Read/Write).

    Example: Share a file with a specific user and allow read or write access as needed.

6. Creating Users in Windows

Follow these steps to create new users in Windows:

  1. Open Control Panel:

    Search for "Control Panel" in the Start menu and click on it to open.

  2. User Accounts:

    In the Control Panel window, find and click on User Accounts.

    Example: This section allows you to manage existing user accounts.

  3. Manage Another Account:

    Click on Manage another account, then select Add a new user to create a new account.

  4. Select User Type:

    You will be prompted to choose whether the new user should be an Admin or a regular user. Select the appropriate option based on the level of access needed.

    Example: Choosing Administrator grants full access to the system.

  5. Complete the Setup:

    After selecting the user type, follow the on-screen instructions:

    • Enter the new user's full name and password.
    • Ensure all required fields are filled out.
    • Click the Create Account button to finalize the account setup.
    • After the setup is complete, verify the new account in the User Accounts section of the Control Panel.

7. Creating a Remote Desktop Connection

To set up a remote desktop connection:

  1. Right-click on This PC:

    Locate "This PC" on your desktop or in File Explorer. Right-click on it and select Properties.

  2. Select Remote Settings:

    In the System window, click on Remote settings on the left side.

    Check the box for Allow remote connections to this computer.

  3. Open Remote Desktop Connection:

    Press Windows + R to open the Run dialog, then type mstsc and press Enter. Enter the IP address of the target computer.

  4. Click Connect:

    After entering the IP address, click on the Connect button to establish a remote session.