Drupal [Solved]

Discussions Regarding Software

Moderator: Moderators

Drupal [Solved]

Postby B3rtm3n » Wed Sep 26, 2012 17:00

I would like to use Drupal.

I have been reading 2 days and trying but it seems that getting Drupal installed is more difficult than using it.

You need at least following programs:
- MySQL
- Apache Server
- PHP

and with specific settings, but since I am a simple hen for some reason (I can work with programs but getting them installed is another question) I wonder if there is an easy way out.

Bitnami (http://bitnami.org/stack/drupal) seems to offer an easy install but I do not know how I can install this on Sabayon.

Is there anyone able to describe how I can install Drupal on Sabayon and get it working?

Any help would be appreciated very much..
Last edited by B3rtm3n on Sat Sep 29, 2012 19:54, edited 4 times in total.
B3rtm3n
Growing Hen
 
Posts: 126
Joined: Fri Apr 13, 2012 2:53

Re: Drupal

Postby wolfden » Fri Sep 28, 2012 5:27

all you need to do is setup lamp a guide like: http://benstrawbridge.com/worklogs/index.php?pg=lamp

Just skip the portage commands and replace them with entropy commands. Skip the installing of sablotron also, no need for it.
Another guide:
http://library.linode.com/lamp-guides/gentoo
and another:
http://www.unixmen.com/install-lamp-in-gentoosabayon/
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Drupal

Postby B3rtm3n » Sat Sep 29, 2012 7:23

I tried you links ...
Thanks anyway, but I can give you over 30 weblinks I tried too :wink:

I did everything but am unable to connect to local host.

So ...

Easiest way to use Drupal:

1) Use Windows
2) Or what I did, install Kubuntu next to Sabayon as dual boot and follow these instructions : https://help.ubuntu.com/community/Drupal

What are my findings? I used Kubuntu before for a long time. Still as ugly as hell (standard theme), still buggy and lets not even start to talk about their update manager Muon which since the beginning still is buggy and crashes more often than WIndows and forces the user to use terminal or Synaptic instead :( and for some reason installing software takes about 2 till 3 times longer compared to Sabayon.

I love Sabayon ...

Next step:
Now I just spend 2 hours tryings figuring out how to update Drupal from 7.13 tot 7.15 since there is no basic step by step manual for noob users like me :oops:

Right nowI am feeling :cry:
B3rtm3n
Growing Hen
 
Posts: 126
Joined: Fri Apr 13, 2012 2:53

Re: Drupal

Postby wolfden » Sat Sep 29, 2012 8:01

how are you trying to connect to local host?

did you start apache?
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Drupal

Postby B3rtm3n » Sat Sep 29, 2012 8:38

yes, that is the weird thing, everything is up and running (except phpmyadmin which does not show up in the menu) but php is up and so is mysql.

Ps. Concerning updating Drupal on Kubuntu
just found out myself (I tried installing the latest version in every folder of Drupal I found).
Updates (all files except the sites folder as far I have understood) have to be installed in /usr/share/drupal7/
than logon to drupal, for me it is http://localhost/drupal7/ and add update.php so you get http://localhost/drupal7/update.php and run the update.

I tried to look for the same folders in Sabayon but I do not find them on the same location and some seem missing.
I will compare both systems, maybe I can find the error why I can not get Drupal to work on Sabayon.
B3rtm3n
Growing Hen
 
Posts: 126
Joined: Fri Apr 13, 2012 2:53

Re: Drupal

Postby svantoviit » Sat Sep 29, 2012 14:07

B3rtm3n wrote:…with specific settings

I'm running Drupal on my local machine without any issues. You don't need to change any settings, despite of enabling PHP as it is suggested in the post install message. And the next thing is to configure mysql, which you can do with equo. Further I use phpmyadmin to administer databases.
You can install Drupal into /var/www/localhost/htdocs/ as described on it's web-page or use equo… all is quite easy.

  1. Aktivate PHP:
    open /etc/conf.d/apache2
    look for APACHE_OPTS
    and add -D PHP5

  2. configure mysql:
    open terminal and run
    Code: Select all
    equo config dev-db/mysql

  3. start the server and mysql:
    Code: Select all
    /etc/init.d/mysql start
    /etc/init.d/apache2 start

    you can add both to the default runlevel, if you want to run the server instantly:
    Code: Select all
    rc-update add apache2 default
    rc-update add mysql default

If you installed phpMyAdmin and the server is started, you will find it at: http://localhost/phpmyadmin

PS: Shouldn't localhost work, use your local IP instead, or add it to /etc/hosts, eventually specify "ServerName localhost' in /etc/apache2/httpd.conf
User avatar
svantoviit
Technological Hen
 
Posts: 385
Joined: Sun Feb 28, 2010 17:55
Location: Europe

Re: Drupal

Postby B3rtm3n » Sat Sep 29, 2012 18:51

I did not found the install in /var/www/localhost/htdocs/ as you descriped and overlooked it on the website.
All the other links do not mention this.

I installed Drupal using terminal and a second time using the package manager. For some reason it did not install in /var/www/localhost/htdocs/ on my system using terminal and Rigo.
I downloaded Drupal and installed it as you mentioned in /var/www/localhost/htdocs/.
It works !!!

Thanks a lot :D

However when starting the config I get a message: 'The directory sites/default/files is not writable. An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually or ensure that the installer has the permissions to create it automatically. For more information, see INSTALL.txt or the online handbook.'

I will try to solve this, I remember reading somewhere about this.
B3rtm3n
Growing Hen
 
Posts: 126
Joined: Fri Apr 13, 2012 2:53

Re: Drupal

Postby B3rtm3n » Sat Sep 29, 2012 19:11

Got it, I named the folder drupal7:

Code: Select all
chmod 777 -R /var/www/localhost/htdocs/drupal7


fixed this issue.

But now it's mentioning: Failed to connect to your database server. The server reports the following message: SQLSTATE[28000] [1045] Access denied for user 'drupal'@'localhost' (using password: YES).
B3rtm3n
Growing Hen
 
Posts: 126
Joined: Fri Apr 13, 2012 2:53

Re: Drupal

Postby B3rtm3n » Sat Sep 29, 2012 19:54

I solved it:

Database username was root, that is why I could not connect

All up and running, thanks a lot anyway
B3rtm3n
Growing Hen
 
Posts: 126
Joined: Fri Apr 13, 2012 2:53


Return to Software in General

Who is online

Users browsing this forum: No registered users and 0 guests