This tutorial by userwill show us how to get WordPress set up on FreeBSD 11.0 along with Apache, PHP, and MySQL. Follow the link below for the entire set of instructions.
WordPress is a free and open source content management system written on PHP and MySQL which powers most of the websites running in the web now a days. WordPress powers more than 26.4% of the top 10 million websites as of April 2016, supporting more than 60 million websites on the web. It is developed and maintained by the WordPress Foundation and is released under GNU GPLv2 or later. Running websites and blogs on WordPress is very easy task which doesn’t require expertise in programming. FreeBSD is a free and open source Unix-like operating system derived from Research Unix via the Berkeley Software Distribution (BSD). It is similar to Linux but with two major differences in scope and licensing ie FreeBSD develops and maintains a complete operating system ie from kernel, device drivers to the userland utilities and is released under a permissive BSD license which opposes the copyleft GPL used by Linux. It is widely used across desktop, workstation, server and embedded systems. The latest stable release of FreeBSD 11 was released yesterday. Here, we’ll install WordPress on the latest FreeBSD 11 with a complete FAMP Stack ie FreeBSD with Apache as web server, MySQL for database system and PHP modules.
1) Installing Apache Web Server
To install Apache web server on FreeBSD, we can use its default package manager ie pkg which allows us to install the Apache web server from the official FreeBSD package repository. To install apache using pkg, we’ll need to run the following command.
% sudo pkg install apache24