This will give you an indication of what might be wrong. If you don't get the localhost test, you can try troubleshooting Apache to see if there is anything wrong in its config file by running apachectl configtest ![]() The Apache version that comes in macOS Big Sur is Apache/2.4.46Īfter starting Apache - test to see if the webserver is working in the browser - you should see the "It Works!" text. To start Apache web sharing sudo apachectl start Using the prefix of sudo is required for commands that have their applications protected in specific folders - when using sudo you will need to confirm with your admin password or iCloud password if set up that way. This needs to be done in the Terminal which is found in the OS filing system at /Applications/Utilities/Terminalįor those not familiar with the Terminal, it really isn't as intimidating as you may think, once launched you are faced with a command prompt waiting for your commands - just type/paste in a command and hit enter, some commands give you no response - it just means the command is done, other commands give you feedback. ![]() Subscribers get access to an exclusive podcast, members-only stories, and a special community.Web serving is built into Big Sur with Apache app, it is installed ready to be fired up. If you appreciate articles like this one, support us by becoming a Six Colors subscriber. The Server app itself is long dead, but its spirit lives on-on my new M2 Mac mini server. Mac OS X Server didn’t make business sense for Apple-the company’s flirtation with the server market fell by the wayside as the iPod propelled the company toward the iPhone and beyond-but the fundamental idea of building a much better interface atop a bunch of Unix command-line utilities was a good one. Starting with a clean install of Homebrew on an Apple silicon Mac also felt like a smart move.) MAMP even let me use certificates created with Let’s Encrypt’s certbot app to set up encryption on my server. (I did install Homebrew and use it to install Python. With MAMP, I was able to get my web server up and running without having to wade into installing PHP myself. There’s a free version and a $99 pro upgrade that adds a bunch of additional features. MAMP is a modern take on the same stuff that OS X Server tried to accomplish back in the day: it’s Mac app interface on top of Apache, MySQL, Nginx, PHP, and more. So why was I now attempting to install and administer all of this stuff myself, like a Unix sysadmin? I’m running a macOS server so I can use macOS apps!įortunately, shrugging off the last vestiges of Mac OS X Server was made a lot easier by an app I bought while building the new WordPress version of Six Colors a couple of summers ago. This led me to a moment of clarity: Everything that I used to rely on Mac OS X Server to handle for me was gone. In taking the leap from Mojave to Ventura, my server lost its stock installations of Python and PHP, both of which I use for various tasks. In the last few years, Server has faded away entirely, and Apple has swept a lot of stock Unix software entirely out of the standard installation of macOS. After a few attempts to bifurcate Mac OS X itself into two different versions, Apple gave up and essentially reduced Server to a single standalone app that configured stuff like file and web servers. ![]() When Macs became Unix machines, Apple got the idea that they’d make great servers, if only all that Unix software could become a better Mac citizen. Mac OS X Server was-and I’m grossly simplifying here, but it’ll have to do-software that provided a Mac interface for a whole host of Unix-based server programs. I’ve been migrating my server data since I started using Mac OS X Server a couple of decades ago. Not only does Apple silicon reign supreme, but I broke with years of migrating my old server to new hardware and set the entire Mac up from scratch. I upgraded my Mac mini server last weekend, swapping an M2 model in for a 2018 model running macOS Mojave that was the last in-service Intel Mac in my house.īut the changing of the guard turned out to be even more complete than that. MAMP runs at the center of my new Mac mini server. My new macOS server marks the end of Mac OS X Server
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |