上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 74 下一页
摘要: #1. SSH到xen物理机 #2. 查看VM的 uuid xe vm-list #3. 设置VM的BIOS xe vm-param-set uuid={vm uuid} HVM-boot-policy="BIOS order" #4. 设置VM的BIOS启动项 xe vm-param-set uuid={vmuuid} HVM-boot-params:order="dc" #5. 在... 阅读全文
posted @ 2018-10-09 12:02 MR__Wang 阅读(812) 评论(0) 推荐(0)
摘要: linux系统中,利用grep打印匹配的上下几行 如果在只是想匹配模式的上下几行,grep可以实现。 $grep -5 'parttern' inputfile //打印匹配行的前后5行 $grep -C 5 'parttern' inputfile //打印匹配行的前后5行 $grep -A 5 阅读全文
posted @ 2018-10-09 11:56 MR__Wang 阅读(782) 评论(0) 推荐(0)
摘要: 未安装wget,联网执行以下命令即可: 1、断点续传,只需要添加 -c 参数即可 2、限速下载,只需要添加 -limit-rate=300k 合理参数即可 阅读全文
posted @ 2018-09-29 16:13 MR__Wang 阅读(2151) 评论(0) 推荐(0)
摘要: 一、开机启动服务的配置 1.创建服务配置(权限754) vim /usr/lib/systemd/system/nginx.service 文件内容解释 [Unit]:服务的说明Description:描述服务After:描述服务类别 [Service]服务运行参数的设置Type=forking是后 阅读全文
posted @ 2018-09-29 10:21 MR__Wang 阅读(1561) 评论(0) 推荐(0)
摘要: 1.配置项变更 2.禁用自动分片 disabled shard allocation 3.将内存数据同步到磁盘 A synced flush request is a “best effort” operation. It will fail if there are any pending ind 阅读全文
posted @ 2018-09-27 17:54 MR__Wang 阅读(332) 评论(0) 推荐(0)
摘要: 操作系统版本: 下载软件: 下载文件保存在/usr/local/src/5.6.8/ 增加elasticsearch用户 安装elasticsearch 安装插件: 系统配置 配置elasticsearch 配置elasticsearch 相关配置文件,脚本启动即可。 阅读全文
posted @ 2018-09-27 17:42 MR__Wang 阅读(963) 评论(0) 推荐(0)
摘要: 转自:http://woshub.com/port-forwarding-in-windows/ Since Windows XP there is a built-in ability in Microsoft Windows to set up network ports forwarding. 阅读全文
posted @ 2018-09-25 17:45 MR__Wang 阅读(1035) 评论(0) 推荐(0)
摘要: 压缩.log 文件为zip后删除原文件 需要注意:本人作为小白,该脚本需要和.log在一起,后面有时间需要改正。 阅读全文
posted @ 2018-09-21 16:15 MR__Wang 阅读(2564) 评论(1) 推荐(0)
摘要: 1、测试版本 nginx版本:nginx-1.10.2;windows版本:win10 2、下载winsw。 当前最新版本为:winsw-2.0.1-bin.exe。下载地址:http://repo.jenkins-ci.org/releases/com/sun/winsw/winsw/2.0.1/ 阅读全文
posted @ 2018-09-19 11:45 MR__Wang 阅读(361) 评论(0) 推荐(0)
摘要: redis 启动停止脚本,该redis需要密码登录,如没有密码,去掉stop函数里的 -a 关于“redis pid文件怎么生成”这个问题,我认为:redis.conf配置参数: 1)daemonize on|yes redis默认不是以守护进程的方式运行,可以通过该配置项修改,使用yes时,启用守 阅读全文
posted @ 2018-09-15 15:24 MR__Wang 阅读(510) 评论(0) 推荐(0)
上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 74 下一页