TrueNAS and ubuntu LAMP server

Joined
Feb 3, 2023
Messages
2
Posting here because I am such a noob I am unsure about the setup... I just know what I want do...

1. I want raid network storage for video, pics, etc. => so I built a machine specific for this and installed TrueNAS.... cool

then I got to thinking... I also want to run a LAMP server and I wondered if I could do that on the same machine in some way. preliminary reading and guessing leads me to believe I can run a LAMP server by setting up a VM with TrueNAS and then installing ubuntu on that VM then the LAMP software....

Am I approaching this right? Not sure what other information I may need to provide but that is what I want and how I was thinking I could get it done... I was hoping someone with more knowledge of TrueNAS might hit me back to let me know if I am approaching this problem in the right way or guide me to a better solution if there is one....

Cheers,

Travis
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
LAMP is for Linux.

TrueNAS CORE / FreeNAS is FreeBSD.

FEMP is the stack name for FreeBSD.

You can install FEMP in a jail or run Linux in a VM and run LAMP on that.

A jail demands significantly fewer resources from your NAS.
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
FEMP is the stack name for FreeBSD.
I'm sure you meant FAMP? Only the first initial changes (Linux -> FreeBSD), the rest of the stack remains the same.
Actually, it would stay LAMP since OP said that he wants an "Ubuntu VM".

Note to OP: I'd run FAMP in a jail instead. You'd incur less performance overhead unless you need to also install some Linux-specific thing that doesn't exist in FreeBSD ports collection.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
I'm sure you meant FAMP?
No. It was coming from way back in my memory, but I was right (at least sort of):


I think it's a reference to the substitution of nginX (pronounced like Engine-X, hence the E instead of the A for Apache in the Linux stack).

However, you can also install Apache on FreeBSD, so you can have a FAMP stack.

Personally I prefer nginX to Apache, so I guess I remembered it like that.

Both are "correct" and will result in a working stack.
 
Top