GoLive 5
HomeFree ChapterExample FilesTipsExtensionsLinksAuthorsGoLive 5 Site Opens in New WindowSearch

Deleting a Bad Installation of the the GoLive Preconfigured Servers package on Mac OS X and starting over

Introduction
Unless you followed the installation instructions for the GoLive Preconfigured Servers very carefully it was easy to make a mistake. If you have tried without success to install the GoLive Preconfigured Servers then the following instructions will show you how to completely delete the bad installation so you can start over from scratch.

Step 1: Stop the servers
Before you delete a bad installation you need to stop any servers that might be installed and running. To stop all the servers double-click the Stop Webserver alias on your Desktop. If you cannot located the alias on your Desktop then double-click the stop_all.command in the /Applications/Golive_Preconfigued_Servers folder as seen below in Figure 4.1. When the servers have been stopped the Terminal application window should look like Figure 4.2 and you can quit the Terminal application.

Stop All Command
Figure 4.1

Servers Successfully Stopped
Figure 4.2

Step 2: Delete GoLive Preconfigured Servers and Desktop Aliases
Locate the GoLive_Preconfigured_Servers folder in the Applications folder as seen below in Figure 4.3 and move the entire folder to the system trash. Then select the six file aliases on the Desktop (Edit Apache Configuration, Edit Tomcat Configuration, Restart Webserver, Start MySQL, Start Webserver, and Stop Webserver) and move them to the system trash. Now choose Finder>Empty Trash as seen below in Figure 4.4 to delete the files.

GoLive_Preconfigured_Servers folder in the Applications folder
Figure 4.3

Choose Finder>Empty Trash
Figure 4.4

Step 3: Delete database files with the Terminal application
There might still be MySQL databases that need to be deleted using the Terminal application.

Caution: If you have created any databases or added any data to existing databases it will be destroyed by these next steps.

Launch the Terminal application which is located in the Applications/Utilities folder on your hard drive. The application icon looks like Figure 4.5.

Terminal Application Icon
Figure 4.5

At the prompt type

cd /usr/local

and press Return to change the working directory. Now type

ls

and press Return to show a list of the files and folders in the current working directory. You should see two items listed with the names mysql and mysql-3.23.47-apple-darwin5.1-p. To delete these two items in temporary superuser mode type

sudo rm -r mysql*

and press Return. You will probably be asked to type the password for the account you are currently logged in under. Note that when you type the password, nothing will appear on the screen. Press Return to confirm your user password and when the deletion is complete your Terminal window should look like Figure 4.7 below.

Successful Deletion
Figure 4.7

Conclusion
All the pieces of the GoLive Preconfigured Servers are now deleted and you are ready to proceed with the Installing the GoLive Preconfigured Servers on Mac OS X tutorial to try again. For more free tutorials, tips, and tricks visit the Tips page.

Home | Free Chapter | Example Files | Tips | Extensions | Links | Authors | GoLive 5 | Search

Contact the authors via email: authors@golivein24.com