[{"data":1,"prerenderedAt":1033},["ShallowReactive",2],{"blog-/blog/bagisto-docker-tutorial":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"author":10,"date":11,"tags":12,"body":15,"_type":1027,"_id":1028,"_source":1029,"_file":1030,"_stem":1031,"_extension":1032},"/blog/bagisto-docker-tutorial","blog",false,"","教程：用Docker在VPS上快速搭建现代电商网站Bagisto (新手友好)","本教程将一步步指导你如何在VPS服务器上，使用Docker轻松部署功能强大的开源电商平台Bagisto，快速搭建自己的在线商店。","VPS Hunter","2025-10-23",[13,14],"电商","VPS实战",{"type":16,"children":17,"toc":1010},"root",[18,36,59,67,102,106,113,118,125,138,218,224,236,278,284,289,362,367,370,375,381,393,438,443,511,516,522,527,551,556,562,605,667,679,685,690,723,741,746,752,757,784,789,792,798,803,877,882,891,894,900,905,982,987,999,1004],{"type":19,"tag":20,"props":21,"children":22},"element","blockquote",{},[23],{"type":19,"tag":24,"props":25,"children":26},"p",{},[27,34],{"type":19,"tag":28,"props":29,"children":30},"strong",{},[31],{"type":32,"value":33},"text","提示",{"type":32,"value":35},"：文中可能包含推广链接。",{"type":19,"tag":24,"props":37,"children":38},{},[39,41,46,48,57],{"type":32,"value":40},"大家好！今天我们将学习如何使用 Docker 在 VPS（虚拟专用服务器）上快速部署一个功能强大的开源电商平台——",{"type":19,"tag":28,"props":42,"children":43},{},[44],{"type":32,"value":45},"Bagisto",{"type":32,"value":47}," (",{"type":19,"tag":49,"props":50,"children":54},"a",{"href":51,"rel":52},"https://bagisto.com",[53],"nofollow",[55],{"type":32,"value":56},"官网: https://bagisto.com",{"type":32,"value":58},")。Bagisto 基于流行的 Laravel 框架和 Vue.js 构建，界面现代且易于上手，非常适合想要快速搭建在线商店的用户。",{"type":19,"tag":24,"props":60,"children":61},{},[62],{"type":19,"tag":28,"props":63,"children":64},{},[65],{"type":32,"value":66},"为什么选择 Bagisto？",{"type":19,"tag":68,"props":69,"children":70},"ul",{},[71,82,92],{"type":19,"tag":72,"props":73,"children":74},"li",{},[75,80],{"type":19,"tag":28,"props":76,"children":77},{},[78],{"type":32,"value":79},"轻量且现代",{"type":32,"value":81},": 基于流行的 Laravel 框架和 Vue.js，界面美观，体验流畅。",{"type":19,"tag":72,"props":83,"children":84},{},[85,90],{"type":19,"tag":28,"props":86,"children":87},{},[88],{"type":32,"value":89},"安装简单",{"type":32,"value":91},": 尤其是使用Docker，几条命令就能搞定，非常适合新手。",{"type":19,"tag":72,"props":93,"children":94},{},[95,100],{"type":19,"tag":28,"props":96,"children":97},{},[98],{"type":32,"value":99},"功能齐全",{"type":32,"value":101},": 商品管理、订单系统、多语言、多货币支持等电商核心功能一应俱全。",{"type":19,"tag":103,"props":104,"children":105},"hr",{},[],{"type":19,"tag":107,"props":108,"children":110},"h2",{"id":109},"准备工作选择并配置-vps",[111],{"type":32,"value":112},"准备工作：选择并配置 VPS",{"type":19,"tag":24,"props":114,"children":115},{},[116],{"type":32,"value":117},"在开始部署 Bagisto 之前，我们需要确保有一个干净、安全且可以访问的 VPS 环境。如果你是 VPS 新手，这部分内容将特别有用。",{"type":19,"tag":119,"props":120,"children":122},"h3",{"id":121},"_1-推荐使用搬瓦工-vps-本教程选用",[123],{"type":32,"value":124},"1. 推荐使用搬瓦工 VPS (本教程选用)",{"type":19,"tag":24,"props":126,"children":127},{},[128,130,136],{"type":32,"value":129},"对于本教程以及 Bagisto 这类电商应用，一个稳定且易于管理的 VPS 至关重要。搬瓦工 (Bandwagon Host) 是一个非常值得推荐的选择，本次教程的演示环境正是运行在搬瓦工提供的 CN2 GIA E-COMMERCE 系列服务器（具体为 ",{"type":19,"tag":49,"props":131,"children":133},{"href":132},"/go/bwh-87",[134],{"type":32,"value":135},"SPECIAL 20G KVM PROMO V5 - CN2 GIA ECOMMERCE",{"type":32,"value":137}," 或类似配置）上。推荐它的原因如下：",{"type":19,"tag":68,"props":139,"children":140},{},[141,151,161],{"type":19,"tag":72,"props":142,"children":143},{},[144,149],{"type":19,"tag":28,"props":145,"children":146},{},[147],{"type":32,"value":148},"性能可靠",{"type":32,"value":150},"：E-commerce 系列套餐提供优化的 CN2 GIA 网络线路和强大的服务器性能，能确保你的电商网站流畅运行，应对高峰访问。",{"type":19,"tag":72,"props":152,"children":153},{},[154,159],{"type":19,"tag":28,"props":155,"children":156},{},[157],{"type":32,"value":158},"KiwiVM 控制面板",{"type":32,"value":160},"：这是搬瓦工的一大特色，功能强大且对新手友好。我们后面会用到它的快照备份、AI 助手以及机房迁移等实用功能。",{"type":19,"tag":72,"props":162,"children":163},{},[164,169,171],{"type":19,"tag":28,"props":165,"children":166},{},[167],{"type":32,"value":168},"多机房可选",{"type":32,"value":170},"：覆盖全球多个地区，方便你根据目标客户选择最佳节点。购买 E-commerce 套餐更支持多机房自由迁移，便于未来业务扩展。\n",{"type":19,"tag":68,"props":172,"children":173},{},[174,193],{"type":19,"tag":72,"props":175,"children":176},{},[177,182,184,191],{"type":19,"tag":28,"props":178,"children":179},{},[180],{"type":32,"value":181},"如何选择套餐？",{"type":32,"value":183}," 对于 Bagisto 这样的电商平台，建议选择内存至少 1GB 及以上的套餐。如果你不确定，可以参考这篇指南：《",{"type":19,"tag":49,"props":185,"children":188},{"href":186,"rel":187},"https://ihot.cc/blog/bandwagonhost-plans-guide-20250804",[53],[189],{"type":32,"value":190},"搬瓦工VPS套餐怎么选？2025年最新CN2 GIA/香港/日本方案购买指南",{"type":32,"value":192},"》。",{"type":19,"tag":72,"props":194,"children":195},{},[196,201,203,209,211,216],{"type":19,"tag":28,"props":197,"children":198},{},[199],{"type":32,"value":200},"购买链接",{"type":32,"value":202},": ",{"type":19,"tag":49,"props":204,"children":206},{"href":205},"/go/bandwagonhost",[207],{"type":32,"value":208},"搬瓦工官网 E-commerce 套餐",{"type":32,"value":210}," (结账时可尝试使用优惠码 ",{"type":19,"tag":28,"props":212,"children":213},{},[214],{"type":32,"value":215},"BWHCGLUKKB",{"type":32,"value":217},")",{"type":19,"tag":119,"props":219,"children":221},{"id":220},"_2-初始化和保护你的-vps-利用-kiwivm",[222],{"type":32,"value":223},"2. 初始化和保护你的 VPS (利用 KiwiVM)",{"type":19,"tag":24,"props":225,"children":226},{},[227,229,234],{"type":32,"value":228},"购买 VPS 后，你会得到一个 IP 地址和初始的 root 密码。登录搬瓦工后台，找到 ",{"type":19,"tag":28,"props":230,"children":231},{},[232],{"type":32,"value":233},"KiwiVM Control Panel",{"type":32,"value":235},"。强烈建议进行以下操作：",{"type":19,"tag":68,"props":237,"children":238},{},[239,263],{"type":19,"tag":72,"props":240,"children":241},{},[242,247,249,254,256,261],{"type":19,"tag":28,"props":243,"children":244},{},[245],{"type":32,"value":246},"重装系统 (Install new OS)",{"type":32,"value":248},": 为了确保一个纯净的环境，建议重装一个主流的 Linux 系统。推荐选择 ",{"type":19,"tag":28,"props":250,"children":251},{},[252],{"type":32,"value":253},"Debian",{"type":32,"value":255}," 或 ",{"type":19,"tag":28,"props":257,"children":258},{},[259],{"type":32,"value":260},"Ubuntu",{"type":32,"value":262}," 的最新稳定版（例如 Debian 11/12, Ubuntu 20.04/22.04）。记录下重装过程中设置的新 SSH 端口（如果修改了）和新的 root 密码。",{"type":19,"tag":72,"props":264,"children":265},{},[266,271,273],{"type":19,"tag":28,"props":267,"children":268},{},[269],{"type":32,"value":270},"重置 Root 密码 (Root password reset)",{"type":32,"value":272},": 如果你忘记了密码或者想进一步确保安全，可以在这里重置一个新的、复杂的 root 密码。",{"type":19,"tag":28,"props":274,"children":275},{},[276],{"type":32,"value":277},"务必记下新密码！",{"type":19,"tag":119,"props":279,"children":281},{"id":280},"_3-连接到你的-vps-ssh",[282],{"type":32,"value":283},"3. 连接到你的 VPS (SSH)",{"type":19,"tag":24,"props":285,"children":286},{},[287],{"type":32,"value":288},"现在你需要使用 SSH 客户端连接到你的 VPS。",{"type":19,"tag":68,"props":290,"children":291},{},[292,328],{"type":19,"tag":72,"props":293,"children":294},{},[295,302,304,311,312,319,321,326],{"type":19,"tag":296,"props":297,"children":299},"code",{"className":298},[],[300],{"type":32,"value":301},"Windows 用户",{"type":32,"value":303},": 可以使用 ",{"type":19,"tag":49,"props":305,"children":308},{"href":306,"rel":307},"https://www.putty.org/",[53],[309],{"type":32,"value":310},"PuTTY",{"type":32,"value":255},{"type":19,"tag":49,"props":313,"children":316},{"href":314,"rel":315},"https://termius.com/",[53],[317],{"type":32,"value":318},"Termius",{"type":32,"value":320}," 等工具。输入你的 VPS IP 地址和 SSH 端口（默认为 22，除非你在重装系统时修改了），然后使用 ",{"type":19,"tag":296,"props":322,"children":324},{"className":323},[],[325],{"type":32,"value":16},{"type":32,"value":327}," 用户名和你设置的新密码登录。",{"type":19,"tag":72,"props":329,"children":330},{},[331,337,339,345,347,353,355,360],{"type":19,"tag":296,"props":332,"children":334},{"className":333},[],[335],{"type":32,"value":336},"macOS / Linux 用户",{"type":32,"value":338},": 可以直接使用系统自带的 ",{"type":19,"tag":296,"props":340,"children":342},{"className":341},[],[343],{"type":32,"value":344},"Terminal",{"type":32,"value":346},"（终端）。打开终端，输入命令：",{"type":19,"tag":296,"props":348,"children":350},{"className":349},[],[351],{"type":32,"value":352},"ssh root@你的服务器IP -p 你的SSH端口",{"type":32,"value":354}," （如果端口是 22，",{"type":19,"tag":28,"props":356,"children":357},{},[358],{"type":32,"value":359},"-p 22",{"type":32,"value":361}," 可以省略）。按提示输入你的 root 密码即可登录。",{"type":19,"tag":24,"props":363,"children":364},{},[365],{"type":32,"value":366},"成功登录后，你将看到一个命令行界面，我们所有的操作都将在这里进行。",{"type":19,"tag":103,"props":368,"children":369},{},[],{"type":19,"tag":107,"props":371,"children":373},{"id":372},"部署步骤",[374],{"type":32,"value":372},{"type":19,"tag":119,"props":376,"children":378},{"id":377},"第一步安装-docker",[379],{"type":32,"value":380},"第一步：安装 Docker",{"type":19,"tag":24,"props":382,"children":383},{},[384,386],{"type":32,"value":385},"首先，我们需要在VPS上安装 Docker。请根据你的操作系统发行版（Debian/Ubuntu/CentOS等），参考 ",{"type":19,"tag":49,"props":387,"children":390},{"href":388,"rel":389},"https://docs.docker.com/engine/install/",[53],[391],{"type":32,"value":392},"Docker 官方文档",{"type":19,"tag":394,"props":395,"children":399},"pre",{"className":396,"code":397,"language":398,"meta":7,"style":7},"language-bash shiki shiki-themes github-dark","wget -qO- Https://get.docker.com/ | sh \n","bash",[400],{"type":19,"tag":296,"props":401,"children":402},{"__ignoreMap":7},[403],{"type":19,"tag":404,"props":405,"children":408},"span",{"class":406,"line":407},"line",1,[409,415,421,427,433],{"type":19,"tag":404,"props":410,"children":412},{"style":411},"--shiki-default:#B392F0",[413],{"type":32,"value":414},"wget",{"type":19,"tag":404,"props":416,"children":418},{"style":417},"--shiki-default:#79B8FF",[419],{"type":32,"value":420}," -qO-",{"type":19,"tag":404,"props":422,"children":424},{"style":423},"--shiki-default:#9ECBFF",[425],{"type":32,"value":426}," Https://get.docker.com/",{"type":19,"tag":404,"props":428,"children":430},{"style":429},"--shiki-default:#F97583",[431],{"type":32,"value":432}," |",{"type":19,"tag":404,"props":434,"children":435},{"style":411},[436],{"type":32,"value":437}," sh\n",{"type":19,"tag":24,"props":439,"children":440},{},[441],{"type":32,"value":442},"确保 Docker 安装成功并且服务正在运行。你可以使用以下命令来验证：",{"type":19,"tag":394,"props":444,"children":446},{"className":396,"code":445,"language":398,"meta":7,"style":7},"# 检查 Docker 版本\ndocker --version\n\n# 检查 Docker 服务状态 (适用于使用 systemd 的系统)\nsystemctl status docker\n",[447],{"type":19,"tag":296,"props":448,"children":449},{"__ignoreMap":7},[450,459,473,483,492],{"type":19,"tag":404,"props":451,"children":452},{"class":406,"line":407},[453],{"type":19,"tag":404,"props":454,"children":456},{"style":455},"--shiki-default:#6A737D",[457],{"type":32,"value":458},"# 检查 Docker 版本\n",{"type":19,"tag":404,"props":460,"children":462},{"class":406,"line":461},2,[463,468],{"type":19,"tag":404,"props":464,"children":465},{"style":411},[466],{"type":32,"value":467},"docker",{"type":19,"tag":404,"props":469,"children":470},{"style":417},[471],{"type":32,"value":472}," --version\n",{"type":19,"tag":404,"props":474,"children":476},{"class":406,"line":475},3,[477],{"type":19,"tag":404,"props":478,"children":480},{"emptyLinePlaceholder":479},true,[481],{"type":32,"value":482},"\n",{"type":19,"tag":404,"props":484,"children":486},{"class":406,"line":485},4,[487],{"type":19,"tag":404,"props":488,"children":489},{"style":455},[490],{"type":32,"value":491},"# 检查 Docker 服务状态 (适用于使用 systemd 的系统)\n",{"type":19,"tag":404,"props":493,"children":495},{"class":406,"line":494},5,[496,501,506],{"type":19,"tag":404,"props":497,"children":498},{"style":411},[499],{"type":32,"value":500},"systemctl",{"type":19,"tag":404,"props":502,"children":503},{"style":423},[504],{"type":32,"value":505}," status",{"type":19,"tag":404,"props":507,"children":508},{"style":423},[509],{"type":32,"value":510}," docker\n",{"type":19,"tag":24,"props":512,"children":513},{},[514],{"type":32,"value":515},"如果 systemctl status docker 显示服务为 active (running) 状态，则表示 Docker 已成功安装并运行。",{"type":19,"tag":119,"props":517,"children":519},{"id":518},"第二步拉取-bagisto-docker-镜像",[520],{"type":32,"value":521},"第二步：拉取 Bagisto Docker 镜像",{"type":19,"tag":24,"props":523,"children":524},{},[525],{"type":32,"value":526},"Docker 安装好后，我们需要从 Docker Hub 拉取 Bagisto 官方提供的镜像。这里我们使用 2.3.6 版本（你可以根据需要替换为其他版本）：",{"type":19,"tag":394,"props":528,"children":530},{"className":396,"code":529,"language":398,"meta":7,"style":7},"docker pull webkul/bagisto:2.3.6\n",[531],{"type":19,"tag":296,"props":532,"children":533},{"__ignoreMap":7},[534],{"type":19,"tag":404,"props":535,"children":536},{"class":406,"line":407},[537,541,546],{"type":19,"tag":404,"props":538,"children":539},{"style":411},[540],{"type":32,"value":467},{"type":19,"tag":404,"props":542,"children":543},{"style":423},[544],{"type":32,"value":545}," pull",{"type":19,"tag":404,"props":547,"children":548},{"style":423},[549],{"type":32,"value":550}," webkul/bagisto:2.3.6\n",{"type":19,"tag":24,"props":552,"children":553},{},[554],{"type":32,"value":555},"这个过程会下载 Bagisto 运行所需的所有环境和文件，根据网络情况可能需要一些时间，请耐心等待。",{"type":19,"tag":119,"props":557,"children":559},{"id":558},"第三步运行-bagisto-容器",[560],{"type":32,"value":561},"第三步：运行 Bagisto 容器",{"type":19,"tag":394,"props":563,"children":565},{"className":396,"code":564,"language":398,"meta":7,"style":7},"docker run -it -d -p 8082:80 webkul/bagisto:2.3.6\n",[566],{"type":19,"tag":296,"props":567,"children":568},{"__ignoreMap":7},[569],{"type":19,"tag":404,"props":570,"children":571},{"class":406,"line":407},[572,576,581,586,591,596,601],{"type":19,"tag":404,"props":573,"children":574},{"style":411},[575],{"type":32,"value":467},{"type":19,"tag":404,"props":577,"children":578},{"style":423},[579],{"type":32,"value":580}," run",{"type":19,"tag":404,"props":582,"children":583},{"style":417},[584],{"type":32,"value":585}," -it",{"type":19,"tag":404,"props":587,"children":588},{"style":417},[589],{"type":32,"value":590}," -d",{"type":19,"tag":404,"props":592,"children":593},{"style":417},[594],{"type":32,"value":595}," -p",{"type":19,"tag":404,"props":597,"children":598},{"style":423},[599],{"type":32,"value":600}," 8082:80",{"type":19,"tag":404,"props":602,"children":603},{"style":423},[604],{"type":32,"value":550},{"type":19,"tag":68,"props":606,"children":607},{},[608,657],{"type":19,"tag":72,"props":609,"children":610},{},[611,616,618,623,625,630,632,636,638,642,644,649,650,655],{"type":19,"tag":28,"props":612,"children":613},{},[614],{"type":32,"value":615},"-p 8082:80",{"type":32,"value":617},": 将服务器的 ",{"type":19,"tag":28,"props":619,"children":620},{},[621],{"type":32,"value":622},"8082",{"type":32,"value":624}," 端口映射到容器内部的 ",{"type":19,"tag":28,"props":626,"children":627},{},[628],{"type":32,"value":629},"80",{"type":32,"value":631}," 端口。这意味着你可以通过服务器的 ",{"type":19,"tag":28,"props":633,"children":634},{},[635],{"type":32,"value":622},{"type":32,"value":637}," 端口访问 Bagisto。你可以根据需要修改 ",{"type":19,"tag":28,"props":639,"children":640},{},[641],{"type":32,"value":622},{"type":32,"value":643}," 为其他未被占用的端口，比如 ",{"type":19,"tag":28,"props":645,"children":646},{},[647],{"type":32,"value":648},"8080",{"type":32,"value":255},{"type":19,"tag":28,"props":651,"children":652},{},[653],{"type":32,"value":654},"8000",{"type":32,"value":656},"。",{"type":19,"tag":72,"props":658,"children":659},{},[660,665],{"type":19,"tag":28,"props":661,"children":662},{},[663],{"type":32,"value":664},"webkul/bagisto:2.3.6",{"type":32,"value":666},": 指定要运行的镜像及其版本。",{"type":19,"tag":24,"props":668,"children":669},{},[670,672,677],{"type":32,"value":671},"运行后，命令会输出一长串容器 ID，表示容器已成功启动。你可以使用 ",{"type":19,"tag":28,"props":673,"children":674},{},[675],{"type":32,"value":676},"docker ps",{"type":32,"value":678}," 命令查看正在运行的容器。",{"type":19,"tag":119,"props":680,"children":682},{"id":681},"第四步访问你的-bagisto-商店",[683],{"type":32,"value":684},"第四步：访问你的 Bagisto 商店",{"type":19,"tag":24,"props":686,"children":687},{},[688],{"type":32,"value":689},"现在，你的 Bagisto 商店应该已经在运行了！打开你的浏览器，访问：",{"type":19,"tag":68,"props":691,"children":692},{},[693,708],{"type":19,"tag":72,"props":694,"children":695},{},[696,698],{"type":32,"value":697},"商店前台: ",{"type":19,"tag":28,"props":699,"children":700},{},[701],{"type":19,"tag":49,"props":702,"children":705},{"href":703,"rel":704},"http://%E4%BD%A0%E7%9A%84%E6%9C%8D%E5%8A%A1%E5%99%A8IP:8082",[53],[706],{"type":32,"value":707},"http://你的服务器IP:8082",{"type":19,"tag":72,"props":709,"children":710},{},[711,713],{"type":32,"value":712},"管理后台: ",{"type":19,"tag":28,"props":714,"children":715},{},[716],{"type":19,"tag":49,"props":717,"children":720},{"href":718,"rel":719},"http://%E4%BD%A0%E7%9A%84%E6%9C%8D%E5%8A%A1%E5%99%A8IP:8082/admin",[53],[721],{"type":32,"value":722},"http://你的服务器IP:8082/admin",{"type":19,"tag":24,"props":724,"children":725},{},[726,728,732,734,739],{"type":32,"value":727},"将 你的服务器IP 替换成你 VPS 的实际 IP 地址，端口号 ",{"type":19,"tag":28,"props":729,"children":730},{},[731],{"type":32,"value":622},{"type":32,"value":733}," 替换成你在上一步 ",{"type":19,"tag":28,"props":735,"children":736},{},[737],{"type":32,"value":738},"-p",{"type":32,"value":740}," 参数中设置的端口号。",{"type":19,"tag":24,"props":742,"children":743},{},[744],{"type":32,"value":745},"注意: 如果无法访问，请检查 VPS 的防火墙设置，确保你设置的端口（如 8082）是开放的。",{"type":19,"tag":119,"props":747,"children":749},{"id":748},"第五步登录后台并开始探索",[750],{"type":32,"value":751},"第五步：登录后台并开始探索",{"type":19,"tag":24,"props":753,"children":754},{},[755],{"type":32,"value":756},"Bagisto 提供了一个非常漂亮的后台管理界面。使用以下默认凭据登录：",{"type":19,"tag":68,"props":758,"children":759},{},[760,774],{"type":19,"tag":72,"props":761,"children":762},{},[763,765],{"type":32,"value":764},"邮箱: ",{"type":19,"tag":28,"props":766,"children":767},{},[768],{"type":19,"tag":49,"props":769,"children":771},{"href":770},"mailto:admin@example.com",[772],{"type":32,"value":773},"admin@example.com",{"type":19,"tag":72,"props":775,"children":776},{},[777,779],{"type":32,"value":778},"密码: ",{"type":19,"tag":28,"props":780,"children":781},{},[782],{"type":32,"value":783},"admin123",{"type":19,"tag":24,"props":785,"children":786},{},[787],{"type":32,"value":788},"强烈建议首次登录后立即修改默认密码！ 你可以在后台的用户管理或账户设置中找到修改密码的选项。",{"type":19,"tag":103,"props":790,"children":791},{},[],{"type":19,"tag":107,"props":793,"children":795},{"id":794},"探索-bagisto-功能",[796],{"type":32,"value":797},"探索 Bagisto 功能",{"type":19,"tag":24,"props":799,"children":800},{},[801],{"type":32,"value":802},"成功部署并登录后台后，恭喜你！现在可以开始配置你的在线商店了。以下是一些常用的初始配置项：",{"type":19,"tag":68,"props":804,"children":805},{},[806,836],{"type":19,"tag":72,"props":807,"children":808},{},[809,811],{"type":32,"value":810},"基础设置 (Settings):",{"type":19,"tag":68,"props":812,"children":813},{},[814,825],{"type":19,"tag":72,"props":815,"children":816},{},[817,823],{"type":19,"tag":296,"props":818,"children":820},{"className":819},[],[821],{"type":32,"value":822},"Locales",{"type":32,"value":824},": 添加和管理网站支持的语言 (I18N)。",{"type":19,"tag":72,"props":826,"children":827},{},[828,834],{"type":19,"tag":296,"props":829,"children":831},{"className":830},[],[832],{"type":32,"value":833},"Currencies",{"type":32,"value":835},": 设置商店使用的货币种类和汇率。",{"type":19,"tag":72,"props":837,"children":838},{},[839,841],{"type":32,"value":840},"商品目录 (Catalog):",{"type":19,"tag":68,"props":842,"children":843},{},[844,855,866],{"type":19,"tag":72,"props":845,"children":846},{},[847,853],{"type":19,"tag":296,"props":848,"children":850},{"className":849},[],[851],{"type":32,"value":852},"Products",{"type":32,"value":854},": 添加、编辑你的商品信息。",{"type":19,"tag":72,"props":856,"children":857},{},[858,864],{"type":19,"tag":296,"props":859,"children":861},{"className":860},[],[862],{"type":32,"value":863},"Categories",{"type":32,"value":865},": 创建和管理商品分类。",{"type":19,"tag":72,"props":867,"children":868},{},[869,875],{"type":19,"tag":296,"props":870,"children":872},{"className":871},[],[873],{"type":32,"value":874},"Attributes",{"type":32,"value":876},": 定义商品属性，如颜色、尺寸等。",{"type":19,"tag":24,"props":878,"children":879},{},[880],{"type":32,"value":881},"花些时间熟悉后台界面，你会发现 Bagisto 的功能非常强大且直观。",{"type":19,"tag":24,"props":883,"children":884},{},[885],{"type":19,"tag":886,"props":887,"children":890},"img",{"alt":888,"src":889},"image","https://ihot.cc/images/reviews/bagisto-admin20251024.webp",[],{"type":19,"tag":103,"props":892,"children":893},{},[],{"type":19,"tag":107,"props":895,"children":897},{"id":896},"搬瓦工-kiwivm-特色功能助力",[898],{"type":32,"value":899},"搬瓦工 KiwiVM 特色功能助力",{"type":19,"tag":24,"props":901,"children":902},{},[903],{"type":32,"value":904},"部署完成后，搬瓦工的 KiwiVM 控制面板还能提供更多便利：",{"type":19,"tag":906,"props":907,"children":908},"ol",{},[909,940,957],{"type":19,"tag":72,"props":910,"children":911},{},[912,914,918,920,933,936],{"type":32,"value":913},"轻松备份与恢复 (Snapshots)",{"type":19,"tag":915,"props":916,"children":917},"br",{},[],{"type":32,"value":919},"在你完成 Bagisto 的基本设置，或进行重大修改（如更新 Bagisto、安装插件）之前，强烈建议使用 Snapshots 功能进行备份。",{"type":19,"tag":68,"props":921,"children":922},{},[923,928],{"type":19,"tag":72,"props":924,"children":925},{},[926],{"type":32,"value":927},"操作: 登录 KiwiVM -> Snapshots -> Create new snapshot。",{"type":19,"tag":72,"props":929,"children":930},{},[931],{"type":32,"value":932},"作用: 创建一个当前 VPS 状态的完整快照。如果后续操作出现问题，可以随时通过快照恢复到之前的状态，非常安全方便。",{"type":19,"tag":915,"props":934,"children":935},{},[],{"type":19,"tag":886,"props":937,"children":939},{"alt":888,"src":938},"https://ihot.cc/images/reviews/bwg-snapshots20251024.webp",[],{"type":19,"tag":72,"props":941,"children":942},{},[943,945,948,950,953],{"type":32,"value":944},"智能 AI 助手 (Amy)",{"type":19,"tag":915,"props":946,"children":947},{},[],{"type":32,"value":949},"遇到技术问题卡壳了？可以试试 KiwiVM 里的 Amy AI 助手。她能实时访问你 VPS 的诊断信息，并提供有针对性的排查建议，比通用的 AI 更懂你的服务器。",{"type":19,"tag":915,"props":951,"children":952},{},[],{"type":19,"tag":886,"props":954,"children":956},{"alt":888,"src":955},"https://ihot.cc/images/reviews/bwg-amy20251024.webp",[],{"type":19,"tag":72,"props":958,"children":959},{},[960,962,965,967,975,978],{"type":32,"value":961},"便捷的多机房迁移 (Migrate to another DC)",{"type":19,"tag":915,"props":963,"children":964},{},[],{"type":32,"value":966},"如果你购买的是 E-COMMERCE 系列套餐，KiwiVM 还允许你一键将整个 VPS 迁移到其他数据中心。",{"type":19,"tag":68,"props":968,"children":969},{},[970],{"type":19,"tag":72,"props":971,"children":972},{},[973],{"type":32,"value":974},"场景: 比如你的业务初期面向亚洲市场，选择了日本机房；后期想开拓欧洲市场，可以轻松将 VPS 迁移到荷兰机房，所有数据和配置都会保留（IP 地址会改变）。这对于拓展全球业务非常有用。",{"type":19,"tag":915,"props":976,"children":977},{},[],{"type":19,"tag":886,"props":979,"children":981},{"alt":888,"src":980},"https://ihot.cc/images/reviews/bwg-mdc20251024.webp",[],{"type":19,"tag":107,"props":983,"children":985},{"id":984},"总结",[986],{"type":32,"value":984},{"type":19,"tag":24,"props":988,"children":989},{},[990,992,997],{"type":32,"value":991},"通过 Docker，在 VPS 上部署 Bagisto 非常简单快捷。结合",{"type":19,"tag":28,"props":993,"children":994},{},[995],{"type":32,"value":996},"搬瓦工",{"type":32,"value":998},"这样提供优质性能和便捷管理工具（如 KiwiVM 快照、Amy 助手、多机房迁移）的服务商，你可以更高效、更安全地搭建和运营你的在线商店。",{"type":19,"tag":24,"props":1000,"children":1001},{},[1002],{"type":32,"value":1003},"希望这篇详细的教程对你有帮助！",{"type":19,"tag":1005,"props":1006,"children":1007},"style",{},[1008],{"type":32,"value":1009},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":461,"depth":461,"links":1011},[1012,1017,1024,1025,1026],{"id":109,"depth":461,"text":112,"children":1013},[1014,1015,1016],{"id":121,"depth":475,"text":124},{"id":220,"depth":475,"text":223},{"id":280,"depth":475,"text":283},{"id":372,"depth":461,"text":372,"children":1018},[1019,1020,1021,1022,1023],{"id":377,"depth":475,"text":380},{"id":518,"depth":475,"text":521},{"id":558,"depth":475,"text":561},{"id":681,"depth":475,"text":684},{"id":748,"depth":475,"text":751},{"id":794,"depth":461,"text":797},{"id":896,"depth":461,"text":899},{"id":984,"depth":461,"text":984},"markdown","content:blog:bagisto-docker-tutorial.md","content","blog/bagisto-docker-tutorial.md","blog/bagisto-docker-tutorial","md",1789526575309]