上一页 1 2 3 4 5 6 7 8 ··· 18 下一页

2017年6月19日

centos7搭建docker私有仓库

摘要: 1.环境: 2.仓库配置https认证 a.配置hosts文件 [root@docker01 ~]# cat /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 local 阅读全文

posted @ 2017-06-19 18:20 vijayfly 阅读(1472) 评论(0) 推荐(0) 编辑

2017年6月12日

【Win】使用L2TP出现809错误

摘要: 1.环境:win7/10 2.解决: a.修改注册表(新建一个文本文件,复制以下内容,保存后文件扩展名改为.reg,双击运行文件。) b.启动相关服务(Win+R打开“运行”对话框,输入services.msc,打开“服务"(或者在控制面板里搜索“服务”,查看本地服务)) 将一下几个服务设为自动: 阅读全文

posted @ 2017-06-12 17:17 vijayfly 阅读(6239) 评论(0) 推荐(0) 编辑

2017年5月31日

python3查询数据库并生成excel报表

摘要: #!/usr/bin/env python3 #encoding=UTF-8 import os import time import xlwt hostIp = 'xxx.xxx.xxx.xx' user = 'user0001' passwd = 'xxxx' db = 'db01' sqlStr1 = 'SELECT timeout_day as 逾期天数,COUNT(1) as 统... 阅读全文

posted @ 2017-05-31 17:03 vijayfly 阅读(6636) 评论(1) 推荐(0) 编辑

2017年5月27日

python3连接mysql

摘要: #!/usr/bin/python3 import pymysql conn = pymysql.connect(host='10.60.10.11',port=3306,user='root',passwd='xxxxx',db='haoxx') cur = conn.cursor() cur.execute("select car_id,car_name from car where... 阅读全文

posted @ 2017-05-27 18:30 vijayfly 阅读(240) 评论(0) 推荐(0) 编辑

RabbitMQ服务端配置详解(转自:http://www.cnblogs.com/zhen-rh/p/6884297.html)

摘要: RabbitMQ支持三种配置方式: 1) 读取环境变量中配置, 这包括shell中环境变量和rabbitmq-env.conf/rabbitmq-env-conf.bat文件中配置的环境变量 可配置如端口、配置文件指定自定义位置、节点名字等信息。 2) 读取配置文件rabbitmq.config 可 阅读全文

posted @ 2017-05-27 15:23 vijayfly 阅读(1522) 评论(0) 推荐(0) 编辑

RabbitMQ安装详解(centos6.8)(转自:http://www.cnblogs.com/zhen-rh/p/6862350.html)

摘要: 1.下载rabbitmq安装包 2.安装erlang a.安装Erlang Solutions仓库到你的系统(目的在于让你可以使用yum安装到最新版本的erlang, 如果不设置, yum安装的erlang版本通常太低) b.yum install -y erlang 注:因为rabbitmq是使用 阅读全文

posted @ 2017-05-27 15:19 vijayfly 阅读(532) 评论(0) 推荐(0) 编辑

2017年5月26日

vsftpd java程序无法创建和切换目录

摘要: # Example config file /etc/vsftpd/vsftpd.conf # # The default compiled in settings are fairly paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # Please see vs... 阅读全文

posted @ 2017-05-26 18:47 vijayfly 阅读(992) 评论(0) 推荐(0) 编辑

2017年5月24日

mysql存储过程 --游标的使用 取每行记录 (多字段)

摘要: delimiter $ create PROCEDURE phoneDeal() BEGIN DECLARE id varchar(64); -- id DECLARE phone1 varchar(16); -- phone DECLARE password1 varchar(32); -- 密码 DECLARE name1 varchar(64... 阅读全文

posted @ 2017-05-24 16:03 vijayfly 阅读(1108) 评论(0) 推荐(0) 编辑

mysql rowid实现

摘要: b表是数据表 阅读全文

posted @ 2017-05-24 15:50 vijayfly 阅读(3731) 评论(0) 推荐(0) 编辑

2017年5月18日

redis进程守护脚本

摘要: #!/bin/bash redis_dir="/usr/local/redis" redis_conf="/usr/local/redis/redis.conf" time=`date` log="/tmp/redis.log" rediss=`ps -ef|grep -v vim |grep -v grep |grep redis-server|grep 6379|wc -l` if [ ... 阅读全文

posted @ 2017-05-18 17:12 vijayfly 阅读(457) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 18 下一页

导航