文档章节

Ubuntu虚拟机中编译运行cgminer挖矿软件

蔡清华
 蔡清华
发布于 2014/04/16 00:59
字数 6635
阅读 3782
收藏 0
点赞 1
评论 0

蔡清华 版权所有 未经允许不得转载。

  1. 编译cgminer

    cgminer github代码: https://github.com/ckolivas/cgminer

If building on Ubuntu:
	sudo apt-get install build-essential autoconf automake libtool pkg-config \
                             libcurl3-dev libudev-dev

sudo apt-get install build-essential autoconf automake libtool pkg-config libcurl3-dev libudev-dev

sudo apt-get gitcore 参考http://www.cnblogs.com/cocowool/archive/2010/10/19/1855616.html

git clone https://github.com/ckolivas/cgminer.git

cd cgminer

sh autogen.sh

./configure --enable-icarus

make

sudo make install

cgminer -V 查看版本号

cgminer --help


2. 运行cgminer

sudo cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x

cgminer会自动检测机器上的usb设备

运行中遇到的错误:

a. -S参数错误 4.2.3的版本不支持-S参数,应该改为--usb参数

b. --usb :/dev/ttyUSB0 :不能少

c. [2014-04-15 08:54:24] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:5                    
 [2014-04-15 08:54:24] See README file included for help                    
 [2014-04-15 08:54:24] Icarus detect (2:5) failed to initialise (incorrect device?)    

没有权限 改为sudo运行

d. sudo cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x --icarus-timing 3.0=100 --usb :/dev/ttyUSB0
 [2014-04-15 09:00:37] Started cgminer 4.2.3                    
 [2014-04-15 09:00:37] No devices detected!                    
 [2014-04-15 09:00:37] Waiting for USB hotplug devices or press q to quit                    
 [2014-04-15 09:00:37] Probing for an alive pool     

提示No device detected

USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:8 

google  搜索:

提示需要用zadig安装icarus的驱动

联想到我们也需要安装silabs cp210x的linux驱动

e. 安装linux驱动的过程

下载驱动http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx

安装驱动 参考安装包里面的安装说明 CP210x_VCP_Linux_3.x.x_Release_Notes.txt

uname -a 查看当前运行的内核版本号

最后运行成功界面:

sudo cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x

 [2014-04-15 09:42:46] Started cgminer 4.2.3                    

 [2014-04-15 09:42:47] Probing for an alive pool                    

 [2014-04-15 09:42:52] Pool 0 difficulty changed to 16.0                    

 [2014-04-15 09:42:57] Waiting for work to be available from pools.                    

 [2014-04-15 09:43:47] No servers were found that could be used to get work from.                    

 [2014-04-15 09:43:47] Please check the details from the list below of the servers you have input                    

 [2014-04-15 09:43:47] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers                    

 [2014-04-15 09:43:47] Pool: 0  URL: stratum+tcp://stratum.mining.eligius.st:3334  User: 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7  Password: x                    

 [2014-04-15 09:43:47] No servers could be used! Exiting.                    

lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ 

lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ sudo cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x

 [2014-04-15 09:55:01] Started cgminer 4.2.3                    

 [2014-04-15 09:55:01] Probing for an alive pool                    

 [2014-04-15 09:55:06] Pool 0 difficulty changed to 16.0                    

 [2014-04-15 09:55:07] Network diff set to 6.12G                    

(5s):535.3M (1m):290.0M (5m):120.8M (15m):47.27M (avg):296.8Mh/s 


总结:

1. 虚拟机也需要安装usb转串口驱动

2. cgminer会自动检测设备,不用--usb指定

3. sudo 命令运行才有访问usb串口设备的权限。



以下是操作过程记录仅供参数:

ls: cannot access /dev/*com*: No such file or directory
lin@ubuntu :/$ cgminer --help
cgminer 4.2.3
Built with icarus mining support.
Usage: cgminer [-DElmpPQqUsouOchnV]
Options for both config file and command line:
--anu-freq <arg>    Set AntminerU1 frequency in MHz, range 125-500 (default: 1128792064)
--api-allow <arg>   Allow API access only to the given list of [G:]IP[/Prefix] addresses[/subnets]
--api-description <arg> Description placed in the API status header, default: cgminer version
--api-groups <arg>  API one letter groups G:cmd:cmd[,P:cmd:*...] defining the cmds a groups can use
--api-listen        Enable API, default: disabled
--api-mcast         Enable API Multicast listener, default: disabled
--api-mcast-addr <arg> API Multicast listen address
--api-mcast-code <arg> Code expected in the API Multicast message, don't use '-'
--api-mcast-des <arg> Description appended to the API Multicast reply, default: ''
--api-mcast-port <arg> API Multicast listen port (default: 4028)
--api-network       Allow API (if enabled) to listen on/for any address, default: only 127.0.0.1
--api-port <arg>    Port number of miner API (default: 4028)
--balance           Change multipool strategy from failover to even share balance
--benchfile <arg>   Run cgminer in benchmark mode using a work file - produces no shares
--benchfile-display Display each benchfile nonce found
--benchmark         Run cgminer in benchmark mode - produces no shares
--btc-address <arg> Set bitcoin target address when solo mining to bitcoind (mandatory)
--btc-sig <arg>     Set signature to add to coinbase when solo mining (optional)
--debug|-D          Enable debug output
--disable-rejecting Automatically disable pools that continually reject shares
--expiry|-E <arg>   Upper bound on how many seconds after getting work we consider a share from it stale (default: 120)
--failover-only     Don't leak work to backup pools when primary pool is lagging
--fix-protocol      Do not redirect to a different getwork protocol (eg. stratum)
--hotplug <arg>     Seconds between hotplug checks (0 means never check)
--load-balance      Change multipool strategy from failover to quota based balance
--log|-l <arg>      Interval in seconds between log output (default: 5)
--lowmem            Minimise caching of shares for low memory applications
--monitor|-m <arg>  Use custom pipe cmd for output messages
--net-delay         Impose small delays in networking to not overload slow routers
--no-submit-stale   Don't submit shares if they are detected as stale
--pass|-p <arg>     Password for bitcoin JSON-RPC server
--per-device-stats  Force verbose mode and output per-device statistics
--protocol-dump|-P  Verbose dump of protocol-level activities
--queue|-Q <arg>    Maximum number of work items to have queued (default: 9999)
--quiet|-q          Disable logging output, display status and errors
--quota|-U <arg>    quota;URL combination for server with load-balance strategy quotas
--real-quiet        Disable all output
--rotate <arg>      Change multipool strategy from failover to regularly rotate at N minutes (default: 0)
--round-robin       Change multipool strategy from failover to round robin on failure
--scan-time|-s <arg> Upper bound on time spent scanning current work, in seconds (default: -1)
--sched-start       Set a time of day in HH:MM to start mining (a once off without a stop time)
--sched-stop        Set a time of day in HH:MM to stop mining (will quit without a start time)
--sharelog          Append share log to file
--shares <arg>      Quit after mining N shares (default: unlimited)
--socks-proxy <arg> Set socks4 proxy (host:port)
--syslog            Use system log for output messages (default: standard error)
--url|-o <arg>      URL for bitcoin JSON-RPC server
--usb <arg>         USB device selection
--user|-u <arg>     Username for bitcoin JSON-RPC server
--userpass|-O <arg> Username:Password pair for bitcoin JSON-RPC server
--verbose           Log verbose output to stderr as well as status output
--widescreen        Use extra wide display without toggling
--worktime          Display extra work time debug information
Options for command line only:
--config|-c <arg>   Load a JSON-format configuration file
See example.conf for an example configuration.
--default-config <arg> Specify the filename of the default config file
Loaded at start and used when saving without a name.
--help|-h           Print this message
--ndevs|-n          Display all USB devices and exit
--version|-V        Display version and exit
lin@ubuntu :/$ ls /dev/*USB*
ls: cannot access /dev/*USB*: No such file or directory
lin@ubuntu :/$ ls /dev/*USB*
/dev/ttyUSB0
lin@ubuntu :/$ cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x --icarus-options 115200:1:1 --icarus-timing 3.0=100 -S /dev/ttyUSB0
 [2014-04-15 08:41:05] cgminer: -S: unrecognized option                    
lin@ubuntu :/$ cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x --icarus-options 115200:1:1 --icarus-timing 3.0=100 -usb :/dev/ttyUSB0
 [2014-04-15 08:41:20] Unexpected extra commandline arguments                    
lin@ubuntu :/$
lin@ubuntu :/$ cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x --icarus-options 115200:1:1 --icarus-timing 3.0=100 --usb :/dev/ttyUSB0
 [2014-04-15 08:49:56] Started cgminer 4.2.3                    
 [2014-04-15 08:49:56] No devices detected!                    
 [2014-04-15 08:49:56] Waiting for USB hotplug devices or press q to quit                    
 [2014-04-15 08:49:56] Probing for an alive pool                    
 [2014-04-15 08:50:01] Pool 0 difficulty changed to 16.0                    
 [2014-04-15 08:50:57] No servers were found that could be used to get work from.                    
 [2014-04-15 08:50:57] Please check the details from the list below of the servers you have input                    
 [2014-04-15 08:50:57] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers                    
 [2014-04-15 08:50:57] Pool: 0  URL: stratum+tcp://stratum.mining.eligius.st:3334  User: 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7  Password: x                    
 [2014-04-15 08:50:57] No servers could be used! Exiting.                    
lin@ubuntu :/$
lin@ubuntu :/$ cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x
 [2014-04-15 08:53:51] Started cgminer 4.2.3                    
 [2014-04-15 08:53:52] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:5                    
 [2014-04-15 08:53:52] See README file included for help                    
 [2014-04-15 08:53:52] Icarus detect (2:5) failed to initialise (incorrect device?)                    
 [2014-04-15 08:53:52] No devices detected!                    
 [2014-04-15 08:53:52] Waiting for USB hotplug devices or press q to quit                    
 [2014-04-15 08:53:52] Probing for an alive pool                    
 [2014-04-15 08:53:56] Pool 0 difficulty changed to 16.0                    
 [2014-04-15 08:53:58] Network diff set to 6.12G                    
 [2014-04-15 08:54:03] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:5                    
 [2014-04-15 08:54:03] See README file included for help                    
 [2014-04-15 08:54:03] Icarus detect (2:5) failed to initialise (incorrect device?)                    
 [2014-04-15 08:54:07] Network diff set to 6.12G                     
 [2014-04-15 08:54:07] Stratum from pool 0 detected new block                    
 [2014-04-15 08:54:08] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:5                    
 [2014-04-15 08:54:08] See README file included for help                    
 [2014-04-15 08:54:08] Icarus detect (2:5) failed to initialise (incorrect device?)                    
 [2014-04-15 08:54:13] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:5                    
 [2014-04-15 08:54:13] See README file included for help                    
 [2014-04-15 08:54:13] Icarus detect (2:5) failed to initialise (incorrect device?)                    
 [2014-04-15 08:54:18] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:5                    
 [2014-04-15 08:54:18] See README file included for help                    
 [2014-04-15 08:54:18] Icarus detect (2:5) failed to initialise (incorrect device?)                    
 [2014-04-15 08:54:24] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:5                    
 [2014-04-15 08:54:24] See README file included for help                    
 [2014-04-15 08:54:24] Icarus detect (2:5) failed to initialise (incorrect device?)                    
^C [2014-04-15 08:54:28] Shutdown signal received.                    
 [2014-04-15 08:54:29]
Summary of runtime statistics:
                    
 [2014-04-15 08:54:29] Started at [2014-04-15 08:53:58]                    
 [2014-04-15 08:54:29] Pool: stratum+tcp://stratum.mining.eligius.st:3334                    
 [2014-04-15 08:54:29] Runtime: 0 hrs : 0 mins : 31 secs                    
 [2014-04-15 08:54:29] Average hashrate: 0.0 Mhash/s                    
 [2014-04-15 08:54:29] Solved blocks: 0                    
 [2014-04-15 08:54:29] Best share difficulty: 0                    
 [2014-04-15 08:54:29] Share submissions: 0                    
 [2014-04-15 08:54:29] Accepted shares: 0                    
 [2014-04-15 08:54:29] Rejected shares: 0                    
 [2014-04-15 08:54:29] Accepted difficulty shares: 0                    
 [2014-04-15 08:54:29] Rejected difficulty shares: 0                    
 [2014-04-15 08:54:29] Hardware errors: 0                    
 [2014-04-15 08:54:29] Utility (accepted shares / min): 0.00/min                    
 [2014-04-15 08:54:29] Work Utility (diff1 shares solved / min): 0.00/min
                    
 [2014-04-15 08:54:29] Stale submissions discarded due to new blocks: 0                    
 [2014-04-15 08:54:29] Unable to get work from server occasions: 0                    
 [2014-04-15 08:54:29] Work items generated locally: 20                    
 [2014-04-15 08:54:29] Submitting work remotely delay occasions: 0                    
 [2014-04-15 08:54:29] New blocks detected on network: 2
                    
 [2014-04-15 08:54:29] Summary of per device statistics:
                    
 [2014-04-15 08:54:29]                      
lin@ubuntu :/$ sudo cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x
[sudo] password for lin:
 [2014-04-15 08:54:39] Started cgminer 4.2.3                    
 [2014-04-15 08:54:41] No devices detected!                    
 [2014-04-15 08:54:41] Waiting for USB hotplug devices or press q to quit                    
 [2014-04-15 08:54:41] Probing for an alive pool                    
 [2014-04-15 08:54:45] Pool 0 difficulty changed to 16.0                    
 [2014-04-15 08:54:47] Network diff set to 6.12G                    
(5s):0.000 (1m):0.000 (5m):0.000 (15m):0.000 (avg):0.000h/s          
q5s):0.000 (1m):0.000 (5m):0.000 (15m):0.000 (avg):0.000h/s          
^Clin@ubuntu :/$
lin@ubuntu :/$
lin@ubuntu :/$
lin@ubuntu :/$ sudo cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x
 [2014-04-15 08:55:48] Started cgminer 4.2.3                    
 [2014-04-15 08:55:48] No devices detected!                    
 [2014-04-15 08:55:48] Waiting for USB hotplug devices or press q to quit                    
 [2014-04-15 08:55:48] Probing for an alive pool                    
 [2014-04-15 08:55:53] Pool 0 difficulty changed to 16.0                    
 [2014-04-15 08:55:54] Network diff set to 6.12G                    
^Clin@ubuntu :/$ ^C000 (5m):0.000 (15m):0.000 (avg):0.000h/s          
lin@ubuntu :/$ sudo cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x
 [2014-04-15 08:56:22] Started cgminer 4.2.3                    
 [2014-04-15 08:56:23] No devices detected!                    
 [2014-04-15 08:56:23] Waiting for USB hotplug devices or press q to quit                    
 [2014-04-15 08:56:23] Probing for an alive pool                    
 [2014-04-15 08:56:28] Pool 0 difficulty changed to 16.0                    
 [2014-04-15 08:56:29] Network diff set to 6.12G                    
^Clin@ubuntu :/$ ^C000 (5m):0.000 (15m):0.000 (avg):0.000h/s          
lin@ubuntu :/$ cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x
 [2014-04-15 08:56:43] Started cgminer 4.2.3                    
 [2014-04-15 08:56:44] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:56:44] See README file included for help                    
 [2014-04-15 08:56:44] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:56:44] No devices detected!                    
 [2014-04-15 08:56:44] Waiting for USB hotplug devices or press q to quit                    
 [2014-04-15 08:56:44] Probing for an alive pool                    
 [2014-04-15 08:56:50] Pool 0 difficulty changed to 16.0                    
 [2014-04-15 08:56:52] Network diff set to 6.12G                    
 [2014-04-15 08:56:57] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:56:57] See README file included for help                    
 [2014-04-15 08:56:57] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:57:02] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:57:02] See README file included for help                    
 [2014-04-15 08:57:02] Icarus detect (2:6) failed to initialise (incorrect device?)                    
^[ [2014-04-15 08:57:07] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:57:07] See README file included for help                    
 [2014-04-15 08:57:07] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:57:12] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:57:12] See README file included for help                    
 [2014-04-15 08:57:12] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:57:18] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:57:18] See README file included for help                    
 [2014-04-15 08:57:18] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:57:23] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:57:23] See README file included for help                    
 [2014-04-15 08:57:23] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:57:28] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:57:28] See README file included for help                    
 [2014-04-15 08:57:28] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:57:33] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:57:33] See README file included for help                    
 [2014-04-15 08:57:33] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:57:38] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:57:38] See README file included for help                    
 [2014-04-15 08:57:38] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:57:44] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:57:44] See README file included for help                    
 [2014-04-15 08:57:44] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:57:49] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:57:49] See README file included for help                    
 [2014-04-15 08:57:49] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:57:54] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:57:54] See README file included for help                    
 [2014-04-15 08:57:54] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:57:59] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:57:59] See README file included for help                    
 [2014-04-15 08:57:59] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:58:05] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:58:05] See README file included for help                    
 [2014-04-15 08:58:05] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:58:10] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:58:10] See README file included for help                    
 [2014-04-15 08:58:10] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:58:15] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:58:15] See README file included for help                    
 [2014-04-15 08:58:15] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:58:20] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:58:20] See README file included for help                    
 [2014-04-15 08:58:20] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:58:25] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:58:25] See README file included for help                    
 [2014-04-15 08:58:25] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:58:31] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:58:31] See README file included for help                    
 [2014-04-15 08:58:31] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:58:36] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:58:36] See README file included for help                    
 [2014-04-15 08:58:36] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:58:41] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:58:41] See README file included for help                    
 [2014-04-15 08:58:41] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:58:46] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:58:46] See README file included for help                    
 [2014-04-15 08:58:46] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:58:52] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:58:52] See README file included for help                    
 [2014-04-15 08:58:52] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:58:57] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:58:57] See README file included for help                    
 [2014-04-15 08:58:57] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:59:02] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:59:02] See README file included for help                    
 [2014-04-15 08:59:02] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:59:07] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:59:07] See README file included for help                    
 [2014-04-15 08:59:07] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:59:12] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:59:12] See README file included for help                    
 [2014-04-15 08:59:12] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:59:18] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:59:18] See README file included for help                    
 [2014-04-15 08:59:18] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:59:23] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:59:23] See README file included for help                    
 [2014-04-15 08:59:23] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:59:28] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:59:28] See README file included for help                    
 [2014-04-15 08:59:28] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:59:33] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:59:33] See README file included for help                    
 [2014-04-15 08:59:33] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:59:39] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:59:39] See README file included for help                    
 [2014-04-15 08:59:39] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:59:44] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:59:44] See README file included for help                    
 [2014-04-15 08:59:44] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:59:49] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:59:49] See README file included for help                    
 [2014-04-15 08:59:49] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:59:54] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:59:54] See README file included for help                    
 [2014-04-15 08:59:54] Icarus detect (2:6) failed to initialise (incorrect device?)                    
 [2014-04-15 08:59:59] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:6                    
 [2014-04-15 08:59:59] See README file included for help                    
 [2014-04-15 08:59:59] Icarus detect (2:6) failed to initialise (incorrect device?)                    
q5s):0.000 (1m):0.000 (5m):0.000 (15m):0.000 (avg):0.000h/s          
^C [2014-04-15 09:00:06] Shutdown signal received.                    
 [2014-04-15 09:00:07]
Summary of runtime statistics:
                    
 [2014-04-15 09:00:07] Started at [2014-04-15 08:56:52]                    
 [2014-04-15 09:00:07] Pool: stratum+tcp://stratum.mining.eligius.st:3334                    
 [2014-04-15 09:00:07] Runtime: 0 hrs : 3 mins : 15 secs                    
 [2014-04-15 09:00:07] Average hashrate: 0.0 Mhash/s                    
 [2014-04-15 09:00:07] Solved blocks: 0                    
 [2014-04-15 09:00:07] Best share difficulty: 0                    
 [2014-04-15 09:00:07] Share submissions: 0                    
 [2014-04-15 09:00:07] Accepted shares: 0                    
 [2014-04-15 09:00:07] Rejected shares: 0                    
 [2014-04-15 09:00:07] Accepted difficulty shares: 0                    
 [2014-04-15 09:00:07] Rejected difficulty shares: 0                    
 [2014-04-15 09:00:07] Hardware errors: 0                    
 [2014-04-15 09:00:07] Utility (accepted shares / min): 0.00/min                    
 [2014-04-15 09:00:07] Work Utility (diff1 shares solved / min): 0.00/min
                    
 [2014-04-15 09:00:07] Stale submissions discarded due to new blocks: 0                    
 [2014-04-15 09:00:07] Unable to get work from server occasions: 0                    
 [2014-04-15 09:00:07] Work items generated locally: 102                    
 [2014-04-15 09:00:07] Submitting work remotely delay occasions: 0                    
 [2014-04-15 09:00:07] New blocks detected on network: 1
                    
 [2014-04-15 09:00:07] Summary of per device statistics:
                    
 [2014-04-15 09:00:07]                      
lin@ubuntu :/$ sudo cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x --icarus-timing 3.0=100 --usb :/dev/ttyUSB0
 [2014-04-15 09:00:37] Started cgminer 4.2.3                    
 [2014-04-15 09:00:37] No devices detected!                    
 [2014-04-15 09:00:37] Waiting for USB hotplug devices or press q to quit                    
 [2014-04-15 09:00:37] Probing for an alive pool                    
 [2014-04-15 09:00:42] Pool 0 difficulty changed to 16.0                    
 [2014-04-15 09:00:43] Network diff set to 6.12G                    
^Clin@ubuntu :/$ 0.000 (5m):0.000 (15m):0.000 (avg):0.000h/s          
lin@ubuntu :/$
lin@ubuntu :/$ cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x --icarus-timing 3.0=100 --usb :/dev/ttyUSB0
 [2014-04-15 09:02:20] Started cgminer 4.2.3                    
 [2014-04-15 09:02:20] No devices detected!                    
 [2014-04-15 09:02:20] Waiting for USB hotplug devices or press q to quit                    
 [2014-04-15 09:02:20] Probing for an alive pool                    
 [2014-04-15 09:02:24] Pool 0 difficulty changed to 16.0                    
 [2014-04-15 09:02:26] Network diff set to 6.12G                    
^C [2014-04-15 09:02:33] Shutdown signal received.                    
 [2014-04-15 09:02:35]
Summary of runtime statistics:
                    
 [2014-04-15 09:02:35] Started at [2014-04-15 09:02:26]                    
 [2014-04-15 09:02:35] Pool: stratum+tcp://stratum.mining.eligius.st:3334                    
 [2014-04-15 09:02:35] Runtime: 0 hrs : 0 mins : 9 secs                    
 [2014-04-15 09:02:35] Average hashrate: 0.0 Mhash/s                    
 [2014-04-15 09:02:35] Solved blocks: 0                    
 [2014-04-15 09:02:35] Best share difficulty: 0                    
 [2014-04-15 09:02:35] Share submissions: 0                    
 [2014-04-15 09:02:35] Accepted shares: 0                    
 [2014-04-15 09:02:35] Rejected shares: 0                    
 [2014-04-15 09:02:35] Accepted difficulty shares: 0                    
 [2014-04-15 09:02:35] Rejected difficulty shares: 0                    
 [2014-04-15 09:02:35] Hardware errors: 0                    
 [2014-04-15 09:02:35] Utility (accepted shares / min): 0.00/min                    
 [2014-04-15 09:02:35] Work Utility (diff1 shares solved / min): 0.00/min
                    
 [2014-04-15 09:02:35] Stale submissions discarded due to new blocks: 0                    
 [2014-04-15 09:02:35] Unable to get work from server occasions: 0                    
 [2014-04-15 09:02:35] Work items generated locally: 5                    
 [2014-04-15 09:02:35] Submitting work remotely delay occasions: 0                    
 [2014-04-15 09:02:35] New blocks detected on network: 1
                    
 [2014-04-15 09:02:35] Summary of per device statistics:
                    
 [2014-04-15 09:02:35]                      
lin@ubuntu :/$ cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x
 [2014-04-15 09:02:44] Started cgminer 4.2.3                    
 [2014-04-15 09:02:44] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:8                    
 [2014-04-15 09:02:44] See README file included for help                    
 [2014-04-15 09:02:44] Icarus detect (2:8) failed to initialise (incorrect device?)                    
 [2014-04-15 09:02:44] No devices detected!                    
 [2014-04-15 09:02:44] Waiting for USB hotplug devices or press q to quit                    
 [2014-04-15 09:02:44] Probing for an alive pool                    
 [2014-04-15 09:02:49] Pool 0 difficulty changed to 16.0                    
 [2014-04-15 09:02:50] Network diff set to 6.12G                    
 [2014-04-15 09:02:55] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:8                    
 [2014-04-15 09:02:55] See README file included for help                    
 [2014-04-15 09:02:55] Icarus detect (2:8) failed to initialise (incorrect device?)                    
 [2014-04-15 09:03:01] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:8                    
 [2014-04-15 09:03:01] See README file included for help                    
 [2014-04-15 09:03:01] Icarus detect (2:8) failed to initialise (incorrect device?)                    
 [2014-04-15 09:03:06] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:8                    
 [2014-04-15 09:03:06] See README file included for help                    
 [2014-04-15 09:03:06] Icarus detect (2:8) failed to initialise (incorrect device?)                    
 [2014-04-15 09:03:11] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:8                    
 [2014-04-15 09:03:11] See README file included for help                    
 [2014-04-15 09:03:11] Icarus detect (2:8) failed to initialise (incorrect device?)                    
^C [2014-04-15 09:03:17] Shutdown signal received.                    
 [2014-04-15 09:03:18]
Summary of runtime statistics:
                    
 [2014-04-15 09:03:18] Started at [2014-04-15 09:02:50]                    
 [2014-04-15 09:03:18] Pool: stratum+tcp://stratum.mining.eligius.st:3334                    
 [2014-04-15 09:03:18] Runtime: 0 hrs : 0 mins : 27 secs                    
 [2014-04-15 09:03:18] Average hashrate: 0.0 Mhash/s                    
 [2014-04-15 09:03:18] Solved blocks: 0                    
 [2014-04-15 09:03:18] Best share difficulty: 0                    
 [2014-04-15 09:03:18] Share submissions: 0                    
 [2014-04-15 09:03:18] Accepted shares: 0                    
 [2014-04-15 09:03:18] Rejected shares: 0                    
 [2014-04-15 09:03:18] Accepted difficulty shares: 0                    
 [2014-04-15 09:03:18] Rejected difficulty shares: 0                    
 [2014-04-15 09:03:18] Hardware errors: 0                    
 [2014-04-15 09:03:18] Utility (accepted shares / min): 0.00/min                    
 [2014-04-15 09:03:18] Work Utility (diff1 shares solved / min): 0.00/min
                    
 [2014-04-15 09:03:18] Stale submissions discarded due to new blocks: 0                    
 [2014-04-15 09:03:18] Unable to get work from server occasions: 0                    
 [2014-04-15 09:03:18] Work items generated locally: 14                    
 [2014-04-15 09:03:18] Submitting work remotely delay occasions: 0                    
 [2014-04-15 09:03:18] New blocks detected on network: 1
                    
 [2014-04-15 09:03:18] Summary of per device statistics:
                    
 [2014-04-15 09:03:18]                      
lin@ubuntu :/$ ^C
lin@ubuntu :/$
lin@ubuntu :/$
lin@ubuntu :/$ cd ~
lin@ubuntu :~$ dir
cgminer  Desktop  Documents  Downloads    examples.desktop  Music  Pictures  Public  Templates  Videos
lin@ubuntu :~$ cd Do
Documents/ Downloads/
lin@ubuntu :~$ cd Do
Documents/ Downloads/
lin@ubuntu :~$ cd Downloads/
lin@ubuntu :~/Downloads$ dir
Linux_3.x.x_VCP_Driver_Source  Linux_3.x.x_VCP_Driver_Source.zip
lin@ubuntu :~/Downloads$ cd Linux_3.x.x_VCP_Driver_Source/
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ dir
cp210x.c  cp210x_gpio_example.c  CP210x_VCP_Linux_3.x.x_Release_Notes.txt  Makefile
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ make
make -C /lib/modules/3.2.0-60-generic-pae/build M=/home/lin/Downloads/Linux_3.x.x_VCP_Driver_Source modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-60-generic-pae'
  CC [M]  /home/lin/Downloads/Linux_3.x.x_VCP_Driver_Source/cp210x.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/lin/Downloads/Linux_3.x.x_VCP_Driver_Source/cp210x.mod.o
  LD [M]  /home/lin/Downloads/Linux_3.x.x_VCP_Driver_Source/cp210x.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-60-generic-pae'
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ sudo make install
make: *** No rule to make target `install'.  Stop.
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ grep cp210x.o
^C
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ sudo make
make -C /lib/modules/3.2.0-60-generic-pae/build M= modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-60-generic-pae'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-60-generic-pae'
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-60-generic-pae'
make[2]: *** No rule to make target `arch/x86/tools/relocs.c', needed by `arch/x86/tools/relocs'.  Stop.
make[1]: *** [archscripts] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-60-generic-pae'
make: *** [all] Error 2
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ make
make -C /lib/modules/3.2.0-60-generic-pae/build M=/home/lin/Downloads/Linux_3.x.x_VCP_Driver_Source modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-60-generic-pae'
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-60-generic-pae'
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ dir
cp210x.c  cp210x_gpio_example.c  cp210x.ko  cp210x.mod.c  cp210x.mod.o    cp210x.o  CP210x_VCP_Linux_3.x.x_Release_Notes.txt  Makefile  modules.order  Module.symvers
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ gedit CP210x_VCP_Linux_3.x.x_Release_Notes.txt

lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ ls /dev/*USB*
/dev/ttyUSB0
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x
 [2014-04-15 09:41:40] Started cgminer 4.2.3                    
 [2014-04-15 09:41:41] USB init, open device failed, err -3, you don't have privilege to access - AMU device 2:8                    
 [2014-04-15 09:41:41] See README file included for help                    
 [2014-04-15 09:41:41] Icarus detect (2:8) failed to initialise (incorrect device?)                    
 [2014-04-15 09:41:41] No devices detected!                    
 [2014-04-15 09:41:41] Waiting for USB hotplug devices or press q to quit                    
 [2014-04-15 09:41:41] Probing for an alive pool                    
 [2014-04-15 09:41:45] Pool 0 difficulty changed to 16.0                    
^C [2014-04-15 09:41:49] Shutdown signal received.                    
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ sudo root
[sudo] password for lin:
sudo: root: command not found
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ su
Password:

su: Authentication failure
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ su
Password:
su: Authentication failure
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ sudo cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x
 [2014-04-15 09:42:46] Started cgminer 4.2.3                    
 [2014-04-15 09:42:47] Probing for an alive pool                    
 [2014-04-15 09:42:52] Pool 0 difficulty changed to 16.0                    
 [2014-04-15 09:42:57] Waiting for work to be available from pools.                    
 [2014-04-15 09:43:47] No servers were found that could be used to get work from.                    
 [2014-04-15 09:43:47] Please check the details from the list below of the servers you have input                    
 [2014-04-15 09:43:47] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers                    
 [2014-04-15 09:43:47] Pool: 0  URL: stratum+tcp://stratum.mining.eligius.st:3334  User: 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7  Password: x                    
 [2014-04-15 09:43:47] No servers could be used! Exiting.                    
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$
lin@ubuntu :~/Downloads/Linux_3.x.x_VCP_Driver_Source$ sudo cgminer -o stratum+tcp://stratum.mining.eligius.st:3334 -u 1E1igiusfEjs1pCaGjEERExE9gYcrFwow7 -p x
 [2014-04-15 09:55:01] Started cgminer 4.2.3                    
 [2014-04-15 09:55:01] Probing for an alive pool                    
 [2014-04-15 09:55:06] Pool 0 difficulty changed to 16.0                    
 [2014-04-15 09:55:07] Network diff set to 6.12G                    
(5s):535.3M (1m):290.0M (5m):120.8M (15m):47.27M (avg):296.8Mh/s            

© 著作权归作者所有

共有 人打赏支持
蔡清华
粉丝 1
博文 35
码字总数 16347
作品 0
浦东
用pcDuino玩烤猫挖矿采矿

今天跟大家分享下如何在pcDuino上安装cgminer挖矿. 硬件准备: 1.一块pcDuino。 2.若干矿机,这里用的是烤猫。 3.有源的USB hub。 4.2G 或4G的TF卡。 软件准备: 下载cgminer-3.1.1...

pc朵拉 ⋅ 2013/07/03 ⋅ 1

手把手教你用pcDuino挖bitcoin

最近bitcion火的得不得了,一些玩家开始研究各种矿机,这里跟大家介绍用pcduino做的矿机。 首先到https://mining.bitcoin.cz/accounts/profile/上去注册一个账号。 这个有个比特币地址也就是...

pc朵拉 ⋅ 2013/07/08 ⋅ 11

diy 自己的山寨币挖矿机 通吃市面上所有以scrypt算法的币

amd公司显卡挖矿速度以及配置表都介绍给大家了,再往前还说了intel公司cpu以及显卡挖矿速度 和性能,甚至将arm、高通、苹果ibm、富士通、sun公司的专用cpu或者图形显卡挖矿能力给大家做了说明...

redhat9 ⋅ 2013/12/15 ⋅ 3

教程 | 如何使用深度学习硬件的空余算力自动挖矿

  选自Medium   作者:Max Lapan   机器之心编译   参与:李泽南      人工智能和虚拟货币是 2017 年的两大重要名词,作为一名开发者,如何充分利用自己昂贵的硬件设备呢?本文将...

机器之心 ⋅ 2017/12/25 ⋅ 0

教程 如何使用深度学习硬件的空余算力自动挖矿

     人工智能和虚拟货币是 2017 年的两大重要名词,作为一名开发者,如何充分利用自己昂贵的硬件设备呢?本文将给你一种有趣的解决方案。         如果没有 GPU,现代深度学习是不...

深度学习 ⋅ 2017/12/26 ⋅ 0

[翻译完成] Pi+Raspbian+CGMiner+TightVNC+WIFI五合一矿机超级教程

哈喽, 朋友们, 今天的教程是用树莓派和USB ASIC板来做一个自动挖矿机 , 教程里用的是Butterfly Labs的ASIC板, 如果你想用其他的USB设备其实大差不离. 本教程会把树莓派和ASIC板设成自动模式,...

八宝粥 ⋅ 2013/06/29 ⋅ 1

BitCoin for Ubuntu 11.04 客户端

BitCoin 最近很热,大量的媒体、Blog ,甚至叽喳上都在谈论此物。那么 BitCoin 到底为何物?[以下引用自 ivarptr 的文章,详情请看“通俗易懂讲解什么是 Bitcoin 虚拟货币”一文] Bitcoin ...

红薯 ⋅ 2011/05/26 ⋅ 7

黑客利用病毒挖门罗币,已获利60余万

      一、 概述   近日,火绒安全团队截获一批蠕虫病毒。这些病毒通过U盘、移动硬盘等移动介质及网络驱动器传播,入侵电脑后,会远程下载各类病毒模块,以牟取利益。这些被下载的有盗...

FreeBuf ⋅ 06/10 ⋅ 0

在 Ubuntu Snap 应用商店上发现的加密货币 ‘恶意软件’ 是怎么回事?

最近,有发现称一些 Ubuntu Snap 应用商店上的应用包含加密货币挖矿程序。Canonical 公司迅速下架了这些违规的应用,但是留下了几个有待回答的问题。 在 Snap 应用商店上发现了加密矿工 5 月...

01% ⋅ 05/27 ⋅ 0

Linux系统之Redis扩散病毒继续分析

  *本文原创作者:cgf99,本文属FreeBuf原创奖励计划,未经许可禁止转载      我们安全团队前两次分析了redis病毒和etn挖矿病毒行为,请见“利用Redis未授权访问漏洞的挖矿病毒阴魂不散...

FreeBuf ⋅ 05/22 ⋅ 0

没有更多内容

加载失败,请刷新页面

加载更多

下一页

OSChina 周三乱弹 —— 这样的女人私生活太混乱了

Osc乱弹歌单(2018)请戳(这里) 【今日歌曲】 @ 胖达panda :你经历过体验到人生的大起大落吗?我一朋友在10秒内体验了,哈哈。@小小编辑 请点一首《almost lover》送给他。 《almost love...

小小编辑 ⋅ 23分钟前 ⋅ 5

自己动手写一个单链表

文章有不当之处,欢迎指正,如果喜欢微信阅读,你也可以关注我的微信公众号:好好学java,获取优质学习资源。 一、概述 单向链表(单链表)是链表的一种,其特点是链表的链接方向是单向的,对...

公众号_好好学java ⋅ 29分钟前 ⋅ 0

Centos7重置Mysql 8.0.1 root 密码

问题产生背景: 安装完 最新版的 mysql8.0.1后忘记了密码,向重置root密码;找了网上好多资料都不尽相同,根据自己的问题总结如下: 第一步:修改配置文件免密码登录mysql vim /etc/my.cnf 1...

豆花饭烧土豆 ⋅ 今天 ⋅ 0

熊掌号收录比例对于网站原创数据排名的影响[图]

从去年下半年开始,我在写博客了,因为我觉得业余写写博客也还是很不错的,但是从2017年下半年开始,百度已经推出了原创保护功能和熊掌号平台,为此,我也提交了不少以前的老数据,而这些历史...

原创小博客 ⋅ 今天 ⋅ 0

LVM讲解、磁盘故障小案例

LVM LVM就是动态卷管理,可以将多个硬盘和硬盘分区做成一个逻辑卷,并把这个逻辑卷作为一个整体来统一管理,动态对分区进行扩缩空间大小,安全快捷方便管理。 1.新建分区,更改类型为8e 即L...

蛋黄Yolks ⋅ 今天 ⋅ 0

Hadoop Yarn调度器的选择和使用

一、引言 Yarn在Hadoop的生态系统中担任了资源管理和任务调度的角色。在讨论其构造器之前先简单了解一下Yarn的架构。 上图是Yarn的基本架构,其中ResourceManager是整个架构的核心组件,它负...

p柯西 ⋅ 今天 ⋅ 0

uWSGI + Django @ Ubuntu

创建 Django App Project 创建后, 可以看到路径下有一个wsgi.py的问题 uWSGI运行 直接命令行运行 利用如下命令, 可直接访问 uwsgi --http :8080 --wsgi-file dj/wsgi.py 配置文件 & 运行 [u...

袁祾 ⋅ 今天 ⋅ 0

JVM堆的理解

在JVM中,我们经常提到的就是堆了,堆确实很重要,其实,除了堆之外,还有几个重要的模块,看下图: 大 多数情况下,我们并不需要关心JVM的底层,但是如果了解它的话,对于我们系统调优是非常...

不羁之后 ⋅ 昨天 ⋅ 0

推荐:并发情况下:Java HashMap 形成死循环的原因

在淘宝内网里看到同事发了贴说了一个CPU被100%的线上故障,并且这个事发生了很多次,原因是在Java语言在并发情况下使用HashMap造成Race Condition,从而导致死循环。这个事情我4、5年前也经历...

码代码的小司机 ⋅ 昨天 ⋅ 2

聊聊spring cloud gateway的RetryGatewayFilter

序 本文主要研究一下spring cloud gateway的RetryGatewayFilter GatewayAutoConfiguration spring-cloud-gateway-core-2.0.0.RC2-sources.jar!/org/springframework/cloud/gateway/config/G......

go4it ⋅ 昨天 ⋅ 0

没有更多内容

加载失败,请刷新页面

加载更多

下一页

返回顶部
顶部