LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



This blog is about the development of my various Linux based web sites, starting with raspberrywebserver.com, Banoffee Pi Server and Pyplate Python SQlite CMS.
Old

Testing Varnish Cache on an Odroid U2

Posted 10-22-2013 at 02:05 AM by Pyplate

I've fixed the issue with my Odroid freezing. The kernel update fixed that.

I also got Varnish to work. Most of the documentation I found for Varnish refers to an earlier version, but it seems that the latest version has changed a lot, in particular there have been a lot of changes to the Varnish Configuration Language. Fortunately the Varnish compiler gives excellent error messages which tell you how to fix the problems it encounters.

I often make changes to pages...
LQ Newbie
Posted in Uncategorized
Views 441 Comments 0 Pyplate is offline
Old

Tuning Odroid U2 headless server

Posted 10-19-2013 at 06:18 AM by Pyplate

I've been working on my Odroid U2. It has a quad core Cortex A9 ARM SoC running at 1.7GHz, and 2GB of RAM. I've set up Apache and installed a copy of my web site. I set up Varnish Cache and I'm running tests to see how much of a performance boost I'm getting.

I had some issues with the Odroid hanging every few hours. I installed a new kernel and so far it's been up for 18 hours. I'm using a 16GB class 4 micro SD card. I might try using a class 10 card to see if it performs...
LQ Newbie
Posted in Uncategorized
Views 620 Comments 0 Pyplate is offline
Old

On Site Optimization

Posted 10-16-2013 at 08:32 AM by Pyplate

I've written a post about site some of the techniques I used to optimize my Raspberry Pi site.

I've minified Javascript, re-arranged CSS, and adjusted the way Javascript files are loaded. Google Analytics shows a pretty good improvement in page load times. There's still a lot more optimization to do, but I think I've made a good start.

I'm also working on setting up an Odroid U2 as a high speed web cache. So far I've installed Xubuntu, got my site running in Apache...
LQ Newbie
Posted in Uncategorized
Views 423 Comments 0 Pyplate is offline
Old

Raspberry Pi temperature logger written in Python

Posted 09-24-2013 at 05:45 PM by Pyplate

I wrote a Python script to read temperatures from a DS18B20 and log the temperatures in an SQLite database. I used Google charts to display data from the database in a chart on a web page. You can see how I set this up here: http://raspberrywebserver.com/cgiscr...rature-logger/
LQ Newbie
Posted in Uncategorized
Views 878 Comments 0 Pyplate is offline
Old

Using SQLite on a Raspberry Pi

Posted 09-06-2013 at 08:54 AM by Pyplate

I've written an article on my site about using SQLite on a Raspberry Pi. I've only covered the bare essentials, but it's enough to get started.

I've used examples based on a database that could be used to log temperatures. I've already covered the use of a DS18B20 sensor, so I may as well build a temperature logging system.
LQ Newbie
Posted in Uncategorized
Views 793 Comments 0 Pyplate is offline

  



All times are GMT -5. The time now is 01:44 PM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration