上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: upstream www.xxxxxx.com { server localhost:9041;} #配置80端口重定向443端口 server { listen 80; server_name www.xxxxxx.com;#域名 return 301 https://$server_name$r 阅读全文
posted @ 2022-08-15 10:12 深水是沉默 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1、下载 wget http://cn2.php.net/distributions/php-7.0.30.tar.gz 解压 tar -zxvf php-7.0.30.tar.gz 2、下载安装依赖 yum -y install gcc openssl openssl-devel curl cur 阅读全文
posted @ 2022-08-15 09:18 深水是沉默 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 话不多说直接代码 server { listen 80; server_name www.xxxxx.com; return 301 https://$server_name$request_uri;} server { listen 443 ssl; server_name www.xxxxx.c 阅读全文
posted @ 2022-08-12 15:17 深水是沉默 阅读(1095) 评论(0) 推荐(0) 编辑
摘要: Calendar calendar = Calendar.getInstance();//时间,可以为具体的某一时间Date today = new Date();calendar.setTime(today);int weekDay = calendar.get(Calendar.DAY_OF_W 阅读全文
posted @ 2022-07-28 12:39 深水是沉默 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 下载地址:https://github.com/alibaba/nacos/releases #解压 tar -txvf nacos-server-2.0.2.tar.gz 配置conf 文件夹下 application.properties spring.datasource.platform=m 阅读全文
posted @ 2022-06-29 15:32 深水是沉默 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 这里踩了一些坑,如果用系统自带的源去安装mongodb,安装出来的是2.4版本左右的,外部连接工具已经不支持3.0版本已下的连接了,所以就需要找高版本的去安装。 首先先来个什么事MangoDB的简单定义: MongoDB 是一个基于分布式文件存储的数据库。由 C++ 语言编写。旨在为 WEB 应用提 阅读全文
posted @ 2022-06-29 10:24 深水是沉默 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 解决方法: 1、先用ubuntu账号登录,执行sudo passwd root 2、设置新密码,输入密码,请牢记。 3、执行sudo vi /etc/ssh/sshd_config 4、找到PermitRootLogin without-password这一行,把后面的without-passwor 阅读全文
posted @ 2022-06-28 18:11 深水是沉默 阅读(745) 评论(0) 推荐(0) 编辑
摘要: 1. 在Ubuntu下最傻瓜的步骤(以下都在root用户下进行操作): MongoDB安装很简单,无需下载源文件,可以直接用apt-get命令进行安装。 打开终端,输入以下命令: sudo apt-get install mongodb 2.这时装好以后应该会自动运行mongod程序,通过"pgre 阅读全文
posted @ 2022-06-27 18:12 深水是沉默 阅读(1100) 评论(0) 推荐(0) 编辑
摘要: 事务管理是应用系统开发中必不可少的一部分。Spring 为事务管理提供了丰富的功能支持。Spring 事务管理分为编程式和声明式的两种方式。编程式事务指的是通过编码方式实现事务;声明式事务基于 AOP,将具体业务逻辑与事务处理解耦。声明式事务管理使业务代码逻辑不受污染, 因此在实际使用中声明式事务用 阅读全文
posted @ 2022-03-31 17:05 深水是沉默 阅读(976) 评论(0) 推荐(1) 编辑
摘要: 1、下载Navicat Premium 官网https://www.navicat.com.cn/下载最新版本下载安装(文末,网盘地址有64位安装包和注册机下载) 2、激活Navicat Premium 下载激活软件, 无需断网运行激活软件Navicat_Keygen_Patch(以管理员身份运行) 阅读全文
posted @ 2022-03-29 15:25 深水是沉默 阅读(7564) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页