Position: Home page » Ethereum » Installing Ethereum on Windows

Installing Ethereum on Windows

Publish: 2021-04-20 00:48:49
1. It's a long story about the difference between 32-bit and 64 bit systems. First of all, let's understand the architecture technology of CPU. Usually we can see that there are x86 and x64 marks on computer hardware. In fact, these are two different CPU hardware architectures. X86 stands for 32-bit operating system and x64 stands for 64 bit operating system. So what does the "bit" in 32-bit and 64 bit mean? Compared with 32-bit technology, this bit of 64 bit technology means that the data width of cpugprs (general purpose registers) is 64 bits. The 64 bit instruction set is the instruction that runs 64 bit data, that is, the processor can run 64 bit data at a time. Let's take a simple but not particularly accurate example: the 32-bit throughput is 1m, while the 64 bit throughput is 2m< First, download a ghost version of win7 operating system, and now Doudou takes "deep technology ghost win7 SP1 x64 computer city installed version v2013.10" as a demonstration.
2. My computer - & gt; Attribute - & gt; Advanced - & gt; Environment variables - & gt; Add the following environment variables to the system variables:
java_ The home value is: the directory where JDK is installed, and mine is C: &# 92; Program Files\ Java\ jdk1.6.0_ 34
the classpath value is:;% JAVA_ HOME%\ lib\ tools.jar;% JAVA_ HOME%\ lib\ dt.jar;% JAVA_ HOME%\ bin;( Pay attention to the & quot& quot; To add)
Path: append at the beginning.;% JAVA_ HOME%\ bin;% JAVA_ HOME%\ jre\ bin;( Pay attention to the & quot& quot; To add)

after the installation, you can check whether the JDK is installed successfully. Open the CMD window and enter Java – version to view the version information of JDK.
3. Eth mining mainly uses graphics card to mine. Therefore, you need a PC with the following devices:
graphics card, motherboard, power supply, CPU, memory, hard disk (more than 60g SSD is recommended), extension cable, adapter cable, etc
among them, the graphics card determines the speed of mining, and the motherboard and power supply largely determine the stability of mining machine operation.
4. Truffle is a world-class development environment, testing framework, Ethereum resource management channel, dedicated to making Ethereum development easier, truffle has the following:
built in smart contract compilation, linking, deployment and binary file management
automatic contract testing under rapid development
scripted and extensible deployment and publishing framework
the network environment management function deployed to no matter how many public or private networks
uses the package management provided by ethpm & NPM and erc190 standard
a direct interactive console that communicates directly with the contract (after writing the contract, you can verify it on the command line)
the configurable construction process supports tight integration
external scripts can be executed in truffle environment< Truffle is the most popular development framework, whose mission is to make development easier
installation method:
$NPM install - G truffle
environment requirements
nodejs 5.0 +
windows, Linux, or Mac OS X
truffle needs Ethereum client and supports standard JSON RPC API. For development, some are more suitable, which will be introced in the following chapters (for example, testrpc provides real-time feedback ring coding and debugging)
suggestions for Windows users
if you are a Windows user, we recommend that you use PowerShell or git bash to install and use the truffle framework. These two shell environments provide more convenient features than the default
if you have to use the command line, see the discussion here on how to configure truffle.
5.
  1. open the cxp2.1 program in the CXP soft folder and open the setup application. If it cannot be opened, open the resource manager, find the setup in the process, and close it. Then right click the setup application and select properties. In the Compatibility tab, check a compatibility mode to run the program. Before the privilege level, check run the program as an administrator and select OK. Then double-click the setup application to install the software, preferably on disk C

  2. open the cxpcrack folder under the CXP soft folder, find the mfa32 application, and it to the CXP root folder under disk C

  3. open the CXP soft folder, find the d3drm.dll application extension, and it to the system32 folder under the windows folder on CD. Open the CXP folder of Disk C, double-click mfa32 to start the CXP software user:0378pass : f1fd-dcb0-4012-448c

  4. in the pop-up enter password dialog box, enter: jocker to enter

  5. in the pop-up dialog box, select add user in the lower left corner, add a user, and confirm

  6. re-enter mfa32, select user, enter password: password, enter, click Finish

  7. combined with the above steps, you can complete the installation

  8. < / ol >
6. Installing Python robot framework is written in Python language, so you must install Python environment before installing robot framework
robot framework only supports Python version 2. X, I use version 2.6.6, and versions 2.71 and 2.72 have been tested without problems. Choose the installation package according to your version of windows, if you like.
7. First, download the data package on the computer, and the installation will be prompted when the data package analysis is completed
install first, and then click next to download the text. It's better to download disk C.
8.

Step 1: when the above prompt appears, press Shift + F10 to open the command window,

extended data:

cause analysis:

1. Most of them install win7, especially 64 bit

Most of them use the new 2.5-inch 750g7200 RPM hard disk

3. The BIOS option of the machine has SATA operation, which is used to configure the working mode of the built-in SATA hard drive controller

with these points, we can clearly find the reasons and find solutions. The reason is to configure the operating mode of the built-in SATA hard drive controller. Because new technologies emerge one after another, inter, hard disk manufacturers and Microsoft. If the pace of follow-up is not consistent, there will be a fight. At this time, we need to patch inter chips, such as F6 patch of Inter

9. Recently, because some experiments need to use the linear algebra library, we need to find a good performance and credibility of the linear algebra library
I have known the name of atlas for a long time. Among the cross platform high-performance linear algebra math packages, Atlas is probably the most famous. So from the beginning, it was decided to use atlas Blas as the performance and mathematical benchmark of linear algebra part of CPU
it's just that I don't have much experience under the shell, so I was very depressed when compiling

therefore, this article will pave the way for some e-writers who are as bad as I am based on my history of blood and tears

in the atlas version, I recommend Atlas 3.6.0. Not only because this version is stable, but more importantly, the installation mode of version 3.7 has changed a lot. Everything needs to be set directly from the command line, unlike 360, which can complete the setting step by step by relying on its wizard. Therefore, the installation is rather large. So the following example will be based on 360. In addition, if you need to support multi-core or multi CPU, scalapack is recommended

after downloading atlas 360, the first reaction is to look at install.txt

install.txt says that if you work under Windows system, you need to refer to another help document. In fact, the other help document only tells you two things:

first, if you use cygwin, then everything is as normal, which is the same as Linux / Unix platform
Second, if you use other compilers, such as MSVC or ICC (Intel C + + compiler), please refer to XXX cloud

although MSVC and ICC are theoretically supported, I think students who want to use MSVC should bear with it first, because all compilation parameters are not default and need to be reset, such as include and lib, and compiler options. I was a stupid person, so I chose cygwin as normal. Theoretically speaking, MinGW is OK, but the sh of MinGW is not easy to use, so I didn't pass MinGW smoothly. At the same time, if you already have MinGW on your machine, remember to replace the path of MinGW in the path environment variable with the path of cygwin after installing cygwin

Download cygwin first. GCC, G77, GNU make, MinGW GCC, mingw-g77, MinGW runtime are required. It is suggested that you first choose download without installing to prepare the things you need to download, and then select the third item to install locally. Many people recommend kernel.org. The actual effect is also good<

after downloading and installing cygwin, you need to patch two files first:
"assembler renaming problem for windows machine" and
"string overflow in config for long compiler paths"
I failed countless times because I missed this

after patching, first test whether make, GCC and G77 can work normally
if there is no mistake, you can do it later<

start cygwin first, bash into the installation directory of atlas (that is, the directory where install.txt is located)
and then directly run
make
this step is all the wizard. Just follow the wizard's instructions to complete the configuration. Normally, no error will appear in this step
then run
make install arch = & lt; ARCH>
the arch here has given an example when the last step of make was completed, just it down
then there is the long and long compilation process

after compiling, you can download it in $Atlas / lib / & lt; arch> See some. A files below. This is enough for GCC, but not for MSVC. We also need to convert the. A file to DLL + lib to use VC.
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750