Raspberry Pi Setup - Occidentails

26 views
Skip to first unread message

Eric Patrick

unread,
Feb 5, 2013, 11:43:24 AM2/5/13
to agi-hardw...@googlegroups.com
So you got your pi? Lets set it up

Before we start, make sure you have the following:
1. Raspberry Pi (duh)
2. Micro USB for power
3. Wireless or Wired Ethernet hooked up
4. Keyboard (and mouse if wanted)
5. HDMI cable or connection to a monitor

1. To Start we need to get the image of Occidentails, click below on the link to get the Zip file:

2. After this has downloaded then extract the image

3. Next download the ARM Installer

4. After this has downloaded then extract the contents

5. Insert your SD card into the computer

6. Now, open the contents of the extracted ARM_Installer and right click the program and RUN AS ADMINISTRATOR <- Will not find the SD card unless you are Administator

7. Browse for the Occidentails image, and select your SD card and click install. Be patient, it takes a little bit.

8. Once finished, place the SD in the Pi and connect the monitor, power, and keyboard. The lights should start to flash and you should get a black screen with text loading on it.

9. The semi-gui/command screen will (should) pop up. If it does not, then run ' sudo raspi-config '

10. The promt will give you options for the board. Do the following:
  • Change the password
  • Enable SSH
  • (OPTIONAL) choose to boot to desktop mode on start up
  • Change Timezone
  • (OPTION) Update
11. After all is completed you can select Finish and run ' sudo reboot '. When this is done you dont need you monitor / keyboard anymore, just a network connection and power.

12. From putty, enter p...@raspberrypi.local (or the ip of the board), this will give you the terminal.  (you can also do any of this from the command line via the monitor)

Your Connected!!!!!! The next steps installs RDP for the desktop interface and tomcat server. If you want to do the RDP, i suggest enableing the desktop on boot-up

1. On the terminal run ' sudo apt-get install xrdp '
2. Find the ip of the board you are using ( ' ipconfig eth0 | grep inet | cut -c21-30 ')
3. From windows, start the Remote Desktop Client and enter the IP of the board. It will promt for a username and password (Defaut is Username: pi Password: raspberry) OR YOUR CHANGED PASSWORD
4. Your all set !!!! No more need for the monitor or keyboard

Tomcat Install
1. Make sure your SSH is installed and set-up above
2. On the terminal run ' sudo apt-get- install openjdk-6-jdk '
3. Once completed run ' sudo apt-get install vim ' 
4. Clean up temp files run ' sudp apt-get clean '
6. After downlonaded run ' tar xzf apache-tomcat-7.0.35.tar.gz ' 
7. ' cd apache-tomcat-7.0.35/conf ' <- move into the conf directory of tomcat
8. We need to modify the users of tomcat, run ' vim tomcat-users.xml '
9. Add this right below <tomcat-users>
  • <user username="system" password="raspberry" roles="manager-gui"/>
10. Start Tomcat, go to the bin ' cd ../bin '
11. Run ' sudo sh startup.sh '
12. Go to your IP:8080 ex. 192.168.1.3:8080
13. Shutdown by running ' sudo sh shutdown.sh '


Eric Patrick

unread,
Feb 5, 2013, 12:27:12 PM2/5/13
to agi-hardw...@googlegroups.com
Sorry typo on this  ' sudo apt-get install openjdk-6-jdk  ' Remove the extra - after get

Mark Ryan

unread,
Feb 6, 2013, 1:11:51 AM2/6/13
to agi-hardw...@googlegroups.com
It should be noted that Occidentals came from the amazingly super-awesome debian port called Raspbian that is becoming the standard OS for the PI (it is the OS mentioned at http://www.raspberrypi.org/downloads). 

On a Mac I did a normal image install to the SD using the "dd if=... of=.." command of the image that will seem VERY familiar if you've ever tried to make a live usb of linux. I used this instead of using the Fedora installer.
Reply all
Reply to author
Forward
0 new messages