Up and running with Raspberry Pi B+ (Headless)

3 min read

How to install noobs v1.5.0 on your raspberry pi b+ and LAMP

First of all, download all the resource materials from the links.

Install the SD Formatter and insert the micro-sd card into the system choose the sd card drive in the sd-formatter and click on option choose format type to “full(erase)” format size adjustment to “Yes” and then click ok to format the sd-card

Open the downloaded Noobs_v1_5_0 zip file and extract all the contents to the root of the newly formatter sd-card

and then open the file “recovery.cmdline” in a text editor and then add “silentinstall” to the following line in the file it will look like this

BEFORE

runinstaller quiet ramdisk_size=32768 root=/dev/ram0 init=/init vt.cur_default=1 elevator=deadline

AFTER

runinstaller quiet ramdisk_size=32768 root=/dev/ram0 init=/init vt.cur_default=1 elevator=deadline silentinstall

save the file and safety remove the sd-card

insert it into the raspberry pi b+ and connect it with the usb cable to laptop/desktop.

your noobs will install automatically without any interfaces. during the installation the yellow led will blinks for the time splits it will hardly take 40 mins to install on the raspberry pi b+ when the installation completes only the red led indication will be available.

that time connect the lan cable to the raspberry pi to the router and connect your laptop/desktop to that router using lan/wifi check the availablity of raspberry pi b+ by checking the active client list on your router’s dashboard. your raspberry pi will be available with the name “raspberrypi” followed by ip-address note down the ip-address of the raspberrypi

now open putty put the ip-address of the raspberry pi b+, by default the port 22 will be available and then expand the ssh option in the left sidebar and choose X11 and then check the X11 forwarding option and click ok

you will asked to enter the username, by default “pi” and password “raspberry”

HOLA !

you are here at raspberry pi b+

now disconnect raspberry pi b+ from putty

And open Xming application It will be availabe in the system tray. No problem. now again connect with putty and open the terminal of raspberry pi b+ now type “lxsession”

YEAH. now you are in the GUI mode of the raspberry pi b+ Noobs now open root terminal and install LAMP

Install Raspberry PI as LAMP Server

COMMANDS

sudo apt-get install apache2 php5 libapache2-mod-php5
sudo apt-get install mysql-server mysql-client php5-mysql