Author Topic: Help me install please  (Read 10405 times)

TBOL3

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
Help me install please
« on: October 08, 2008, 08:27:08 AM »
Hello, I would first like to thank all of the developers that are making this wonderful piece of software.

But I am having some troubles.  I am new to LAMP, (or at least the AMP part anyway).  I have recently tried eyeOS.  Unfortunately, the word proser in that is not good enough for me.  (Mainly because I can't save words in any format, other then .eyedoc or something like that).  So I came to opengoo.  While trying to install it, I got this:

    *  OK: PHP version is 5.2.4-2ubuntu5.3
    * OK: 'mysql' extension is loaded
    * Error: 'gd' extension is not loaded
    * OK: 'simplexml' extension is loaded
    * Error: /config/config.php is not writable
    * Error: /public/files is not writable
    * Error: /cache is not writable
    * Error: /upload is not writable
    * Error: /tmp is not writable

I think gd is some type if InnoDB, but I don't know.  And I don't know how to install it (I just got php and mysql for the ubuntu repos).  So could you tell me how to get it?

And second, is it safe to make these directories writable?  It seems as if it's not secure.

Thank you for the help.

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Help me install please
« Reply #1 on: October 08, 2008, 09:51:16 AM »
GD is a php extension used in OpenGoo to draw image thumbnails.
To install try this (untested by me) tutorial: http://www.boutell.com/gd/faq.html
The directories should be writable by apache (so as to save uploaded files, thumbnails, config, etc), not by the world.
Marcos

TBOL3

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
Re: Help me install please
« Reply #2 on: October 08, 2008, 08:06:02 PM »
Thank you.

I just installed gd by the command sudo apt-get install php5-gd.  However, opengoo still complains, saying I need to install it.

Can anyone help?  Thank you.

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Help me install please
« Reply #3 on: October 09, 2008, 02:33:54 PM »
Can you see gd extension installed when you run
Code: [Select]
phpinfo();?
Marcos

TBOL3

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
Re: Help me install please
« Reply #4 on: October 09, 2008, 06:27:28 PM »
Hmm... my computer must have just needed a restart.  It works now.  I also added read/write permission to the folders.  Unfortunately, the next step wants me to set up a database.  I don't have the first clue on what to do. Can you help again?  Thank you.

Edit:  BTW, it looks like you're the main guy that's helping people.  Thank you very much.
« Last Edit: October 09, 2008, 07:58:19 PM by TBOL3 »

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Help me install please
« Reply #5 on: October 10, 2008, 09:30:02 AM »
You should have a MySql server installed. Get one here: http://www.mysql.com/. When you install or configure you will be requested a user password.

After this you must then create a database for OpenGoo. If you decide to call it opengoo, you should run the following statement after you log into Mysql:
Code: [Select]
create database opengoo;
In OpenGooconfig options put:
username=root
passowrd=empty, or the one you chose some steps before
database=opengoo
db server=localhost
other options leave default

Hope it helps,
Marcos

TBOL3

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • Email
Re: Help me install please
« Reply #6 on: October 11, 2008, 06:45:11 PM »
Great, thanks, It's installed now.

So, I would now like to make it more secure.  I had to chmod all the folders in my first post to 777 to get them to work.  I read that 755 would work, but it didn't.  How can I prevent just anyone from playing with those files?  Thanks.

cabeza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1004
    • View Profile
    • Feng Office
Re: Help me install please
« Reply #7 on: October 13, 2008, 06:42:39 PM »
Hello TBOL,
This really depends on your server permissions and configuration. Permissions depend on the user and/or group that is running Apache (or PHP).
The bottom line is: OpenGoo needs write permissions over those folders in order to work.
Given that Apache and PHP are running with user1, and user1 is owner of all the files in the OpenGoo install: 755 permissions should work.
Hope it helps,
Marcos