The blog of a juvenile Geekus biologicus

linux

How to mount a shared folder between Linux KVM Host and Guests

Sharing folder between KVM virtual machines and host, may be useful. Here is a way found in fedora forum. Quickstart Change vm to your vm hostname. sudo mkdir -p /mnt/shared sudo chmod -R a+rwX /mnt/shared sudo semanage fcontext -a -t svirt_home_t "/mnt/shared(/.*)?" sudo restorecon -R /mnt/shared tee fs.xml << EOF > /dev/null <filesystem type='mount' accessmode='mapped'> <source dir='/mnt/shared'/> <target dir='shared'/> </filesystem> EOF virsh shutdown vm virsh attach-device vm fs.xml --config virsh start vm ssh vm sudo mkdir -p /mnt/shared sudo tee -a /etc/fstab << EOF > /dev/null shared /mnt/shared 9p trans=virtio 0 0 EOF sudo mount -a References Virt-manager and shared folder host/guest permission issue?

Install Gephi on Linux

Gephi is a software package for graph visualization. Let’s install it on Linux. Install Gephi su - # Switch to root cd /opt/ wget https://github.com/gephi/gephi/releases/download/v0.9.5/gephi-0.9.5-linux-x64.tar.gz -o tar -xzf gephi-0.9.5-linux-x64.tar.gz rm gephi-0.9.5-linux-x64.tar.gz cd gephi-0.9.5 Now you could use it by running ./bin/gephi in the terminal. Setup desktop entry For an easier access, you could add a desktop entry to your menu. // /home/$USER/.local/share/applications/gephi.desktop [Desktop Entry] Name=Gephi Comment=Launch Gephi Path=/opt/gephi-0.9.5/ Exec=/opt/gephi-0.9.5/bin/gephi Terminal=true Type=Application Icon=gephi.