words from an earthling

Latest

Install Mac OSX Catalina(10.15) on vmware workstation 16

It seems easier to install the newer Catalina on vmware workstation. The steps of the (maybe) fastest method are as follows:

  1. Download latest Clover ISO image from github. We need this to boot the Mac guest OS.
  2. Download Mac Catalina installation ISO image. You can find the download link using Google.
  3. Download latest unlocker for vmware from github. Though it says ‘Unlocker 3 is designed for VMware Workstation 11-15’, it works for vmware workstation 16.1.0.
  4. Run unlocker to unlock vmware. If any problem occurs, check unlocker’s manual(like the python3 naming).
  5. Create a vmware guest machine that is suitable for the installation of Catalina. Again, Google can do a good job.
  6. Since the vmware is unlocked we can directly install Catalina using ISO image without making any change to it.
  7. Now change the CD setting of VM to Clover ISO image. And boot from this CD. The boot screen should be something like this, more or less:
https://www.tonymacx86.com/attachments/img_0956-jpg.338970/

Choose the one we just installed and the guest OS should boot without problems. It may take some time to boot for the 1st time.

The Clover ISO is needed every time the guest OS boots. To make the guest boot from virtual harddisk, you can copy the EFI folder in Clover ISO to the EFI partition of the virtual harddisk. And then config the vmware firmware to boot from there. There is a detailed description about it.





Protected: How to build a small fabric network: Prepare configuration and certificates part 2

This content is password protected. To view it please enter your password below:

How to build a small fabric network: Prepare configuration and certificates part 1

To build a fabric network is never easy. Let’s begin with the configuration and certs. Fabric’s got official documents on this topic. However, some part of it is even a little confusing. So in this article, a small (productive) fabric network is used to explain how it works.

Read the rest of this page »

Understanding hyperledger fabric: About the generated certificates (MSP) part I

Fabric has a concept called MSP(Membership Service Provider). Its cornerstone is a bundle of certificates generated by using fabric-ca-server and fabric-ca-client. Let’s check what these certificates are. Remember that the certs generated each time are different.

Openssl is used to read private key and certificates:

openssl pkey -in pkfile -text

openssl x509 -in certfile -text

And to check server cert:

openssl s_client -connect host:port

Read the rest of this page »

Understanding hyperledger fabric

It is not easy to understand the hyperledger fabric network. So here is how to build an example network and a detailed description of how it works. This article is the summary and you’ll find links to details.

WARNING: You should be at least familiar with fabric cmds such as fabric-ca-server and peer or you may not be able to understand some part of this article very well (hope this won’t happen).

Read the rest of this page »

Vmware wks 14.0 vmmon compile failed on Debian 9.2

Recently when I tried to install vmware workstation 14 on my Debian box, the kernel module compilation failed. The failing module is vmmon. The error is as following:

2017-10-19 15-32-03 的屏幕截图

./include/vm_asm_x86.h:71:44: error: expression in static assertion is not constant
ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sizeof(expr) <= 2))

Apparently the error is about a defined macro :

ASSERT_ON_COMPILE(sizeof(Selector) == 2 &&  ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || sizeof(expr) <= 2))

I don’t really understand the meaning of the macro and the error message. But after commenting the things out, it compiled and vmware worked fine.

Hope Vmware will update their drivers soon.