This commit is contained in:
light 2019-05-31 00:28:41 +08:00
parent e9a15272a6
commit 36a9f7986d
4 changed files with 66 additions and 1 deletions

View File

@ -26,4 +26,19 @@ npm config get registry
- if old nodejs still exist - if old nodejs still exist
> sudo apt-get purge nodejs > sudo apt-get purge nodejs
### node && yarn
```bash
# yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
sudo yarn global add n
sudo n stable
```

21
ubuntu/Prometheus.md Normal file
View File

@ -0,0 +1,21 @@
# Prometheus
## Prometheus
> https://prometheus.io/docs/prometheus/latest/getting_started/
```bash
tar xvfz prometheus-*.tar.gz
cd prometheus-*
```
## grafana
> https://grafana.com/docs/installation/debian/
```bash
wget https://dl.grafana.com/oss/release/grafana_5.4.2_amd64.deb
sudo apt-get install -y adduser libfontconfig1
sudo dpkg -i grafana_5.4.2_amd64.deb
```

View File

View File

@ -0,0 +1,29 @@
<!--
Copyright © light <light_jiang2015@outlook.com>
2019-05-12-23:48
-->
<style scoped></style>
<template>
<div></div>
</template>
<script>
export default {
components: {},
data() {
return {}
},
computed: {},
watch: {},
props: {},
methods: {},
beforeCreate() {},
created() {},
mounted() {},
beforeDestroy() {},
destroyed() {},
beforeUpdate() {},
updated() {},
activated() {},
deactivated() {}
}
</script>