会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
哦克Oak
Talk is cheap, show me the code! 微信号:Oak4911,欢迎交流。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
13
下一页
2020年8月27日
本地添加远程服务器公钥
摘要: ssh-copy-id -i /root/.ssh/id_rsa.pub root@172.30.162.193 只第一次需要输入密码
阅读全文
posted @ 2020-08-27 18:50 哦克Oak
阅读(446)
评论(0)
推荐(0)
2020年8月24日
centos服务器快速安装gitlab
摘要: GitLab的安装及使用教程 1、配置yum源vim /etc/yum.repos.d/gitlab-ce.repo复制以下内容: [gitlab-ce]name=Gitlab CE Repositorybaseurl=https://mirrors.tuna.tsinghua.edu.cn/git
阅读全文
posted @ 2020-08-24 17:04 哦克Oak
阅读(201)
评论(0)
推荐(0)
2020年8月19日
5分钟搭建并使用 Jenkins
摘要: 目前市面上非常主流的部署架构Jenkins,我们来说一下他的安装流程: 第一种方式: (1)下载 http://mirrors.jenkins.io/war-stable/latest/jenkins.war (2)java -jar jenkins.war --httpPort=8080 (3)打
阅读全文
posted @ 2020-08-19 13:26 哦克Oak
阅读(258)
评论(0)
推荐(0)
2020年8月17日
查看当前mysql时区 并设置为北京时间
摘要: (1)查看当前时区 正确的应该是CST show variables like '%time_zone%'; (2)如果不是CST,需要修改配置文件 /etc/my.cnf 在[mysqld]中 添加 default-time-zone='+08:00' 最后: 只需完成这两步操作 ,此时查看MyS
阅读全文
posted @ 2020-08-17 00:17 哦克Oak
阅读(4528)
评论(0)
推荐(1)
2020年8月12日
springboot 指定配置文件启动, 区分开发和线上分支
摘要: 1. Idea中配置 2. 服务器部署脚本 java -jar -Dspring.profiles.active=dev demo-0.0.1-SNAPSHOT.jar
阅读全文
posted @ 2020-08-12 11:13 哦克Oak
阅读(818)
评论(0)
推荐(0)
2020年8月11日
Mybatis plus 常用的查询语法
摘要: 查询方式说明 setSqlSelect 设置 SELECT 查询字段 where WHERE 语句,拼接 + WHERE 条件 and AND 语句,拼接 + AND 字段=值 andNew AND 语句,拼接 + AND (字段=值) or OR 语句,拼接 + OR 字段=值 orNew OR
阅读全文
posted @ 2020-08-11 12:47 哦克Oak
阅读(2119)
评论(0)
推荐(1)
2020年8月7日
获取不到请求头token nginx配置
摘要: 在nginx配置文件的 http 部分 加入 underscores_in_headers on;
阅读全文
posted @ 2020-08-07 16:38 哦克Oak
阅读(2263)
评论(1)
推荐(1)
2020年8月6日
开启linux服务器swap空间
摘要: dd if=/dev/zero of=/data/swap bs=1024 count=8388616 mkswap /data/swap cat /proc/sys/vm/swappiness sysctl -a | grep swappiness sysctl -w vm.swappiness=
阅读全文
posted @ 2020-08-06 17:56 哦克Oak
阅读(250)
评论(0)
推荐(0)
2020年8月5日
nginx配置 同域名既是vue入口,又是服务端请求地址的方法
摘要: server { listen 80; listen 443 ssl; #SSL协议访问端口号为443。此处如未添加ssl,可能会造成Nginx无法启动。 server_name acc-admin.landdt.cn; #将localhost修改为您证书绑定的域名,例如:www.example.c
阅读全文
posted @ 2020-08-05 12:09 哦克Oak
阅读(323)
评论(0)
推荐(0)
2020年8月3日
mysql添加用户对指定库有权限
摘要: mysql添加用户对指定库有权限 1、创建用户和密码 create user 'acc'@'%' IDENTIFIED by 'acc@password'; 2、刷新授权 flush privileges; 3、设置对某个数据库的权限(增删改查可以设置一个或多个) access_control:数据
阅读全文
posted @ 2020-08-03 16:53 哦克Oak
阅读(914)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
13
下一页
公告