上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
摘要: mysql> grant 权限1,权限2,…权限n on 数据库名称.表名称 to 用户名@用户地址 identified by ‘连接口令’; 阅读全文
posted @ 2015-09-22 12:41 juandx 阅读(7580) 评论(0) 推荐(0) 编辑
摘要: ============================================================================================================上传镜像===kilo new===glance image-create --na... 阅读全文
posted @ 2015-09-21 18:40 juandx 阅读(2438) 评论(0) 推荐(0) 编辑
摘要: No tenant network is available for allocation. No tenant network is available for allocation. 这个问题主要是由于controller节点的neutron没有配置好,一般是由于ml2文件没有配置好,查看/v... 阅读全文
posted @ 2015-09-17 14:28 juandx 阅读(3106) 评论(1) 推荐(0) 编辑
摘要: http://blog.csdn.net/eroswang/article/details/5555415tar [-cxtzjvfpPN] 文件与目录 ....参数:-c :建立一个压缩文件的参数指令(create 的意思);-x :解开一个压缩文件的参数指令!-t :查看 tarfile 里面的... 阅读全文
posted @ 2015-09-15 11:23 juandx 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 前几天在compute节点更新openstack的包后,发现报错IncompatibleObjectVersion: Version 1.2 of PciDeviceList is not supported,nova服务在compute节点起不来了,就开始google,等了两天果然很多人都有这个错... 阅读全文
posted @ 2015-09-06 13:23 juandx 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 初始时间:2012年 09月 14日 星期五 18:15:33EDT[root@test ~]# mv /etc/localtime /etc/localtime.bak[root@test ~]# ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/local... 阅读全文
posted @ 2015-09-06 10:29 juandx 阅读(1414) 评论(0) 推荐(0) 编辑
摘要: yum install [rpm包或者rpm包地址]yum remove [rpm包]yum list installed 查看已经安装的yum info installed 查看已经安装的包的具体信息yum check-update 查看可以更新的软件包yum update 更新所有软件包,当然也... 阅读全文
posted @ 2015-09-01 11:36 juandx 阅读(217) 评论(0) 推荐(0) 编辑
摘要: @del c:\temp.vbs@echo on error resume next >>c:\temp.vbs@echo dim WshShell>>c:\temp.vbs@echo Set WshShell = WScript.CreateObject("WScript.Shell")>>c:\... 阅读全文
posted @ 2015-08-18 18:15 juandx 阅读(2835) 评论(0) 推荐(0) 编辑
摘要: sudo rabbitmq-server start,虽然现实success,但是查看状态,sudo rabbitmq-server status发现居然没有启动,报错是不是端口占用(查看日志/var/log/rabbitmq/start_up,如果是端口占用,kill其就可以了),发现是erlan... 阅读全文
posted @ 2015-08-18 10:30 juandx 阅读(4172) 评论(0) 推荐(0) 编辑
摘要: 在一些配置中会要求登录mysql授权的时候注意ip地址是ip地址,localhost是localhost,在grant授权时,如果用localhost,就必须在所登录的配置文件中使用localhost,而不能用相应的ip替代,这样肯定连不上mysql。不然就在grant时候直接用ip就行,当然配置文... 阅读全文
posted @ 2015-08-14 19:56 juandx 阅读(284) 评论(0) 推荐(0) 编辑
摘要: Centos 7 comes with MariaDB instead of MySQL. MariaDb is a open source equivalent to MySQL and can be installed withyum -y install mariadb-server mari... 阅读全文
posted @ 2015-08-14 18:51 juandx 阅读(2320) 评论(0) 推荐(0) 编辑
摘要: 环境 ubuntu 14.04为了安装rails4.2 和 ruby 2.2.2,这是目前稳定的最新版本,需要先安装rvmsudo apt-get updatesudo apt-get install curl\curl -L https://get.rvm.io | bash -s stable ... 阅读全文
posted @ 2015-07-11 01:29 juandx 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1、在chrome中如果是js添加颜色必须用"#00CC00",必须加#号。。。不然会出问题,但是在搜狗浏览器中可以没有#号也能正确识别。。。 阅读全文
posted @ 2015-04-23 23:18 juandx 阅读(347) 评论(0) 推荐(0) 编辑
摘要: setTimeout() 只执行 code 一次。如果要多次调用,请使用 setInterval() 或者让 code 自身再次调用 setTimeout()。//第一次load的时候就先刷新一次 setTimeout( function() { $.get('', function( da... 阅读全文
posted @ 2015-04-23 17:31 juandx 阅读(288) 评论(0) 推荐(0) 编辑
摘要: /** wenbin Reverse the list **//*逆转单链表,没什么技巧,用3个指针即可*/#include #define LL __int64using namespace std;/* ................................................. 阅读全文
posted @ 2015-04-17 20:12 juandx 阅读(172) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/benio/archive/2010/10/13/1849946.htmldu -hdf -hdu -h --max-depth=1 // 查看当前目录文件火文件夹大小,最多深入一层 [root@bsso yayu]# du -h --max-dep... 阅读全文
posted @ 2015-04-06 17:25 juandx 阅读(1016) 评论(0) 推荐(0) 编辑
摘要: win7有的系统默认关机选项没有休眠功能,其实是没打开。cmd->powercfg-hibernateon 即可 阅读全文
posted @ 2015-04-06 11:31 juandx 阅读(146) 评论(0) 推荐(0) 编辑
摘要: ssh ~/.ssh/目录下通常有个文件 这个里面包含的是别人的public key,如果别人有对应的private key,就能够登陆这个机器 生成自己的key,默认一路回车 然后会发现.ssh目录下多了几个文件,生成了private key和public key,还有你的public key的指 阅读全文
posted @ 2015-04-05 18:26 juandx 阅读(3115) 评论(0) 推荐(0) 编辑
摘要: d命令可以轻易实现创建指定大小的文件,如dd if=/dev/zero of=test bs=1M count=1000 会生成一个1000M的test文件,文件内容为全0(因从/dev/zero中读取,/dev/zero为0源)。但是这样为实际写入硬盘,文件产生速度取决于硬盘读写速度,如果欲产生... 阅读全文
posted @ 2015-04-05 18:20 juandx 阅读(2732) 评论(0) 推荐(0) 编辑
摘要: 在服务端运行iperf,输入命令iperf –s –p 12345 –i 1 –M 以在本机端口12345上启用iperf在客户端运行iperf,输入命令iperf –cserver-ip–pserver-port–i 1 –t 10 –w 20K,其中参数说明如下:-c:客户端模式,后接服务器ip... 阅读全文
posted @ 2015-03-25 13:15 juandx 阅读(306) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页