Re: Static webpages with OpenBSD - success stories

2016-05-17 Thread Rick Hanson
On Tue, May 17, 2016 at 9:13 AM, Paolo Aglialoro  wrote:
> Hello,

Hi!

> yesterday I've been at an interesting presentation of pelican (it was a
> git+pelican+fabric gramework), in order to create static websites and I
> very much appreciated the topic. I had also recently had a look at jekill
> (which looks kinda promising), but discovered that there is a whole "world"
> of static site generators described at the page
> https://staticsitegenerators.net/ among which some look also interesting to
> me in case of customizations because just based on shell scripts and not on
> python/java/perl/etc in which I am not fluent: I am starting from the basic
> bashblog to more complex like rawk, baker, simsalabash.
>
> After a quick peek on openports I have seen pelican present, but couldn't
> identify more. On hugo webpage there's a package for OpenBSD
> https://github.com/spf13/hugo/releases
>
> Did you have success experiences with them or similar products on OpenBSD
> (e.g. octopress, jekyll, etc)? What would you advice to build a static site
> which should sport light but sexy template (e.g. scroll effects), multiple
> pages, pictures and some media links (like embedded youtube videos, for
> instance)? Use of googleforms would be a bonus.

I've had great success with this: https://github.com/nuex/zodiac.
It's on the list you mentioned.  You can build whatever you want on
top of it because it's so simple and hackable.

> Also, on source language: although being asciidoc present in OpenBSD,
> markdown seems at the moment the "industry standard". In ports, besides
> python version of markdown, I've found a really interesting C port of it,
> named "discount". Do you have had any previous experience with it and would
> you suggest it instead of plain python version?

Yes. I use discount with zodiac (mentioned above). It's great and has
a nice build system. You can build it out-of-the-box on OpenBSD (i.e.
no GNUisms).

> Thanks
>

Have fun!



Re: openbsd vs freebsd NAT performance

2016-04-17 Thread Rick Hanson
> hmm ... in the end i see two big "problems" of OpenBSD:
> a) SMP of network stack/pf.
> b) a modern file system like ZFS or Hammer.

Yay!  I just won a bet (from a friend of mine) that this was going to
turn into a troll.  Thanks for the confirmation, dude!  (My friend is
not happy with you, though. ;)



Re: Trying to move my httpd chroot

2016-03-19 Thread Rick Hanson
On Wed, Mar 16, 2016 at 8:58 PM, Alan Corey  wrote:
> I don't have enough room in / to have my htdocs there so I want to
> move it to /usr/htdocs. This is in 5.7.   No problem I thought, I've
> had to do it before.  So my /etc/httpd.conf looks like this:
>
> chroot "/usr/htdocs"

It's probably supposed to be

chroot "/usr"

Check out `man httpd.conf`.  Look at the descriptions for the `chroot`
and `root` settings.  It appears that both of these settings combine
to get you what you're looking for in this case.

> server "d530.my.domain" {
>   listen on * port 80
> }
>
> And I get logging into /usr/htdocs/logs but httpd doesn''t seem to
> find files in /usr/htdocs.  I get a 404 error that says OpenBSD httpd
> in it but it can't find even index.html which does exist.  I've played
> with htdocs vs htdocs/.  If I comment out the chroot line it finds
> files in /var/www/htdocs.  My /usr is in a different MBR partition
> (actually an exended one) with 129 gigs free.
>
> Anybody tried to move their htdocs?  I didn't find anything by
> searching.  I wouldn't want to write something and put it out there
> for everybody to beat on.  I did read the PDF and man pages.
>
> Also I found that if I set httpd_flags to "-d -v" in
> /etc/rc.conf.local then booting  the machine seems to hang there.
> Permissions on the file look like:
> -rwxr--r--  1 www  daemon  4022 Jan 19  2015 index.html
>
> --
> Credit is the root of all evil.  - AB1JX



Re: Who teach the true message about the true free software?

2015-11-20 Thread Rick Hanson
> Who teach the true message about the true free software?
>
> I ask this because I not want be deceived by hypocritical liars that teach
> falsely about free software.

This explains it.

https://www.youtube.com/watch?v=krb2OdQksMc=1m47s



Re: Spotify client for OpenBSD

2015-11-16 Thread Rick Hanson
> A long time ago this worked: https://github.com/eest/despotify-obsd

Aaron, thanks for hosting the distro
(http://qbit.devio.us/despotify-1.520.tar.gz).  The original (at
http://despotify.se) seems to be long gone.



Re: Private cloud hosting recommendations

2015-10-09 Thread Rick Hanson
Mike Bregg wrote:
> I've been using the VPS provider Vultr.com [...]

I second Vultr, fwiw.  Works a lot like DO, but better in a few ways.
I got a Vultr account back in the day when DO didn't have support for
any of the BSDs.  Been running OpenBSD on Vultr ever since.  BTW,
Vultr never emailed me the root password (or other such nonsense),
because as Mike said, you install the OS yourself.  Can't complain
about the price point either.



Re: GROUP CHANGED

2015-06-14 Thread Rick Hanson
From the linux su man page:

 This version of su uses PAM for authentication, account and session
 management.  Some configuration options found in other su
 implementations, such as support for a wheel group, have to be
 configured via PAM.

So, you see, the jack-booted thug rulers have already cement[ed]
the[ir] power in GNU/Linux.  O Freedom!  We knew ye not as our
fathers did, who roamed without fetters on the Twenex fields of yore!
;)

On Sun, Jun 14, 2015 at 6:14 PM, andrew fabbro and...@fabbro.org wrote:

 Yes, it was on the su(1) man page...it's still in their docs:

 http://www.gnu.org/software/coreutils/manual/html_node/su-invocation.html#index-fascism-2365

 So welcome to the oppressive, totalitarian regime of *BSD.  If you've got
 root, be sure to claim your free pair of hobnailed boots to place on the
 necks of your users.  CEMENT THE POWER!

 --
 andrew fabbro
 and...@fabbro.org
 blog: https://raindog308.com



Re: OpenBSD hosting in Hong Kong?

2015-04-18 Thread Rick Hanson
FWIW I have had an OpenBSD VPS with these dudes for about 6 months now.

https://www.vultr.com/

No downtime, no problems yet.  (Yeah, I know, it's not a lot of time.)  As
Paul said, they're not OpenBSD centric, but they allow you to install from
ISOs.  They have a web management interface, all SSD drives, snapshots,
data centers all over the globe, pricing, etc. all of which look a lot like
Digital Ocean BTW; but in addition to SSD, vultr has HDD (that's nice when
you need storage more than IO performance).

There are also a few smaller outfits that will probably give you really
good service too.  Keep your eyes open.