You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by fr...@apache.org on 2017/06/16 15:13:53 UTC

[2/4] incubator-trafficcontrol git commit: remove ref to rpms on apache build

remove ref to rpms on apache build

(cherry picked from commit 1dfacaf500ece5ec2d5fe59dfccf64e527fd2b6b)


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/62af97af
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/62af97af
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/62af97af

Branch: refs/heads/2.0.x
Commit: 62af97af3bcef3ff65681f3008eaf8cd0ac4ae29
Parents: 9037571
Author: Dan Kirkwood <da...@gmail.com>
Authored: Thu Jun 15 16:18:02 2017 -0600
Committer: Eric Friedrich <fr...@apache.org>
Committed: Fri Jun 16 11:13:26 2017 -0400

----------------------------------------------------------------------
 docs/source/admin/traffic_ops/installation.rst | 52 ++++++++++-----------
 1 file changed, 26 insertions(+), 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/62af97af/docs/source/admin/traffic_ops/installation.rst
----------------------------------------------------------------------
diff --git a/docs/source/admin/traffic_ops/installation.rst b/docs/source/admin/traffic_ops/installation.rst
index d6d9b9c..d2bd2bf 100644
--- a/docs/source/admin/traffic_ops/installation.rst
+++ b/docs/source/admin/traffic_ops/installation.rst
@@ -1,21 +1,21 @@
-.. 
-.. 
+..
+..
 .. Licensed under the Apache License, Version 2.0 (the "License");
 .. you may not use this file except in compliance with the License.
 .. You may obtain a copy of the License at
-.. 
+..
 ..     http://www.apache.org/licenses/LICENSE-2.0
-.. 
+..
 .. Unless required by applicable law or agreed to in writing, software
 .. distributed under the License is distributed on an "AS IS" BASIS,
 .. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 .. See the License for the specific language governing permissions and
 .. limitations under the License.
-.. 
+..
 
 .. index::
-  Traffic Ops - Installing 
-  
+  Traffic Ops - Installing
+
 .. _rl-to-install:
 
 Traffic Ops - Installing
@@ -67,36 +67,36 @@ To begin the install:
    Build a Traffic Ops rpm using the instructions under the :ref:`dev-building` page.
 
 
-3. Install Postgresql 
+3. Install Postgresql
+
+  Install the postgresql 9.6 yum repository access. ::
 
-  Install the postgresql 9.6 dev libraries. ::
-  
     to-$ sudo su -
-    to-# yum update
     to-# yum -y install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm
-    to-# yum install  postgresql96-devel
-    to-# wget -q https://builds.apache.org/view/S-Z/view/TrafficControl/job/incubator-trafficcontrol-master-build/lastSuccessfulBuild/artifact/dist/traffic_ops-2.1.0-6388.20de6ae2.el7.x86_64.rpm
-    to-# yum -y install traffic_ops-2.0.0-5608.afd8fd30.el7.x86_64.rpm 
+
+4. Install the rpm built in step 2. ::
+
+    to-# yum -y install ./dist/traffic_ops-2.0.0-xxxx.yyyyyyy.el7.x86_64.rpm
 
 
-  Install some additional packages that it depends on that were not installed as dependecies in the previous step (these are for the 2.1 dev install, this may change, but the pre-installs won't hurt): ::
+  Install some additional packages that it depends on that were not installed as dependecies in the previous step (these are for the 2.0.0 install, this may change, but the pre-installs won't hurt): ::
 
     to-# yum -y install git
     to-# wget -q https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz
-    to-# tar -C /usr/local -xzf go1.8.3.linux-amd64.tar.gz 
-    to-# PATH=$PATH:/usr/local/go/bin             # go bins are needed in the path for postinstall 
+    to-# tar -C /usr/local -xzf go1.8.3.linux-amd64.tar.gz
+    to-# PATH=$PATH:/usr/local/go/bin             # go bins are needed in the path for postinstall
     to-# go get bitbucket.org/liamstask/goose/cmd/goose
 
-  At this point you should be able to login to the database from the ``to`` host to the ``pg`` host like: :: 
+  At this point you should be able to login to the database from the ``to`` host to the ``pg`` host like: ::
 
     to-# psql -h 99.33.99.1 -U postgres
-    Password for user postgres: 
+    Password for user postgres:
     psql (9.6.3)
     Type "help" for help.
-    
-    postgres=# 
 
-  Use this connectivity to create the user and database. In  this example, we use user: ``traffic_ops``, password: ``tcr0cks``, database: ``traffic_ops``: :: 
+    postgres=#
+
+  Use this connectivity to create the user and database. In  this example, we use user: ``traffic_ops``, password: ``tcr0cks``, database: ``traffic_ops``: ::
 
     to-# psql -U postgres -h 99.33.99.1 -c "CREATE USER traffic_ops  WITH ENCRYPTED PASSWORD 'tcr0cks';"
     Password for user postgres:
@@ -109,9 +109,9 @@ To begin the install:
   Now, run the following command as root: ``/opt/traffic_ops/install/bin/postinstall``
 
   The postinstall will first get all packages needed from CPAN. This may take a while, expect up to 30 minutes on the first install.
-  If there are any prompts in this phase, please just answer with the defaults (some CPAN installs can prompt for install questions). 
+  If there are any prompts in this phase, please just answer with the defaults (some CPAN installs can prompt for install questions).
 
-  When this phase is complete, you will see:: 
+  When this phase is complete, you will see::
 
       Complete! Modules were installed into /opt/traffic_ops/app/local
 
@@ -177,13 +177,13 @@ To begin the install:
       Resolving geolite.maxmind.com (geolite.maxmind.com)... 2400:cb00:2048:1::6810:262f, 2400:cb00:2048:1::6810:252f, 104.16.38.47, ...
       Connecting to geolite.maxmind.com (geolite.maxmind.com)|2400:cb00:2048:1::6810:262f|:80... connected.
 
-      ... much SQL output skipped 
+      ... much SQL output skipped
 
       Starting Traffic Ops
       Restarting traffic_ops (via systemctl):                    [  OK  ]
       Waiting for Traffic Ops to restart
       Success! Postinstall complete.
-      
+
       to-# ifconfig