LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

My SQLite powered CMS is running on Raspberry Web Server

Posted 01-20-2014 at 04: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 571 Comments 0 Pyplate is offline
Old

My Python CMS now supports SQLite

Posted 01-12-2014 at 12:33 AM by Pyplate
Updated 01-12-2014 at 12:35 AM 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 590 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

Working on a login system for my CMS

Posted 06-18-2013 at 03:07 PM by Pyplate
Updated 06-18-2013 at 03:08 PM by Pyplate (Fixed a typo)
Tags cms, cookies, python

I got the load balancer working pretty easily. The changes to apache2.conf are pretty straight forwards.

I'll do a detailed write up on that at some point, but in the mean time, here are two sites that have useful information on load balancing:
https://blogs.oracle.com/oswald/entr...balancing_with
http://www.rackspace.com/knowledge_c...comment-242370

I haven't put the load balancer in place yet because I'm not getting enough...
LQ Newbie
Posted in Uncategorized
Views 594 Comments 0 Pyplate is offline
Old

CIDR to Netmask conversion with Python (convert short netmask to long, dotted format)

Posted 09-03-2010 at 06:43 AM by bittner (Notes on Linux)
Updated 09-03-2010 at 11:20 AM by bittner

When you write scripts dealing with setting up or analyzing network interfaces you will eventually run into the task of converting a netmask from one format into another.

Typically, the setup of an ethernet TCP/IP network interface consists of an IP address, a netmask, and a broadcast address. Unfortunately for you as a novice, the two tools ifconfig and ip show the same (or similar) information in a different format.

Quote:
$ /sbin/ifconfig
eth0 Link
...
LQ Newbie
Posted in Uncategorized
Views 6194 Comments 0 bittner is offline

  



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