Deithrian
Linux vs FreeBSD for Phoenix?
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?
Trending in Discussions
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...
New
Hi everyone :waving_hand:
Posting here to showcase and announce that Metamorphic is now officially live on a public-facing domain at htt...
New
@chrismccord : I just saw the Extract AGENTS.md from Phoenix.new into phx.new generator commit to the phoenix project.
My initial shotgu...
New
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
Just a general thread to post chat/news/info relating to AI/ML stuff that may be relevant for Nx now or in the future. Got anything to sh...
New
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
Other Trending Topics
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
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
Introducing AshStorage! Attachment and file management that slots directly into your resources :smiling_face_with_sunglasses:
I had hope...
New
Latest Phoenix Threads
Chat & Discussions>Discussions
Latest on Elixir Forum
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #elixirconf-us
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex










First 10 of 73 Posts!
NobbZ
As nearly always when it comes to the choice of an operating system, this choice might be driven by many different kind of “arguments”:
sashaafm
Like the other people have said, unless you have a very specific reason to use FreeBSD I think it’s best to stick to Linux.
Deithrian
I was actually expecting some big arguments against using BSD, but since there seem to be none, I’ll give it a spin

It’s going to be an adventure in uncharted waters for me, but I have high hopes that the buzz will be strong
sashaafm
Please do report back
AstonJ
Why do you want to use FreeBSD @Deithrian? Just curious
Deithrian
@AstonJ I have emotional scars from trying to remove a video codec under Linux and watching the entire OS disappear in front of my eyes

The bloody thing destroyed itself over a video codec…
I know I should read the deps and bla bla, but come on… that’s like uninstalling QuickTime on Windows and watching the uninstaller delete system32
And so, BSD seems to be the second obvious choice for servers, plus no emotional scars there yet lol
I also saw a couple of talks on BSD and there’s a good amount of reasons for using it too.
AstonJ
What’s the TLDR/benefits on using FeeBSD (over Linux) @Deithrian?
Don’t you use the minimal Linux installs on your server? We use the minimal CentOS 7 image (minimal system with SSH daemon) on our new servers and just install what we need…
Mandemus
BSD is a port of Unix to the PC.
Linux is a unix-like emulator for the PC.
Splitting of hairs for the most part. /etc/rc.d/* vs inittab, jail vs virtualization, no run levels. In the end though csh works like csh on both platforms.
BSD would be just harder to maintain. Desktop builds such as PCBSD are a far cry from the user experience you get with modern linux distros.
FreeBSD was the mainstay of colocated machines back in the 90’s when everyone was running a DikuMUD. RedHat started making headway around 1999 or so.
Building up Centos minimal installs is what I’ve always done for deployed projects too. However the fact that ‘stable’ means things installed via yum and the Centos repo are a year behind gets aggravating. Often having to build things from source.
For development at home I choose Fedora for this very reason.
AstonJ
Thanks @Mandemus, so basically theres no real benefit and it becomes harder to maintain. I was expecting more. I guess perhaps it ‘might’ be a little more secure since it is not used as much?
Haha I hear you, but the upside is a rock solid system
I use Chruby for ruby versions and don’t mind the occasional building from source.
Mandemus
BSD is rock solid and secure. Not through obscurity but It’s having a long pedigree. It is as I said an actual port of AT&T’s System V Unix. Linux is merely a unix inspired workalike.
AIX on IBM Power hardware is prevalent in science and business, OsX on the Macintosh is also BSD.
I wanted to install two ubiquitous things last month. lftp and tmux. Both were like 5 minor versions behind. I run into that constantly with Centos. It makes the repo essentially a worthless exercise in frustration.
I get why they do it, stability. Still while I don’t need almost daily updates like with Fedora, but the way things are the Centos repo is always feeling ancient.
Last Post!
drobban
Thank you for the tip, will take a look.