(You can use Finder to locate the file, and edit it with TextEdit or your favorite text-only editor. which means you will be editing this file: For the Configuring Apache step, your refers to /Applications/MAMP/. However, since that is a system file, you must do it with admin privileges, as follows:ī) Type: sudo vi /etc/hostsĬ) enter your password if prompted (If you are an administrator, use your current password, if you're not an administrator of the computer, ask your administrator for the password, or get them to do it for you)ĭ) Use the arrow keys to move down to the existing line that says 127.0.0.1 and press the letter iĮ) On the new line, fill in the new definition and press Return:ġ27.0.0.1 f) Press ESC then : then x then Return To edit your "hosts" file, instead of accessing C:\WINDOWS\system32\drivers\etc\hosts, you will need to edit /etc/hosts To set up in MAMP, you follow the same steps as in the book, but with a couple variations due to the way the Mac OS operates:ġ. Access my store as usual via and admin as I found it to be very straightforward as far as installing an application on the Mac and as far as installing a website application. Fill in all the fields as appropriate, and complete installation.ġ4. and Zen Cart fires up in Install mode.ġ3. Unzip a copy of Zen Cart files into that folder.ġ2. Use finder to create an /Applications/MAMP/htdocs/zencart folder (change "zencart" to whatever you prefer)ġ1. Clicked on the phpMyAdmin tab, and created a new database named zencart138.ġ0. Clicked on Open Start Page, and it shows me all my appropriate settings such as my MySQL username and password so I can put them into my Zen Cart when I set it up.ĩ. You can turn it off in System Preferences.)Ĩ. (Make sure you do not have Personal Web Sharing turned on for your Mac if you are running your MAMP server on port 80. It asked for my MAC user password in order to allow the system port change to be completed. Decided that I wanted to change the preferences so that Apache runs on port 80 (so I don't have to say localhost:8888 everything I want to look at my local server), so I clicked on Preferences, then on Apache, then on Use Apache and MySQL defaults, and saved the changes. Click on Start Servers in the MAMP application control window.ħ. Accept license, and choose just to use MAMP, and not MAMP PRO.Ħ. In the Applications/MAMP folder, double-click on the MAMP.app fileĥ. Drag the MAMP folder to the Applications folder (a usual Mac procedure)Ĥ. Download the software from the websiteģ. If you want to absolutely remove all if the server components, the easiest thing to do is to restore a backup of the computer from before you made the switch, or to reinstall Lion.I just, for the first time today, installed MAMP, and set up a Zen Cart site running on my new MacBook Pro. Deleting the server version property list file only makes Mac OS X say "Mac OS X" instead of "Mac OS X Server." However, even turning off services does not completely revert Lion Server to the vanilla Lion state. However, you still need to stop each service individually using Server.app, Server Admin, the serveradmin command, or by stopping each process required by each service with webappctl, apachectl, or launchctl, etc. (For those familiar with how Mac OS X Server installers were put together, the basic "client" version of Lion already includes the server essentials like servermgrd.)Īs Apple suggests, you can turn off the performance dedications for server processes. The first time Server.app ran, it used Software Update to download additional server essentials from Apple in order to perform what was designed to be a one-way conversion. Then restart Apache ( sudo apachectl graceful).Īs you've discovered, simply deleting Server.app doenlsnt undo the Lion to Lion Server conversion process. In /private/etc/apache2, you should find a file, to rename in nf (beforehand, you should keep a copy of the current file, if ever you change your mind). If you upgraded from Snow Leopard and would like to get back the original Web Server configuration (with the ~username local web sites) you have to put back the Apache configuration file stored during the Server installation. (I couldn't manage to find a graphical tool to do it, hence the Terminal commands) To revert this commands, simply run them with ' unload -w' changed in ' load -w'. sudo launchctl unload -w /System/Library/LaunchDaemons/.more important : stop the PostGRESQL database server and the collection of information you don't need anymore :.stop the Apache server ( sudo apachectl stop to stop it until next reboot or sudo launchctl unload -w /System/Library/LaunchDaemons/ to stop it definitely).Yesterday I gave it a try and, once everything in the note is done, you still have to open Terminal and : But it's not quite enough to get rid of it. Well, actually it's been posted some days ago.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |