Mercurial > hg > cfcfd3
annotate doc/sphinx/getting-started.rst @ 24:35bd8af5f52a
Sphinx doc changes to fill out L1d3 intro. Also, add scipy to dependency list.
author | Peter Jacobs <peterj@mech.uq.edu.au> |
---|---|
date | Sun, 05 Feb 2012 08:56:28 +1000 |
parents | a54503138206 |
children | 2e97ce715ec0 |
rev | line source |
---|---|
16
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
1 Getting the codes and preparing to run them |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
2 =========================================== |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
3 |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
4 The code repository |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
5 ------------------- |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
6 The codes are available for download from a Mercurial repository. |
17
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
7 To make a clone of the repository:: |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
8 |
17
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
9 $ cd $HOME |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
10 $ hg clone https://cfcfdlocal@triton.pselab.uq.edu.au/cfcfd3-hg/cfcfd3-hg/ cfcfd3 |
16
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
11 |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
12 This takes about 40 seconds on campus at UQ. |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
13 It may take much longer, depending on your internet connection. |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
14 |
17
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
15 To see what's changed:: |
16
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
16 |
17
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
17 $ cd cfcfd3 |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
18 $ hg incoming https://cfcfdlocal@triton.pselab.uq.edu.au/cfcfd3-hg/cfcfd3-hg/ |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
19 ... |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
20 $ hg pull -u https://cfcfdlocal@triton.pselab.uq.edu.au/cfcfd3-hg/cfcfd3-hg/ |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
21 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
22 Notes |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
23 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
24 #. You will need a password for any access. Please ask. |
16
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
25 #. You can read but not write with the "cfcfdlocal" username. |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
26 #. Some usernames (by negotiation) may push changesets back to the repository. |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
27 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
28 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
29 Your computational environment |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
30 ------------------------------ |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
31 The code collection comes as source code only so, |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
32 to use any of them, you will need to compile and install them. |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
33 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
34 To build and run the newer codes, you will need the following: |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
35 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
36 * a Unix-like system with GNU-make, C and C++ compilers |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
37 * popt (command-line parser) library and development files |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
38 * readline library (including the header files, libreadline5-dev on Ubuntu) |
24
35bd8af5f52a
Sphinx doc changes to fill out L1d3 intro. Also, add scipy to dependency list.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
17
diff
changeset
|
39 * Python + (with the numpy and scipy extensions) |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
40 * SWIG |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
41 * Tcl/Tk + the BWidget library (to run the GUI program e3console.tcl) |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
42 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
43 We have been able to get the programs to build on Linux, MacOS-X |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
44 (with a recent Xcode development environment) and Cygwin 1.7 (on MS-Windows). |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
45 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
46 On MS-Windows, install the full kit of Cygwin (Python, X-Windows and all) |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
47 and be careful not to have another Python installed outside of Cygwin. |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
48 The multiple installations of Python seem not to play well together. |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
49 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
50 Some other things that are useful: |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
51 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
52 * awk |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
53 * MetaPost (mpost) or, more recently, InkScape (for looking at and editing svg files) |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
54 * GNUplot |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
55 * Paraview or MayaVi or VisIt |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
56 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
57 To a basic Fedora 16 installation, you should add the following packages: |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
58 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
59 #. bzr |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
60 #. gcc |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
61 #. gcc-c++ |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
62 #. m4 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
63 #. gcc-gfortran |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
64 #. swig |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
65 #. python-devel |
24
35bd8af5f52a
Sphinx doc changes to fill out L1d3 intro. Also, add scipy to dependency list.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
17
diff
changeset
|
66 #. scipy |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
67 #. readline-devel (for Lua) |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
68 #. popt-devel |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
69 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
70 To a basic Ubuntu 10.04 installation, you should add the following packages and their dependencies: |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
71 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
72 #. bzr |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
73 #. bzrtools |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
74 #. g++ |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
75 #. m4 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
76 #. mpi-default-dev |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
77 #. gfortran |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
78 #. swig |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
79 #. python-dev |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
80 #. python-numpy |
24
35bd8af5f52a
Sphinx doc changes to fill out L1d3 intro. Also, add scipy to dependency list.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
17
diff
changeset
|
81 #. python-scipy |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
82 #. libreadline-dev |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
83 #. libpopt-dev |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
84 #. tk |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
85 #. bwidget |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
86 #. gnuplot |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
87 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
88 |
16
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
89 SSH access to the repository for developers |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
90 ------------------------------------------- |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
91 Alternative access to the Mercurial repository for developers is possible via ssh. |
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
92 You will need the password or your public key installed for any access. Please ask. |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
93 |
17
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
94 :: |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
95 |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
96 $ cd ~ |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
97 $ hg clone ssh://cfcfd3@triton/cfcfd3-hg cfcfd3 |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
98 $ cd cfcfd3/extern/ |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
99 $ hg clone ssh://cfcfd3@triton/cea2-hg cea2 |
8
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
100 |
663bc627945e
Started sphinx documentation, to eventually replace the cfcfd web pages.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
diff
changeset
|
101 |
16
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
102 |
17
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
103 Notes about Mercurial and https certificate warnings |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
104 ---------------------------------------------------- |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
105 For versions of Mercurial greater than 1.7.3, a warning will be issued |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
106 about the certificate not being verified when accessing the repository |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
107 over https. To satisy Mercurial's complaints, you will need to configure |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
108 the Certificate Authorities (CAs) which it uses. There are two ways to |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
109 do this: |
16
a587197c464d
Sphinx docs: Have the top-level files pretty much in order.
Peter Jacobs <peterj@mech.uq.edu.au>
parents:
8
diff
changeset
|
110 |
17
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
111 1. configure HTTPS certificate authorities; or |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
112 2. verify ``triton.pselab.uq.edu.au`` individually using its fingerprint. |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
113 |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
114 In either case, you will need to edit your hg configuration file which |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
115 can be a repository-specific file ``.hg/hgrc`` or set globally in |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
116 ``~/.hgrc``. |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
117 |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
118 To configure the certificate authorities, the value for ``cacerts`` need to |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
119 be set correctly for your system. For example, a Fedora (or Fedora-like) linux system, |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
120 this can be done by adding the following to the ``hgrc`` file:: |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
121 |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
122 [web] |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
123 cacerts = /etc/ssl/certs/ca-bundle.crt |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
124 |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
125 Examples for other linux systems can be found at MercurialCAs_. |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
126 |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
127 The alternative is to configure the host fingerprint for |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
128 ``triton.pselab.uq.edu.au`` explicitly. To do this, add |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
129 the following to your hg config file:: |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
130 |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
131 [hostfingerprints] |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
132 triton.pselab.uq.edu.au = 1d:33:32:b0:6c:e2:5c:13:67:35:ba:e6:60:cc:4e:c1:03:63:5a:2e |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
133 |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
134 More information about configuring Mercurial to use your system's certificate |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
135 authorities is available at MercurialCAs_. |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
136 |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
137 |
a54503138206
Sphinx docs: Added notes about suppressing certificate warnings over https.
Rowan J. Gollan <r.gollan@uq.edu.au>
parents:
16
diff
changeset
|
138 .. _MercurialCAs: http://mercurial.selenic.com/wiki/CACertificates |