sudo apt-get install mysql-server #安装完成之后进人mysql 密码为空 sudo mysql -uroot -p #修改密码 use mysql; update user set authentication_string='' where user='root';//用户名 ALTER user 'root'@'localhost' IDENTIFIED BY '123456';//密码 flush privileges;//刷新权限
common] # Webase Subsystem Version (v1.1.0 or above) webase.web.version=v1.5.4 webase.mgr.version=v1.5.4 webase.sign.version=v1.5.3 webase.front.version=v1.5.4 ##################################################################### # if use [installDockerAll] to install WeBASE by docker # if use [installAll] or [installWeBASE], ignore configuration here # 1: enable mysql in docker # 0: mysql run in host, required fill in the configuration of webase-node-mgr and webase-sign docker.mysql=0 # if [docker.mysql=1], mysql run in host (only works in [installDockerAll]) # run mysql 5.6 by docker docker.mysql.port=23306 # default user [root] docker.mysql.password=123456 ##################################################################### # Mysql database configuration of WeBASE-Node-Manager mysql.ip=localhost mysql.port=3306 mysql.user=root //需要将/etc/mysql/debian.cnf数据库用户名复制到这里 mysql.password=00000000 //需要将/etc/mysql/debian.cnf数据库用户名复制到这里 mysql.database=webasenodemanager # Mysql database configuration of WeBASE-Sign sign.mysql.ip=localhost sign.mysql.port=3306 sign.mysql.user=root//需要将/etc/mysql/debian.cnf数据库用户名复制到这里 sign.mysql.password=00000000//需要将/etc/mysql/debian.cnf数据库密码复制到这里 sign.mysql.database=webasesign # if docker mysql disabled[docker.mysql=0] above # H2 database name of WeBASE-Front (docker mode ignore this) front.h2.name=webasefront front.org=fisco # WeBASE-Web service port web.port=5000 # enable WeBASE-Web overview pages for mobile phone(docker mode not support h5 yet) # (0: disable, 1: enable) web.h5.enable=1 # WeBASE-Node-Manager service port mgr.port=5001 # WeBASE-Front service port front.port=5002 # WeBASE-Sign service port sign.port=5004 # Node listening IP node.listenIp=127.0.0.1 # Node p2p service port node.p2pPort=30300//需要更改端口号 # Node channel service port node.channelPort=20200//需要更改端口号 # Node rpc service port node.rpcPort=8545//需要更改端口号 # Encrypt type (0: standard, 1: guomi) encrypt.type=0 # ssl encrypt type (0: standard ssl, 1: guomi ssl) # only guomi type support guomi ssl encrypt.sslType=0 # Use existing chain or not (yes/no) if.exist.fisco=yes ### if build new chain, [if.exist.fisco=no] # Configuration required when building a new chain # Fisco-bcos version fisco.version=2.8.0 # Number of building nodes (default value: 2) node.counts=4 //需要将这里改为4 ### if using exited chain, [if.exist.fisco=yes] # The path of the existing chain, the path of the start_all.sh script # Under the path, there should be a 'sdk' directory where the SDK certificates (ca.crt, sdk.crt, node.key and gm directory(gm ssl)) are stored fisco.dir=/root/fisco/nodes/127.0.0.1 # Node directory in [fisco.dir] for WeBASE-Front to connect # example: 'node.dir=node0' would auto change to '/data/app/nodes/127.0.0.1/node0' # Under the path, there is a conf directory where node certificates (ca.crt, node.crt and node.key) are stored node.dir=node0