Author:
erics, March 16th, 2022
Situation: Newbie mistake, used copy-and-paste to create a script that used variables with the incorrect variable name, then ran chown -R / OUCH Resolution: Since I had aa clone host nearby, I decided to export the remote root fs via NFS, mount it on the fouled nnode, and use find magic to repair. Here are […]
Categories: How-To's, Technology Tags: chown, exportfs, Find, howto, mount, nfs, rpcinfo, service, sudo, tips
|
No comments
Author:
erics, July 15th, 2020
|
sudo chgrp grafana /etc/letsencrypt/archive/www.yourdomain.com/privkey1.pem sudo chmod g+r /etc/letsencrypt/archive/www.yourdomain.com/privkey1.pem sudo vi /etc/grafana/grafana.ini sudo service grafana-server restart |
|
[server] # Protocol (http, https, socket) ;protocol = http protocol = https # https certs & key file ;cert_file = ;cert_key = cert_file = /etc/letsencrypt/archive/www.yourdomain.com/fullchain1.pem cert_key = /etc/letsencrypt/archive/www.yourdomain.com/privkey1.pem |
Categories: How-To's, Technology Tags: cert, certificate, Certs, chgrp, chmod, Enable, Existing, Grafana, Grafana Server, howto, https, LetsEncrypt, Restart, service, ssl, sudo, tips
|
No comments
Author:
erics, July 15th, 2020
|
sudo vi /etc/grafana/grafana.ini sudo service grafana-server restart |
|
#################################### Anonymous Auth ###################### [auth.anonymous] # enable anonymous access ;enabled = false enabled = true # specify organization name that should be used for unauthenticated users ;org_name = Main Org. org_name = yourGrafanaOrgNameHere |
Categories: How-To's, Technology Tags: /etc/grafana/grafana.ini, Access, Anonymous, Anonymous Access, Enable, Enable Anonymous Access, Grafana, Grafana Server, grafana.ini, howto, INI, Restart, sudo, Yips
|
No comments
Author:
erics, August 12th, 2016
sudo /usr/sbin/installer -pkg /path/to/yourFile.pkg -target /
Categories: How-To's, Technology Tags: apple, cli, Command, Command line, howto, Install, installer, macosx, OSX, Package, pkg, sudo, Terminal, tips, Yosemite
|
No comments
Author:
erics, July 28th, 2016
MacOSX 10.6.8 Snow Leopard running on a Mac Pro 2009 8-way After a system crash, using the backup drive, this error started to appear: dyld: shared cached file was build against a different libSystem.dylib, ignoring cache To fix it, execute the following in Terminal: sudo update_dyld_shared_cache -force As always, YMMV!
Categories: How-To's, Technology Tags: 10.6.8, apple, Cache, dyld, dylib, Force, howto, macosx, Shared cached file, Snow Leopard, sudo, tips, update_dyld_shared_cache
|
No comments
Author:
erics, October 7th, 2013
sysctl -p /etc/sysctl.conf
Categories: How-To's, Technology Tags: /etc/sysctl.conf, howto, Linux, root, sudo, sysctl, tips, Ubuntu
|
No comments
Author:
erics, August 3rd, 2011
First use SSH to login as the ec2-user:
|
ssh -i AWSKeyPair.pem ec2-user@{NewHostName} % sudo su - # |
erics@zeus:/Users/erics # ssh -i foo.pem ec2-user@thehost.foo Last login: Tue Nov 19 20:28:19 2013 from foo.bar __| __|_ ) _| ( / Amazon Linux AMI ___|\___|___| https://aws.amazon.com/amazon-linux-ami/2013.09-release-notes/ No packages needed for security; 7 packages available Run “sudo yum update” to apply all updates. [ec2-user@xyz ~]$ sudo su […]
Categories: How-To's, Technology Tags: .pem, AWS, AWSKeyPair, AWSKeyPair.pem, howto, Instance, key, KeyPair, Launch, root, ssh, su, sudo, tips
|
No comments