Sunday, 25 December 2016

How to Install GTK-RecordMyDesktop on RHEL 7 (best screen recording software imo)

If you want to record your screen to make tutorials or something else, GTK-recordmydesktop is capable of doing it. Most of the screen-recording programs that I have come across requires you to record your audio separately, however this software is also capable of recording audio without any extra step. It can also work with JACK audio server.

PART 1 - Install EPL repository for RHEL 7:
  1. Open a terminal
  2. Install epel using the following command: yum -y install epel-release.
  3. Refresh repo by typing the following commad: yum repolist.
PART 2 - Install GTK-RecordMyDesktop:
  1. yum install gtk-recordmydesktop
That's it, it should work right away. If it doesn't, it is possible that you might be missing some codecs as I installed them from nux and epel repos earlier.

Sunday, 18 December 2016

How to Install Nvidia Drivers on Redhat/Centos 7 - Step by Step guide

  1. Nvidia needs "Development Tools" installed, if you installed it during RHEL installation, you're good, if you didn't, then execute the following commands:
  2. [root@localhost rpmbuild]# yum groups mark install "Development Tools" [root@localhost rpmbuild]# yum groups mark convert "Development Tools"
    [root@localhost rpmbuild]# yum groupinstall "Development Tools"
  3. Install Kernel Devel and Kernel headers
         yum install kernel-devel kernel-headers dkms
  4. Now run the following to get to know your Graphics Card (if you already know you can skip this part)
    lspci -nn | grep VGA
  5. Now download the appropriate driver from NVIDIA Downloads
  6. Open “/etc/modprobe.d/blacklist.conf” and add "blacklist nouveau" to the file (if it doesn't exist then create it)
  7. Create a new initramfs and take a backup of the existing one (this might not be needed as i think NVIDIA installer already does this, do it regardless)
    mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak  
    dracut -v /boot/initramfs-$(uname -r).img $(uname -r)
  8. Reboot your computer and login again
  9. Open a terminal and type:
    init 3
  10. Login as root, navigate to the folder where you have downloaded NVIDIA installer file and do the following:
    chmod 755 (NVIDIA installer filename)
    ./(NVIDIA Installer Filename)
  11. Go through the NVIDIA installer prompts, you can choose to install 32 bit libraries, but do save the X configurations at the end.
This is a compilation of various articles

Monday, 12 December 2016

How to Install Spotify on Debain GNU/Linux 8 (Jessie)

These instructions are from Spotify's Website:
# 1. Add the Spotify repository signing key to be able to verify downloaded packages
sudo apt-key adv --keyserver hkp:// --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886

# 2. Add the Spotify repository
echo deb stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list

# 3. Update list of available packages
sudo apt-get update

# 4. Install Spotify
sudo apt-get install spotify-client
I can confirm that they work exactly as written on Debian Jessie, I know some things aren't required for Debain(sudo),
it's a bigger hassle to remove them instead of just copy/pasting :)

Virtual Machine doesn't start, stuck at "PCI2.10 PnP PMM"

Another day another problem, I was setting up a lab environment, after creating a Virtual Machine using Virtual Machine Manager, My machine ...