I will post anything I've learnt on Linux distributions.

  • Linux,  Uncategorized

    Open Media Vault admin site not working

    I have a NAS running Open Media Vault (OMV) and this week it decided to not display the web front end. When browsing to http://omvIPaddress I received the below error: OMV\Exception: Failed to read file ‘/var/cache/openmediavault/cache.omv\controlpanel\login_js.json’ (size=0). in /usr/share/php/openmediavault/json/ To resolve the issue I connected to the NAS using secure shell: ssh root@ipaddressOfYourNAS and supplied the root passwordAfter authenticating and connecting I ran omv-aptclean and rebooted the server for good measure. I was able to access the web front end again after running omv-aptclean as per above.

  • Linux

    Error Installing CentOS 7

    I received the error “This program has encountered an unknown error.” When installing CentOS. At the end of the report it had details about RAID and I remembered that the disk was part of a RAID. To get rid of the RAID config: Restart the server. At the menu choose Troubleshooting Choose Rescue a CentOS system. You will be asked to make a selection, type in 1 and press enter.  You will see a prompt “Please press return to get a shell. Press the enter key Under “Rescue Mount” check which disk you need to configure i.e. sdb Now type: dmraid -E -r /dev/yourDisk i.e. (dmraid -E -r /dev/sda1) You…

  • Linux

    Moving my server from Windows to Linux

    I have moved from Windows to Linux on my laptop and gaming PC (Elementary OS) to be more specific and have not looked back. My home server was running Windows Home Server 2011 and it seemed like I lost one of my disks with my music on. Windows could not see the disk at all but I could see the disk in the BIOS. I then booted into Linux using a USB thumb drive and managed to access the disk and it’s data so proceded to backup the data. I then decided to get rid of Windows on my server and move to CentOS 7. I chose CentOS 7 as…

  • Elementary OS,  Linux,  Ubuntu,  Uncategorized

    How to install PyQt4 on Elementary OS (Linux)

    In this video I show the steps on how to install PyQt 4 on Elementary OS which should work on all Ubuntu based Linux distributions. I already had PyQt 5 installed but my study guide requires PyQt 4 so I decided to install and run both on my system. Here’s the steps: Open a terminal and run the below to install PyQt 4 sudo apt-get install python3-pyqt4 sudo apt-get install libqt4-dev sudo apt-get install python-qt4 qt4-dev-tools python-qt4-dev pyqt4-dev-tools Here’s a video if that’s more to your liking:

  • Linux,  Python

    How to make another version of Python the default version in Linux

    In this post I show you how to make Python 3.7 the default version of Python on Linux. (This should work on all distributions of Linux). My default version of Python was Python 2 and I needed to change it to version 3.7. 1. Steps: Open your .bashrc file in your home directory using a text editor or the shell. Add alias python=’/usr/bin/pythonx.x’ to the file and save it. (x.x is your version that you want to be the default) Logout of your session or reboot your computer, then log back in. Open the terminal and then type in Python. It should now show you the version that you specified…

  • Linux,  Python,  Software Development

    Install Python 3.7 on Elementary OS

    In this article and the below video I show you how to install Python 3.7 the easy way on Elementary OS. This works on Pop_OS! and Ubuntu too. 1. Open a terminal 2. type and run: sudo apt update3. type and run: sudo apt install software-properties-common4. type and run: sudo add-apt-repository ppa:deadsnakes/ppa5. Press Enter to add the above repository6. type and run: sudo apt update7. type and run: sudo apt install python3.7 You now have Python 3.7 installed

  • Linux,  Ubuntu

    How to install “Brackets” in Ubuntu 15.10 – Get around Dependency is not satisfiable: libgcrypt11 >=1.4.5 error

    In this post I will show you how to install Brackets , an open source code editor from Adobe and how to get around the dependecy error (Dependency is not satisfiable: libgcrypt11 >=1.4.5) if it pops up when you try to install Brackets. I’m using Brackets as part of a web development course and really like it. Installing is quite easy as per below: Open your browser and go to the Brackets Website. Click on Download Brackets without Extract to download the deb package file. Browse to the downloaded deb package file and double click it. This action will open the Ubuntu Software Center. Brackets should install and you you will be…

  • Linux,  Ubuntu,  Ubuntu Gnome 15.04

    How to install HP printer/scanner in Ubuntu 15.04

    I had to install my HP OfficeJet in Ubuntu 15.04. I need it to scan and print using the printer’s wireless function and to do that you need to install HPLIP as per my below video. The articles I used are: and ( I had to run sudo hp-install -i to setup the printer as I received GUI errors and was not in the mood to find out why)  

  • Linux,  Ubuntu,  Ubuntu Gnome 15.04,  Windows,  Windows 7,  Windows 8,  Windows 8.1

    How to access a Bitlocker encrypted Windows disk using Ubuntu 15.04

    Today has been one of those days where you think to yourself. “Self, you should have backed up your data more often!” My work laptop running Windows 8.1 decided to commit suicide. The laptop froze up and when I rebooted I received an error stating that werkernel.sys is missing and it won’t boot in to Windows. I took the laptop in and IT tried recovering Windows but could not get it repaired. The problem is that we use Bitlocker which meant it would be a challenge to just boot up with a Live Linux Distro and copy off my needed data. After a few hours I managed to access my…

  • Linux,  Ubuntu,  Ubuntu Gnome 15.04

    How to install PyCharm on Ubuntu Gnome 15.04

    A video showing you how to install PyCharm in Ubuntu 15.04. 1. First you need to install Java 2. Then download and run PyCharm as per below instructions 1. Open your Terminal and type: sudo apt-get purge openjdk* (This will get rid of older versions) 2. Add the repository. In terminal type: sudo add-apt-repository ppa:webup8team/java 3. Update cache by typing this in terminal: sudo -apt-get update 4. Install Java by running this in terminal: sudo apt-get install oracle-jave8-installer 5. Download PyCharm from 6. Extract the downloaded file: tar -xf pycharm-community-versionnumber.tar.gz 7. cd to the folder name you extracted 8. cd to the PyCharm folder/bin 9. From within the BIN…