l 主mysql上: # cp /etc/my.cnf /etc/my.cnf.bak # vi /etc/my.cnf log_bin=mysql-bin //开启二进制日志 server_id=1 //server_id 的值主从必须不同 登录mysql后进行授权: mysql> grant a ...
分类:
数据库 时间:
2020-05-19 20:44:15
阅读次数:
80
一:Centos7Yum安装配置指定版本nginx 1、安装 rpm -ivh http://nginx.org/packages/centos/7/x86_64/RPMS/nginx-1.16.1-1.el7_4.ngx.x86_64.rpm 2、启动 并验证 启动命令systemctl star ...
分类:
其他好文 时间:
2020-05-19 18:38:39
阅读次数:
130
"尚硅谷视频教程链接" "学习资料获取" 执行(run) alt + r 提示补全(Class Name Completion) alt + / 单行注释 ctrl + / 多行注释 ctrl + shift + / 向下复制一行 (Duplicate Lines) ctrl + alt + dow ...
分类:
系统相关 时间:
2020-05-19 18:17:35
阅读次数:
78
package com.example.sevenzuoy; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import a ...
分类:
其他好文 时间:
2020-05-19 10:54:05
阅读次数:
50
作者:ramostear https://www.jianshu.com/p/f4126ee58df1 本次内容主要介绍基于Ehcache 3.0来快速实现Spring Boot应用程序的数据缓存功能。在Spring Boot应用程序中,我们可以通过Spring Caching来快速搞定数据缓存。 ...
分类:
编程语言 时间:
2020-05-19 10:34:50
阅读次数:
64
学习内容 先上项目地址,一个简单的AVPlayerDemo: https://github.com/practiceqian/QCAVPlayerDemo AVPlayer学习 1. 几个播放器相关的类 AVPlayer、AVURLAsset、AVPlayerItem、AVPlayerLayer 2 ...
分类:
其他好文 时间:
2020-05-19 00:21:52
阅读次数:
80
使用eclipse或idea的时候会遇到各式各样的小问题,解决方案其实网上也大都搜得到,但是下次遇到的时候总是想不起来如何解决,还要花费时间再次查资料。所以以后把遇到的问题都记录一下。 @ "TOC" Eclipse 1.乱码 解决方法 【Window】 【Preferences】 【General ...
分类:
系统相关 时间:
2020-05-18 22:51:29
阅读次数:
111
1. 弹性盒子中: flex: 0 1 auto表示什么意思 flex默认三个参数是flex-grow, flex-shrink, flex-basis,默认值是0 1 auto。 flex-grow属性定义项目的放大比例,默认为0,即如果存在剩余空间,也不放大; flex-shrink属性定义项目 ...
分类:
其他好文 时间:
2020-05-18 18:47:26
阅读次数:
67
1.安装dotnet runtime 首先注册微软产品仓库,这样就可以通过yum安装.NET Rumtime了。 sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm sudo ...
分类:
Web程序 时间:
2020-05-18 14:10:42
阅读次数:
102