Archive

Archive for November, 2012

How to setup Bluetooth keyboard and mouse on the Raspberry PI

November 25, 2012 Leave a comment

Take a look at this handy guide on how to setup up a bluetooth keybaord and mouse on your Raspberry Pi

A step by step guide to setup a bluetooth keyboard and mouse on the Raspberry Pi

 

Categories: How To, Raspberry pi

Minecraft is coming to Raspberry Pi!

November 25, 2012 Leave a comment

Mojang will release a port of Minecraft: Pocket Edition called the Pi Edition for the tiny computer Raspberry Pi

See the link below for further information

http://www.mojang.com/2012/11/minecraft-is-coming-to-the-raspberry-pi/

Categories: Raspberry pi

How to Enable Concurrent Sessions in Windows 7

November 18, 2012 Leave a comment

Take a look at the following link to find out how to enable conurrent sessions in windows 7

Concurrent Sessions allows you to Remote Desktop into a system that someone else is on, under a different user account, and access the system without kicking the user off

http://www.missingremote.com/guide/how-enable-concurrent-sessions-windows-7-service-pack-1-rtm

And the software can be downloaded from the following link (correct as of 18th november 2012)

http://tinyurl.com/yfgyafe

Setting up your Raspberry pi as a Samba NAS server

November 18, 2012 2 comments

This will show you how to change your Raspberry pi in to a simple NAS server with USB storage

1) Establish a remote connection to your Raspberry pi

Raspberry pi – Access the CLI on pi remotely with putty

2) Mount your USB Drive to Raspberry pi using the following guide

How to mount a USB drive to your Raspberry Pi

3) Create a new user account call nobody

smbpasswd -an nobody

4) Modify the Mount location owner permissions  with the following command

sudo chown nobody (Mounted file i.e /srv/media)

sudo chmod 755 (Mounted file i.e /srv/media)

3) Install the Samba software on the Raspberry pi

sudo apt-get install samba

sudo apt-get install samba-common-bin

4) Now we need to edit the configuration file used by the Samba software by running the following command

sudo nano /etc/samba/smb.conf

Add the following to the smb.conf file

[Global]

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

Guest account = nobody

map to guest = bad user
——————————————————

[Share Definitions]

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

[Public]
comment = Public Shares
browsable = yes
path = /srv/media
public = yes
writable = yes
guest ok = yes”
——————————————————

 

5) Restart the Samba software which will load the new modified configuration file

sudo service samba restart

6) Test to see if you can access samba share from your another device such as windows XP

7) Now we need to set up the program which will auto-load the USB drive when we reboot the raspberry pi

sudo apt-get install autofs

8) Once installed you will to edit the autofs configuration file by running the following command

sudo nano /etc/auto.master

At the end of the file is the following

——————————————————
+auto.master
——————————————————

You need to add the following below the +auto.master entry

——————————————————
+auto.master
/media/ /etc/auto.ext-usb –timeout=10,defaults,user,exec,uid=1000
——————————————————

You have now setup a simple NAS server on your Raspberry pi with a USB drive storage

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

November 11, 2012 2 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

Turning your Raspberry pi into a wordpress server

November 4, 2012 26 comments

How to turn your Raspberry Pi into a wordpress server

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) Download and install wordpress software onto the raspberry pi

sudo wget http://wordpress.org/latest.tar.gz

sudo tar xzvf latest.tar.gz

sudo mkdir /var/www/wordpress

sudo cp -r ~/wordpress/* /var/www/wordpress

5) Configure Mysql for wordpress use

mysql -u root -p (leave blank and push enter)

(Enter the root MySQL password you setup in stage 3)

Create a database for wordpress to use ( database,user,password and privileges)

$ mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5340 to server version: 3.23.54

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> CREATE DATABASE wordpress;
Query OK, 1 row affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON wordpress.* TO 
"wordpress"@"localhost"IDENTIFIED BY "raspi";

Query OK, 0 rows affected (0.00 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)

mysql> EXIT
Bye
$

6) create a new wordpress configuration based on the sample:

sudo cp /var/www/wordpress/wp-config-sample.php /var/www/wordpress/wp-config.php

7) Edit the wordpress configuration file with the following command

sudo nano /var/www/wordpress/wp-config.php

You need to change the following entries (example below)

define('DB_NAME', 'wordpress');
/** MySQL database username */
define('DB_USER', 'wordpress');
/** MySQL database password */
define('DB_PASSWORD', 'raspi');

8) Change the file permisions on the wp-config file to read only

sudo chmod 444 /var/www/wordpress/wp-config.php

And then run the following command to reboot the raspberry pi

sudo reboot

9) Now open up a browser and head to the wordpress site and finalize the install. To do this, navigate from a browser on another machine on the local network, to the local address of the Raspberry Pi.

http://(Raspberry Pi)/wordpress

10) If all has gone well you will get the follwing screen as shown below

Successful install of wordpress software on the Raspberry pi

 Fill in the boxes with your site name and password scroll to the bottom of the page and click “install wordpress”

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

A single thirty-something 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: