- 2 GB of RAM
- 2 GB of swap
- 2 processor cores
With 2 GB of memory and dual cores, you can run two instances of the thin server (NUM_WEBS=2), and easily host anything but the largest of forums.
| /* Delete revisions */ | |
| DELETE FROM wp_posts WHERE post_type = "revision"; | |
| /* Only use this if you no longer care about any of your current revisions! */ | |
| /* Delete trashed posts */ | |
| DELETE FROM wp_posts WHERE post_type = "trash"; | |
| /* Delete Unapproved comments */ | |
| DELETE FROM wp_comments WHERE comment_approved = "0"; | |
| /* Only use this if you no longer care about the current queue of unapproved comments! */ |
feed.xml
---
layout: nil
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"Update System
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git
| <?php | |
| if( $wp_query->current_post == 0 && !is_paged() ) { | |
| post_class('first-post'); | |
| } else { | |
| post_class(); | |
| } | |
| ?> | |