Author: sotech

  • Asus motherboard BIOS update error: CAP file not recognised EFI bios!

      If you see the above error – and you’re selecting what you’re sure is the proper CAP file – chances are you’re trying to use a USB disk formatted to NTFS rather than FAT32. Frustratingly, the error message for a corrupt/non-CAP file is the same as the error message you get when you’re trying…

  • How to change a user’s password in Mediawiki

    If you have a wiki you may need to change a user’s password from time to time; you can do this from the back end quite easily. First, access mysql:   mysql -u root -p   Log in using your root password. Next, list your databases:   show databases;   On our test system this…

  • esxcli: Update/patch produces “Could not download from depot” error

    In ESXi 5.1 you can patch using the following command:   esxcli software vib install -d /path/to/patch.zip   If you’re getting the following result (using ESXi510-20121001.zip as an example):    [MetadataDownloadError] Could not download from depot at zip:/var/log/vmware/ESXi510-201210001.zip?index.xml, skipping ((‘zip:/var/log/vmware/ESXi510-201210001.zip?index.xml’, ”, “Error extracting index.xml from /var/log/vmware/ESXi510-201210001.zip: [Errno 2] No such file or directory: ‘/var/log/vmware/ESXi510-201210001.zip’”)) url…

  • Ubuntu: How to create a file or folder using today’s date

    Ubuntu: How to create a file or folder using today’s date

    This is a useful little trick to use in your scripts – particularly for things like periodic backups.   For a file:   touch $(date +%F)   creates the file 2012-11-18   For a folder, let’s add the time after the date:   mkdir $(date +%F-%H:%M)   creates the folder 2012-11-18-09:00   We can use…

  • How To: Export all mysql databases for backup

    This is a handy command for anyone using multiple mysql databases – it produces a single file which you can easily back up to elsewhere.   mysqldump -u root -p –all-databases > databasesBackup.sql   Note the two hyphens before “all”. This command creates the file databasesBackup.sql which contains the contents of all of your databases.…

  • Error Code 60 on an Asus Z9PE-D16

      Today a customer’s Asus Z9PE-D16 wouldn’t boot and displayed the debug code 60 – in this case the problem was that the RAM sticks (8 total, 4 for each CPU) were in the black slots rather than the blue slots. Swapping them across resulted in a boot straight away.   Hope that helps someone!

  • Intel E3-1245 V2 vs. Intel E3-1275 V2

    We were asked to spec a customer build the other day who was torn between the above two processors. Here’s our thoughts on them.   E3-1245V2: Quad core, 8-thread, 3.4GHz -> 3.8GHz Turbo E3-1275V2: Quad core, 8-thread, 3.5GHz -> 3.9GHz Turbo   All other specifications are equal apart from the 100MHz clockspeed difference. At this…

  • Folding@Home: How to check your progress

    Once you start folding you will want to check on your contribution and see how you’re faring compared to other volunteers – one of the most popular ways of checking your stats is through the Extreme Overclocking website:   http://folding.extremeoverclocking.com/   On the left-hand side you can see a name search field; put your username…

  • What is Folding @ Home?

    Do you leave your computer on 24/7? Want to contribute to research into how diseases like Parkinsons, Huntingtons and some types of cancer occur?   Folding @ Home is a distributed computing project which uses people’s spare computer cycles to study the way proteins form in an attempt to understand how that process goes wrong,…

  • ZFS: How to change the compression level

    ZFS: How to change the compression level

    By default ZFS uses the lzjb compression algorithm; you can select others when setting compression on a ZFS folder. To try another one do the following:   sudo zfs set compression=gzip [zfs dataset]   This changes the compression algorithm to gzip. By default this sets it to gzip-6 compression; we can actually specify what level…