Deithrian

Deithrian

I saw that there’s a port for Elixir and Phoenix on FreeBSD.

Why would you want to run a Phoenix project on FreeBSD vs Linux?
Can you share your opinion please?

I’m trying to pick a deployment target and start learning about it.
Since Linux seems to be the default choice for servers, are there any reasons for choosing FreeBSD instead?

Showing Posts 31 to 40

thinkpadder1

thinkpadder1

For desktop/laptop use, would you suggest something like PC-BSD or just rolling your own?

arpunk

arpunk

@thinkpadder1 PC-BSD is fine and it has a lot of 3rd-party software available for installation but there is nothing wrong with plain FreeBSD. You can install a desktop environment like KDE or GNOME using the FreeBSD package manager. PC-BSD is friendlier to the end user though.

drfreeze

drfreeze

Here is a link to deploying Phoenix on FreeBSD 11-0-RELEASE on Google’s Compute Engine. The setup uses nginx, Letsencrypt, Distillery and eDeliver.

https://github.com/jfreeze/gce-freebsd

RisingFromAshes

RisingFromAshes

I’d recommend using FreeBSD over any Linux distro for a production environment for several reasons:

  1. Better integration of OS apps/utilities/libs
  2. Security audits/alerts/updates are thus more holistic
  3. Configuration just feels more sane and thought out
  4. Improved stability, based on the above
  5. Excellent features - from jails to network stack
  6. Great cross-pollination between BSDs - easy to a lib from another BSD in your preferred one.
  7. Linux compatibility
  8. Supportive community
  9. Bonus is, if you are using OS X, much of the userland/dir system, libs, etc, should appear familiar.

It’s why the general trend appears for companies appears to migrate from Linux distros to FreeBSD for their server environment.

If you want a desktop environment, then Linux may be the best choice still, but PC-BSD (the last time I looked), has come a long way), but my preference would be for OS X unless you are doing scientific work that requires Linux.

Here’s a link with a few of the big name organisations/companies using FreeBSD - from Apache Foundation to Netflix to WhatsApp: Welcome to FreeBSD!

Oddly, I find people new to Linux are often more apprehensive of learning and using FreeBSD, as many developers are of postgresql - choosing mysql over it, when my experience of Postgresql and FreeBSD are less frustrating, and FreeBSD much easier to keep up-to-date with changes/improvements and discuss solutions with the community.

If you want to build the next big thing, I’d suggest choosing FreeBSD over any Linux distro for all the above reasons, but if there’s something cutting edge that a Linux distro has that FreeBSD or any of the other BSDs can’t (yet) do, then go with Linux. Otherwise, FreeBSD will often take you further in regards to scaling, stability, and security.

OvermindDL1

OvermindDL1

/me has been a big FreeBSD user for decades, but nowadays I’d recommend some Illumos derivative for all the same reasons, except Illumos containers are BSD Jails but done right. ^.^

AstonJ

AstonJ

Your post makes me want to try BSD :smile: the ‘bonus’ is pretty compelling to, especially if it means it would be easier to get into:

OvermindDL1

OvermindDL1

Illumos too, both Illumos and FreeBSD have the same root system type from the original BSD, thus the same filesystem and structure setup too, except Illumos has containers. ^.^

DianaOlympos

DianaOlympos

Agree but sadly Illumos lack the documentation and tutorial that FreeBSD have.

I launched my own stuff to do more sysadmin stuff recently. I tried SmartOs/Illumos. Got stuck after 5 min. After 2 days of tryign to find answers, but only found dead link, switched to freeBSD. I will come back to Illumos/SmartOS for bigger things.

OvermindDL1

OvermindDL1

Heh, most FreeBSD information works directly on Illumos as well, they have the same root system. The main difference in Illumos is that jails are baked into the kernel, into the very process struct itself, so everything is running in a ‘jail’, including the original login in the root jail. :slight_smile:

That design fixes issues that FreeBSD’s jails have, like non-segmented network, poor control of CPU and RAM usage, etc…

DianaOlympos

DianaOlympos

I know. But let be honest there is work to be done here. The system is really great but the community lack visibility. I would like to see the FreeBSD book equivalent for SmartOS.

I may do it in a couple year, but not right now.

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
axelson
Hi there! :wave: @frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
AstonJ
Since we have deprecated our Erlang sections (as we have dedicated Erlang Forums now) let’s add this thread for those who’d like to post ...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
georgeguimaraes
Just published claude-code-elixir, a plugin marketplace for Claude Code with Elixir support. These are the plugins I’ve been using for my...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews