#!/bin/bash
# IPcam2rtmp
# Version 1.3
# Look at http://lxy.me/ipcam2rtmp.html for more info
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
CAM1_RTSP_URL="rtsp...
checking if ImageMagick version is at least 6.2.4... found version 6.2.8
checking for MagickWand.h or magick-wand.h header... configure: error: Unable to find MagickWand.h or magick-wand.h header
[root@AY131108184211Z imagick-3.4.0]# cd /usr/local/
[root@AY131108184211Z local]# cd imagemagick/
[root@AY131108184211Z imagemagick]# cd lib
[root@AY131108184211Z lib]# cd pkgconfi...
ssh/scp是很常用的命令,发现对有些主机, ssh建立连接速度特别慢,连接建立之后执行操作速度却很正常。
用 ssh -v 来查看详细的连接建立过程:
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure. Minor code may provide more information
No credentials cache found
debug1: Unsp...
大家都有遇到过可以通过ip直接访问网站,这样理论上不利于SEO的优化。
所以我们希望可以避免直接用IP访问网站,而只能通过域名访问。
具体怎么做呢,看下面。
官方文档中提供的方法:
If you do not want to process requests with undefined "Host" header lines, you may define a default server that just drops the requests:
server {
listen 80 default_server;
server_name _;
return 444...