Installing Webmin

Submitted by erick on Sat, 08/19/2017 - 19:41

Installing Webmin

 

To install Webmin via apt-get you will have to add it to your repository:

sudo nano /etc/apt/sources.list

Go to the end and add this to the file:

deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

 

KVM: Importing an OVA appliance

Submitted by erick on Sat, 08/19/2017 - 19:40

KVM: Importing an OVA appliance

First of all, the .ova format is nothing more than a tar archive, containing an .ovf and a .vmdk files, respectively the VM configuration and disk.

So, you can simply extract the files:

tar xvf MyAppliance.ova

 

Convert the vmx (VM's settings) to xml (requires vmware2libvirt tool found in virt-goodies package)

MULTICOLOR SERIES - HIGHCHARTS MODULE

Submitted by erick on Sat, 08/19/2017 - 19:39

MULTICOLOR SERIES - HIGHCHARTS MODULE

Go to project page to see this module in action:http://blacklabel.github.io/multicolor_series/

REQUIREMENTS

  • Plugin requires the latest Highcharts (4+)

INSTALLATION

  • Like any other Highcharts module (e.g. exporting), add <script> tag pointing tomulticolor_series.js below Highcharts script tag.

  • For NPM users:

    var Highcharts = require('highcharts');

HowTo Install Redmine on subdirectory (sub-URI) on Apache

Submitted by erick on Sat, 08/19/2017 - 19:37

HowTo Install Redmine on subdirectory (sub-URI) on Apache

Your Issue

You are probably running ruby 1.9, rails 3, apache, passenger and you want to run redmine.
Unfortunately, it's not rails-3 ready, and passenger can only run one ruby version.
So you've got two choices.

  1. relying on host header (http://redmine.mydomain.com)
  2. sub-URI deployment (http://www.mydomain.com/redmine/)

This tutorial will focus on choice 2. Sub-URI deployment.

Finding all files containing a text string on Linux

Submitted by erick on Sat, 08/19/2017 - 19:37

Do the following

grep -rnw '/path/to/somewhere/' -e "pattern"

 

  • -r or -R is recursive,
  • -n is line number, and
  • -w stands match the whole word.
  • -l (lower-case L) can be added to just give the file name of matching files.
  • Along with these, --exclude or --include parameter could be used for efficient searching. Something like below:

    Error virtual machine monitor vmware 12 on ubuntu 16

    Submitted by erick on Sat, 08/19/2017 - 19:36

    I figured it out. I'll try to be detailed with exactly what I did. Things might be a bit different since I have VMWare Player, but they shouldn't be.

    Go to the folder

    cd /usr/lib/vmware/modules/source

    Untar the file vmmon.tar using (you might need su/sudo to do these)

    tar xf vmmon.tar

    Edit the file ./vmmon-only/linux/driver.c

    nano ./vmmon-only/linux/driver.c

    IBM watson Invalid API key error when attempting to use AlchemyAPI from Node.js

    Submitted by erick on Sat, 08/19/2017 - 19:34

    I just signed up for a free Bluemix account a few hours ago and activated the AlchemyAPI service. When I attempt to use the credentials provided through Bluemix in the sample AlchemyAPI Node.js script provided on Github I get the follow response:

    error: { error: 'invalid-api-key', code: 400 }

    Is anyone else having trouble with the AlchemyAPI currently? Do I need to do anything else to get this working properly?

    Thanks!