Difference between revisions of "PKC Installation"

From PKC
Jump to navigation Jump to search
(Created page with "=Installing PKC Software= Assume the directory you keep your working files is called: <code>Workspace</code>, your wikipedia:Command-line interface|terminal application/comm...")
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Installing PKC Software=
===Installing PKC Software===
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)


Line 12: Line 12:
</pre>
</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.
#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. (If you are running Windows machine, just type:<code>.\up.bat</code> or just <code>up</code>.)


<pre>
<pre>
  ~/userName/Workspace$ cd PKC
  ~/userName/Workspace$ cd PKC
  ~/userName/Workspace/PKC$ ./up.sh
  ~/userName/Workspace/PKC$ sudo ./up.sh
</pre>
</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.
#After you submitted the <code>./up.sh</code> 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.
#Depends on your network connection, this process will download around 5GB of data, so that it will take a while.
#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.
#Open a browser: type the following URL to the browser's URL field: http://localhost:9352.
# In case you need to have administrator access, use <code>Admin</code> as user name, and <code>metalanguage</code> as password.
<noinclude>
=References=
<references/>
==Related Pages==
*[[Subprocess of::PKC]]
</noinclude>

Latest revision as of 13:44, 6 October 2021

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.


References

Related Pages