记录关于Devops运维,虚拟化容器云计算,数据库,网络安全等各方面问题。
QuarkSuper secure cryptographic coin Specifications * Super secure hashing: 9 rounds of hashing from 6 hashing functions (blake, bmw, groestl, jh, keccak, skein). 3 rounds apply a random hashing function.* CPU mining* Quick block generation: 30 seconds* 2048 QRK per block (halving every 60480 blocks ~ 3 weeks)* Block reward will never drop below 1 QRK * Total of 247 million QRK will be mined in ~ 6 months, after that ~ 1 million QRK p.a. (~ 0.5% p.a inflation)* Difficulty retargets every 20 blocks (maximum 10% up or 50% down) Downloads Source code: https://github.com/MaxGuevara/quarkWindows Qt wallet 0.8.3r15 (zip):http://www.qrk.cc/quarkcoin083r15win.zip    File hashes:        md5 bf41df82999832f1193d88218e224772        sha1 4c22f94840a78d9c322322f3c708a6197ed319dfWindows Qt wallet 0.8.3r15 (installer):http://www.qrk.cc/Quark-0.8.3-r15-Installer.exe    File hashes:        md5 f1c4...
用squid缓存视频文件的配置调试   1.首先强调一下视频文件的特点视频文件的尺寸比起普通HTTP请求的文件要大得多视频文件上传以后就不会被修改视频文件被播放器下载时,存在大量多线程下载2.为了跟踪你的命中率和观察你的文件里的TCP_MISS的类型,请增加squid cache manager和access.log的输出。在配置文件中增加以下内容acl managerip src [HOSTIP]acl manager proto cache_objecthttp_access allow manager manageriplogformat analyse %>a "%rm %ru HTTP/%rv" %Ss:%Sh/%Hsaccess_log /usr/local/squid/var/logs/access.log analyse分别增加了manager的访问和access.log的跟踪3.优化前,先关注你当前的squid运行情况squidclient -h[SQUIDIP] -p[PORT] mgr:info mgr的其他选项,用squidclient mgr: 查看 Request Hit Ratios和Byte Hit Ratios这两项重要指标就是我们要追求的结果。他的指标高地直接说明了squid的起到的cache效果Memory accounted for:项中的Total accounted指标表示你所允许squid使用的cache内存有多少空间已经存储了cache文件File decript:or usage for squid:项里面的指标指明了你的文件描述符数量是否cac...
ڵȨ鿴־
windows 2003 server 使用cwrsync同步文件夹的权限问题 windows 2003 server 使用cwrsync 3 同步文件夹后,权限和安全属性不能同步,直接导致无法使用,查阅资料后发现必须在运行命令前使用SET CYGWIN=nontsec参数将以下内容保存成.bat批处理文件后即可运行。@ECHO OFFSET CYGWIN=nontsec"c:\Program Files\cwRsync\bin\rsync" -avrr /cygdrive/c/srcdir/ /cygdrive/d/dstdir/对于cwrsync 3.0.7以后及cwrsync 4.0以后的版本,由于cygwin已经从1.5升级到1.7,而且cygwin1.7的mount点从注册表改成了/etc/fstab ,cwrsync 4.0.4版本使用CYGWIN=nontsec参数无效,仍然存在目录权限问题,解决方法如下,在rsync.exe的上一级目录新建一个etc目录,然后在etc目录用写字板新建一个fstab文件,不带扩展名,文件内容为#edit by gaodi #none /cygdrive cygdrive ntfs override,binary,noacl 0 0none /cygdrive cygdrive binary,posix=0,user,noacl 0 0C:/Program\040Files/cwrsync / ntfs override,binary,noacl 0 0C:/Program\040Files/cwrsync/bin /usr/bin ntfs override,binary,noacl 0 0#C:/Program\040Files/cwrsync/etc/terminfo /usr/share/terminfo ntfs override,...
比特股(PTS)ypool矿池挖矿软件 jhProtominer linux安装使用 PTS XPM FTC 比特 挖矿 矿工 linux ubuntu 软件安装下载地址:https://github.com/Tydus/jhProtominer/archive/master.zip以下是如何安装使用。colaborar con la sostenibilidad del servidor anillosur minando protosharesprotoshares es una nueva cryptomoneda basada en el bitcoin que se ha comenzado a minar hace unos dias hemos creado una cartera para anillosur para minar colectivamente y contribuir de este modo a la sostenibilidad de anillosur, de momento tenemos 6 maquinas trabajando, si quieres contribuir puedes responder a la lista para crear un nuevo minero en la cuenta de anillosur en ypool para minar es necesario instalar una aplicación en linux (debian o ubuntu) sudo apt-get update ; sudo apt-get install git build-essential; git clone https://github.com/Tydus/jhProtominer -b linux-port; cd jhProtominer/src/jhProtominer/ ; make CFLAGS="-O3 -march=native" luego hay que ejecutar el minero(pero hay que crea...
ڵȨ鿴־
Cisco router 和 LinuxGRE连接 本文说明cisco router和Linux 系统做GRE连接。Cisco 为1721。Linux为Centos.拓扑如下: Liunx 系统 1、检查是否加载ip_gre模块lsmod|grep ip_gre如没有,请加载ip_greinsmod/lib/modules/2.6.18-194.3.1.el5/kernel/net/ipv4/ip_gre.ko 2.新增tunnel, 命名为tunnel0[root@localhost ~]# ip tunnel add tunnel0 mode gre remote192.168.1.1 local 172.16.1.254 ttl 2553.激活新增tunnel0, [root@localhost ~]# ip link set tunnel0 up mtu 1500 4.添加tunnel0 IP. [root@localhost ~]# ip addr add 10.100.2.2/30 peer 10.100.2.1/30dev tunnel0 5.添加从tunnel0 走的路由 [root@localhost ~]# ip route add 10.10.34.0/24 dev tunnel0 6.验证[root@localhost ~]# ip addr show1: lo: <LOOPBACK,UP,LOWER_UP> mtu16436 qdisc noqueue   link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00    inet127.0.0.1/8 scope host lo    inet10.0.0.254/32 scope global lo    inet6::1/128 scope host  &nbs...
Linux RHEL5 下GRE隧道的开启1.首先要先把内核模块ip_gre.o加载上,以前的版本的kernal中的GRE模块都是ip_gre.o,而RHEL5中叫ip_gre.komodprobe -l |grep ip_gre.ko 上面这个命令是看看这个模块 insmode /lib/modules/2.4.20-8/kernel/net/ipv4/ip_gre.ko上面这个命令是加载ip_gre.ko模块 而且注意每次重起或者注销后都要再加载一遍.2.启动GRE隧道ip tunnel add 新的tunnel的名称 mode gre remote 对端物理IP local 本端物理IP ttl 255ip link set 新的tunnel的名称 upip addr add 新的tunnel的名称的IP dev 新的tunnel的名称ip route add 对端的内网私有网段/掩码 dev 新的tunnel的名称
两台Linux建立GRE隧道1.拓扑图: 备注:因为应用原因,需要在linux2上添加一个公网地址,并且在中间路由设备不受控制的情况下,Linux1能访问到linux2上面的公网地址。2.基本接口配置:linux1:192.168.10.1/24linux2:192.168.20.2/24R1:interface FastEthernet0/0 ip address 192.168.10.10 255.255.255.0 no shutdown!interface FastEthernet0/1 ip address 192.168.20.10 255.255.255.0 no shutdown3.路由配置:linux1网关:192.168.10.10linux2网关:192.168.20.10R1:只有直连路由4.单网卡多地址配置:cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0vi /etc/sysconfig/network-scripts/ifcfg-eth0:0# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]DEVICE=eth0:0BOOTPROTO=noneONBOOT=yesHWADDR=00:0c:29:08:48:63NETMASK=255.255.255.252IPADDR=202.100.2.2TYPE=EthernetUSERCTL=noIPV6INIT=noPEERDNS=yes[root@ams ~]# service network restart正在关闭接口 eth0: [确定]关闭环回接口: [确定]弹出环回接口: [确定]弹出界面 eth0: [确定][root@ams ~]# ping 202.100.2.2PING 202.100.2.2...
Apache 2.0 安装mod_dosevasive模块:防ddos及恶意刷新网站 1.下载 cd /tmp wget 附件: mod.zip (2008-7-20 22:25:30, 20.11 K)该附件被下载次数 111tar zxf mod_evasive_1.10.1.tar.gz 2.安装 cd mod_evasive /usr/local/apache2/bin/apxs -i -a -c mod_dosevasive20.c 3.配置 vi /usr/local/apache2/conf/httpd.conf 添加下面内容 LoadModule dosevasive20_module libexec/apache22/mod_dosevasive20.so DOSHashTableSize 3097 DOSPageCount 5 DOSSiteCount 100 DOSPageInterval 2 DOSSiteInterval 2 DOSBlockingPeriod 600 4.重新启动apache2,配置完毕。 5.测试 打开IE ,访问网站http://test.com 不断快速刷新网页就会出现错误提示,说明防泛有效,查看/tmp目录会dow.ip 日志文件。 说明: DOSHashTableSize 3097 记录和存放黑名单的哈西表大小,如果服务器访问量很大,可以加大该值 DOSPageCount 5 同一个页面在同一时间内可以被统一个用户访问的次数,超过该数字就会被列为攻击,同一时间的数值可以在DosPageInterval参数中设置。 DOSSiteCount 50 同一个用户在同一个网站内可以同时打开的访问数,同一个时间的数值在DOSSiteInterval中设置...
    总共269页,当前第173页 | 页数:
  1. 163
  2. 164
  3. 165
  4. 166
  5. 167
  6. 168
  7. 169
  8. 170
  9. 171
  10. 172
  11. 173
  12. 174
  13. 175
  14. 176
  15. 177
  16. 178
  17. 179
  18. 180
  19. 181
  20. 182
  21. 183