Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.
/ magento2 Public archive

Install Magento2 with Sample Data without composer, just clone it and set credentials

License

OSL-3.0 and 2 other licenses found

Licenses found

OSL-3.0
LICENSE.txt
Unknown
COPYING.txt
AFL-3.0
LICENSE_AFL.txt
Notifications You must be signed in to change notification settings

xemeitsolutions/magento2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

magento2

Magento 2 with Sample Data

Installation instructions

Step 1: Verify your prerequisites

Use the following table to verify you have the correct prerequisites to install the Magento software.

Prerequisite How to check For more information
Apache 2.2 or 2.4 Ubuntu: apache2 -v
CentOS: httpd -v
Apache
PHP 5.5.x or 5.6.x php -v PHP Ubuntu
PHP CentOS
MySQL 5.6.x mysql -u [root user name] -p MySQL

Step 2: GIT Clone

git clone https://github.com/emizentech/magento2.git

Step 3: Create and Import Database

  *# untar mageto2.sql.tar.gz file
  tar -xzf mageto2.sql.tar.gz
  *# now create database using terminal or phpMyAdmin and import mageto2.sql file
  *# change URL in core_config_data table chage URL  for key web/unsecure/base_url &  web/secure/base_url

Step 4: Set DB Credentials

  • remame app/etc/env.php.sample to app/etc/env.php and set database credentials
        'db' => 
      array (
        'table_prefix' => '',
        'connection' => 
        array (
          'default' => 
          array (
            'host' => 'localhost', // Change if you have any other host for mysql
            'dbname' => 'magento2', // change your db name here
            'username' => 'username', // change your username here
            'password' => 'password', // change your password here
            'active' => '1',
          ),
        ),
      
    if you want to change admin path than change here
          'backend' => 
            array (
              'frontName' => 'admin',
            ),
      

Step 4: Set Permission and run website

  chown -R admin:www-data /var/www/magento2
  find /var/www/magento2 -type f -print0 | xargs -r0 chmod 640
  find /var/www/magento2 -type d -print0 | xargs -r0 chmod 750
  chmod -R g+w /var/www/magento2/{pub,var}

default admin credentials

username : admin 
password : admin@123!

About

Install Magento2 with Sample Data without composer, just clone it and set credentials

Resources

License

OSL-3.0 and 2 other licenses found

Licenses found

OSL-3.0
LICENSE.txt
Unknown
COPYING.txt
AFL-3.0
LICENSE_AFL.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published