/

Comments

likewhoa’s picture

use webapp-config to install the necessary drupal scripts for your vhost.
you don't need to manually add the drupal db and or user, the drupal install.php script will
automate this for you.

i.e

webapp-config -I -h mydomain.com drupal 5.1

Bending technology to fit business

nonewewewe’s picture

Hallo:
I did what you told me -with http://localhost, thou i have another questions:

But if i go to http://localhost/install.php -or cron.php- i get error of loading the page, with localhost alone, i get the typical page of apache.
Now if i do http://localhost/drupal/ i get listed all the files of the drupal folder, including install.php and cron.php, thou, if i click of any of it, i get the source code and no the supposed page of Drupal.

Following:
I paste the drupal-script in /var/www/localhost/htdocs/drupal, and do:
/*****************************************************************/
mysql -u root -p < /var/www/localhost/htdocs/drupal/drupal-script
Enter password: i put the password of MySQL, and not the password of the scrpit!.............why?? -in the other way it does not work!
ERROR 1062 (23000) at line 2: Duplicate entry 'localhost-drupal' for key 1
/*****************************************************************/

The drupal-script is as follows:
/*****************************************************************/
USE mysql;
INSERT INTO user (host, user, password, select_priv, insert_priv, update_priv) VALUES ('localhost', 'drupal', PASSWORD('drupal'), 'Y', 'Y', 'Y');
CREATE database drupal;
USE drupal;
GRANT ALL PRIVILEGES ON drupal.* TO drupal@'%' IDENTIFIED BY 'drupal';
FLUSH privileges;
/*****************************************************************/

Well, as you can see the installation is getting troublesome for me!

Greetings
Gromlok

unixbhaskar’s picture

I have made an attempt here to make it clean install on Gentoo..pls view

http://unixbhaskar.wordpress.com/2012/02/09/installing-drupal-in-gentoo/

Hope this will help.

Cheers!
Bhaskar