How we can install magento 2.2.0 via command line comand?












2















How we can install magento 2.2.0 via command line command(CLI) using Ubuntu ?
Could you please some share command?










share|improve this question





























    2















    How we can install magento 2.2.0 via command line command(CLI) using Ubuntu ?
    Could you please some share command?










    share|improve this question



























      2












      2








      2








      How we can install magento 2.2.0 via command line command(CLI) using Ubuntu ?
      Could you please some share command?










      share|improve this question
















      How we can install magento 2.2.0 via command line command(CLI) using Ubuntu ?
      Could you please some share command?







      magento2 php-7 cli magento2.2.0






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 18 '18 at 2:29







      user60445

















      asked Oct 28 '17 at 6:43









      Pramod KharadePramod Kharade

      1,626928




      1,626928






















          3 Answers
          3






          active

          oldest

          votes


















          3














           php bin/magento setup:install --backend-frontname="admin" --key="admin" --session-save="files" --db-host="localhost" --db-name="magento_2_db" --db-user="root" --db-password="root" --base-url="http://local.magento.com/" --base-url-secure="https://local.magento2.com/" --admin-user="admin" --admin-password="admin123" --admin-email="pramod.kharade@example.com" --admin-firstname="Pramod" --admin-lastname="Kharade"





          share|improve this answer

































            0














            Yes, You can install using Command. Magento 2 has ability do that:




            php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ 
            --db-host=localhost --db-name=magento --db-user=magento --db-password=magento
            --admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com
            --admin-user=admin --admin-password=admin123 --language=en_US
            --currency=USD --timezone=America/Chicago --use-rewrites=1



            See more at Magento Dev doc: http://devdocs.magento.com/guides/v2.2/install-gde/install/cli/install-cli-install.html






            share|improve this answer

































              0














              Go to your root directory likes:  C:xampphtdocsmagento2>



              php bin/magento setup:install
              --base-url="http://127.0.0.1/magento2/"
              --db-host="localhost"
              --db-name="databasename"
              --db-user="databaseuser"
              --db-password="databasepass"
              --admin-firstname="Yourname"
              --admin-lastname="Yourname"
              --admin-email="borntowinanwar@gmail.com"
              --admin-user="admin"
              --admin-password="strongpassword"
              --backend-frontname="admin"





              share























                Your Answer








                StackExchange.ready(function() {
                var channelOptions = {
                tags: "".split(" "),
                id: "479"
                };
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function() {
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled) {
                StackExchange.using("snippets", function() {
                createEditor();
                });
                }
                else {
                createEditor();
                }
                });

                function createEditor() {
                StackExchange.prepareEditor({
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: false,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: null,
                bindNavPrevention: true,
                postfix: "",
                imageUploader: {
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                },
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                });


                }
                });














                draft saved

                draft discarded


















                StackExchange.ready(
                function () {
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f199034%2fhow-we-can-install-magento-2-2-0-via-command-line-comand%23new-answer', 'question_page');
                }
                );

                Post as a guest















                Required, but never shown

























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                3














                 php bin/magento setup:install --backend-frontname="admin" --key="admin" --session-save="files" --db-host="localhost" --db-name="magento_2_db" --db-user="root" --db-password="root" --base-url="http://local.magento.com/" --base-url-secure="https://local.magento2.com/" --admin-user="admin" --admin-password="admin123" --admin-email="pramod.kharade@example.com" --admin-firstname="Pramod" --admin-lastname="Kharade"





                share|improve this answer






























                  3














                   php bin/magento setup:install --backend-frontname="admin" --key="admin" --session-save="files" --db-host="localhost" --db-name="magento_2_db" --db-user="root" --db-password="root" --base-url="http://local.magento.com/" --base-url-secure="https://local.magento2.com/" --admin-user="admin" --admin-password="admin123" --admin-email="pramod.kharade@example.com" --admin-firstname="Pramod" --admin-lastname="Kharade"





                  share|improve this answer




























                    3












                    3








                    3







                     php bin/magento setup:install --backend-frontname="admin" --key="admin" --session-save="files" --db-host="localhost" --db-name="magento_2_db" --db-user="root" --db-password="root" --base-url="http://local.magento.com/" --base-url-secure="https://local.magento2.com/" --admin-user="admin" --admin-password="admin123" --admin-email="pramod.kharade@example.com" --admin-firstname="Pramod" --admin-lastname="Kharade"





                    share|improve this answer















                     php bin/magento setup:install --backend-frontname="admin" --key="admin" --session-save="files" --db-host="localhost" --db-name="magento_2_db" --db-user="root" --db-password="root" --base-url="http://local.magento.com/" --base-url-secure="https://local.magento2.com/" --admin-user="admin" --admin-password="admin123" --admin-email="pramod.kharade@example.com" --admin-firstname="Pramod" --admin-lastname="Kharade"






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Oct 28 '17 at 7:13

























                    answered Oct 28 '17 at 6:43









                    Pramod KharadePramod Kharade

                    1,626928




                    1,626928

























                        0














                        Yes, You can install using Command. Magento 2 has ability do that:




                        php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ 
                        --db-host=localhost --db-name=magento --db-user=magento --db-password=magento
                        --admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com
                        --admin-user=admin --admin-password=admin123 --language=en_US
                        --currency=USD --timezone=America/Chicago --use-rewrites=1



                        See more at Magento Dev doc: http://devdocs.magento.com/guides/v2.2/install-gde/install/cli/install-cli-install.html






                        share|improve this answer






























                          0














                          Yes, You can install using Command. Magento 2 has ability do that:




                          php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ 
                          --db-host=localhost --db-name=magento --db-user=magento --db-password=magento
                          --admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com
                          --admin-user=admin --admin-password=admin123 --language=en_US
                          --currency=USD --timezone=America/Chicago --use-rewrites=1



                          See more at Magento Dev doc: http://devdocs.magento.com/guides/v2.2/install-gde/install/cli/install-cli-install.html






                          share|improve this answer




























                            0












                            0








                            0







                            Yes, You can install using Command. Magento 2 has ability do that:




                            php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ 
                            --db-host=localhost --db-name=magento --db-user=magento --db-password=magento
                            --admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com
                            --admin-user=admin --admin-password=admin123 --language=en_US
                            --currency=USD --timezone=America/Chicago --use-rewrites=1



                            See more at Magento Dev doc: http://devdocs.magento.com/guides/v2.2/install-gde/install/cli/install-cli-install.html






                            share|improve this answer















                            Yes, You can install using Command. Magento 2 has ability do that:




                            php bin/magento setup:install --base-url=http://127.0.0.1/magento2/ 
                            --db-host=localhost --db-name=magento --db-user=magento --db-password=magento
                            --admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com
                            --admin-user=admin --admin-password=admin123 --language=en_US
                            --currency=USD --timezone=America/Chicago --use-rewrites=1



                            See more at Magento Dev doc: http://devdocs.magento.com/guides/v2.2/install-gde/install/cli/install-cli-install.html







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Oct 28 '17 at 12:33









                            Nisse Engström

                            43345




                            43345










                            answered Oct 28 '17 at 7:11









                            Amit BeraAmit Bera

                            57.6k1474172




                            57.6k1474172























                                0














                                Go to your root directory likes:  C:xampphtdocsmagento2>



                                php bin/magento setup:install
                                --base-url="http://127.0.0.1/magento2/"
                                --db-host="localhost"
                                --db-name="databasename"
                                --db-user="databaseuser"
                                --db-password="databasepass"
                                --admin-firstname="Yourname"
                                --admin-lastname="Yourname"
                                --admin-email="borntowinanwar@gmail.com"
                                --admin-user="admin"
                                --admin-password="strongpassword"
                                --backend-frontname="admin"





                                share




























                                  0














                                  Go to your root directory likes:  C:xampphtdocsmagento2>



                                  php bin/magento setup:install
                                  --base-url="http://127.0.0.1/magento2/"
                                  --db-host="localhost"
                                  --db-name="databasename"
                                  --db-user="databaseuser"
                                  --db-password="databasepass"
                                  --admin-firstname="Yourname"
                                  --admin-lastname="Yourname"
                                  --admin-email="borntowinanwar@gmail.com"
                                  --admin-user="admin"
                                  --admin-password="strongpassword"
                                  --backend-frontname="admin"





                                  share


























                                    0












                                    0








                                    0







                                    Go to your root directory likes:  C:xampphtdocsmagento2>



                                    php bin/magento setup:install
                                    --base-url="http://127.0.0.1/magento2/"
                                    --db-host="localhost"
                                    --db-name="databasename"
                                    --db-user="databaseuser"
                                    --db-password="databasepass"
                                    --admin-firstname="Yourname"
                                    --admin-lastname="Yourname"
                                    --admin-email="borntowinanwar@gmail.com"
                                    --admin-user="admin"
                                    --admin-password="strongpassword"
                                    --backend-frontname="admin"





                                    share













                                    Go to your root directory likes:  C:xampphtdocsmagento2>



                                    php bin/magento setup:install
                                    --base-url="http://127.0.0.1/magento2/"
                                    --db-host="localhost"
                                    --db-name="databasename"
                                    --db-user="databaseuser"
                                    --db-password="databasepass"
                                    --admin-firstname="Yourname"
                                    --admin-lastname="Yourname"
                                    --admin-email="borntowinanwar@gmail.com"
                                    --admin-user="admin"
                                    --admin-password="strongpassword"
                                    --backend-frontname="admin"






                                    share











                                    share


                                    share










                                    answered 1 min ago









                                    AnwarAnwar

                                    147




                                    147






























                                        draft saved

                                        draft discarded




















































                                        Thanks for contributing an answer to Magento Stack Exchange!


                                        • Please be sure to answer the question. Provide details and share your research!

                                        But avoid



                                        • Asking for help, clarification, or responding to other answers.

                                        • Making statements based on opinion; back them up with references or personal experience.


                                        To learn more, see our tips on writing great answers.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function () {
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f199034%2fhow-we-can-install-magento-2-2-0-via-command-line-comand%23new-answer', 'question_page');
                                        }
                                        );

                                        Post as a guest















                                        Required, but never shown





















































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown

































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown







                                        Popular posts from this blog

                                        Magento 2 controller redirect on button click in phtml file

                                        Polycentropodidae