03 2017 档案
摘要:常常遇到rabbitmq service停止以后,重启,发现mq里的东西也丢失了。 _Channel.queueDeclare(queue, true, false, false, null); //标红的参数表示要持久化queue。durable = true_Channel.basicPubli
阅读全文
摘要:mysql -uroot -e "SELECT concat('ALTER TABLE ', TABLE_NAME,' ENGINE=MYISAM;') FROM Information_schema.TABLES WHERE TABLE_SCHEMA = 'jitamin2' AND ENGINE = 'InnoDB' AND TABLE_TYPE = 'BASE TABLE'"
阅读全文
摘要:建表 建设 phinx.yml文件 数据迁移命令如下:
阅读全文
摘要:1. 打开Model.edmx, 2. 选择userinfo中的createtime字段的属性 3. storegeneratedpattern设置值为None
阅读全文
摘要:1、关闭ubuntu的防火墙 ufw disable开启防火墙ufw enable2、卸载了iptablesapt-get remove iptables3、关闭ubuntu中的防火墙的其余命令iptables -P INPUT ACCEPTiptables -P FORWARD ACCEPTipt
阅读全文
摘要:1. 安装supervisor 2.新建supervisor配置文件。使用以下命令在linux 命令行 3. 修改supervisor配置文件 移至文件内容结尾supervisord.conf。加include,指定启动时,需要启动的程序。 3. 新增.net core 启动的配置文件 然后填写以下
阅读全文
摘要:asp.net core 1.0.1发布已有些日子了,怀着好奇的心情体验了把ubuntu下的asp.net core 系统运行环境:ubuntu 16.0.4 for developer 首先搭建.net core的运行环境,可参见微软网站介绍: 然后新建目录用于本地存储文件夹,我的放在/var/w
阅读全文
摘要:In this guide, we will cover setting up a production-ready ASP.NET environment on an Ubuntu 16.04 Server.+ Note For Ubuntu 14.04 supervisord is recomm
阅读全文
摘要:https://github.com/shibayan/iislua
阅读全文
摘要:1. download the plugin of elasticsearch: 下载 readonlyrest-1.14.0_es5.2.2.zip 2. install readonlyrest plugin: C:\Users\Administrator\Downloads\elasticse
阅读全文
摘要:.NET Core is free, open source, cross platform and runs basically everywhere. STEP 0 - GET A CHEAP HOST I went to Linode (or anywhere) and got the che
阅读全文
摘要:DELETE testindex请求方式为 DELETE, 跟库名
阅读全文
摘要:1. 新建 test.bat 需要切换文件夹以后 并且执行程序。 2. 直接设置启动程序 选择 test.bat即可。
阅读全文
摘要:D:\elasticsearch-5.2.1\bin>elasticsearch-plugin install file:///D:/elasticsearch -5.2.1/bin/elasticfence-5.1.2-SNAPSHOT.zip
阅读全文
摘要:I am trying to run logstash under c:\program filesbut I get an error An unexpected error occurred! :error => bad URI(is not URI?): file://C:/Program F
阅读全文
摘要:mysqltestsql.sql
阅读全文