Inexpensive stage LAMP server with Raspberry Pi3 and Ubuntu Server

Have you ever been in the position of asking your self  “How much shall I spend for a development server?”, “Shall I get an inexpensive shared host?” , “Will it be enough for my needs?”, “Perhaps i should upgrade”… well ask no more.

If you don’t expect much traffic, and you are on a tight budget, or simply you want to make more practice in maintaining a web server, why not going for a home made web server.

Raspberry Pi now i quite performing for a stage environment, and very very inexpensive. As a test we have got  the Raspberry Pi 3 Official Starter Kit White con Alimentatore Ufficiale, Case Ufficiale, Cavo HDMI, Dissipatori e MicroSD Ufficiale 16GB con NOOBS it looks good and has all you need to store it nicely near your router/switch.

Having a Raspberry Pi without a proper SD would be useles, so we have bought also a Samsung EVO Scheda MicroSDHC da 64 GB, Class 10, Nero/Antracite to give us plenty of space for all our projects.

Assembled all together,  we just needed to install the right software, we decided to go for the Ubuntu Server Standard 16.04 built for our little fuity firend, you can download it here.

To build the image, we have been using Etcher, it is a cross platform software, pretty easy to use.

Once the SD is ready, insert it in the Raspberry pi, attach a keyboard and a monitor, and you are ready for the setup.

The default user/password is normally ubuntu/ubuntu, we highly recommend to change username and password as soon as you have it connected on the net.

To install a LAMP server, you can follow the guide that Digital Ocean posted on their site.

One you have your server up and running, you will have  to configure your system to use a static IP address assignment, add the static method to the inet address family statement for the appropriate interface in the file /etc/network/interfaces. The example below assumes you are configuring your first Ethernet interface identified as eth0. Change the address, netmask, and gateway values to meet the requirements of your network.

auto eth0
iface eth0 inet static
address 192.168.1.xx
netmask 255.255.255.0
gateway 192.168.1.1

We assume you have a static ip address assigned to your office connection, so last step is to make sure your router/switch will forward all the http traffic to the 192.168.1.xx ip and you are ready to go.

An home made LAMP server for staging development.

Inexpensive stage LAMP server with Raspberry Pi3 and Ubuntu Server 2017-02-09T10:08:33+00:00 Soipo

Comments are closed.

%d bloggers like this: