Difference between revisions of "PKC/Process (long)"
Jump to navigation
Jump to search
(Created page with "PKC/Process") |
|||
Line 1: | Line 1: | ||
PKC/ | #Installation must be conducted by a person who possess the root password of the target machine. When it starts installing, [[wikipedia:Superuser|root password]] needs to be provided in a [[wikipedia:Command-line interface|command line interface (CLI)]]. | ||
#You will need [[Git]], the software installed on your machine. You may follow the instructions on [https://git-scm.com/downloads Git Software Installation and Download]. | |||
#Install [[wikipedia:Docker (software)|Docker]], the Installation instructions and downloadable files can be found here: https://docs.docker.com/get-started/ | |||
#After the success of Docker installation, launch a [[Terminal|terminal]] application, or often called [[wikipedia:Command-line interface|command line interface (CLI)]]interface, move your working directory using the command <code>[[wikipedia:cd (command)|cd]]</code>", 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 [[Windows 10 PKC Installation|page]]. | |||
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) | |||
<pre> | |||
~/userName/Workspace$ | |||
</pre> | |||
Download the entire package using <code>git</code>. You may copy the instruction as follows: | |||
<pre> | |||
~/userName/Workspace$ git clone https://github.com/xlp0/PKC.git | |||
</pre> | |||
#After the <code>git clone</code> instruction copied relevant data to your working directory, using the command <code>cd</code> to the '''PKC''' directory that contains the script <code>[[up.sh]]</code>, and type: <code>./up.sh</code> to execute the script. | |||
<pre> | |||
~/userName/Workspace$ cd PKC | |||
~/userName/Workspace/PKC$ ./up.sh | |||
</pre> | |||
#After you submitted the <code>./up.sh</code> 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. | |||
#Depends on your network connection, this process will download around 5GB of data, so that it will take a while. | |||
#Open a browser: type the following URL to the browser's URL field: http://localhost:9352. | |||
#If you plan to set up [[https]] for your [[PKC]], please refer to the page:[[Nginx as Reverse Proxy]]. |
Revision as of 07:45, 27 August 2021
- 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).
- You will need Git, the software installed on your machine. You may follow the instructions on Git Software Installation and Download.
- Install Docker, the Installation instructions and downloadable files can be found here: https://docs.docker.com/get-started/
- 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.
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
- After the
git clone
instruction copied relevant data to your working directory, using the commandcd
to the PKC directory that contains the scriptup.sh
, and type:./up.sh
to execute the script.
~/userName/Workspace$ cd PKC ~/userName/Workspace/PKC$ ./up.sh
- 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. - Depends on your network connection, this process will download around 5GB of data, so that it will take a while.
- Open a browser: type the following URL to the browser's URL field: http://localhost:9352.
- If you plan to set up https for your PKC, please refer to the page:Nginx as Reverse Proxy.