You are not logged in.

#1 2012-06-25 14:59:50

PerisH
Member
Registered: 2010-02-24
Posts: 24

[Solved]Drupal setup

Hi all! I'm new in server applications and I'm trying to install drupal to work with it and make web-pages. I read the wiki for install apache mysql and php, but i have an dude. What is the purpose of the drupal package in the comunity repo? Because,  it install drupal on /usr/share/webapps and I have to copy them to my "Directoryroot" for apache server, doesn't it?

Maybe, someone can explain me how to setup the config in apache to launch drupal, or it's mandatory copy the drupal's directory to "/srv/http/".

Thank's and excuse my English!!

Last edited by PerisH (2012-06-26 10:35:32)

Offline

#2 2012-06-25 22:10:01

KingX
Member
From: CA
Registered: 2010-03-24
Posts: 324

Re: [Solved]Drupal setup

The config will be very similar to that of phpmyadmin which is installed in the same place. I'll quote some of the steps you need to undertake. smile Make sure you have a working LAMP installation. Give the drupal wiki a lookover for some info.

wiki wrote:

Copy the example configuration file to your httpd configuration directory.
     cp /etc/webapps/drupal/apache.example.conf /etc/httpd/conf/extra/httpd-drupal.conf

wiki wrote:

Add the following lines to /etc/httpd/conf/httpd.conf:

# Drupal configuration
Include conf/extra/httpd-drupal.conf

In /etc/webapps/drupal/.htaccess, comment out deny from all. The line should look like this:

#deny from all

wiki wrote:

For Drupal 7, also enable a PDO extension for your database. For MySQL, extension=pdo_mysql.so should be enabled in /etc/php/php.ini

Restart httpd then your drupal install will be available at domain.tld/drupal.

Last edited by KingX (2012-06-25 22:11:07)

Offline

#3 2012-06-26 10:28:30

PerisH
Member
Registered: 2010-02-24
Posts: 24

Re: [Solved]Drupal setup

Ok!! Thankyou, it works like a charm! This have solved all my problems and I installed phpmyadmin too.

P.D.How can I delete the installation of drupal. I made somethin wrong and I want to configure another drupal installation.

Edit2. When install and configure translations (begin importing) drupal freezes.

Last edited by PerisH (2012-06-26 10:35:11)

Offline

#4 2012-06-26 19:33:52

KingX
Member
From: CA
Registered: 2010-03-24
Posts: 324

Re: [Solved]Drupal setup

If you used pacman to install it, then use pacman to remove it and delete the directories in /etc/webapps/drupal and /usr/share/webapps/drupal. If you copied the drupal directory to /srv/http then delete that also. Make sure you backup your working configs, it'll help you to set it up later.

I have never used drupal, I was merely giving you a nudge in the right direction. smile Google is your friend regarding any drupal errors/freezes or check the drupal community for drupal specific help.

Offline

Board footer

Powered by FluxBB