Skip to content

Ubuntu - restart wifi connection without rebooting

Restarting a wifi connection without rebooting

I have a Mythbuntu box who's only connection to the outside world is through a wi-fi connection. It can be frustrating when the connection drops out at a critical time - during an upgrade to the next LTS release for instance. Here are some things to try to reset the connection.

 

Continue reading "Ubuntu - restart wifi connection without rebooting"

Backup your web server with rsync, mysqldump and tar

In this article I will demonstrate one way to backup up a Debian based web server, together with MySQL databases.

The concepts shown here should easily adapt to work on most Linux distributions.

The tools we will use include rsync, mysqldump and tar.

Continue reading "Backup your web server with rsync, mysqldump and tar"

Building Ogre3D with Microsoft Visual C++ 14.0 (Visual Studio Community 2015)

Today we will build Ogre3D graphics rendering engine (http://www.ogre3d.org/) using Microsoft Visual C++ 14.0 compiler (Visual Studio Community 2015).

Building Ogre can take some time and things don't always go smoothly, which is why I decided to document the entire process. I will follow the basic process as documented in the official guides:

Just be aware that I may be using a slightly different directory structure within my build. Substitute my paths for yours where applicable.

The latest stable release is 1.9 and has been around for a long time, so it should build without too much trouble.

Continue reading "Building Ogre3D with Microsoft Visual C++ 14.0 (Visual Studio Community 2015)"

Setting up a LAMP server (Linux + Apache + MySQL + PHP)

Linux + Apache + MySQL + PHP

Probably the most common installation of web server, at least for a Linux system, is Linux, Apache, MySQL and PHP. Also possible on a Windows system, in which case it would be known as WAMP. I will cover setting up the former here.

I assume you already have a working Debian based Linux distribution. If not then I highly recommend Debian, or for Raspberry Pi users, Raspbian.

Continue reading "Setting up a LAMP server (Linux + Apache + MySQL + PHP)"

Building Boost C++ libraries with Microsoft Visual C++ 14.0 (Visual Studio Community 2015)

Today we will build Boost C++ libraries (http://www.boost.org/) using Microsoft Visual C++ 14.0 compiler (Visual Studio Community 2015).

We will build both 32 bit and 64 bit binaries.

Download and extract files

Download the latest release (at this time Boost 1.59.0 hosted on SourceForge) http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.zip/download

Extract the files to a directory of your choice; I use /lib_source/

I like to keep my third party libraries separate from my own projects. I copy the final compiled binary files to a separate location, depending on the compiler used. For MSVC 2015 the folder is /lib_msvc14 (for MinGW it might be /lib_mingw47). You get the idea.

Continue reading "Building Boost C++ libraries with Microsoft Visual C++ 14.0 (Visual Studio Community 2015)"