linux support cmd ( Chandrakant bharti)

"linux support cmd ( Chandrakant bharti)"

* Step-by-Step Guide to Installing Linux*

Choose a Linux Distribution -  Research: There are many distributions (distros) of Linux. Popular ones include Ubuntu, Fedora, and Debian. Choose based on your needs (e.g., user-friendliness, specific software requirements).

2. Prepare Installation Media

  • Download ISO: Go to the official website of your chosen distribution and download the ISO file for the version you want (e.g., Ubuntu 20.04 LTS).
  • Create Bootable USB: Use software like Rufus (Windows) or Etcher (Mac/Linux) to create a bootable USB drive from the ISO file.

    3. Backup Your Data

     Precaution: Before proceeding, ensure important data is backed up to prevent accidental loss during installation.

  • 4. Boot from Installation Media

    • Insert USB: Insert the bootable USB drive into your computer.
    • Restart: Restart your computer and access the BIOS/UEFI/LEGACY menu (usually by pressing F2, F12, or Delete during startup).
    • Set Boot Order: Set the USB drive as the primary boot device in BIOS/UEFI settings.

      1. Allocate 512 MB for the UEFI Boot Partition

      Explanation: When setting up your disk partitions for installing Linux, allocate 512 MB specifically for the UEFI Boot Partition. This partition is necessary for systems that use UEFI (Unified Extensible Firmware Interface) instead of the traditional BIOS (Basic Input/Output System). It stores bootloader files and other necessary data for the system to boot properly under UEFI firmware. Proper allocation of this partition ensures that your Linux installation can boot correctly on UEFI-based hardware.

      2. Allocate at least 40 GB for the / (root) partition based on your drive space. 

      Explanation: When installing Linux, it's recommended to allocate a minimum of 40 GB of disk space for the root partition (/). Adjust this based on the total capacity of your hard drive or SSD. This partition holds the core system files and directories required for Linux to operate. Proper allocation ensures sufficient space for system updates, software installations, and user files.

      3. Allocate a temporary disk space of at least 5 to 10 GB based on your available disk space.

    Explanation: When configuring your disk partitions during the Linux installation, reserve a temporary disk space of 5 to 10 GB. This temporary space can be used for various purposes such as temporary files, caches, or other temporary storage needs that may arise during system operation. Adjust the allocated size within this range depending on the total capacity of your disk drive or SSD
     
    4.  Swap PartitionFor systems with 2 GB to 8 GB of RAM, allocate 2 times the amount of RAM. 
     
    Swap space plays a crucial role in ensuring system stability and preventing out-of-memory crashes by providing extra virtual memory when physical RAM is exhausted. However, excessive use of swap can impact performance due to slower disk access times compared to RAM. Therefore, it's important to configure swap space appropriately based on your system's RAM size and usage patterns.

     NOTE *** If your disk is currently formatted with MBR partitioning, you can back up the data from the partitions, format the disk to NTFS, and then allocate more partitions. This ensures that you can create additional partitions during installation without encountering partition size limitations.***
     

     

     

     

    To completely remove the Firefox program that was installed using the deb package,     use the command:

    1. sudo apt remove firefox-esr
    2. sudo rm -Rf /usr/bin/firefox-esr
    3. sudo rm -Rf /usr/loca/firefox-esr
    4. sudo snap remove firefox-esr 👆

      * Set a local NTP server as target. After restarting the service, it worked    just fine. 

      1. sudo apt install systemd-timesyncd
      2. sudo systemctl enable systemd-timesyncd 
      3. systemctl enable systemd-timesyncd.service

      👉  Only office download click hare  

             apt-get install  onlyoffice-desktopeditors apt-get install  onlyoffice-desktopeditors  

      For uninstall - sudo apt-get remove onlyoffice-desktopeditors 

      sudo apt-get purge --auto-remove '*' --yes
       

    5. purge: Removes the packages and their configuration files.
    6. --auto-remove: Automatically removes dependencies that were installed with the package but are no longer required.
    7. '*': This is a wildcard that matches all packages.
    8. --yes: Automatically answers "yes" to the confirmation prompts.
    9. sudo apt-get purge onlyoffice-desktopeditors

      👉 List Installed Packages: Use the appropriate package manager command to list all installed packages.

      1.  apt list --installed     |     2.  dpkg --list
       google keyring password issue or any application password issue...

      1. sudo apt-get remove --purge gnome-keyring   |  2. google-chrome --password-store=basic

      *Webex issue  firefox*

         apt install ffmpeg  | apt install ubuntu-restricted-extras | apt install libavcodec-extra -y

      for usbguard or keyboard block

      "systemd.mask=usbguard" then ctrl+x
      apt remove usbguard 

      apt remove --autoremove usbguard 

      apt purge usbguard 

      apt purge --auto-remove usbguard

      systemctl daemon-reload
       

       

       


    Comments

    Post a Comment

    Popular posts from this blog

    hplip

    Airscan