And we are back

The first two weeks back after Christmas holidays have in all honesty been the most stressful we’ve had so far. Dave asked us in viva one if we expect any problems, I of course naively said no. The first few days back weren’t a problem we got the LINUX server working initially without a problem. So with the stack working  we had a few extras we need to install. SSH was just the first we need but the install for some reason wiped var/www after examining the logs and looking at the steps we took to reproduce this error, I believe now what happened was in the process of installing HTML 5 browser from the beta channel for raspbain I also installed a beta version of SSH which was volatile and wiped the system.

This was the first time that the machine was wiped in the last two weeks, the second time was more of a joint mistake and a rather stupid one at that in the process of updating the pie we… Uninstalled the USB drivers which is one can imagine, kind leaves the device useless since the only input method is USB. The cause of this incident like I said was a stupid one, in the process of upgrading the pi it hung and after leaving it for 20 so minutes we decided to unplug it this led to the stated error.

After these issues we began to panic and the next series of issues came from our panic stricken selves whom were now racing against the clock and overlooking simple steps that we hadn’t missed before. Every issue the came after this was predominantly because we overlook something befitting a pretty URLs, missing a config file or forgetting to set up default users. Once we calmed down we got everything set up in working order again. With the exception of cake, went to gain multiple times for help with this unfortunately the first few times the pie was cooperating, but once the pie was in working order Gaynor and Mike very quickly shows where we done wrong with cake.

We now have a fully operating pie with linux, our NGINX stack, SSH, Wi-Fi broadcasting and ethernet bridging. to say the least the past two weeks have been a learning experience below is a list of all the websites and tutorials there were used to help set up the pie and configure the software.

It should be noted that now we have a backup solution the pie using – DD and file versioning system for var/www. Obviously this has been done in case of future screw ups we can easily restore previous place.

http://www.ducky-pond.com/posts/2013/Sep/setup-a-web-server-on-rpi/

http://book.cakephp.org/2.0/en/installation.html

http://askubuntu.com/questions/9357/how-to-set-up-php-with-nginx-apc-and-postgresql

http://c-mobberley.com/wordpress/index.php/2013/10/18/raspberry-pi-installation-of-postgresql-its-simple/ https://www.digitalocean.com/community/articles/how-to-install-and-use-phppgadmin-on-ubuntu-12-04

http://askubuntu.com/questions/176964/permanently-removing-apache2

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=46&t=25921

http://sirlagz.net/2012/08/09/how-to-use-the-raspberry-pi-as-a-wireless-access-pointrouter-part-1/ http://sirlagz.net/2012/08/10/how-to-use-the-raspberry-pi-as-a-wireless-access-pointrouter-part-2/ http://askubuntu.com/questions/342076/step-by-step-ubuntu-12-04-install-of-realtek-rtl8188ce-driver

http://ubuntuforums.org/showthread.php?t=1396862 https://www.youtube.com/watch?v=ZSS5dEeMX64 http://nims11.wordpress.com/2012/04/27/hostapd-the-linux-way-to-create-virtual-wifi-access-point/ http://www.raspberrypi.org/archives/5535

http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/

http://nims11.wordpress.com/2012/04/27/hostapd-the-linux-way-to-create-virtual-wifi-access-point/ http://ubuntuforums.org/showthread.php?t=1396862

http://askubuntu.com/questions/342076/step-by-step-ubuntu-12-04-install-of-realtek-rtl8188ce-driver http://sirlagz.net/2012/08/11/how-to-use-the-raspberry-pi-as-a-wireless-access-pointrouter-part-3/ http://www.daveconroy.com/turn-your-raspberry-pi-into-a-wifi-hotspot-with-edimax-nano-usb-ew-7811un-rtl8188cus-chipset/

http://sirlagz.net/2012/08/09/how-to-use-the-raspberry-pi-as-a-wireless-access-pointrouter-part-1/ http://www.raspberrypi.org/phpBB3/viewtopic.php?f=46&t=25921

http://www.php.net/manual/en/pgsql.examples-basic.php

http://www.raspberrypi.org/phpBB3/viewtopic.php?t=50754

http://www.php.net/manual/en/pgsql.examples-basic.php

http://www.postgresql.org/docs/9.3/static/tutorial-select.html

http://book.cakephp.org/2.0/en/models/datasources.html

http://book.cakephp.org/2.0/en/development/configuration.html

http://book.cakephp.org/2.0/en/appendices/glossary.html#term-plugin-syntax

http://book.cakephp.org/2.0/en/core-libraries/logging.html#writing-to-logs

https://stackoverflow.com/questions/20978457/trying-to-get-this-query-to-run-and-i-am-having-no-luck/20979219?noredirect=1#20979219

https://groups.google.com/forum/#!topic/cake-php/f5aZP6M0SaA

http://book.cakephp.org/2.0/en/models/datasources.html#an-example

http://book.cakephp.org/2.0/en/views/themes.html

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s