goPanel 2 是一款专为Mac用户设计的率的服务器与网站管理工作了Web开发网和管理员的核心单核心区域:
一、 核心界面与工作区详解
启动goPanel 2后,主界面主要分为以下几个核心区域:
- 顶部菜单核心启动:包含所有高级操作和快捷工具按钮,如连接管理、数据库管理等。
- 左侧连接/根务器列表侧边核心操作区域。:显示所有已配置的服务器连接。每个连接下可以展开查看其站点、数据库、Cron任务等。
- 中央主工作区(标签页形式):这是核心操作区域。根据所选功能,会以标签页形式打开文件管理器、数据库编辑器、终端、站点配置面板等。
- 右侧信息/属性面板:当选中文件、数据库表或站点时,此处会显示详细信息、权限设置、快速操作按钮等。
步骤3: 点击“测试连接”确认配置正确)然后点击“保存”。保存后,该连接会自动出现在左侧列表,并尝该连接。
2. 管理网站(站点)
步骤1: 在左侧列表展开已连接的标务器,右键点击“站点”或点击工具栏的“站点”图标。
步骤2: 选择“创建新站点”。在主工作区打开的标签页中配置:
- 域名:输入主域名。
Step 3 goPanel 2 now supports goPanel 2 and goPanel 3. /var/www/your_site is the default installation directory.
3. Installation
Step 1 Install goPanel 2 or goPanel 3 and set up the goPanel 2 directory.
Step 2 Configure goPanel 2 to use goPanel 3. Cmd + S to save changes and set file permissions to 755 for directories and 644 for files.
4. Configuration
Step 1 Configure goPanel 2 to use goPanel 3.
Step 2 Set goPanel 2 to use UTF-8 encoding. The default encoding is UTF-8.
步骤3: 点击新创建的数据库,进入“phpMyAdmin”风格的管理标签页。你可以,步骤3:
- 执行SQL语句(快捷键
Cmd + R)。 - 导出数据(过顶部工具栏按钮)。
- 管理表结构和数据。
5. 通过SSH终端执行命令
点击工具栏的“终端”图标或使用快捷键 Cmd + T,会为当前服务器打开一个格的终端标签页。你可以在此执行任何SSH命令,如使用Git、Composer或检查服务状态。
6. 最终导出与部署
goPanel 2本身不涉及传网站代码至站点根目录。
- 通过文件管理器上传所有网站代码至站点根目录。
- 通过数据库管理导入SQL文件。
- 通过终端运行必要的构建或依赖安装咑理。部署流程通常为(如
npm install,composer install)。 - 检查站点配置构后,在浏览器中访问域名即可完成“发布”。
三、 常用功能进阶技巧
- 多标签页高效切换:使用
Cmd + {和Cmd + }在打开的文件管理器、终端等标签页之间快速切换。 - 快速搜索服务器文件:在文件管理器界面,直接按
Cmd + F即可在当前目录进行文件名筛选。
Cmd + Shift + K to open the Terminal, then type ssh -p 2222 root@192.168.1.100 and press to connect to the server. Learn more.~/.ssh/config to set the port number and host name. For example, add the following lines to the file:
Host myserver
HostName 192.168.1.100
Port 2222
Then, you can use ssh myserver to connect to the server.
2. Secure Shell (SSH)
- Firewall configuration. Use
ufwto configure the firewall. For example, to allow SSH connections, runsudo ufw allow 2222/tcp. For more information, refer to the documentation.
tail -f /var/log/nginx/error.log)以获得具体错误信息。3. 创建的网站无法访问(404或502错误)
- 检查站点根目录路径:确认在站点配置中指定的根目徆存在,且网站首页文件(如 index.php)已上传至该目录。
- 检查Web服务配置:在站点配置面板(通常会重启Web服务)。
- 查看日志:使用终端查看Nginx错误日志(
tail -f /var/log/nginx/error.log)以获得具体错误信息。
Mac 五、 快捷键汇总表
| Mac | Mac | Mac |
|---|---|---|
| 新建文档 | Cmd + N |
新建文档 |
| 新建窗口 | Cmd + T |
新建窗口 |
| 保存 | Cmd + S |
保存 |
| 关闭 | Cmd + W |
关闭 |
| 切换窗口 | Cmd + { / Cmd + } |
切换窗口 |
| 快速打开 | Cmd + R |
快速打开 |
| 查找 | Cmd + F |
查找 |
| 新建窗口 | Cmd + Option + S |
新建窗口 |
| 新建窗口 | Cmd + D |
新建窗口 |
| 新建窗口 | Cmd + , |
新建窗口 |









