Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.
/ pg-h.io Public archive

attempting to create a web presence

License

Notifications You must be signed in to change notification settings

silentpete/pg-h.io

Repository files navigation

pg-h.io

Go Report Card

Why pg-h.io?

I work within a linux vagrant box all day long for the most part. I ask programs for help, so this is my help page.

What is the reason for this site?

I have always wanted to help others and I love what I do for work everyday. I would like to basically try to give out anything I've learned in the broad categories of IT, and this will be where I start writing those things out. I also like to continue learning, so this will also be a place where I can attempt to learn more.

Local Development Setup

  1. Create Vagrant Dev Environment, which can be found at:

    https://github.com/silentpete/vagrant-box-process-centos

  2. Edit hosts file

    127.0.0.1 pg-h.io prometheus.pg-h.io alertmanager.pg-h.io blog.pg-h.io cadvisor.pg-h.io grafana.pg-h.io influxdb.pg-h.io node-exporter.pg-h.io
    
  3. Once in Vagrant host, install git

    yum install -y git
    
  4. Git clone repo

    git clone https://github.com/silentpete/pg-h.io.git
    
  5. Run the Prep Script

    ./0-prep-env.sh
    
    • the setup for alertmanager asks for gmail app settings.
  6. Run the Start Script with the DEV switch. This will give nginx a different configuration.

    DEV="nossl." ./1-start-env.sh
    

Linode Setup

I am currently running this site on Linode.com. I am used to working with CentOS 7, so that is the OS for the host I'm writing this for. The host is the minimum template with 1 CPU, 1GB of memory, and 20/25GB of Disk.

  1. Stand up Linode Host and SSH in

  2. Install git

    yum install -y git
    
  3. Git clone repo

    git clone https://github.com/silentpete/pg-h.io.git
    
  4. Run the Prep Script

    ./0-prep-env.sh
    
    • the setup for alertmanager asks for gmail app settings.
  5. Run the Start Script

    ./1-start-env.sh
    

Currently this process takes about 10 minutes, but I have plans to reduce it.

About

attempting to create a web presence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published