12 2015 档案
摘要:清除sqlserver日志方法 --查看数据库的recovery_model_desc类型 SELECT NAME, recovery_model_desc FROM sys.databases --如果是FULL类型,修改为SIMPLE类型 ALTER DATABASE M...
阅读全文
摘要:from a commandline in windows:for /F %q in (list.txt) DO ab -n 1000 https://test.com/search?%qI don't know Apache Bench nor how it collects its data. ...
阅读全文
摘要:This post is authored by Lalitesh Kumar, Pradeep M Gand reviewed by Avinash Venkat Reddy. Also special thanks to Adam Conkle and Craig Landis for prov...
阅读全文
摘要:Question:I've a deployed ASP.NET Web API with a website on the same folder that consume it.When I type the URL on the Browser such ashttp://domain.com...
阅读全文
摘要:Installing .NET Core on LinuxByZlatko KnezevicThese instructions will lead you through acquiring the .NET Core DNX SDK via the.NET Version Manager (DN...
阅读全文
摘要:本文介绍了Docker与Registry,作者说Docker是一个application hosting框架,亮点是简化应用的部署以及应用部署的版本控制。同时,作者介绍了Docker Registry的安装以及一个可以通过网页浏览Registry的镜像项目docker-registry-web。Do...
阅读全文
摘要:怎么从docker中copy文件到 本机docker cp :/file/path/within/container /host/path/target
阅读全文
摘要:基本概念:container容器。可以把每个 container 看做是一个独立的主机。 container 的创建通常有一个 image 作为其模板。类比成虚拟机的话可以理解为 image 就是虚拟机的镜像,而 container 就是一个个正在运行的虚拟机。一个虚拟机镜像可以创建出多个运行的虚拟...
阅读全文
摘要:Windows 上安装docker//(第一种)下载boot2dockerhttps://github.com/boot2docker/windows-installer/releases//(第二种)docker-toolboxhttps://www.docker.com/docker-toolb...
阅读全文
摘要:用useradd时,并没有创建同名的用户主目录。例子:adduser user1这样他就会自动创建用户主目录,创建用户同名的组。root@ubuntu:~# sudo adduser db[sudo] password for xx:输入xx用户的密码,出现如下信息正在添加用户"db"…正在添加新组...
阅读全文
摘要:The problem is because your folder is owned byroot, instead offtpuser.To fix it run:sudo chown -R ftpuser:nogroup /var/www/ftuuserfolderreboot
阅读全文
摘要:ab.exe是一个性能检测工具,是apache server中的一个小组件,使用简单,方便 下载地址:http://files.cnblogs.com/files/gossip/ab.zip 使用方法: 1、打开cmd 2、进入ab.exe所在的路径(默认放在d盘根目录下) 3、命...
阅读全文
摘要:1 . 怎么在ubuntu中,background的方式 启动express。 网站www/home/host/express/web/bin# nohup node www2. Node.js的这种设计虽然有利于提高性能,却不利于开发调试,因为我们在开发过程中总是希望修改后立即看到效果,而不是每次...
阅读全文