LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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

Banana Pi MySQL and GlusterFS Clusters

Posted 10-04-2014 at 07:46 PM by Pyplate

I recently set up a Banana Pi MySQL cluster and a Banana Pi storage cluster using GlusterFS. Each cluster is built with four servers running Raspbian OS. The storage cluster has a hard disk connected to each node.

The MySQL cluster uses one node as a master, and the other three nodes are slaves. The first time I set up replication, I logged into each server via ssh and entered commands into the MySQL shell. I've been working on a script to automate the process. So far the...
LQ Newbie
Posted in Uncategorized
Views 170 Comments 0 Pyplate is offline
Old

MySQL with Pyplate on a Banana Pi cluster

Posted 09-02-2014 at 05:05 AM by Pyplate

I've modified the Pyplate CMS to use MySQL instead of SQLite, and some rough tests show that there's a significant improvement performance if the database is on a separate server than the web server. I haven't released this code yet, there's some more testing to do, and I need to make some changes to the install script.

I'm also working on setting up MySQL replication so that I can use a cluster of database servers with a cluster of web servers.

After that I plan to...
LQ Newbie
Posted in Uncategorized
Views 224 Comments 0 Pyplate is offline
Old

Banana Pi Cluster

Posted 08-01-2014 at 11:13 AM by Pyplate

A few days ago I launched a new site called Banoffee Pi Server. It's running on a cluster of four Banana Pi servers running Nginx. I built the site with Pyplate CMS, a Python CMS that I wrote myself.

I built the web site on one server, and I used rsync to connect to the other servers over ssh and synchronize them. Pyplate generates static pages when caching is enabled. On this site every page can be cached, so there's no need to synchronize the entire CMS and database, just the...
LQ Newbie
Posted in Uncategorized
Views 258 Comments 0 Pyplate is offline
Old

Pyplate now uses WSGI instead of CGI

Posted 07-10-2014 at 01:09 AM by Pyplate

I've updated Pyplate again. This time the UI hasn't changed much, but I've done a lot of work under the hood. I've added a bunch of fixes which should make Pyplate much more secure.

I've also switched moved away from CGI amd updated Pyplate to use WSGI. This has made a huge difference to the page load time of dynamic pages. Performance with static pages hasn't really changed.

There's now a simple web server supplied with Pyplate. It's a little slower than Nginx...
LQ Newbie
Posted in Uncategorized
Views 299 Comments 0 Pyplate is offline
Old

New beta version of Pyplate CMS

Posted 05-17-2014 at 01:08 PM by Pyplate

I've made a lot of improvements to Pyplate. New posts can now be saved to a drafts folder before they are published, and they can also be previewed while in the draft area.

I've added a page to the UI where you can export and import the database to XML files. This makes it easier to display the database in a human readable form. You can edit the XML files and re-import them to make changes to the database.

Pyplate now uses a comment template and a sharing template...
LQ Newbie
Posted in Uncategorized
Views 321 Comments 0 Pyplate is offline

  



All times are GMT -5. The time now is 10:39 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