Restart HomeBridge via SSH

Restarting HomeBridge can be sometimes handy when in testing mode. Here is the command to restart HomeBridge (to be used via SSH for example on your Linux system): The command will give no output, but HB should now be restarted.

 

Linux SSH update issue: Errno 12 and Errno 256 error message

Today I tried to update my Linux operating system via SSH using the command sudo yum update (sudo apt-get update may be working too, depending on the Linux distrubtion). Most updates worked fine, except for one, where I received this error: http://mirrors.ustc.edu.cn/centos/6/updates/x86_64/Packages/libssh2-1.4.2-3.el6_10.1.i686.rpm: [Errno 12] Timeout on http://mirrors.ustc.edu.cn/centos/6/updates/x86_64/Packages/libssh2-1.4.2-3.el6_10.1.i686.rpm: (28, ‘Operation too slow. Less than 1 bytes/sec Continue reading →

 

Guide: Update HomeBridge plugins

If you previously have been installing HomeBridge (let’s say, on a Raspberry Pi), you know it’s a neat little piece of software. Thanks to HB, many non-smart or non-HomeKit enabled devices can be controlled via your iPhone or iPad using the Home app. A community of developers has created HomeBridge – HomeKit support for the Continue reading →

 

Disable the Red and Green Lights on a Raspberry Pi

The Raspberry Pi has two LED light indicators: Green (the ‘action light’): to indicate the system is busy/working Red (the ‘power light’)’: to indicate the system is not getting enough power To stop the lights from blinking, you can execute the following commands on your Raspberry Pi (via SSH for example): Disable the green LED: Continue reading →

 

Guide: Installing HomeBridge on a Raspberry Pi

HomeBridge is a great open source software package (available on GitHub) which allows you to control non-HomeKit certified hardware (e.g. power outlets, camera’s, thermostats, ..). HomeBridge can be installed on virtually any piece of hardware, but in this tutorial I will specifically focus on installing the software on a Raspberry Pi (and more concretely the Continue reading →

 

Solve: “Stopping DirectAdmin: [FAILED]”

When you have made changes to the Direct Admin or you simply have to restart the DirectAdmin service, you can restart the DirectAdmin service manually. In my case, I was no longer able to connect to my server (by default, the server is accessible by going to serverip:2222 in your browser). Use one of these Continue reading →

 

Test your VPS server speed

A VPS can be bought for a cheap price these days and many hosting providers have various plans to choose from, ranging from a few hundred MB of RAM and a single core CPU, to virtual private servers with lots of RAM and speedy Gigabit connections. Mostly, a Linux server doesn’t need that much resources Continue reading →

 

phpMyAdmin – Error #1040 – Too many connections

You might encounter the error message: “phpMyAdmin – Error #1040 – Too many connections” when you work in the phpMyAdmin interface. This probably is something you don’t have to worry about that much. It is likely a temporary issue with your database and reloading the page should solve the issue. However, if this error is one Continue reading →

 

Custom welcome message at boot on CentOS

To edit or add a welcome message on CentOS (and this will probably work on other Linux distributions too), simply login to SSH first. Once logged in, edit the following file /etc/motd with vi, nano or any other editor you prefer. I like nano, so I’ll go with that. Here, you can customize the message or, Continue reading →