You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by knutsel <gi...@git.apache.org> on 2017/06/11 16:05:52 UTC

[GitHub] incubator-trafficcontrol pull request #667: Updated TO install docs, works w...

GitHub user knutsel opened a pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/667

    Updated TO install docs, works with master 6/11/2017

    @dew - updated with latest.
    @dangogh  - i know you're working on the golang and goos install automations, but they didn't work for me on master, I say this docs around it and we move on. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/knutsel/incubator-trafficcontrol docs-3

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafficcontrol/pull/667.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #667
    
----
commit 2545a06a519c518df7c52aee8c70825272be5c55
Author: Jan van Doorn <ja...@cable.comcast.com>
Date:   2017-06-11T16:04:21Z

    Updated TO install docs, works with master 6/11/2017

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-trafficcontrol pull request #667: Updated TO install docs, works w...

Posted by dneuman64 <gi...@git.apache.org>.
Github user dneuman64 commented on a diff in the pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/667#discussion_r121513235
  
    --- Diff: docs/source/admin/traffic_ops_install.rst ---
    @@ -23,462 +23,213 @@ Installing Traffic Ops
     
     System Requirements
     -------------------
    -The user must have the following for a successful install:
    -
    -* CentOS 6
    -* 4 vCPUs
    -* 32GB RAM
    -* 20 GB disk space
    -* YUM repository with minimally the following dependecies avaliable
    -
    -  * apr 1.3.9-5 
    -  * apr-util 1.3.9-3 
    -  * apr-util-ldap 1.3.9-3   
    -  * expat-devel 2.0.1-11 
    -  * genisoimage 1.1.9-12  
    -  * httpd 2.2.15
    -  * httpd-tools 2.2.15  
    -  * libpcap-devel 14:1.4
    -  * mod_ssl  1:2.2.15-29
    -  * mysql 5.1.71 
    -  * autoconf 2.63-5.1.
    -  * automake 1.11.1-4
    -  * gcc 4.4.7-4
    -  * gettext 0.17-16
    -  * libcurl-devel 7.19.7-37
    -  * libtool 2.2.6-15.5
    -  * mysql-devel 5.1.73-3
    -  * perl-CPAN 1.9402-136
    -  * libcurl 7.19.7-37
    -  * openssl 1.0.1e-30
    -  * cloog-ppl 0.15.7-1.2
    -  * cpp 4.4.7-4
    -  * cvs 1.11.23-16
    -  * libgomp 4.4.7-4
    -  * libidn-devel 1.18-2
    -  * m4 1.4.13-5
    -  * mpfr 2.4.1-6
    -  * perl-Digest-SHA 1:5.47-136
    -  * ppl 0.10.2-11
    -  * curl 7.19.7-37
    -  * openssl-devel 1.0.1e-30
    - 
    +The user must have the following for a successful minimal install:
    +
    +* CentOS 7
    +* 2 VMs with at least 2 vCPUs, 4GB RAM, 20 GB disk space each
    +* Access to Centos Base and epel repositories
     * Access to `The Comprehensive Perl Archive Network (CPAN) <http://www.cpan.org/>`_
     
    -.. Note:: The above versions are known to work on CentOS 6.5. Higher versions may work.
    +As of version 2.0 only Postgres is supported as the database. This documentation assumes CentOS 7.2 and Postgresql 9.6.3. For a production install
     
    -.. Note:: Although Traffic Ops supports both MySQL and Postgres as a database, support for MySQL is more mature and better tested. It is best to use MySQL when first getting started, and the rest of this guide assumes MySQL as the database.
    +.. highlight:: none
     
     Navigating the Install
     -----------------------
     To begin the install:
     
    -1. Install Traffic Ops: 
    +1. Install Postgres
     
    -  Download the traffic_ops rpm package from http://trafficcontrol.apache.org/downloads/index.html
    -  
    -  ``sudo rpm -ivh traffic_ops-1.*.*-****.x86_64.rpm``
    +  For a production install it is best to install postgres on it's own server/VM. To install postgres, on the postgres host (pg) ::
     
    +    pg-$ sudo su -
    +    pg-# yum -y update
    +    pg-# yum -y install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm
    +    pg-# yum -y install postgresql96-server
    +    pg-$ su - postgres
    +    pg-$ /usr/pgsql-9.6/bin/initdb -A md5 -W #-W forces the user to provide a superuser (postgres) password
     
     
    +  Edit ``/var/lib/pgsql/9.6/data/pg_hba.conf`` to allow your traffic ops app server access. For example if you are going to install traffic ops on ``99.33.99.1`` add::
     
    +    host  all   all     99.33.99.1/32 md5
     
    -2. After installation of Traffic Ops rpm enter the following command: ``sudo /opt/traffic_ops/install/bin/postinstall``
    +  to the appropriate section of this file. Edit the ``/var/lib/pgsql/9.6/data/postgresql.conf`` file to add the approriate listen_addresses or ``listen_addresses = '*'``,  and start the database: ::
     
    -  Example output::
    +    pg-$ exit
    +    pg-# systemctl enable postgresql-9.6
    +    pg-# systemctl start postgresql-9.6
    +    pg-# systemctl status postgresql-9.6
     
    +2. Install Traffic Ops
     
    -      trafficops-vm # /opt/traffic_ops/install/bin/postinstall
    +  Install the postgres1l 9.6 dev libraries, and then download the traffic_ops rpm package from http://trafficcontrol.apache.org/downloads/index.html or from our jenkins builds, and install it (update URL as approriate), on the traffic ops host (to): :: 
    --- End diff --
    
    typo `postgres1l`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-trafficcontrol pull request #667: Updated TO install docs, works w...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-trafficcontrol/pull/667


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---