– create cloud server
– connect with cli client
– create user:
create user kit with password ‘good password’ with all privileges;
– auth
– create database cooldb
– create user to write data points:
create user dbwriter with password ‘good password’;
grant write on cooldb to dbwriter
– create user to read for graph making
create user dbreader
grant read on cooldb to dbreader
– send test datapoint
curl -X POST ‘https://server.influxcloud.net:8086/write?db=cooldb&u=dbwriter&p=good password’ –data-binary ‘test value=1000’
Tag Archives: config
Telling Yum to Keep a Certain Kernel Version
VPS providers only support a set of kernels. Yum updates can sometimes remove old kernels, which can cause problems if the VPS provider doesn’t support the newer kernels yet. Yum supports pinning a certain kernel, so you can be sure that the system can boot after an upgrade and have an orderly kernel upgrade when the time comes.
From this article:
# prevent yum from deleting old kernel
yumdb set installonly keep kernel-core-3.17.4-301.fc21.x86_64
# allow yum to delete old kernel
yumdb del installonly kernel-core-3.17.4-301.fc21.x86_64
Adding a simple systemd script
/etc/systemd/system/your-new.service:
[Unit]
Description=Your cool new service
[Service]
WorkingDirectory=/where/your/service/lives
ExecStart=/where/your/service/lives/bin/daemon
[Install]
WantedBy=multi-user.target
Setting up new computer notes
I have a i3 config repo on github:
git clone https://github.com/kitwestneat/i3-config.git .i3
setup autostart (not sure if this is necessary)
ln -s ~/.i3/i3.desktop .config/autostart/
pidgin w/ gtalk custom domain:
domain: custom.com
connect server: talk.google.com
clipit is the new parcelite
Xdefaults file
Reload with xrdb ~/.Xdefaults
!URxvt*font: xft:Anonymous Pro:bold:size=10
!urxvt.background: black
urxvt.foreground: white
URxvt*depth: 32
URxvt*background: rgba:0000/0000/0000/dddd
!black
URxvt*color0: #171717
URxvt*color8: #737373
!red
URxvt*color1: #FF5E5E
URxvt*color9: #FF7878
!green
URxvt*color2: #9CE82B
URxvt*color10: #9ACD32
!yellow
URxvt*color3: #F0E68C
URxvt*color11: #EEE8AA
!blue
URxvt*color4: #008AFF
URxvt*color12: #4F98FF
!magenta
URxvt*color5: #E88CFF
URxvt*color13: #EDA6FF
!cyan
URxvt*color6: #87CEFA
URxvt*color14: #B0E2FF
!white
URxvt*color7: #DCDCCC
URxvt*color15: #FFFFFF
URxvt.perl-ext-common: ...,font-size,...
URxvt.keysym.C-Up: perl:font-size:increase
URxvt.keysym.C-Down: perl:font-size:decrease
URxvt.keysym.C-S-Up: perl:font-size:incglobal
URxvt.keysym.C-S-Down: perl:font-size:decglobal
URxvt.iso14755: false
URxvt.iso14755_52: false