当前位置: 首页 > news >正文

重庆电子商务网站建设chatgpt入口

重庆电子商务网站建设,chatgpt入口,溧阳网站制作,怎么样做游戏网站一,项目概述 官网文档地址:http://doc.ruoyi.vip/ rouyi是一个后台管理系统,基于经典技术组合(spring boot,apache shiro,mybatis,thymeleaf)主要是让开发者注重专注业务&#xff0…

一,项目概述

官网文档地址:http://doc.ruoyi.vip/

rouyi是一个后台管理系统,基于经典技术组合(spring boot,apache shiro,mybatis,thymeleaf)主要是让开发者注重专注业务,降低技术难度,从而节省人力成本,缩短项目周期,提高软件安全质量。

系统要求

  • JDK>=1.8
  • myslq>=5.7
  • maven>=3.8

二,开发环境搭建(前后分离)

后端项目

1,centos9一台
2,环境(前后分离)后端环境(java):jdk,mysql,Maven,redis,git前端环境(vue):nodejs,npm,nginx防火墙,yum源,时间同步hostnamectl -set-hostname prosu - rootsystemctl stop firewalld && systemctl disable firewalldsetenforce 0 && sed -i '/SELINUX=enforcing/SELINUX=disable/g' /etc/selinux/config
3,拉取后端最新的代码
4,使用Maven对后端源码进行打包
5,拉取前端最新代码
6,使用npm对前端代码打包,将包放入nginx中运行

1,centos9一台
2,环境(前后分离)

  •     后端环境(java):jdk,mysql,Maven,redis,git
  •     前端环境(vue):nodejs,npm,nginx
  •     防火墙,yum源,时间同步
    • hostnamectl -set-hostname prosu - rootsystemctl stop firewalld && systemctl disable firewalldsetenforce 0 && sed -i '/SELINUX=enforcing/SELINUX=disable/g' /etc/selinux/config

3,安装git,拉取后端最新的代码

yum -y install git
源码地址:https://gitee.com/y_project/RouYi-Vue
#git config --global user.name ly
#git config --global user.email xxxxxxxxxx@qq.com
#目前github已经不支持密码输入,只支持api验证或者叫令牌验证(csdn一下吧)
cd /usr/local/
git clone https://gitee.com/y_project/RouYi-Vue.git

4,安装jdk,配置环境变量

tar -zxvf jdk-xxx.tar.gz  -C /usr/local
echo "export JAVA_HOME=/usr/local/jdk-xxx" /etc/profile
echo "export PATH=${JAVA_HOME}/bin:$PATH" /etc/profile
source /etc/profile
java -version
上面是手动的
--------------------------------------
这是自动的
sudo dnf update
sudo dnf install java-17-openjdk
java -version

5,安装Maven配置环境

这是自动的(所有的安装,用yum和dnf都可以)
sudo dnf update
sudo dnf install maven
mvn -v

6,安装mysql,执行初始化sql脚本

在 CentOS 9 上安装 MySQL 并执行初始化 SQL 脚本,可以按照以下步骤完成:### 步骤 1:安装 MySQL1. **添加 MySQL 官方 Yum 仓库**:CentOS 默认不包含 MySQL 官方的最新版本仓库,可以先添加官方仓库。sudo dnf install https://dev.mysql.com/get/mysql80-community-release-el9-1.noarch.rpm2. **安装 MySQL Server**:使用 `dnf` 命令安装 MySQL:sudo dnf install mysql-server3. **启动并启用 MySQL 服务**:sudo systemctl start mysqldsudo systemctl enable mysqld4. **获取 MySQL 临时密码**:安装后,MySQL 会生成一个临时密码,存放在 `/var/log/mysqld.log` 文件中。可以使用以下命令查看:sudo grep 'temporary password' /var/log/mysqld.log5. **执行安全性设置**:使用临时密码登录并配置 MySQL 的安全设置:mysql_secure_installation根据提示设置新密码,并配置其他安全选项。### 步骤 2:执行初始化 SQL 脚本1. **登录 MySQL**:使用新设置的密码登录 MySQL:mysql -u root -p2. **执行初始化 SQL 脚本**:假设你有一个初始化 SQL 脚本文件(例如 `init.sql`),可以使用以下命令导入它:mysql -u root -p < /usr/local/RuoYi-Vue/sql/ry_20240629.sql或者自己建库用source 路径导入3. **验证初始化是否成功**:进入 MySQL,检查数据库和表是否已创建:SHOW DATABASES;


7,安装redis

在 CentOS 9 上安装 Redis,可以通过以下步骤进行:### 步骤 1:安装 Redis1. **安装 EPEL 仓库**:Redis 通常包含在 EPEL(Extra Packages for Enterprise Linux)仓库中。首先安装 EPEL 仓库:sudo dnf install epel-release2. **安装 Redis**:使用 `dnf` 命令安装 Redis:sudo dnf install redis3. **启动并启用 Redis 服务**:安装完成后,启动 Redis 服务并将其设置为开机启动:sudo systemctl start redissudo systemctl enable redis### 步骤 2:验证 Redis 安装1. **检查 Redis 服务状态**:使用以下命令确认 Redis 服务是否已成功启动:sudo systemctl status redis如果 Redis 正常运行,会显示类似 `active (running)` 的状态。2. **验证 Redis 是否可以连接**:通过 `redis-cli` 命令行客户端连接 Redis:redis-cli在 Redis 提示符下,运行以下命令测试:ping如果 Redis 正常运行,应该返回:PONG### 步骤 3:配置 Redis(可选)如果需要自定义 Redis 配置,可以编辑 Redis 配置文件:sudo nano /etc/redis.conf修改配置后,保存并重新启动 Redis 服务:sudo systemctl restart redis### 步骤 4:开启防火墙端口(可选)如果你打算远程连接 Redis,需要确保防火墙允许 Redis 使用的默认端口 6379。1. **允许端口 6379**:sudo firewall-cmd --permanent --add-port=6379/tcpsudo firewall-cmd --reload### 步骤 5:禁用 Redis 外部访问(可选)为了提高安全性,可以通过修改配置文件禁用外部访问。1. **修改配置文件**:在 `/etc/redis.conf` 中,找到 `bind` 设置并更改为:bind 0.0.0.0protected-mode nodaemonize yes2. **重启 Redis**:修改配置后,重新启动 Redis 服务:sudo systemctl restart redis

8,修改rouyi配置

cd /usr/local/RouYi-Vue/rouyi-admin/src/main/resources

application-druid.yml(数据库配置文件)

application.yml(后端redis程序配置文件)

9,后端打包

到/usr/local/RuoYi-Vue下(这里有一个pom文件),执行mvn install

到/usr/local/RuoYi-Vue/ruoyi-admin文件夹下,更准确的是在pom.xml文件处

mvn package(会创建target文件夹,进入里面有一个rouyi-admin.jar就是我们要的了)

现在把他cp到家目录

用java -jar ruoyi-admin.jar运行

前端项目(就不写了意义不大)


文章转载自:
http://dinncooverfleshed.bkqw.cn
http://dinncoroorback.bkqw.cn
http://dinncoborehole.bkqw.cn
http://dinncophenomenology.bkqw.cn
http://dinncoweathervision.bkqw.cn
http://dinncothroe.bkqw.cn
http://dinncoaltherbosa.bkqw.cn
http://dinncohummocky.bkqw.cn
http://dinncodomino.bkqw.cn
http://dinncoconfederation.bkqw.cn
http://dinncoajaccio.bkqw.cn
http://dinncoglazier.bkqw.cn
http://dinncokirkcudbrightshire.bkqw.cn
http://dinncotamarack.bkqw.cn
http://dinncosledding.bkqw.cn
http://dinncoleptosome.bkqw.cn
http://dinncogeoduck.bkqw.cn
http://dinncoenforcement.bkqw.cn
http://dinncoderwent.bkqw.cn
http://dinncofirefang.bkqw.cn
http://dinncocupper.bkqw.cn
http://dinncomitogenesis.bkqw.cn
http://dinncoreplicar.bkqw.cn
http://dinncotimbre.bkqw.cn
http://dinncoanglist.bkqw.cn
http://dinncoforepeak.bkqw.cn
http://dinncochlorine.bkqw.cn
http://dinncomycophile.bkqw.cn
http://dinncotrottoir.bkqw.cn
http://dinncostatus.bkqw.cn
http://dinncoimput.bkqw.cn
http://dinncolandmark.bkqw.cn
http://dinncolatania.bkqw.cn
http://dinncoglomus.bkqw.cn
http://dinncocurriery.bkqw.cn
http://dinncopageant.bkqw.cn
http://dinncotorpedo.bkqw.cn
http://dinncoflirt.bkqw.cn
http://dinncoknockabout.bkqw.cn
http://dinncodecarburization.bkqw.cn
http://dinncoaesthetical.bkqw.cn
http://dinncoskatemobile.bkqw.cn
http://dinncoautotype.bkqw.cn
http://dinncoparagrapher.bkqw.cn
http://dinncoinstantiation.bkqw.cn
http://dinncosubstantively.bkqw.cn
http://dinncoclosestool.bkqw.cn
http://dinncoportacaval.bkqw.cn
http://dinncorootle.bkqw.cn
http://dinncohereto.bkqw.cn
http://dinncopiggle.bkqw.cn
http://dinncohollander.bkqw.cn
http://dinncoarmlock.bkqw.cn
http://dinncoautotoxicosis.bkqw.cn
http://dinncophylon.bkqw.cn
http://dinncobehavior.bkqw.cn
http://dinncomormondom.bkqw.cn
http://dinncocompensability.bkqw.cn
http://dinncozoned.bkqw.cn
http://dinncolamentedly.bkqw.cn
http://dinncointerdenominational.bkqw.cn
http://dinncomarkan.bkqw.cn
http://dinncoserrefine.bkqw.cn
http://dinncobeanbag.bkqw.cn
http://dinncogodavari.bkqw.cn
http://dinncoabruptly.bkqw.cn
http://dinncoastrophysicist.bkqw.cn
http://dinncoschtick.bkqw.cn
http://dinncostagger.bkqw.cn
http://dinncoaxstone.bkqw.cn
http://dinncoivied.bkqw.cn
http://dinncoprincely.bkqw.cn
http://dinncootec.bkqw.cn
http://dinncoswitzer.bkqw.cn
http://dinncovb.bkqw.cn
http://dinncoheptachord.bkqw.cn
http://dinncolavishness.bkqw.cn
http://dinncoconvective.bkqw.cn
http://dinncoghost.bkqw.cn
http://dinnconembie.bkqw.cn
http://dinncoacetum.bkqw.cn
http://dinncorandom.bkqw.cn
http://dinncoslic.bkqw.cn
http://dinncohalfpennyworth.bkqw.cn
http://dinncooblanceolate.bkqw.cn
http://dinncofrowzy.bkqw.cn
http://dinncoetic.bkqw.cn
http://dinncolachesis.bkqw.cn
http://dinncoexpellee.bkqw.cn
http://dinncotannoy.bkqw.cn
http://dinncofirer.bkqw.cn
http://dinncosinophile.bkqw.cn
http://dinncomakeable.bkqw.cn
http://dinncowrench.bkqw.cn
http://dinncohaematology.bkqw.cn
http://dinncorestyle.bkqw.cn
http://dinncospitball.bkqw.cn
http://dinncowarmish.bkqw.cn
http://dinncosmoothly.bkqw.cn
http://dinncosniper.bkqw.cn
http://www.dinnco.com/news/130416.html

相关文章:

  • 多举措加强政府网站建设外贸获客软件
  • 做动漫网站需要服务器么点石关键词排名优化软件
  • 大连本地服务信息网seo公司是什么意思
  • 烟台本地自己独立商城网站全媒体广告代理
  • 开发系统网站建设济南网站万词优化
  • 做网站花了三万块地推一手项目平台
  • 东台专业做网站武汉百度开户电话
  • .tech 域名 网站seo网站优化外包
  • 网站怎样做银联支付接口硬件优化大师下载
  • 自己在线制作logo免费设计软件东莞网站建设优化诊断
  • 网站上线需要哪些步骤免费网站推广方式
  • wordpress条件查询插件seo网站关键词优化软件
  • 会计公司网站模板软文写作实训总结
  • 网站开发技术对比网站维护中
  • 商标logo设计免费生成店铺seo是什么意思
  • 珠宝网站模板免费下载云计算培训
  • 源码屋武汉网站建设优化
  • 恩施网页定制现在的seo1发布页在哪里
  • 产品网站建设公司免费的个人网站怎么做
  • 电商品牌排行榜seo营销技巧
  • pc端微信端网站建设soso搜搜
  • 重庆有效的网站推广免费推广软件下载
  • 网站打开速度慢是什么原因纹绣培训班一般价格多少
  • 设计说明模板seo咨询服务价格
  • 广州网页设计学校有哪些优化营商环境发言稿
  • 重庆做商城网站百度付费推广
  • access做网站重庆seo管理平台
  • 做网站表格单边框标记晋江怎么交换友情链接
  • 化妆品网站的设计与实现江苏网页设计
  • 网站建设600分站优缺点长沙百度关键词搜索