Home > Handy Software, How To, Raspberry pi, Technology > How to setup a raspcontrol web control centre for your Raspberry pi

How to setup a raspcontrol web control centre for your Raspberry pi

November 11, 2012 Leave a comment Go to comments

Raspcontrol is a small PHP application for providing a simple web interface for displaying information about Raspberry Pi.

How to install

1) How to change Raspberry pi default password

2) How to setup a webserver with PHP on Raspberry Pi

3) Adding Mysql to your Raspberry Pi webserver

4) You now need to install the git software on your raspberry pi with the following command

sudo apt-get install git

5) You may also have to update the PHP you installed eariler on your raspberry pi with the following command

sudo apt-get install php5-cli

6) Download the raspcontrol software on to your raspberry pi with the following command

git clone https://github.com/bioshox/raspcontrol.git

7) Navigate to the raspcontrol folder on your raspberry pi

8) Run the following command to allow ./setup.sh file to run with the folder

sudo chmod 0777 ./start.sh

9) Run nano on ./setup.sh to edit the file and change the port that raspcontrol uses as if you have followed the guides the php install screen is on port 80

nano ./start.sh

——————————————————

c#! /bin/sh

INIFILE=”$(pwd)/server/server.ini”
DOCROOT=”$(pwd)/app/”
ROUTER=”$(pwd)/server/router.php”
HOST=0.0.0.0
PORT=80 (change this to another port ie 8080)

PHP=$(which php)

if [ $? != 0 ] ; then
echo “Unable to find PHP”
exit 1
fi

$PHP -S $HOST:$PORT -c $INIFILE -t $DOCROOT $ROUTER
——————————————————

10) Move the raspcontrol folder to the following location /var/www

sudo mv raspcontrol /var/www

11) run the raspcontrol software with the following command

./start.sh

12) Go to the webinterface from another pc using the IP address on the raspberrypi and the port number you selected in the ./start.sh screen

13) If all has gone well you see the following screen, You will need to create a user name and password to proceed

14) login with the account you created in step13 and you will see the following screen

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

raspberrypicloud

The University of Glasgow's Raspberry Pi Project

Tech-o-rama

Your all round solution for tech problems (and some others things...like spelling errors)

thedomesticfringe.com/

telling stories - making memories

Raspberry Pi Kid

A 14-year old's adventures with Raspberry Pi

Naked Security

Computer Security News, Advice and Research

Grumpy IT Girl

I'm not a very good writer

Dustin Software

Because programming is fun!

Pinoy Tekkie

USER-FRIENDLY TECHNOLOGIES FOR THE PINOY NOOBIES

petRockBlog

Fun stuff for technics enthusiasts

I Kissed My Date Goodnight

Embarking on motherhood through the miracle of adoption.

projectz

Tech, Gadgets, Photography, Social Media and Poor Spelling

Programming My Rasberry Pi

A brave fool's adventures into the unknown!

Chris Ainger's Blog

Where Fishing Meets Computing

PIPAL

Information wants to be free

ITtechExec: Protecting Tech Careers Since 2001

Technical Career Advancement: Transformed. Guaranteed.

CRUNCHEDD

Entertainment, Technology, Social Media Updates from in Between the Web…

StartupTunes

An Exclusive Web 2.0 Startups Review Blog

The Life of Me

Just another IT blog

NJrajgelani

The Best Place for Deziners

%d bloggers like this: