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 1 to 10

NobbZ

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”:

  • Personal matter
  • Personal experience
  • Policies of your Employer
  • Policies of your Client
  • Available ressources (there is this machine in that datacenter, which is running FBSD and monitored some internal stuff for the last year which we don’t need anymore, but we could run our new Phoenix-Page on it, but we can’t reinstall due to the fact that it is thousands of miles away)
sashaafm

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

Deithrian OP

I was actually expecting some big arguments against using BSD, but since there seem to be none, I’ll give it a spin :slight_smile:
It’s going to be an adventure in uncharted waters for me, but I have high hopes that the buzz will be strong :005:

sashaafm

sashaafm

Please do report back :slight_smile:

AstonJ

AstonJ

Why do you want to use FreeBSD @Deithrian? Just curious :stuck_out_tongue:

Deithrian

Deithrian OP

@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 :icon_eek:
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 :scream:

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

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

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

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 :003: I use Chruby for ruby versions and don’t mind the occasional building from source.

Mandemus

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.

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 91898 914
New
AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4616 55835 594
New
byu
@chrismccord : I just saw the Extract AGENTS.md from Phoenix.new into phx.new generator commit to the phoenix project. My initial shotgu...
New
arcanemachine
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
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
matt-savvy
Is there a word for the ~> symbol used in Version strings? Do you also just call it a Squiggle Arrow™ ?!
New

Other Trending Topics Top

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
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
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
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
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

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews