TagUbuntu

How To Install Monica – Personal Relationship Manager – On Ubuntu 16.04

Monica is a web app for managing your personal connections. The official website for the project describes it this way:

Monica helps you have more meaningful relationships.

Monica is a simple, open source, personal CRM. For your personal life, not your business.

The project looks very interesting, and it sparked a ton of interest on is official GitHub page. That’s right, because Monica, besides offering a hosted version (both with a free and a paid tier) also decided to make the code completely open source so you can install it and download it on your own server (which is something that is definitely going to be appreciated by a lot of folks, looking at the intrinsically personal data that Monica will store).

Unfortunately, at the time of writing this article, the instructions to install the app on your own server are either outdated or incomplete, making the installation process not very simple (also considering all the tools necessary to get it up and running). This article seeks to solve this issue with some step-by-step instructions.

Continue reading

How To Fix FusionInvoice Errors When Displaying a PDF

I am a big fan of the FusionInvoice project. I have been using InvoicePlane for a while but moved to FusionInvoice mainly for the multi-currency support and for the continued updates. Support is also extremely reactive and helpful, which for me is super important. The expenses feature is also proving to be very useful, so I am overall very satisfied with it.

Installation is really smooth and the documentation is on point, with the exception of a little hiccup right after you go through it. After installing FusionInvoice and creating an invoice, clicking on the PDF button to export the invoice as PDF would result in the web server throwing an error.

Continue reading

If npm install Gets Killed On Your Ghost Installation

When you perform an upgrade of your Ghost installation, you might run into a little issue towards the end of the upgrade process, specifically when you run this command:

npm install --production

This step might end abruptly with no explanation whatsoever on what is going on. On my machine, this is what happened:

root@hostname:/var/www/ghost# npm install --production
extract → gunzTarPerm ▌ ╢██████████████████████████████████░░░░░░░░░░░░░░░╟
Killed
root@hostname:/var/www/ghost# npm install --production
cloneCurrentTree → attemp ▀ ╢████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
Killed

As you can see, even attempting to run the command again didn’t help. After a little bit of digging around, I found out that this is a RAM issue.

Continue reading

How To Check What BIND DNS Version You Are Running

Even though the service name when you run a BIND DNS server is bind9, this will only work with start, stop, restart and similar commands.

If you want to check what version of BIND DNS you are currently running on your Linux server, you need to use this:

/usr/sbin/named -v

How To Install The Nylas Sync Engine On Bare Metal (Ubuntu Server)

After explaining how to build the Nylas N1 email client in my previous post, it’s not time to configure the Sync Engine itself. But before delving into this, a little introduction is in order.

Hosted or self-hosted?

There are two ways to use Nylas:

  • Using their own servers (through a subscription)
  • Hosting the Sync Engine yourself

Continue reading

Mount: special device /dev/xvdd does not exist When Installing XenServer Tools on Linux

According to the Citrix documentation, the command to mount the XenServer tools ISO image on a Linux OS is this:

mount /dev/xvdd /mnt

But this does not work on CentOS or Ubuntu virtual machines, because these use a different naming convention for CD-ROM devices.

Mount XenServer Tools in CentOS

sudo mount /dev/cdrom1 /mnt

Mount XenServer Tools in CentOS 7

sudo mount /dev/sr0 /mnt

Mount XenServer Tools in Ubuntu

sudo mount /dev/cdrom /mnt

Install alltube, the GUI for youtube-dl, on Apache

Update 12/08/2016

Installation packages are now available from the GitHub page of alltube, which will make installing it much more straighforward. If you prefer installing from Git, then the process has also been simplified to use composer. The original post is below, with the instructions on how to configure this before these updates were released.

Original post

I have recently come across a very interesting project on GitHub: alltube. It’s essentially a Web GUI for the youtube-dl command which, as you can tell from its name, allows you to download videos from YouTube (audio-only download is also possible).

The instructions on the GitHub project page, however, are not very thorough, so this is a step-by-step guide on how to install alltube on Apache running on Ubuntu 12.04.

  1. Download the alltube project folder:
    wget https://github.com/Rudloff/alltube/archive/master.zip
  2. Unzip it:
    unzip master.zip
  3. Rename it to something like alltube:
    mv alltube-master alltube
  4. Change to this directory:
    cd alltube
  5. Download youtube-dl:
    wget https://yt-dl.org/downloads/latest/youtube-dl
  6. Make it executable:
    sudo chmod a+x /var/www/alltube/youtube-dl
  7. Install npm:
    curl -sL https://deb.nodesource.com/setup | sudo bash -
    sudo apt-get install -y nodejs
  8. Install all dependencies for the project:
    npm install
  9. Install grunt:
    npm install -g grunt-cli
  10. Run grunt:
    grunt
  11. Create your configuration file (the default looks good already):
    cp config.example.php config.php
  12. Install the necessary codecs and conversion tools:
    sudo apt-get install libavcodec-extra-53 rtmpdump
  13. Make www-data the owner of this folder:
    sudo chown -R www-data:www-data alltube

The result is pretty impressive (and yes, I have a thing for well-designed web apps):

alltube

A few resources that helped me through the installation (give credit where credit is due):

© 2018 Daniel's TechBlog

Theme by Anders NorénUp ↑

%d bloggers like this: