Posts

Showing posts from 2021

How to install KVM/QEMU in Ubuntu/Linux mint

Prerequisites   To run guests with more than 2 GB of RAM, you must have a 64-bit host system. Before continuing with the installation, make sure your Ubuntu host machine supports KVM virtualization. The system should have either an Intel processor with the VT-x (vmx), or an AMD processor with the AMD-V (svm) technology support. Run the following grep command to verify that your processor supports hardware virtualization:      grep -Eoc '(vmx|svm)' /proc/cpuinfo If the CPU supports hardware virtualization, the command will output a number greater than zero, which is the number of the CPU cores. Otherwise, if the output is 0 it means that the CPU doesn’t support hardware virtualization. On some machines, the virtual technology extensions may be disabled in the BIOS by the manufacturers. To check if VT is enabled in the BIOS, use the kvm-ok tool, which is included in the package. Enter the following commands as root or user with sudo privileges to install the cpu-checke...

How to Fix Grub Boot Loaderd in Ubuntu/Linux mint

Image
Boot-Repair is a simple tool to fix Grub boot loader issues        How to Install Boot-Repair Either from an Ubuntu live-session or from your installed Ubuntu session (if you can access it)  connect to the Internet open a new Terminal, then type the following commands (press Enter after each line)                          sudo add-apt-repository ppa:yannubuntu/boot-repair                          sudo apt-get update                          sudo apt-get install -y boot-repair                                    

How to fix files in a samba share shown as folders bug

Image
 To fix the bug files in a samba share shown as folders bug      add this line to the [global] section           # Make sure files are not shown as folders!           store dos attributes = NO Save and restart the samba service          sudo service smbd restart

How to permanetly disable Recent Documents In Linux Mint

  Lock the file:      Clear recently used files (in the menu). Open a terminal and type               sudo chattr +i .local/share/recently-used.xbel        If you want it back to normal use -i                sudo chattr -i .local/share/recently-used.xbel 

How to disable the swap file in Ubuntu/Linux mint

Image
 1. To turn off the swapfile.                 sudo swapoff /swapfile  2. Now disable the swap file in /etc/fstab Comment out the swapfile line by adding # to the beginning of /swapfile line                sudo nano /etc/fstab /etc/fstab 3. Now we're going to physically remove the swap file                sudo rm -f /swapfile  4. reboot Your Done.!      

Install Motioneye in Ubuntu 20.04/Linux mint 20.02

Image
What is Motioneye? motionEye is a web-based frontend for motion, a CCTV solution for Linux What is Motion? Motion  is a nice lightweight, yet capable application for operating surveillance cameras on Linux How to Install Motioneye 1. sudo apt-get install ssh curl motion ffmpeg v4l-utils -y 2. reboot 3. Install the python 2.7 and pip2 4. sudo apt-get install python2 -y 5. curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py 6. sudo python2 get-pip.py      There will be a warning that python 2.7 and pip2 are outdated and will not be updated      This is normal and to be expected, as Python 2.7 is beyond EOL, as is pip2.      When motionEye is updated to Python3, these messages will go away. Install all prerequisites 1. sudo apt-get install libffi-dev libzbar-dev libzbar0 -y 2. sudo apt-get install python2-dev libssl-dev libcurl4-openssl-dev libjpeg-dev -y 3. sudo apt-get install python-pil -y      Installing...

How to Install Cockpit with kvm/qemu management on Ubuntu 20.04/Linux-mint 20.2

Image
What is Cockpit? Cockpit is a web-based graphical interface for servers Website :  https://cockpit-project.org Install Cockpit 1. sudo apt install cockpit -y 2. sudo systemctl start cockpit 3. sudo systemctl status cockpit Install KVM/qemu plugin/Module 1. sudo apt install cockpit-machines -y   Install Cockpit Samba Module      https://github.com/45Drives/cockpit-file-sharing Go to  https://your_ip:9090 username=your_username password=your_password Login Page Dashboard