本文介绍了在本地安装和设置TYPO3的最快方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在本地计算机上安装并设置TYPO3。最佳做法和最快方法是什么?

I want to install and set up TYPO3 on my local machine. What's the best practice and fastest way to do so?

推荐答案

要在本地计算机上运行TYPO3,您需要运行Web服务器您的机器。

For running TYPO3 on a local machine you need a web server running on your machine.

这可以通过不同的方式完成:

This can be done in different ways:


  1. 本地网站基于Linux的计算机上的服务器,PHP和数据库

  2. 虚拟机(VirtualBox,VMWare,Parallels等)

  3. Vagrant

  4. Docker

  1. Native Web Server, PHP and database on a Linux based machine
  2. Virtual Machine (VirtualBox, VMWare, Parallels, etc.)
  3. Vagrant
  4. Docker

在我看来,当前非超级用户最快的方法是ddev。
ddev是一种用户友好的方法,可以在docker base上为TYPO3运行完美的环境。它可以在Linux,Mac和Windows(最低版本10,建议使用hyper-v)上运行,并提供了获得最佳体验所需的所有技术。

Currently the fastest way to a "non power user" in my opinion is ddev.ddev is a user-friendly possibility to run a perfect environment for TYPO3 on a docker base. It runs on Linux, Mac and Windows (minimum version 10, hyper-v recommended) and it brings all technologies you need for best experience.


  1. 安装Docker和ddev,请参见

  2. 为您的安装创建一个文件夹,例如〜/网站/ my-site / C:\网站\my-网站\ 并进入

  3. 运行 ddev config 并在对话框中设置以下三个选项:

  1. Install Docker and ddev, see https://ddev.readthedocs.io/en/stable/
  2. Create a folder for your installation, e.g. ~/Websites/my-website/ or C:\Websites\my-website\ and go into it.
  3. Run ddev config and set these three options in the dialog:

  1. 项目名称(默认为您的文件夹名称):随便

  2. Docroot位置: public 然后说是用于创建

  3. 项目类型: typo3

  1. Project name (default is your folder name): Whatever you like
  2. Docroot location: public and say yes for creating
  3. Project type: typo3


  • 运行 ddev start 以启动Docker容器并添加您的root密码来设置主机项(用于通过本地域访问)

  • 运行 ddev作曲家,创建typo3 / cms-base-distribution ^ 9 并说是以覆盖

  • 运行 ddev config ,然后在每个对话框中都按回车以创建一个文件,该文件为您的TYPO3安装提供数据库凭据

  • 运行 ddev exec供应商/ bin / typo3cms install:setup --no-interaction --admin-user-name = admin --admin-password = password --site-setup-type = site

  • Run ddev start to start the Docker containers and add your root password to set the hosts entry (for accessing it via local domain)
  • Run ddev composer create typo3/cms-base-distribution ^9 and say yes for overwriting
  • Run ddev config again and just hit enter for every dialog to create a file which provides the DB credentials for your TYPO3 installation
  • Run ddev exec vendor/bin/typo3cms install:setup --no-interaction --admin-user-name=admin --admin-password=password --site-setup-type=site
  • 仅此而已,您在本地计算机上有一个正在运行的TYPO3实例。
    您可以通过在浏览器中使用< project-name> .ddev.local 来访问它,在我们的示例中,它应该为。要进入TYPO3后端,您只需将凭据 admin:password 放在。

    That's all, you have a running TYPO3 instance on your local machine.You can access it by using <project-name>.ddev.local in your browser, in our example it should be http://my-website.ddev.local. To get into the TYPO3 backend you only need to put the credentials admin:password on http://my-website.ddev.local/typo3.

    有关故障排除的信息,请访问:

    For troubleshooting go to:

    • https://ddev.readthedocs.io/en/stable/users/troubleshooting/
    • https://docs.typo3.org/typo3cms/InstallationGuide/Troubleshooting/Index.html
    • https://docs.typo3.org/typo3cms/ContributionWorkflowGuide/Appendix/SettingUpTypo3Ddev.html

    这篇关于在本地安装和设置TYPO3的最快方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

    10-16 15:24