# Scripts **Repository Path**: Ambuland/scripts ## Basic Information - **Project Name**: Scripts - **Description**: Some scripts for you to deploy the hyperledger blockchain network on your device quickly and correctly. - **Primary Language**: Shell - **License**: Apache-2.0 - **Default Branch**: installer-1.2.2 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-12 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Quick Install Scripts

Blockchain Network Fast Deploy

## Introduce. We provide quick install scripts for devices with CentOS 7 Operation System, X86_64 arch CPU. ## How to use. ```Shell yum install git -y git clone -b installer https://gitee.com/Ambuland/scripts.git cd scripts ./installer.sh ``` ## Codes in Detials. ### installer.sh You can switch the default version at the head of the script, or just input version as parameter of the script. You can launch the installer just like command behiend. ```Shell ./installer.sh ./installer.sh 1.0 ``` ### clearCache.sh Remove the file which used in installing stage. ```Shell ./clearCache.sh ``` ### docker.sh Install docker and setup docker in the script. ```Shell ./docker.sh ``` ### dockerImage.sh Download some useful images of Hyperledger Fabric. ```Shell ./dockerImage.sh ``` ### installGoAndNodejs.sh Install special version go and nodejs for project. ```Shell ./installGoAndNodejs.sh ``` ### fabric.sh Copy the code and binary files of the Hyperldger Fabric. ```Shell ./fabric.sh ``` ### bootstrap.sh Modified scripts of the fabric-samples in hyperledger. ```Shell ./bootstarp.sh ``` ### logCreate.sh You can use it to create log fastly at path "/root/Ambuland-log/". ```Shell ./logCreate.sh version status information ``` ### logDelete.sh Remove some log of the project. ```Shell ./logDelete.sh # default delete all log. ./logDelete.sh A # delete all log. ./logDelete.sh S # delete all log of successful operations. ./logDelete.sh F # delete all log of failed operations. ``` ### chmod.sh Run `chmod +x` command for plain code and you can run the code. ```Shell ./chmod.sh fileName ``` ### rere.sh Remove file and upload a new one. ```Shell ./rere.sh fileName ``` ### swapCreate.sh Create a 2G swap memory for Linux OS. ```Shell ./swapCreate.sh ``` ### swapDelete.sh Remove all swap memory for Linux OS. ```Shell ./swapDelete.sh ```
College of Software, Nankai University. 2020