Discussion Forums  >  Self Hosted Control Panels

Replies: 6    Views: 93

81611
I hate code!
Profile
Posts: 3
Reg: May 08, 2014
Aspen, CO
2,180
05/09/14 11:40 AM (10 years ago)

Serving on Mac

Sorry if this has been discussed before, but I didn't see a way to search the forum, and there are way too many post to skim through. The specs seem to say that Linux is required (particular flavor?) but has anyone set up the control panel on a Mac server?
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
05/09/14 01:18 PM (10 years ago)
Welcome! BT Server requires a LAMP stack- You need Apache, MySQL and PHP running on some flavor of Linux. The flavor ins't as important as the PHP version (5.3 works best, I've had issues with 5.4) and the current MySQL/Apache packages work fine. You *could* install the BT Server Self Hosted package on a MAC using XAMPP but you'd have to go thru some steps to make your XAMPP install accessible from the outside. XAMPP is generally used for internal testing/learning - but it's robust enough to work as a full on LAMP stack if you tweek it. That does mean you'd have to run your Mac/OSX 24/7 if you plan to build apps and have them connected to your control panel running on an XAMPP install. If you're into cloud computing you can run it on a Amazon EC2 Free Tier for a year. https://aws.amazon.com/free/
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
05/09/14 01:32 PM (10 years ago)
if there is a mac equivalent of a lamp stack for a mac, it might be feasible, but I don't of anyone who has tried it.
 
81611
I hate code!
Profile
Posts: 3
Reg: May 08, 2014
Aspen, CO
2,180
like
05/09/14 01:40 PM (10 years ago)
No problem with Apache, MySQL and PHP on the Mac, which is why I was asking what part of it requires Linux. Is there an executable component?
 
Cakebit
Code is Art
Profile
Posts: 501
Reg: Dec 15, 2010
In your local b...
16,510
like
05/09/14 01:51 PM (10 years ago)
You certainly can run the BT software on a Mac, just remember certain parts of the core will still require an internet connection. The way I run a server on my Mac is by using a program that installs the LAMP stack on your Mac: you can download MAMP at http://www.mamp.info/en/downloads/ MAMP will create a LAMP server on your Mac, you will need to put the server files in the HTDOCS folder that it creates, and then install your MYSQL package through the software. Post if you have any questions ;) -CakeBit
 
81611
I hate code!
Profile
Posts: 3
Reg: May 08, 2014
Aspen, CO
2,180
like
05/09/14 02:18 PM (10 years ago)
Thanks CakeBit. I have been running Mac servers for 20 years, so I am pretty comfy moving around in them. I will give it a shot (although probably not for a while, since I just started here).
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
05/10/14 07:39 AM (10 years ago)
Definitely can be done. David Book was just showing us on the last developer's meeting webinar how he uses XAMPP for testing purposes.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.