mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ti...@apache.org
Subject [1/4] mesos git commit: Wrote cmd to create WANdiscoSVN file for centos.
Date Thu, 17 Dec 2015 05:22:37 GMT
Repository: mesos
Updated Branches:
  refs/heads/master 492f1c62c -> 86f20cc91


Wrote cmd to create WANdiscoSVN file for centos.

Previously we just told users to create this file and then add the
contents to it. Now they can just copy and paste a single command to
create the file and fill the contents automatically.

Review: https://reviews.apache.org/r/41361/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/dae2c066
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/dae2c066
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/dae2c066

Branch: refs/heads/master
Commit: dae2c0667c1be913d08cff57717764c6ce7a45d9
Parents: 492f1c6
Author: Kevin Klues <klueska@gmail.com>
Authored: Thu Dec 17 06:21:02 2015 +0100
Committer: Till Toenshoff <toenshoff@me.com>
Committed: Thu Dec 17 06:21:02 2015 +0100

----------------------------------------------------------------------
 docs/getting-started.md | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/dae2c066/docs/getting-started.md
----------------------------------------------------------------------
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 9b0df2e..8fb87cd 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -86,14 +86,15 @@ Following are the instructions for stock CentOS 6.6. If you are using
a differen
 
     # 'Mesos > 0.21.0' requires 'subversion > 1.8' devel package, which is
     # not available in the default repositories.
-    # Add the WANdisco SVN repo file: '/etc/yum.repos.d/wandisco-svn.repo' with content:
-
-      [WANdiscoSVN]
-      name=WANdisco SVN Repo 1.8
-      enabled=1
-      baseurl=http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/$basearch/
-      gpgcheck=1
-      gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
+    # Create a WANdisco SVN repo file to install the correct version:
+    $ sudo cat > /etc/yum.repos.d/wandisco-svn.repo <<EOF
+    [WANdiscoSVN]
+    name=WANdisco SVN Repo 1.8
+    enabled=1
+    baseurl=http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/$basearch/
+    gpgcheck=1
+    gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
+    EOF
 
     # Install essential development tools.
     $ sudo yum groupinstall -y "Development Tools"
@@ -118,16 +119,17 @@ Following are the instructions for stock CentOS 7.1. If you are using
a differen
     # Fetch the Apache Maven repo file.
     $ sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo
-O /etc/yum.repos.d/epel-apache-maven.repo
 
-    # 'Mesos > 0.21.0' requires 'subversion > 1.8' devel package, which is
-    # not available in the default repositories.
-    # Add the WANdisco SVN repo file: '/etc/yum.repos.d/wandisco-svn.repo' with content:
-
-      [WANdiscoSVN]
-      name=WANdisco SVN Repo 1.9
-      enabled=1
-      baseurl=http://opensource.wandisco.com/centos/7/svn-1.9/RPMS/$basearch/
-      gpgcheck=1
-      gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
+    # 'Mesos > 0.21.0' requires 'subversion > 1.8' devel package,
+    # which is not available in the default repositories.
+    # Create a WANdisco SVN repo file to install the correct version:
+    $ sudo cat > /etc/yum.repos.d/wandisco-svn.repo <<EOF
+    [WANdiscoSVN]
+    name=WANdisco SVN Repo 1.9
+    enabled=1
+    baseurl=http://opensource.wandisco.com/centos/7/svn-1.9/RPMS/$basearch/
+    gpgcheck=1
+    gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
+    EOF
 
     # Install essential development tools.
     $ sudo yum groupinstall -y "Development Tools"


Mime
View raw message