The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 18, 2019, 12:35:42 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: OSx vs *nix on mac mini  (Read 2192 times)
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« on: December 24, 2008, 09:52:25 AM »

continuing my quest for genius and evil plans, I was just thinking about something.

on a production machine, running any version of linux, is it generally a good idea to be running custom compiled versions of things like mysql and apache, which you have to do under OSx, or is it better to run the apt/yum/whatever packagemanged version of it?

reason i was thinking of this is that when things are patched, updated, fixed, you only have to run an update in the package manager, but in OSx, you need to compile.

thoughts?
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #1 on: December 24, 2008, 10:03:32 AM »

There are precompiled binaries out there for a lot of the things you'd run on OS-X, but I just compile them myself anyway, because I usually want something different than what's in the config of the already compiled versions. Apache, MySQL, PHP - they're all out there.

I have a shell script, configure.me which is in all of my downloaded source directories. It's different for all items I install on a box ie., a different one for mysql and apache. When I download an update I just copy the configure.me into the new downloaded directory and go. It's not as efficient as a package manager, but I feel as though I have a lot more control. I don't update all that often.
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
vsloathe
vim ftw!
Global Moderator
Lifer
*****
Offline Offline

Posts: 1669



View Profile
« Reply #2 on: December 24, 2008, 10:46:38 AM »

Linux would be better.

Unless you run OSX "headless" so to speak.

A server OS should NEVER, EVER, EVER have a gui. Period. Waste of resources. One of the reasons Windows servers suck so hard.
Logged

hai
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #3 on: December 24, 2008, 10:50:14 AM »

Mac Minis, if there is no monitor attached automatically run headless. They fire up the GUI if you connect to them remotely via VNC or the Apple remote desktop connection. It's sweet and light.

<edit>Well, not entirely headless because there are kernel pieces alive *ready* for the connection, but you don't pay any price for processing of the GUI, only in RAM as the process sleeps. So it's not as light as a shell-only *nix box, but pretty damn good.</edit>
« Last Edit: December 24, 2008, 10:54:38 AM by perkiset » Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #4 on: December 24, 2008, 12:16:12 PM »

i guess in the end it doesnt matter. though it does seem like with the compile-your-own option you have to pay more attention to the security notices. recompile is not a big deal of course if you have your config already created and just sitting there waiting for a new compile.

Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!