上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: 平滑降低音量 Musicbox项目地址https://github.com/darknessomi/musicbox 个人版本git clone https://github.com/cloudswave/musicbox.gitcd musicbox python setup.py install 阅读全文
posted @ 2018-01-07 23:15 Mr黄瑞 阅读(6016) 评论(0) 推荐(1) 编辑
摘要: #!/usr/bin/env python #-*- coding: utf-8 -*- import json import sys import urllib2 import argparse from urllib2 import URLError reload(sys) sys.setdef 阅读全文
posted @ 2018-01-05 18:57 Mr黄瑞 阅读(2089) 评论(0) 推荐(0) 编辑
摘要: root & alias区别root与alias主要区别在于nginx如何解释location后面的uri,这会使两者分别以不同的方式将请求映射到服务器文件上root的处理结果是:root路径+location路径alias的处理结果是:使用alias路径替换location路径alias是一个目录 阅读全文
posted @ 2018-01-05 12:47 Mr黄瑞 阅读(422) 评论(0) 推荐(0) 编辑
摘要: Mongodb下载地址https://www.mongodb.com/download-center#atlas本文采用免安装版本 mongodb323.zip进行安装配置解压mongodb323.zip到/data/mongdb目录建立数据库目录mkdir -p /data/mongodb/dat 阅读全文
posted @ 2018-01-03 10:26 Mr黄瑞 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 启用ssh写入镜像,在boot目录新建ssh文件即可(不要使用SSH,文件非文件夹) ssh默认账号密码账号:pi密码:raspberry 软件安装sudo apt-get updatesudo apt-get install vim tightvncserver mplayer ttf-wqy-z 阅读全文
posted @ 2017-12-27 22:47 Mr黄瑞 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 安装subversionyum install subversionsubversion安装在/bin目录检查一下subversion是否安装成功svnserve --version 建立版本库subversion默认以/var/svn作为数据根目录,可以通过/etc/sysconfig/svnse 阅读全文
posted @ 2017-12-27 18:45 Mr黄瑞 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 需要安装mysql及gityum -y install git mysql-server 下载安装go官网:https://golang.org/dl/wget https://redirector.gvt1.com/edgedl/go/go1.9.2.linux-amd64.tar.gztar - 阅读全文
posted @ 2017-12-27 15:09 Mr黄瑞 阅读(1163) 评论(0) 推荐(0) 编辑
摘要: 1. Clear PageCache only.sync && echo 1 > /proc/sys/vm/drop_caches2. Clear dentries and inodes.sync && echo 2 > /proc/sys/vm/drop_caches3. Clear PageCa 阅读全文
posted @ 2017-12-07 10:17 Mr黄瑞 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Kubernetes 1.6还没有针对docker 1.13和最新的docker 17.03上做测试和验证,所以这里安装Kubernetes官方推荐的Docker 1.12版本 kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.i 阅读全文
posted @ 2017-11-08 18:33 Mr黄瑞 阅读(2159) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-11-07 18:06 Mr黄瑞 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 本文以apache为web服务器为例 #!/bin/sh alias urldecode='sed "s@+@ @g;s@%@\\\\x@g" | xargs -0 printf "%b"' echo -e "Content-type: text/plain\n" decoded_str=`echo 阅读全文
posted @ 2017-11-07 11:04 Mr黄瑞 阅读(23919) 评论(2) 推荐(1) 编辑
摘要: 试图运行程序,提示"libc.so.6: version `GLIBC_2.14' not found",原因是系统的glibc版本太低,软件编译时使用了较高版本的glibc引起的:问题Centos6最高支持glibc-2.12查看系统glibc支持的版本:strings /lib64/libc.s 阅读全文
posted @ 2017-11-01 15:03 Mr黄瑞 阅读(4969) 评论(0) 推荐(0) 编辑
摘要: date命令用法#带格式输出$ date +"%Y-%m-%d"#输出1天后的日期$ date -d "1 day" +"%Y-%m-%d"#输出1天前的日期$ date -d "1 day ago" +"%Y-%m-%d"输出10秒后的时间$ date -d "10 second" +"%Y-%m 阅读全文
posted @ 2017-10-27 17:14 Mr黄瑞 阅读(3976) 评论(0) 推荐(1) 编辑
摘要: MongoDB登录mongo --host localhost --port 27017 -uroot -pdbpasswd --authenticationDatabase admin查看所有dbshow dbs;进入db库use db;查看所有表show tables;使用mongodump命令 阅读全文
posted @ 2017-09-12 17:32 Mr黄瑞 阅读(544) 评论(0) 推荐(0) 编辑
摘要: Harbor源码地址:https://github.com/vmware/harborHarbort特性:基于角色控制用户和仓库都是基于项目进行组织的, 而用户基于项目可以拥有不同的权限。基于镜像的复制策略镜像可以在多个 Harbor 实例之间进行复制。支持 LDAPHarbor 的用户授权可以使用 阅读全文
posted @ 2017-09-05 12:11 Mr黄瑞 阅读(1652) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 13 下一页