A Couple of BSD VPS Questions (FreeBSD, OpenBSD)

flipsflips OG
edited December 2020 in Technical

@AnthonySmith said in another thread:
As it is simple to find a good 512mb deal it kind of makes this thread redundant so I have span one up myself on IH infrastructure but because I hate things being easy I am doing it on FreeBSD instead.

Love this, "I hate things being easy" ... =) B)
Speaking of FreeBSD. I recently spun up both a FreeBSD and a OpenBSD node.

After my first purpose is accomplished, my curiosity will have me test other stuff as well. Wondering:

  1. What kinda benchmark script/tool would you guys run on BSD? (yabs.sh by @Mason looks kinda Linux specific)
  2. Of the many available httpd's available, which ones of these should I give a shot? OpenBSD's own/default (ob)httpd, (s)thttpd? Others?

Comments

  • InceptionHostingInceptionHosting Hosting ProviderOG
    edited December 2020

    I imagine yabs will run on bsd you would need to install all the prerequisites yourself first though.

    Maybe @mason already added pkg support?

    https://inceptionhosting.com
    Please do not use the PM system here for Inception Hosting support issues.

  • Unfortunately, there's no Geekbench for BSD (which would affect a part of YABS)

    Thanked by (1)saibal

    "A single swap file or partition may be up to 128 MB in size. [...] [I]f you need 256 MB of swap, you can create two 128-MB swap partitions." (M. Welsh & L. Kaufman, Running Linux, 2e, 1996, p. 49)

  • InceptionHostingInceptionHosting Hosting ProviderOG

    Oh.

    https://inceptionhosting.com
    Please do not use the PM system here for Inception Hosting support issues.

  • MasonMason AdministratorOG

    @flips said: yabs.sh by @Mason looks kinda Linux specific

    Ya, I have absolutely zero BSD experience. It's been requested before, but I have yet to find the time to evaluate BSD compatibility. And when I looked last, bash wasn't even included in vanilla BSD installs, so taking a look at compatibility for other shells (i.e. tcsh) would be the first step. One day maybe, but it likely won't be any time soon. Good luck!

    Humble janitor of LES
    Proud papa of YABS

  • @Mason said:
    Ya, I have absolutely zero BSD experience. It's been requested before, but I have yet to find the time to evaluate BSD compatibility. And when I looked last, bash wasn't even included in vanilla BSD installs, so taking a look at compatibility for other shells (i.e. tcsh) would be the first step. One day maybe, but it likely won't be any time soon. Good luck!

    sh is included in vanilla installs. It's not 100% compatible with bash, but most scripts work with no or minimal adjustment. All scripts in BSD uses sh by default, as that has been "the unix way" since forever.
    Going with tcsh is probably a lot more work since it is not Bourne compatible.

    Thanked by (2)Mason Not_Oles
  • @flips said:
    Of the many available httpd's available, which ones of these should I give a shot? OpenBSD's own/default (ob)httpd, (s)thttpd? Others?

    What are you trying to accomplish?
    Apache and nginx runs fine on BSD. Nginx is actually one of the major sponsors of FreeBSD.
    Are you aiming for a certain feature, stability, security or performance?

    Thanked by (1)Not_Oles
  • @rcy026 said:

    @flips said:
    Of the many available httpd's available, which ones of these should I give a shot? OpenBSD's own/default (ob)httpd, (s)thttpd? Others?

    What are you trying to accomplish?
    Apache and nginx runs fine on BSD. Nginx is actually one of the major sponsors of FreeBSD.
    Are you aiming for a certain feature, stability, security or performance?

    Security and performance in low-memory environments, maybe. Some for static, others for PHP.
    (I'm happy with both nginx and Lighty, or Caddy, just curious how the others perform and what makes people choose them. I've mainly been using Apache, nginx, Lighty and Caddy before. H2O is on my "check this out" list.) :)

  • I guess I'll try (s)thttpd and (ob)httpd on OpenBSD and nginx on FreeBSD. B)
    Maybe I should build from ports (I assume CentminMod, DA and others has a reason for building from source, instead of just loading precompiled binaries) ...

    Hm, I see I forgot to mention that I've also been running OpenLiteSpeed in previous setups. And of course language specific web servers in Ruby, Python and more.

    BSD has certainly evolved since I played much around with it. The upgrade process and all is simplified. I'm very used to Debian, but it's cool to see how alternatives evolve.
    (Most stable server I've ever had, was OpenSolaris, later OpenIndiana.)

  • edited December 2020

    @flips said: OpenSolaris

    Major league, there. ;) I have hazy memories of Solaris/AIX/HP-UX.

    lowendinfo.com is expired.

  • Mostly regular Sun Solaris for me back then (a little bit of HP-UX). But I was playing with Linux (a distro called Linux FT, later switched to Slack and then RedHat before Debian 2.0) on my free time. I also played with OpenBSD and FreeBSD in those days, OpenBSD 2.1-2.5 are releases I got on CD's ...

Sign In or Register to comment.