> For the complete documentation index, see [llms.txt](https://droppy-docs.futa.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://droppy-docs.futa.cc/quan-xin-an-zhuang.md).

# 全新安装

**以下步骤将引导您完成 Droppy 的福塔汉化版的初次安装。**

{% hint style="danger" %}
本程序仅支持 **Apache** 服务器。
{% endhint %}

首先我们按常规操作在宝塔中添加一个站点，然后再将 Droppy 的源码上传到网站目录。

上传源码后，此时打开您的站点，浏览器会显示以下内容：

<figure><img src="/files/t2YyhCHtyt1METa9e69h" alt=""><figcaption></figcaption></figure>

此时我们需要编辑`application/config/database.php`文件，并将您的数据库信息填写到指定位置。（如图所示）

<figure><img src="/files/92wpyO3SZ2b3KatefNXD" alt=""><figcaption><p><code>database.php</code></p></figcaption></figure>

正确填写数据库信息后，访问`https://您的域名/install`进入安装界面。

<figure><img src="/files/GsiGmwJ8XhQGJsOVwfaK" alt=""><figcaption></figcaption></figure>

第二步许可码输入`futa-cc`。

<figure><img src="/files/kTlSerX7eG7yCkh5jrb8" alt=""><figcaption></figcaption></figure>

第三步创建管理员账户。

<figure><img src="/files/TovtqFBHGSHEnLdKWczV" alt=""><figcaption></figcaption></figure>

安装完成，建议删除`application/controllers/Install.php` 文件。

<figure><img src="/files/58byFlMTMFuFVk7MZH0z" alt=""><figcaption></figcaption></figure>
