[英]I am not getting Agree and Setup magento when trying to install magento2
I have been trying to install Magento from a day or 2 in windows 10 using xampp.I downloaded the Magento zip file from the website and unzipped it in htdocs folder.我一直在尝试使用 xampp 在 Windows 10 中从一两天开始安装 Magento。我从网站下载了 Magento zip 文件并将其解压缩到 htdocs 文件夹中。 I also created a database name magento.
我还创建了一个数据库名称 magento。 Whenever I try to install magento by going to localhost/magento It doesn't show Agree and setup magento.
每当我尝试通过转到 localhost/magento 来安装 magento 它不显示同意并设置 magento。 Magento setup image
Magento 设置图像
我认为这可能是系统 cookie 的问题,因此您应该尝试使用隐身模式,也许您的问题已解决。
after Magento 2.4 release, there is no UI based installation, so you have to install Magento with CLI https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-install.html Magento 2.4 发布后,没有基于 UI 的安装,因此您必须使用 CLI https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-install安装 Magento 。 html
check this might help检查这可能有帮助
or或者
follow these steps :按着这些次序 :
1.Download and Install Xampp 1.下载并安装Xampp
2.Download and Install Elasticsearch run 2.下载安装Elasticsearch运行
3.Download Magento 2 3.下载Magento 2
5.Elasticsearch Just for Check http://localhost:9200/ 5.Elasticsearch 仅用于检查 http://localhost:9200/
Edit Gd2.php file [\\vendor\\magento\\framework\\Image\\Adapter]: Add " && !file_exists($filename)" part;编辑 Gd2.php 文件 [\\vendor\\magento\\framework\\Image\\Adapter]:添加“&&!file_exists($filename)”部分; Around 90 line
90线左右
Edit di.xml file [\\app\\etc]: find and change word "Symlink" to "copy";编辑 di.xml 文件 [\\app\\etc]:找到单词“Symlink”并将其更改为“copy”;
Edit Validator.php file [\\vendor\\magento\\framework\\View\\Element\\Template\\File]: $realPath = str_replace('\\', '/', $this->fileDriver->getRealPath($path));编辑 Validator.php 文件 [\\vendor\\magento\\framework\\View\\Element\\Template\\File]: $realPath = str_replace('\\', '/', $this->fileDriver->getRealPath($path));
Create Database创建数据库
php bin/magento setup:install --base-url="http://localhost/magento" --db-host="localhost" --db-name="dbmagento" --db-user="root" --db-password="" --admin-firstname="admin" --admin-lastname="admin" --admin-email="user@example.com" --admin-user="admin" --admin-password="admin123" --use-rewrites="1" --backend-frontname="admin" php bin/magento 设置:安装 --base-url="http://localhost/magento" --db-host="localhost" --db-name="dbmagento" --db-user="root" - -db-password="" --admin-firstname="admin" --admin-lastname="admin" --admin-email="user@example.com" --admin-user="admin" --admin -password="admin123" --use-rewrites="1" --backend-frontname="admin"
( Do not turn off elasticsearch / Install take too much time So Please Wait ) (不要关闭elasticsearch/安装需要太多时间所以请稍等)
11.php bin/magento indexer:reindex 11.php bin/magento indexer:reindex
12.php bin/magento setup:upgrade 12.php bin/magento 设置:升级
13.php bin/magento setup:static-content:deploy -f 13.php bin/magento setup:static-content:deploy -f
14.php bin/magento cache:flush 14.php bin/magento 缓存:刷新
15.Fix Two Factor Auth login admin php bin/magento module:disable Magento_TwoFactorAuth 15.Fix Two Factor Auth login admin php bin/magento module:disable Magento_TwoFactorAuth
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.