LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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

My SQLite powered CMS is running on Raspberry Web Server

Posted 01-20-2014 at 03:59 AM by Pyplate
Tags cms, python, sqlite

I've spent the last month and a half re-writing my CMS to include an SQLite database, and I've made a lot of progress with the backend. I've done a lot of testing and it seems pretty stable. The new version is now running on Raspberry Web Server.

I've updated the theme as well, so press shift F5 if you're still seeing the old theme.

I've also been setting up a new web site dedicated to the CMS. The server's up and running, and I've sketched out the structure of...
LQ Newbie
Posted in Uncategorized
Views 415 Comments 0 Pyplate is offline
Old

My Python CMS now supports SQLite

Posted 01-11-2014 at 11:33 PM by Pyplate
Updated 01-11-2014 at 11:35 PM by Pyplate
Tags cms, python, sqlite

I've taken a break from working on my Raspberry Pi site because I've been spending time developing the Python CMS that I wrote to power the site. Meta data about each post is now stored in an SQLite database. The content is still stored in files separate from the database.

I've also extended the backend to include a UI a little bit like Wordpress. It's now possible to upload themes and switch to them in the admin area. The admin area now has pages for managing the cache, adding...
LQ Newbie
Posted in Uncategorized
Views 448 Comments 0 Pyplate is offline
Old

Nginx and uWSGI on a Raspberry Pi

Posted 11-15-2013 at 12:00 PM by Pyplate

I've set up Nginx and uWSGI on a Raspberry Pi. Nginx only serves static files, so uWSGI is needed to handle CGI scripts. It's slightly more complex to set up than Apache, but works just as well.

I did a comparison of Nginx and Apache. Unsurprisingly, Nginx was faster at serving static files.

Once I've worked out how to manage expires headers I can move my cluster over to Nginx. At the moment I can serve html files with an expires header, but when I try it with...
LQ Newbie
Posted in Uncategorized
Views 668 Comments 0 Pyplate is offline
Old

Extending my Raspberry Pi server cluster

Posted 10-23-2013 at 12:36 PM by Pyplate

I've added another 4 nodes to my Raspberry Pi server cluster. I posted links to my site on Reddit and some other social networking sites. I'm hoping to get a large hit of traffic so that I can see how my server performs.

In the past my server has handled 2800 visits in one day. I'm hoping to break that record soon, and hopefully without my server slowing down too much.
LQ Newbie
Posted in Uncategorized
Views 444 Comments 0 Pyplate is offline
Old

Testing my Odroid in my server cluster

Posted 10-23-2013 at 07:10 AM by Pyplate

After adding my Odroid U2 to my cluster, I ran tests using siege on the front end of the cluster. There was an increase in performance, but it wasn't the increase I was hoping for. I logged into some of the Pi nodes using ssh and ran uptime to check the load. The Pi nodes weren't working particularly hard, and neither was the Odroid. I logged into the load balancer and checked the uptime and memory usage:
Code:
$ uptime
 13:30:04 up 1 day,  5:20,  1 user,  load average: 9.27, 3.52, 1.33
...
LQ Newbie
Posted in Uncategorized
Views 601 Comments 0 Pyplate is offline

  



All times are GMT -5. The time now is 03:10 AM.

Main Menu
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