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)"
There are a few simple steps I consider important to securing a new Raspbian installation:
Continue reading "Securing Raspbian"
- Remove the default pi user
- Prevent root login
- Use ssh key-pair authentication
If your Raspbian image came pre-installled with X.org and GUI components you may want to remove them to free up some space on your partition. It's quite easy to do and highlights some useful commands:
Continue reading "Remove GUI from Raspbian"
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)"