Koozali.org: home of the SME Server

HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator

Offline tariqf

  • ****
  • 179
  • +0/-0
HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #15 on: January 22, 2007, 05:38:00 PM »
oh right in that case

unzip filename

Offline k0r54

  • ***
  • 111
  • +0/-0
HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #16 on: January 22, 2007, 05:52:29 PM »
what bit of code is it that changes the mysql password? I dont want to change mysql's root password

Offline k0r54

  • ***
  • 111
  • +0/-0
HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #17 on: January 22, 2007, 07:28:23 PM »
You wrote

Quote

download latest eaccelerator


What does this mean exactly, what eccelerator and where from? Also where would i extract too?

Ok, I have continued over that issue so i dont know but when i go to servername/sugarcrm i get a 403 forbiden error.

Also when u said look at the readme i done that but there is no install instructions so how do i install it?

Cheers

duncan

HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #18 on: January 22, 2007, 10:39:29 PM »
There is a vtiger rpm available that will give you a working setup of vtiger.
http://forums.contribs.org/index.php?topic=34534.0

The above howto is not detailed enough (and has a couple of errors in it) for a step by step install.

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #19 on: January 22, 2007, 10:52:20 PM »
Quote from: "k0r54"
the version to download only seems to be .zip?


man unzip
Regards,
William

IF I give advise.. It's only if it was me....

Offline k0r54

  • ***
  • 111
  • +0/-0
HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #20 on: January 23, 2007, 10:11:19 AM »
Hi,

How does vtiger size up to sugarcrm? I have only used sugar.

What errors are in this tutorial thay may be causing the error I am getting?

Thanks
k0r54

duncan

HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #21 on: January 23, 2007, 10:25:31 AM »
Quote from: "k0r54"
Hi,

How does vtiger size up to sugarcrm? I have only used sugar.

What errors are in this tutorial thay may be causing the error I am getting?

Thanks
k0r54


vtiger is a fork of sugar. Check it out > http://www.vtiger.com/

Offline k0r54

  • ***
  • 111
  • +0/-0
HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #22 on: January 23, 2007, 10:54:04 AM »
Hi,

Putting them side by side I think i do prefer sugarcrm.

Thanks though, i appreciate the alternative.

So what errors are there on this tutorial? some things I should have done?

Thanks
k0r54

duncan

HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #23 on: January 23, 2007, 11:22:18 AM »
Do a search for eaccelerator  on this site - you will find a version by mastersleepy (I think) - you will not need the php.ini template for this version.

Both eaccelerator and mod_deflate are not needed for this install - but will perhaps speed things up. This install should really be done outside the ibays.

Look in /var/logs/httpd/error_log to see why you are receiving errors.

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #24 on: January 23, 2007, 11:37:59 AM »
Quote from: "k0r54"
Hi,

Putting them side by side I think i do prefer sugarcrm.

Thanks though, i appreciate the alternative.

So what errors are there on this tutorial? some things I should have done?

Thanks
k0r54


This will get you started.

Code: [Select]
mkdir -p /opt/sugar
cd /opt/sugar


Code: [Select]
wget http://www.sugarforge.org/frs/download.php/2407/SugarOS-4.5.0h.zip
unzip SugarOS-4.5.0h.zip


Code: [Select]
chown -R www:www /opt/sugar/SugarOS-Full-4.5.0h

Code: [Select]
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
nano -w /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/86sugar


Paste the following in with a blank line top and bottom.

Code: [Select]

# sugar
Alias /sugar /opt/sugar/SugarOS-Full-4.5.0h
<Directory /opt/sugar/SugarOS-Full-4.5.0h>
    SSLRequireSSL on
    Options -Indexes
    AllowOverride all
    order deny,allow
    deny from all
    allow from all
    Satisfy all
    AddType application/x-httpd-php .php .php3
    php_flag  magic_quotes_gpc  on
    php_flag  track_vars        on
</Directory>


Code: [Select]
Control-X yes enter

Code: [Select]
expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/rc7.d/S86httpd-e-smith restart


https://your_server/sugar

See how that goes.

No php acceleration included.

You may need the phpmyadmin-multiuser contrib to help with the db.

You still need this hack
Quote
* edit install.php from your /opt/sugar/SugarOS-Full-4.5.0h directory and comment out the line $workflow[] = 'checkSystem.php';

Try without the hack first to see why you need it.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #25 on: January 23, 2007, 01:07:57 PM »
Here is the php speed up bit...

Code: [Select]
cd /usr/lib/php4
wget http://www.magicwilly.webhostingpal.com/SME7%20How%20To%20Files/sugarcrm/json.so


Code: [Select]
mkdir -p /etc/e-smith/templates-custom/etc/php.ini
nano -w /etc/e-smith/templates-custom/etc/php.ini/70extras


Paste the following.
Code: [Select]
extension=json.so

Code: [Select]
Control-X yes enter

Code: [Select]
expand-template /etc/php.ini
/etc/rc.d/rc7.d/S86httpd-e-smith restart


You can get the other stuff here....

http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=viewdownload&cid=6
Regards,
William

IF I give advise.. It's only if it was me....

Offline k0r54

  • ***
  • 111
  • +0/-0
HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #26 on: January 23, 2007, 03:57:38 PM »
Hi,

I have run through ur tut and downloaded, installed and activated mod_deflate and i have downloaded and install phpmyadmin-multiuser but dont know wat to do with it.

I had to remark the php.ini hack and im gettin to the stage on sugar but im gettin an error when creating database

Code: [Select]
Database admin user name and/or password is invalid (Error 1045: Access denied for user 'admin'@'localhost' (using password: YES))

I dont know wat the username and password is, i have tried both admin and root?

Any ideas on how to use the phpmyadmin-multiuser?

Thanks
k0r54

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #27 on: January 23, 2007, 06:36:56 PM »
login as admin/admin and then change the password.
"It should just work" if it doesn't report it. Thanks!

Offline k0r54

  • ***
  • 111
  • +0/-0
HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #28 on: January 23, 2007, 06:44:59 PM »
Hey,

Log into wat as admin/admin?

Edited - Sorry sorted! the database username and password

Thanks
k0r54

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
HOWTO: SME7.1 SugarCRM + php-json, mod_deflate, eaccelerator
« Reply #29 on: January 23, 2007, 06:56:35 PM »
Quote from: "k0r54"
Any ideas on how to use the phpmyadmin-multiuser?


Go to phpmyadmin webpage. I think that it's https://server/myadmin
and then enter username admin and password admin. Then change the pass.
"It should just work" if it doesn't report it. Thanks!