Skip to content

Commit

Permalink
Docs updates and update to tar package
Browse files Browse the repository at this point in the history
  • Loading branch information
torkelo committed Apr 20, 2015
1 parent 123ea33 commit 3d8beb9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
13 changes: 8 additions & 5 deletions docs/sources/installation/debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,23 @@ page_keywords: grafana, installation, debian, ubuntu, guide

Description | Download
------------ | -------------
.deb for Debian-based Linux | [grafana_2.0.0-beta3_amd64.deb](https://grafanarel.s3.amazonaws.com/builds/grafana_2.0.0-beta3_amd64.deb)
.deb for Debian-based Linux | [grafana_2.0.0_amd64.deb](https://grafanarel.s3.amazonaws.com/builds/grafana_2.0.0_amd64.deb)

## Install

$ wget https://grafanarel.s3.amazonaws.com/builds/grafana_2.0.0-beta3_amd64.deb
$ wget https://grafanarel.s3.amazonaws.com/builds/grafana_2.0.0_amd64.deb
$ sudo apt-get install -y adduser libfontconfig
$ sudo dpkg -i grafana_2.0.0-beta3_amd64.deb
$ sudo dpkg -i grafana_2.0.0_amd64.deb

## APT Repository
Add the following line to your `/etc/apt/sources.list`

deb https://packagecloud.io/grafana/testing/debian/ wheezy main
deb https://packagecloud.io/grafana/stable/debian/ wheezy main

Use the above line even if you are on Ubuntu or another debian version. There is also testing
repository if you want beta or release candidates.

Use the above line even if you are on Ubuntu or another debian version.
deb https://packagecloud.io/grafana/testing/debian/ wheezy main

Then add the [Package Cloud](https://packagecloud.io/grafana) key used to sign packages.

Expand Down
12 changes: 8 additions & 4 deletions docs/sources/installation/rpm.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,36 @@ page_keywords: grafana, installation, centos, fedora, opensuse, redhat, guide

Description | Download
------------ | -------------
.RPM for Fedora / RHEL / CentOS Linux | [grafana-2.0.0_beta3-1.x86_64.rpm](https://grafanarel.s3.amazonaws.com/builds/grafana-2.0.0_beta3-1.x86_64.rpm)
.RPM for Fedora / RHEL / CentOS Linux | [grafana-2.0.0-1.x86_64.rpm](https://grafanarel.s3.amazonaws.com/builds/grafana-2.0.0-1.x86_64.rpm)

## Install
You can install using yum

$ sudo yum install https://grafanarel.s3.amazonaws.com/builds/grafana-2.0.0_beta3-1.x86_64.rpm
$ sudo yum install https://grafanarel.s3.amazonaws.com/builds/grafana-2.0.0-1.x86_64.rpm

Or manually using `rpm`

$ sudo yum install initscripts fontconfig
$ sudo rpm -Uvh grafana-2.0.0_beta3-1.x86_64.rpm
$ sudo rpm -Uvh grafana-2.0.0-1.x86_64.rpm

## YUM Repository

Add the following to a new file at `/etc/yum.repos.d/grafana.repo`

[grafana]
name=grafana
baseurl=https://packagecloud.io/grafana/testing/el/6/$basearch
baseurl=https://packagecloud.io/grafana/stable/el/6/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt

There is also testing repository if you want beta or release candidates.

baseurl=https://packagecloud.io/grafana/testing/el/6/$basearch

Install Grafana

$ sudo yum install grafana
Expand Down
3 changes: 2 additions & 1 deletion tasks/options/compress.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = function(config) {
'use strict';

var task = {
release: {
Expand All @@ -10,7 +11,7 @@ module.exports = function(config) {
expand: true,
cwd: '<%= tempDir %>',
src: ['**/*'],
dest: '<%= pkg.name %>/',
dest: '<%= pkg.name %>-<%= pkg.version %>/',
},
{
expand: true,
Expand Down

0 comments on commit 3d8beb9

Please sign in to comment.