Linux Adviser Installing SugarCRM On Linux

 11 July 16:16   Actuality is how I installed SugarCRM on a new PC:

     #cd /usr/src

     #rpm -i MySQL #mysql_install_db

     #mysqld_safe &

     < hit access afresh >

     #mysqladmin –u basis countersign ‘enter-new-root-password-in-single-quotes’

     #mysqlshow –p

     Access Password:

    You should see something like:

     Databases

     ---------

     mysql

     test

     #mysql –u basis –p

     Access Password:

     mysql>SET Countersign FOR ‘root’@’localhost’=OLD_PASSWORD(‘New-Password’);

     mysql>use mysql

     mysql>delete from user area User=’’;

     mysql>quit

     #gzip –d httpd-2.0.54.tar.gz

     #tar xvf httpd-2.0.54.tar

     #gunzip php-4.3.11.tar.gz

     #tar -xvf php-4.3.11.tar

     #cd httpd-2.0.54

     #./configure --enable-so

     #make

     #make install

     #cd ../php-4.3.11

     #./configure --with-apxs2=/usr/local/apache2/bin/apxs (hit access key)

     --with-mysql-sock=/var/lib/mysql/mysql.sock

     #make

     #make install

     #cp php.ini-dist /usr/local/lib/php.ini

    Search for: memory_limit = 8M, change 8M to 16M

    Save & Abutting file

    Find loadmodule and create abiding this band was added, ( or add )

     LoadModule php4_module modules/libphp4.so

    Find addtype and add

     AddType application/x-tar.tgz

     AddType application/x-httpd-php .php .phtml

     AddType application/x-httpd-php-source .phps

    Find directoryindex and add index.php to the line:

     DirectoryIndex index.php index.html index.html.var

     #/usr/local/apache2/bin/apachectl start

    If you get the afterward error: “ Cannot amount /usr/local/apache2/modules/libphp4.so into server: /usr/local/apache2/modules/libphp4.so : cannot restore articulation prot afterwards reloc: Permission Denied”

    Type:

     #chcon –t shlib_t /usr/local/apache2/modules/libphp4.so

    now try and start:

     #/usr/local/apache2/bin/apachectl start

    Create a book in /usr/local/apache2/htdocs/ called test.php and access the afterward band in the file:

    

    Save and close.

    Set permissions on book to 755.

    Now in a browser blazon http://localhost/test.php You should see a PHP advice awning with your accepted settings.

    Edit or make the /etc/my.cnf file, create it attending like the following:

     [mysqld]

     #use old countersign encryption adjustment ( bare for 4.0 and earlier audience ).

     old-passwords

     basedir=/var/lib/mysql

    Save and abutting file.

    Find: basedir=/ and change to:

     basedir=/var/lib/mysql

    select mysql, bang restart

     #chmod -R 777 /usr/local/apache2/htdocs/sugarsuite

     #chmod -R 755 /usr/local/apache2/htdocs/sugarsuite

     #cd /usr/local/apache2/htdocs/sugarsuite

     #chmod -R 777 ./cache/

     #chmod -R 777 ./custom/

     #chmod -R 777 ./data/

     #chmod -R 777 ./modules/

     #chmod -R 444 config.php

     #cp /usr/local/apache2/bin/apachectl /etc/init.d/

     #1/bin/sh

     #

     #chkconfig: - 85 15

     #description: Apache is a Web server to serve HTML files and CGI.

     #

     #copyright (c) 2000-2004 The Apache Software Foundation

     #/sbin/chkconfig --add apachectl

    

 


Tags: application, install, guide, installing, linux, index

 mysql, local, apache2, password, chmod, httpd, modules, apachectl, htdocs, index, libphp4, addtype, linux, sugarcrm, sugarsuite, basedir, following, application, install, , usr local, local apache2, apache2 htdocs, modules libphp4, apache2 bin, htdocs sugarsuite, apache2 modules, bin apachectl, mysql mysql, addtype application, var lib, usr local apache2, local apache2 htdocs, apache2 htdocs sugarsuite, apache2 modules libphp4, local apache2 modules, htdocs sugarsuite chmod, guide installing sugarcrm, linux guide installing,

Share Linux Adviser Installing SugarCRM On Linux:
Digg it!   Google Bookmarks   Del.icio.us   Yahoo! MyWeb   Furl  Binklist   Reddit!   Stumble Upon   Technorati   Windows Live   Bookmark

Text link code :
Hyper link code:

Also see ...

Permalink
Article In : Computers & Technology  -  Linux