> For the complete documentation index, see [llms.txt](https://docs.imdcinsights.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imdcinsights.com/ying-yong-zhong-xin/nei-rong-guan-li/typo3-kuai-su-ru-men.md).

# Typo3快速入门

### 准备[​](https://support.websoft9.com/docs/typo3#%E5%87%86%E5%A4%87) <a href="#zhun-bei" id="zhun-bei"></a>

部署 创达睿通 提供的 Typo3 之后，需完成如下的准备工作：

1. 在云控制台获取您的 **服务器公网IP地址**
2. 在云控制台安全组中，确保 **Inbound（入）规则** 下的 **TCP:80** 端口已经开启
3. 在服务器中查看 Typo3 的 **默认账号和密码**
4. 若想用域名访问 Typo3 **域名五步设置** 过程

### Typo3 初始化向导[​](https://support.websoft9.com/docs/typo3#typo3-%E5%88%9D%E5%A7%8B%E5%8C%96%E5%90%91%E5%AF%BC) <a href="#typo3-chu-shi-hua-xiang-dao" id="typo3-chu-shi-hua-xiang-dao"></a>

#### 详细步骤[​](https://support.websoft9.com/docs/typo3#%E8%AF%A6%E7%BB%86%E6%AD%A5%E9%AA%A4) <a href="#xiang-xi-bu-zhou" id="xiang-xi-bu-zhou"></a>

1. 本地浏览器访问：[*http://域名*](http://xn--eqrt2g/) 或 [*http://公网IP*](http://xn--ip-xz4cq45o/) 进入安装向导
2. 系统进入环境检测步骤通过后，填写数据库参数

   <figure><img src="http://libs.websoft9.com/Websoft9/DocsPicture/en/typo3/typo3-installdb-websoft9.png" alt=""><figcaption></figcaption></figure>
3. 数据库连接成功后，系统提示选择一个已有数据库或创建一个新的数据库（推荐前者）
4. 设置管理账号和站点信息<br>

   <figure><img src="http://libs.websoft9.com/Websoft9/DocsPicture/en/typo3/typo3-installsetadmin-websoft9.png" alt=""><figcaption></figcaption></figure>
5. 完成安装后登录后台

> 需要了解更多 Typo3 的使用，请参考官方文档：[Typo3 Documentation](https://typo3.org/help/documentation/)

#### 出现问题？[​](https://support.websoft9.com/docs/typo3#%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98) <a href="#chu-xian-wen-ti" id="chu-xian-wen-ti"></a>

若碰到问题，请第一时刻联系 **技术支持**。也可以先参考下面列出的问题定位或 **FAQ** 尝试快速解决问题：

### Typo3 使用入门[​](https://support.websoft9.com/docs/typo3#typo3-%E4%BD%BF%E7%94%A8%E5%85%A5%E9%97%A8) <a href="#typo3-shi-yong-ru-men" id="typo3-shi-yong-ru-men"></a>

下面以 **使用 Typo3 构建内容管理系统** 作为一个任务，帮助用户快速入门：

### Typo3 常用操作[​](https://support.websoft9.com/docs/typo3#typo3-%E5%B8%B8%E7%94%A8%E6%93%8D%E4%BD%9C) <a href="#typo3-chang-yong-cao-zuo" id="typo3-chang-yong-cao-zuo"></a>

#### 扩展管理[​](https://support.websoft9.com/docs/typo3#%E6%89%A9%E5%B1%95%E7%AE%A1%E7%90%86) <a href="#kuo-zhan-guan-li" id="kuo-zhan-guan-li"></a>

TYPO3 CMS 提供大量扩展，以增强系统功能。

1. 登录 Typo3后台，打开【ADMIN TOOLS】> 【Extensions】&#x20;

   <figure><img src="http://libs.websoft9.com/Websoft9/DocsPicture/en/typo3/typo3-BackendExtensionManager-websoft9.png" alt=""><figcaption></figcaption></figure>
2. 顶部下拉菜单中选择【Get extensions】查看扩展&#x20;

   <figure><img src="http://libs.websoft9.com/Websoft9/DocsPicture/en/typo3/typo3-BackendExtensionManagerInstall-websoft9.png" alt=""><figcaption></figcaption></figure>
3. 安装、更新扩展<br>

   <figure><img src="http://libs.websoft9.com/Websoft9/DocsPicture/en/typo3/typo3-BackendExtensionManagerExtensionVersions-websoft9.png" alt=""><figcaption></figcaption></figure>

#### 模板管理[​](https://support.websoft9.com/docs/typo3#%E6%A8%A1%E6%9D%BF%E7%AE%A1%E7%90%86) <a href="#mo-ban-guan-li" id="mo-ban-guan-li"></a>

TYPO3 CMS 的模板管理非常细致，能够对模板最小元素进行细微的设置

1. 登录 Typo3后台，打开【WEB】>【Template】&#x20;

   <figure><img src="http://libs.websoft9.com/Websoft9/DocsPicture/en/typo3/typo3-template-websoft9.png" alt=""><figcaption></figcaption></figure>
2. 配置模板

### 参数[​](https://support.websoft9.com/docs/typo3#parameter) <a href="#parameter" id="parameter"></a>

Typo3 应用中包含 PHP, Nginx, Apache, Docker, MySQL 等组件，可通过 **通用参数表** 查看路径、服务、端口等参数。

通过运行`docker ps`，可以查看到 Typo3 运行时所有的 Container：

```
CONTAINER ID   IMAGE                        COMMAND                  CREATED          STATUS          PORTS                                                  NAMES
a993567e8948   martinhelmich/typo3:latest   "docker-php-entrypoi…"   18 minutes ago   Up 18 minutes   0.0.0.0:9001->80/tcp, :::9001->80/tcp                  typo3
ba3eb402562b   mysql:8                      "docker-entrypoint.s…"   18 minutes ago   Up 18 minutes   0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp   typo3-mysql
```

下面仅列出 Typo3 本身的参数：

#### 路径[​](https://support.websoft9.com/docs/typo3#path) <a href="#path" id="path"></a>

TYPO3 网站目录： */data/wwwroot/typo3*

#### 端口[​](https://support.websoft9.com/docs/typo3#port) <a href="#port" id="port"></a>

无特殊端口

#### 网址[​](https://support.websoft9.com/docs/typo3#%E7%BD%91%E5%9D%80) <a href="#wang-zhi" id="wang-zhi"></a>

后端：[*http://URL/typo3*](http://url/typo3)

#### 版本[​](https://support.websoft9.com/docs/typo3#version) <a href="#version" id="version"></a>

控制台查看

#### 服务[​](https://support.websoft9.com/docs/typo3#service) <a href="#service" id="service"></a>

```
sudo docker start | stop | restart | stats typo3
```

#### 命令行[​](https://support.websoft9.com/docs/typo3#cli) <a href="#cli" id="cli"></a>

Typo3 拥有非常全面的命令行功能：

* typo3 官方核心命令行
* typo3cms 第三方扩展命令

```
$ php /var/www/html/typo3_src/typo3/sysext/core/bin/typo3
TYPO3 CMS 11.5.12 (Application Context: Production)

Usage:
  command [options] [arguments]

Options:
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  list                   Lists commands
  help                   Displays help for a command
  dumpautoload           [extensionmanager:extension:dumpclassloadinginformation|extension:dumpclassloadinginformation] Updates class loading information in non-composer mode.
 backend
  backend:lock           Lock the TYPO3 Backend
  backend:resetpassword  Trigger a password reset for a backend user
  backend:unlock         Unlock the TYPO3 Backend
 cache
  cache:warmup           Cache warmup for all, system or, if implemented, frontend caches.
  cache:flush            Cache clearing for all, system or frontend caches.
 extension
  extension:list         Shows the list of extensions available to the system
  extension:setup        Set up extensions
 language
  language:update        Update the language files of all activated extensions
 mailer
  mailer:spool:send      [swiftmailer:spool:send] Sends emails from the spool
 referenceindex
  referenceindex:update  Update the reference index of TYPO3
 site
  site:list              Shows the list of sites available to the system
  site:show              Shows the configuration of the specified site
 upgrade
  upgrade:run            Run upgrade wizard. Without arguments all available wizards will be run.
  upgrade:list           List available upgrade wizards.
```

#### API[​](https://support.websoft9.com/docs/typo3#api) <a href="#api" id="api"></a>

[TYPO3 API Documentation](https://api.typo3.org/)
