Difference between revisions of "PKC/Process (long)"

From PKC
Jump to navigation Jump to search
Line 1: Line 1:
PKC Installation requires three steps, they are listed as below:
{{:Docker Runtime Installation}}
{{:Docker Runtime Installation}}
 
{{:PKC Installation}}
{{:Security Installation}}
Assume the directory you keep your working files is called: <code>Workspace</code>, your [[wikipedia:Command-line interface|terminal application/command line interface (CLI)]] should present a prompt, similar to the following format: (your environment might also display machine name and user name along with the working directory name)
Assume the directory you keep your working files is called: <code>Workspace</code>, your [[wikipedia:Command-line interface|terminal application/command line interface (CLI)]] should present a prompt, similar to the following format: (your environment might also display machine name and user name along with the working directory name)



Revision as of 07:54, 27 August 2021

PKC Installation requires three steps, they are listed as below:

Installing Docker Runtime

  1. Installation must be conducted by a person who possess the root password of the target machine. When it starts installing, root password needs to be provided in a command line interface (CLI).
  2. Install Docker, the Installation instructions and downloadable files can be found here: https://docs.docker.com/get-started/
  3. After the success of Docker installation, launch a terminal application, or often called command line interface (CLI)interface, move your working directory using the command cd", meaning change your working directory, to a directory in your file system. For Mac OS X and Linux operating systems, Terminal applications are bundled during installation. For Windows 10 PKC Installation, please refer to this page.

Installing PKC Software

Assume the directory you keep your working files is called: Workspace, your terminal application/command line interface (CLI) should present a prompt, similar to the following format: (your environment might also display machine name and user name along with the working directory name)

 ~/userName/Workspace$

Download the entire package using git. You may copy the instruction as follows:

 ~/userName/Workspace$ git clone https://github.com/xlp0/PKC.git
  1. After the git clone instruction copied relevant data to your working directory, using the command cd to the PKC directory that contains the script up.sh, and type: ./up.sh to execute the script. (If you are running Windows machine, just type:.\up.bat or just up.)
 ~/userName/Workspace$ cd PKC
 ~/userName/Workspace/PKC$ sudo ./up.sh
  1. After you submitted the ./up.sh in your command line interface, you will be asked for a password, type in the administrator/root password for the machine you are trying to install.
  2. Depends on your network connection, this process will download around 5GB of data, so that it will take a while.
  3. Open a browser: type the following URL to the browser's URL field: http://localhost:9352.
  4. In case you need to have administrator access, use Admin as user name, and metalanguage as password.


Installing Security Related Software

  1. If you plan to set up https for your PKC, please refer to the page:Nginx as Reverse Proxy.
  2. A page content verification extension called:DataAccounting is being developed, the specification can be found on an external website[1].

Assume the directory you keep your working files is called: Workspace, your terminal application/command line interface (CLI) should present a prompt, similar to the following format: (your environment might also display machine name and user name along with the working directory name)

 ~/userName/Workspace$

Download the entire package using git. You may copy the instruction as follows:

 ~/userName/Workspace$ git clone https://github.com/xlp0/PKC.git
  1. After the git clone instruction copied relevant data to your working directory, using the command cd to the PKC directory that contains the script up.sh, and type: ./up.sh to execute the script.
 ~/userName/Workspace$ cd PKC
 ~/userName/Workspace/PKC$ ./up.sh
  1. After you submitted the ./up.sh in your command line interface, you will be asked for a password, type in the root password for the machine you are trying to install.
  2. Depends on your network connection, this process will download around 5GB of data, so that it will take a while.
  3. Open a browser: type the following URL to the browser's URL field: http://localhost:9352.
  4. If you plan to set up https for your PKC, please refer to the page:Nginx as Reverse Proxy.

References