Author Archives: Ahmed Tawfik

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek

How to add Application Icons to Ubuntu

Just copy your PNG icon file to /usr/share/icons/hicolor/[SIZE]/applications Then run the command: “sudo gtk-update-icon-cache /usr/share/icons/hicolor” That’s it!

Posted in Linux, Mint, Ubuntu | Tagged , , , , , | Leave a comment

How to connect to a VM hosted on QEMU remotely using virt-viewer

I couldn’t find comprehensive articles about this, so I decided to write one myself. In brief, here is a sample command: virt-viewer –connect qemu+ssh://aamr@hobba/system winVM Where: virt-viewer: is the command itself –connect: is obviously the parameter telling the command to … Continue reading

Posted in Linux, Mint, Ubuntu, Virtualization | Tagged , , , , , , | 1 Comment

Password-less SSH Login to Ubuntu Server

On the client: ========================================================================================= socrat@socrat-laptop ~/.ssh $ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/socrat/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/socrat/.ssh/id_rsa. Your … Continue reading

Posted in Linux, Ubuntu | Tagged , , , , , , | Leave a comment

How to make use of KVM snapshots via “virsh”

This is a very interesting article that contained everything I needed about KVM snapshots. It listed all the “virsh” command parameters for snapshots with an excellent explanation of each one: https://xdev.me/article/How_to_use_KVM_snapshots

Posted in Virtualization | Tagged , , , , , | Leave a comment

How to configure network settings in CentOS (from dhcp to static)

It’s a bit different from what we’re used to do in Ubuntu, here are the instructions, assuming our network interface is eth0: Take a backup from the “/etc/sysconfig/network-scripts/ifcfg-eth0” file, e.g. by the following command: “cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0.bak” Open the “/etc/sysconfig/network-scripts/ifcfg-eth0” file for … Continue reading

Posted in Linux | Tagged , , , , , , , | Leave a comment