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