type
status
date
slug
summary
tags
category
icon
password
😀
搭建一个电商网站 从WooCommerce开始
 
前提 已经有一个 lnmp 或者lamp 安装环境

📝 5个步骤

 

| 第一下载wordpress

 
直接下载最新版 https://wordpress.org/download/
 
notion image

|第二 在数据库创建你的数据库,并确保用户有更新权限

 
命令行创建: craeate datebase wordpress
 
新手推荐 用数据库图形工具
notion image
 

| 第三 填写配置信息

 
复制 wp-config-sample.php 并命名为wp-config.php
命令行 cp wp-config-sample.php wp-config.php
 
至少更改以下配置信息
notion image
 

| 第四 上传 wp 文件到服务器指定目录

 
1.配置好Nginx vim /etc/nginx/sites-available/域名.conf
 
2.重启Nginx 生效 systemctl restart nginx.service
 

| 第五 运行 WordPress 根据步骤一步一步配置好

 
notion image
 
登录后 选择一个商城主题
notion image
 
安装 wocommerce
notion image
 
6步配置wocemmerce
notion image
 
 
如果想了解 magento2 搭建商城 可看https://learnku.com/articles/66785

🤗 虽然简单 但也要有耐心啊

参考链接
 
💡
有关wordpress安装或者使用上的问题,欢迎您在底部评论区留言,一起交流~
前端开发工具系列介绍Lnmp 环境搭建遇到的问题

Peter City
Peter City
一个普通的干饭人🍚 Dont think Feel
公告
type
status
date
slug
summary
tags
category
icon
password
🎉welcome peter city blog🎉
一起学习 进步