Alot of you have probably heard about drupal. Well drupal is a content management system. It is an incredible community with lots of modules available. In todays tutorial I am going to show you how to setup a drupal installation using mysql as your database.
1. Download wamp 1.7. this works well with 6.x of drupal.
2. now install wamp where you want it installed on your machine usually its best to install it on your c path. c:/wamp.
2.1 Now to load wamp you need to click on the program which is located in my programs.
An icon at the bottom of your screen will start working it will change from a yellow to a white. When the wamp icon is white. {image comming soon}
2.2 open a web browser you will be asked if you want to make this your default browser.
2.3 in the web address bar type in localhost. Now look for phpmyadmin. This will take you to a graphical presentation of mysql
2.4 There is a privliages section. If you scrole down you will see a password option. type in a password and click go near the password boxes. Now refresh the page. You will get an error message.
2.5 To fix this go to wamp directory and type config.inc.php. Inside this file you will see a line that looks like this $cfg['Servers'][$i]['password'] = ''; inbetween the two single quotation marks enter the name of your password then save the file.
3. http://drupal.org/project/drupal download tar.gz unzip this file by downloading a program such as winrar. Now you are ready to setup drupal.
Its a good idea to use an IDE i usually use netbeans. Its quite a nice interface for edding files. you can offcourse use any sort of text file. now create a directory inside c:/wamp/www for example called it drupaltest.
unzip your drupal files and copy and pasted them into the directory you have create.
now go to phpmyadmin and create a database for more information on creating tables see post on phpmyadmin building my first database graphically.
once you have created your database. you need to go into your settings file. For people who havent used phpmyadmin before here is a little image with annotations.
click on image to view it close up.
Tuesday, 18 January 2011
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Step 1: First you need to download and install python. You can get a python installation from http://www.python.org/download/ Step 2: now...
-
In this file i purposely made mistakes to see what would happen. I hope this helps
-
to settup the database for Django step 1: go to the settings file ENGINE': 'django.db.backends.sqlite3', # Add 'postgresq...

Thanks, Alex, for your tutorial. Now drupal sounds not so terrifying!
ReplyDelete