Archive for the ‘Installation’ Category

My Problems Setting Up Multisite on MAMP

February 16, 2010

My word – STRESS!

So I have just set up my computer so that I can have another site working with my MAMP application. So that means that I can now work on two sites at home and not have them online.

It was really not very easy to set up but its such a simple thing that it should have been I think.

Apparently MAMP Pro takes away all the problems as it you can have an unlimited number of virtual hosts and its all configured like that ready to go, but you have to pay for this and I wanted to see if I could do it for free first coz I am cheap!

Now the reason I want to be able to have these two sites on my own computer is that I am going to start working on my parents site now. Yay!  So I want to be able to do this offline so that there can be no problems that anyone knows about and then when it is perfect I will upload it to the internet and all will be well.

STEP ONE – Export Database.

So the first thing that I did was I went into the cpanel for their website and I exported the database as a file that I was later to import into MAMP. This was the same thing that I did when taking my other site from MAMP to the internet, just the other way around.

STEP TWO – Make a new file in the etc/hosts folder. (I don’t know what this means by the way!)

Then I read these instructions (from the drupal.org site) and I could not understand what to do coz I didn’t know how to change the file. But maybe if you have more knowledge than me it would be easy.

For me tho my answer was to be found here, at a blog post I read.

The instructions were really scary to follow and involve going into the Terminal Application! At the point where they ask for the password it has some text where it says that you might delete everything just by being in there. OMG

But… I did what it said. I made a new location with a new name. I called it todtaylor coz tats the name of my parents website.

(I am not sure about the .drupal.local bit in the other instructions by the way – although in other ways the two posts seem the same)

STEP THREE – Add database

So at this point I went to http://todtaylor it came up with a page like this

When I clicked on ‘drupal’ it went to the drupal start up page and I added in that database that I had exported earlier.

It was quite hard.  I didn’t know what to put for the password but in the end what I did was I went into the original database in MAMP and I went into priveledges and changed the password and it told me the password had been changed for root@todtaylor so I knew the username was route.

So it all seems fine now but I am still a bit scared. Also the version used for the site was Drupal 5 and on my computer I have Drupal 6 so its all a bit wrong right now.

As they say tho – It will all be alright in the end and if it isn’t alright then it isn’t the end. And this is NOT the end, so its sweet  🙂

Installing Drupal – the first hurdle

December 22, 2009

This for me was the first huge hurdle! Its just not like installing other programs. I thought it would be easy – just like download the program and then drag it to the Applications folder. (I use an iMac by the way)

But it wasn’t that simple!

And in fact, I had already been through the whole process once before about 6months ago with my brother telling me step by step what to do. So I felt super stupid when I couldn’t do it for the second time.

Also to use drupal you will need MySQL database and also PHP and FTP (I was soo confused at first!). MySQL is the database that stores all the information and PHP is what allows drupal to use code on your website, or at least that is how I understand it. And the FTP is the ‘file transfer protocol’ which you need to upload the files to your website and get it online.

Because I use a Mac, and also because I want to work offline on my website before introducing it to the world, I downloaded MAMP for my PHP and MySQL. I would love to talk to you about how I did this but it happened 6months ago with my brother tutoring me so I have forgotten!  ooops he he (off to a good start!)

MAMP is still good to go after all that time but drupal has been updated so I had to upgrade, so I downloaded the new version and read through the update read me file. It basically has everything in there that you need but I found it easier to follow this video tutorial as it is just so much easier when its there being done in front of my eyes! There is also a video tutorial there for installing the program from scratch.

I found it on the site Learn by the Drop which also has a guide for beginners, but to be honest I was kinda stuck by about page 10! The videos are better than the book I think personally. Still its a great site and now I wrote about it here I remembered about it again and I think I will go back there later today as there are some more things I have issues with.

So yeh basically now I have it set up so that I am working on the website using my computer as a local host and then when I am finished I will upload it to the internet. Every day I open up MAMP and then I open firefox and I have the address to my site (which is http://localhost:8888/drupal/ because its on my computer – when its finished it will be the web address) in my bookmarks. I just get to the site, use my username and password to log in and then the fun really begins.

To be honest today I am not really enjoying it, its just got really hard  😦