Posts

Showing posts from August, 2021

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