Installing Orocommerce Community on Ubuntu 18.04 LTS

From Thom's wiki
Jump to navigation Jump to search

 sudo apt-get install nginx wget git nodejs supervisor
 sudo apt-get install mysql-server-5.7

Installing PHP 7.3

 sudo apt install software-properties-common
 sudo add-apt-repository ppa:ondrej/php
 sudo apt update
 sudo apt-get -y install php7.3-fpm php7.3-dev php7.3-mysql php7.3-xml php7.3-soap php7.3-gd php7.3-mbstring php7.3-zip php7.3-intl php7.3-opcache
 sudo apt-get -y install gcc make autoconf libc-dev pkg-config re2c
 sudo apt-get -y install libmcrypt-dev
 sudo apt-get -y dist-upgrade
 sudo pecl install mcrypt-1.0.3

You should add "" to php.ini

Install Composer

 sudo php -r "copy('', 'composer-setup.php');" && php composer-setup.php
 sudo php -r "unlink('composer-setup.php');"
 sudo mv composer.phar /usr/bin/composer