Skip to content
wordpress meta

title: 'htmly flat-file blog'
date: '2020-04-19T12:27:46-05:00'
status: publish
permalink: /htmly-flat-file-blog
author: admin
excerpt: ''
type: post
id: 1610
category:
    - Uncategorized
tag: []
post_format: []

Test Htmly on Ubuntu 19.10

```bash

apt install apache2 php php-zip php-xml

cat /etc/apache2/sites-available/000-default.conf

... ... DocumentRoot /var/www/html

<Directory "/var/www/html/">
      Options FollowSymLinks Indexes
      AllowOverride All
      Order Allow,Deny
      Allow from all
      DirectoryIndex index.php
</Directory>

...

systemctl enable apache2

systemctl start apache2

systemctl status apache2

cd /var/www/html

wget https://github.com/danpros/htmly/releases/latest

````

visit server http://localhost/installer.php and run through initial steps

```bash

cd /var/www

chown -R www-data html/

cd html/

ls -l backup/

total 5 -rw-r--r-- 1 www-data www-data 1773 Apr 19 12:07 htmly_2020-04-19-12-07-28.zip

tree content/

content/ ├── admin │   └── blog │   ├── general │   │   ├── draft │   │   └── post │   │   └── 2020-04-19-12-05-14_general_post-1.md │   └── uncategorized │   └── post └── data ├── category │   └── general.md └── tags.lang

9 directories, 3 files

cat content/admin/blog/general/post/2020-04-19-12-05-14_general_post-1.md

````