Lightweight blogging with PivotX
Introduction
PivotX is the next generation of the now
defunct, self-hosted Pivot. Unlike its
predecessor, PivotX can save data into either flat files or MySQL.
Setup
- On the web server, using MySQL, create a database and an admin user
- mysql> CREATE DATABASE pivotx;
- mysql> CREATE USER 'pivotxadmin'@'localhost' IDENTIFIED BY 'test';
- mysql> GRANT ALL PRIVILEGES ON pivotx.* TO 'pivotxadmin'@'localhost'
WITH GRANT OPTION;
- mysql> SHOW GRANTS FOR 'pivotxadmin'@'localhost';
- mysql> EXIT
- # mysql -u pivotxadmin -p
- mysql> EXIT
- cd /var
- wget -c http://pivotx.net/files/pivotx_latest.zip -O pivotx_latest.zip
- unzip -d ./www pivotx_latest.zip
- chmod ./www/images/
- chmod ./www/pivotx/templates/ (templates_internal)
- chmod ./www/pivotx/db/
- http://srv/
- Set a username/password
Post-setup Customizing
Get rid of the right-hand column (Tag Cloud, etc.)
Disable comments
Administration
http://srv/pivotx/
Data backup/restore
Security
Q&A
Keeping URL's clean?
http://192.168.0.8:8787/pivotx/?e=1
Preventing SPAM and trolls?
Entry vs. Page?
Page = static stuff. Entry = dynamically built from DB.
Categories?
Site vs. Weblog?
No French UI for users?
Is Cache ready for production?
If not, another way to generate static HTML to avoid calling PHP/MySQL for
every read?
Resources