Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhoedram/36a58958680e74cdcfe74ead80f68206 to your computer and use it in GitHub Desktop.
Save jhoedram/36a58958680e74cdcfe74ead80f68206 to your computer and use it in GitHub Desktop.
how to install oro crm on ubuntu
###############################################
#
# Install ORO CRM
#
###############################################
cd /var/www/html/OroCrm # go to your install OroCrm folder
git clone https://github.com/orocrm/crm.git # clone packages to be installer
# git clone https://github.com/orocrm/platform.git # optional
# git clone -b 1.4.1 https://github.com/orocrm/crm-application.git # clone specific version from github
git clone http://github.com/orocrm/crm-application.git # clone packages to be installer
# You may find useful some info from composer during installation
# https://getcomposer.org/doc/03-cli.md#install
# https://getcomposer.org/doc/03-cli.md#require
cd crm # go on new cloned folders
curl -sS https://getcomposer.org/installer | php # get composer
# sudo apt-get update # if curl not installed, then install it
# sudo apt-get install php5-curl # php php-curl not installed, then install it
# php composer.phar install # because this way brings errors on dependency i use "required"
# php composer.phar install --prefer-dist --no-dev # recomandaton from oro git
php composer.phar update # update composer
php composer.phar require besimple/soap-client "~0.2" --prefer-dist # intall dependencies
# Set on composer installation driver "mysqli".
# In case case of providing wrong Doctrine driver by intall, repeat install operation:
rm -rf crm-application/ # delete folder
git clone http://github.com/orocrm/crm-application.git # clone again
cd crm-application # go to install folder
curl -s https://getcomposer.org/installer | php # get composer
php composer.phar require besimple/soap-client "~0.2" --prefer-dist # intall again
# Set on composer installation driver "mysqli".
# Install mcrypt
sudo apt-get install php5-mcrypt # get php5-mcrypt
sudo php5enmod mcrypt # enable module mcrypt
sudo service apache2 restart # restart apache
php --ini # check php extensions config files
env # check envoirement
# Add your timezone in php.ini (both) and memory limit to 512Mb :
find / -type f -iname 'php.ini' -exec grep -i 'timezone' {} + # check data.timezone in php.ini(s)
sudo nano /etc/php5/apache2/php.ini # to modify data.timezone
sudo nano /etc/php5/cli/php.ini # to modify data.timezone
#Add ORO_PHP_PATH in env:
export ORO_PHP_PATH=$PATH:/usr/bin/php # set path
echo $ORO_PHP_PATH # check path
php app/console cache:clear # clear symfony cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment