九.Dashboard配置1.编辑文件/etc/openstack-dashboard/local_settings2.重启web服务器以及会话存储服务浏览器访问dashboard进入设置成中文重新登陆3.开启mi.nano云主机4.创建网络5.创建镜像十.Networking服务neutron私有网络1.安装服务2.编辑``/etc/neutron/neutron.conf[datab..
分类:
其他好文 时间:
2017-11-07 23:01:40
阅读次数:
338
(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. 今天运行Redis时发生错误,错误信息如下: (error) MISCONF Redis ...
分类:
其他好文 时间:
2017-11-07 22:15:49
阅读次数:
181
cat /usr/local/ssdb/moniter_ssdb.py #!/usr/bin/env python import os import sys import commands #ssdb port Precosslist = ('17000','17005','17010','1701... ...
分类:
编程语言 时间:
2017-11-07 21:01:42
阅读次数:
389
一. local 模式 -- 所有程序都运行在一个JVM中,主要用于开发时测试 无需开启任何服务,可直接运行 ./bin/run-example 或 ./bin/spark-submit 如: ./bin/run-example SparkPi 10 ./bin/spark-submit --cla ...
分类:
其他好文 时间:
2017-11-07 20:59:13
阅读次数:
249
SqlDataAdapter(数据适配器) 是 DataSet 和 SQL Server 之间的桥接器,用于检索和保存数据。SqlDataAdapter 与 SqlConnection 和 SqlCommand 一起使用,以便在连接到 SQL Server 数据库时提高性能。下面结合我们做的医院药库 ...
分类:
数据库 时间:
2017-11-07 20:49:14
阅读次数:
231
1.设置密码输入错误次数:aaa local authentication attempts max-fail 3 2.设置密码长度、复杂性、有效期: aaa common-criteria policy policy1 lifetime month 3 max-length 12 min-leng ...
分类:
其他好文 时间:
2017-11-07 19:54:02
阅读次数:
943
在路径C:\Windows\System32\drivers\etc下,找到hosts文件,先右键管理员方式运行,然后用记事本打开 在最后添加127.0.0.1 localhost复制,粘贴到最后,然后把localhost改为要绑定的域名 hosts文件是域名解析文件 可以将常访问的文件在hosts ...
Maven与Sonar配合使用 准备工作:下载sonarqube源码即可 步骤: 1)、安装sonar 本文以 MySQL 为例说明如何更改 Sonar 的数据库设置: a、创建sonar数据库:create database sonar; b、创建用户: c、将 MySQL 的驱动文件(如 mys ...
分类:
其他好文 时间:
2017-11-07 17:53:27
阅读次数:
213
接下来聊一聊nginx的开机自启吧 看了看都是用脚本启动的,我也就不扯啥犊子了,都是前人经验 我的操作系统是centos 7 nginx版本是1.10.3 首先看一下自己的nginx配置 我的是 ./configure \ --prefix=/usr/local/nginx \ --pid-path ...
分类:
其他好文 时间:
2017-11-07 16:24:33
阅读次数:
151
一从库操作以/mnt/local/tomcat_8080举例1修改context.xml文件重启tomcat2建立软连接二主库操作修改负载均衡vi/etc/nginxnginx.confworker_processes1;events{worker_connections1024;}http{includemime.types;default_typeapplication/octet-stream;sendfileon;keepalive_time..
分类:
其他好文 时间:
2017-11-07 14:34:29
阅读次数:
232