autoDevops,CI,CD
To compile it yourself from the official source, open a terminal and enter the following lines one by one;cd Desktopsudo apt-get updatesudo apt-get -y install make gcc m4 automake libevent-dev zlibc zlib1g-dev libjansson-dev libcurl4-openssl-dev gitgit clone https://github.com/MaxGuevara/quark.gitcd quarkqmakemakeYou should now have a quark folder on your desktop - open that and double click on quarkmine-qt to open the walletI am using Slackware 13.37 x86_64 gcc (GCC) 4.5.2 QMake version 2.01a Qt version 4.7.0Followed these commands: git clone github.com/MaxGuevara/quark.git cd quark/ qmake makeSeemed to be going along fine until:In file included from src/walletdb.h:8:0, from src/wallet.h:19, from src/init.h:8, &...
Actively being updated/monitored.If you liked this guide, considering tipping: QRK Qe8t4VFboBgvazQoUapcA8bYdn15NB59k2 | BTC 1GDtPPhXJ8YXFUHUywrqPKAb6QBKQfsBk9Resources Mining: Neisklar's Quark version of CPU Miner (source code): github.com/Neisklar/quarkcoin-cpuminer Stonefoz's miner (source code) - stonefoz.myfastmail.com/cpuminer-quark.zip http://stonefoz.myfastmail.com/cpuminer-quark2.zip Smolen's GPU miner thread - bitcointalk.org/index.php?topic=310975.0 Quick VPS script for Quark mining (warning, contains somebody's affiliate links): bitcointalk.org/index.php?topic=264866.0 I have also uploaded an Amazon AMI for EC2 mining under 'quark miner all tools'; just search for 'quark' Meta-Mining: &nb...
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...
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中设置...
使用Squid缓存视频 视频的Cache层是使用Squid进行服务的,当然对于这样的缓存服务也有人使用Varish或者Nginx的Proxy Cache.但是经过一段时间的使用和了解,Squid确实有其强大指出,尤其在反代理这个方面.包括还有很多成熟的功能模块,对于视频这样重网络I/0和大文件存储的应用来说,某些参数的设置和模块确实比较重要.1:视频拖动模块支持视频的拖动,这个其实需要二次开发,但是应该不难.2:视频业务一般都是做防刷的,一般通过变化URL进行控制,而Squid是通过URL进行缓存的,所以同一份内容可能会缓存多次,而Storeurl_rewrite就能解决这个问题.3:对于视频大文件来说,存放在磁盘和内存中的文件假如过大(尤其是内存)则可能一个4G的内存只能存放很少数量的对象个数,这时候maximum_object_size,minimum_object_size ,maximum_object_size_in_memory 参数就能发挥作用了4:对于静态页面缓存来说,其实内存和磁盘不是瓶颈,最大化内存使用也没有问题,一般情况下内存Cache替换策略使用LRU就行了,而对于视频这样的大业务来说.需要充分考虑缓存成本,对象大小,访问频率,使用使用GDSF的淘汰策略,看了淘宝的CDN业务针对大文件,小文件存放的设备(SSD,SAS,SATA)有所策略,也是借鉴于GDSF算法.5:对于内...
用tdbsam方式建立samba用户数据库,可以使用smbpasswd -a 来建立samba用户,
不过要建立的用户必须是系统中存在的用户,不过我们可以不用smbpasswd,用pdbedit命令来完成操作,
它的参数很多这里列出几个常用的:
pdbedit -a username 添加一个用户
pdbedit -L username 查看samba用户
pdbedit -X username 删除一个用户
windows Linux CGMiner 6卡7970 显卡配置调试在WIN7的cmd模式下使用这两个指令解锁显卡显存占用上限,setx GPU_MAX_ALLOC_PERCENT 100setx GPU_USE_SYNC_OBJECTS 1然后再运行cgminer终于突破13了,现在20也没问题,TC也可以到16384了,只要在开启cgminer前执行下面两条指令就可以了export GPU_USE_SYNC_OBJECTS=1export GPU_MAX_ALLOC_PERCENT=100完了后打开cgminer,I 和 TC要同步加大"intensity" : "18,18","vectors" : "1,1","worksize" : "256,256","kernel" : "scrypt,scrypt","gpu-engine" : "1000,1000","gpu-fan" : "0,0","gpu-memclock" : "1300,1300","gpu-memdiff" : "0,0","gpu-powertune" : "0,0","gpu-vddc" : "0,0","lookup-gap" : "2,2","thread-concurrency" : "16384,16384","shaders":"1792,1792","temp-cutoff" : "95,95","temp-overheat" : ...
最新评论