How to Wake on LAN supported host over the network using Linux

How to Start/Wake on LAN hosts remotely over the network using Linux

Many PC’s today support a “Wake on LAN” feature which allows you to start your PC/Server remotely over the network. The feature must be supported by the hardware of the PC you wish to wake remotely. The tool to be used to wake up your host remotely is etherwake. Installation is simple:

DEBIAN/UBUNTU
# apt-get install etherwake

Read more

Joomla content management system Docker image deployment and usage

About

The automated build docker Joomla content management system (CMS) image “linuxconfig/joomla” can be used to instantly deploy Joomla CMS on your docker hosts.

Configuration

The Joomla CMS application runs on Debian GNU/Linux system featuring Apache web server, MariaDB ( MySQL ), database and PHP5. A new docker container based on “linuxconfig/joomla” will expose port 80 which can be linked to the docker host port for an immediate Joomla web site access and configuration.

Configured MySQL users:passwords:

  • root:”empty password”
  • admin:”pass”

Configured MySQL databases:

  • joomla

Exposed ports:

  • 80

Deployment

Below command will download and create a new docker container called joomla and link local host system port 80 with container’s exposed port 80.

# docker run -d --name=joomla -p 80:80 linuxconfig/joomla

Read more

Introduction to Computer Vision with the OpenCV Library on Linux

Abstract

The purpose of this document is to help a reader to get started with Computer Vision library OpenCV on Linux system. OpencCV is a multi-platform library, but this article will be focused only on OpenCV using Linux operating system ( although, just the installation of the OpenCV library and video camera is platform-specific, all examples in this article should compile on any platform where OpenCV is properly installed such as Mac OS, MS Windows and etc.). Reader will be guided through a step-by-step guide on how to install and use some of the basic functions of OpenCV library such as displaying images, playing a video or using a video camera to process a video input stream.

Conventions used in this article:

  • $ – execution on the command line by a non-privileged user
  • # – execution on the command line by a superuser
  • the actual command to be executed on the command line or code of program to be compiled
  • OUTPUT: output produced on the command line by command execution
  • NOTE: general notes and additional information

Introduction

In simple words a Computer Vision is a scientific field which attempts to provide a sight to the machine. This scientific field has expanded rapidly in recent years. Among researchers this growth is because of many improvements of vision algorithms and among the computer vision hobbyists this is due to the cheaper hardware components and processing power. OpenCV library plays a great role in the Computer Vision field as it helps greatly to reduce cost and preparation time of computer vision research environment needed by university students, hobbyists and professionals. OpenCV also provides a simple to use functions to get the work done in a simple, effective and elegant manner. OpenCV was started by Intel, and later it was transformed to an open source project now available on SourceForge.net. OpenCV library has multi-platform availability, and it is partially written in C++ and C language. Despite the fact that this library is available on many Linux distributions from its relevant package repositories, in this article we will attempt to install and use OpenCV library compiled from a source code downloaded from SourceForge.net web site.

The reasons for compiling a source code may include:

  • new version 2.0.0 recently released and more features available
  • some bugs fixed which affected Linux OpenCV 1.0.0 versions ( such as cvGetCaptureProperty() etc. )
  • more support is available for OpenCV 2.0.0 version than for former 1.0.0 version

This article will start with installation of OpenCV on Debian 5.0 ( Lenny ). Later a reader will be guided through a number of examples on how to use OpenCV to display an image, play a video and use camera to capture the video input stream.

Read more