|
Post by account_disabled on Dec 10, 2023 8:48:38 GMT 2
它非常容易使用。 步骤 1:在计算机上下载并安装 MAMP 与前两节一样,第一步是在计算机上下载并安装 MAMP。您可以从 MAMP 官方网站执行此操作: MAMP 下载屏幕 MAMP 下载屏幕 请注意,虽然您可以免费下载和使用 MAMP,但也有高级计划可用。 第 2 步:启动 MAMP 并启动服务器 下载完成后,单击mamp.pkg文件。将出现一个安装窗口。选择继续按钮以遵循一系列说明: MAMP 安装窗口 MAMP 安装窗口 接下来,导航到计算机上的“前往”>“应用程序” ,然后单击 MAMP 文件夹: MAMP 应用程序文件夹 MAMP 应用程序文件夹 在该文件夹中, MAMP 应用程序图标 MAMP 应用程序 加拿大数据库 图标 这将打开一个新窗口。按启动服务器: MAMP 家庭服务器选项 MAMP 家庭服务器选项 一旦 Apache 和 MySQL 服务器启动,MAMP 将自动在浏览器中打开 WebStart 页面。 第 3 步:创建数据库并更新用户信息 现在是时候创建一个新的数据库了。在 WebStart 页面上,选择 “工具”>“phpMyAdmin”: 通过 MAMP WebStart 网页打开 phpMyAdmin 通过 MAMP WebStart 网页打开 phpMyAdmin phpMyAdmin 打开后,单击“数据库”选项卡。为您的数据库命名,然后选择创建: 为本地 MAMP 站点创建新数据库 为本地 MAMP 站点创建新数据库 接下来,您需要更新 MAMP 为您创建的默认帐户的 MySQL 数据库用户凭据, 因为您将需要它们来完成 WordPress 安装过程。返回 phpMyAdmin 主屏幕并单击“用户帐户”选项卡。 然后,单击用户名为 mamp 的帐户的编辑权限: 编辑默认 MAMP phpMyAdmin 用户帐户 编辑默认 MAMP phpMyAdmin 用户帐户 选择“更改密码”选项卡,输入您的密码,然后按“执行”: 更改默认 MAMP phpMyAdmin 帐户的密码 更改默认 MAMP phpMyAdmin 帐户的密码 然后就可以关闭phpMyAdmin了。 第 4 步:安装 WordPress 并从 Localhost 访问您的网站 现在,访问WordPress.org网站并下载最新版本的 WordPress。下载完成后解压“wordpress”文件夹。右键单击该文件夹并选择复制。
|
|