![]() Run composer to install all Magento dependencies: sudo composer install ![]() Get the latest stable release, at the time of the writing it’s Magento 2.1.2: cd /var/www/ sudo git checkout $(git describe -tags $(git rev-list -tags -max-count=1)) Sudo mv composer.phar /usr/local/bin/composer Install Magento 2 from GithubĬlone the Magento repository to the ~/ directory using the following command: sudo git clone /var/www/ The composer will pull in all the required libraries and dependencies you need for your project. The composer is a dependency manager for PHP with which you can install packages. */zlib.output_compression = on/" /etc/php/7.0/fpm/php.ini Sudo sed -i "s/zlib.output_compression =. To install the latest stable version of PHP 7.0 and all necessary modules, run: sudo apt-get -y install php-fpm php-cli php-gd php-imagick php-mysql php-mcrypt php-pear php-curl php-intl php-xsl php-zip php-mbstringĬhange few default PHP settings: sudo sed -i "s/memory_limit =. MariaDB > \q Install PHP 7.0, composer and all required PHP modules MariaDB > GRANT ALL PRIVILEGES ON magento.* TO IDENTIFIED BY 'my_strong_password' mysql -uroot -p MariaDB > CREATE DATABASE magento Next, we need to create a database for our Magento installation. When the installation is complete, run the following command to secure your installation: mysql_secure_installation Install the latest MariaDB 10.0 server from the official Ubuntu repositories: sudo apt-get install -y mariadb-server ![]() Login to your VPS via SSH ssh Update the system and install necessary packages sudo apt-get update
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |