Time for another go!
Drupal is ..
.. a pretty famous and widely used CMS out there – so here we go ->
1. Get sudo configured on debian. Sucks to have to log on as root all the time when installing apps etc.
2. Download and untar drupal 7
3. Read INSTALL.TXT
– A web server. Apache (version 2.0 or greater) is recommended.
– PHP 5.2.4 (or greater) (http://www.php.net/).
– One of the following databases:
– MySQL 5.0.15 (or greater) (http://www.mysql.com/).
“sudo apt-get install lamp-server^” does not work in Debian 6 :/
Following this guide instead.
- aptitude update and then upgrade (maybe not necessary because I used apt-get.. why have two??)
- sudo apt-get install mysql-server mysql-client (in Debian 6 you put in sql root user password during install)
- sudo apt-get install apache2 php5 php5-mysql libapache2-mod-php5 phpmyadmin
- Surf to http://ip/phpmyadmin and log on to the mysql db – does it work? yay!
- Create drupal db – see INSTALL.mysql.txt – basically this just tells you to create a database and a user. It asks you to do this via manual SQL queries, but we have phpmyadmin so we just have to; 1. click on databases and create a new one. 2. after that, click on privileges and create a new user. 3 just type in username and password, leave the rest for default.
- Copy extracted files to your www directory. Beware of rights, use chmod and possibly chown. /var/www/ is the default directory.
- Surf to http://ip/drupal (where install.php is)
- Standard setting
- Then it complains that it doesn’t have access. Because I had to set chmod 777 on the ‘sites’ directory under /drupal.
- Then I need to copy a file and make it writeable, just doing what the script tells me to.
- Configure the database settings.
- Now you can remove write access permissions on the sites/default directory and sites/default/settings.php
- Put in contact and admin accounts stuff.
- Done! Wow, that was easy :)
So much to do in there!
I will have to get back about this in another post :)