update
This commit is contained in:
parent
e9a15272a6
commit
36a9f7986d
@ -27,3 +27,18 @@ 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
21
ubuntu/Prometheus.md
Normal 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
|
||||||
|
```
|
||||||
0
vim/templates/=template=.go
Normal file
0
vim/templates/=template=.go
Normal file
29
vim/templates/=template=.vue
Normal file
29
vim/templates/=template=.vue
Normal 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>
|
||||||
Loading…
x
Reference in New Issue
Block a user