This guide is a combination of two sources
https://www.thegeekdiary.com/centos-rhel-7-how-to-configure-serial-getty-with-systemd/
This guide is a combination of two sources
https://www.thegeekdiary.com/centos-rhel-7-how-to-configure-serial-getty-with-systemd/
You can use ssacli
(smart storage administrator command line interface) tool to manage any of supported HP Smart Array Controllers in your Proxmox host without need to reboot your server to access Smart Storage Administrator in BIOS. That means no host downtime when managing your storage.
CLI is not as convenient as GUI interface provided by BIOS or desktop utilities, but still allows you to fully manage your controller, physical disks and logical drives on the fly with no Proxmox host downtime.
ssacli
replaces older hpssacli
, but shares the same syntax and adds support for newer servers and controllers.
#!/usr/bin/env python3.6 | |
''' | |
Pihole is great, but the admin interface only displays device details | |
by IP address which can be confusing. This script changes the display | |
from IP address to a more recognizable hostname. And as a bonus, attaches | |
the profile (from fingerbank.org) of the device to the hostname as well - | |
so instead of something like 192.168.1.101, you see galaxys6-samsung. | |
Shweet. | |
Usage notes |
# prerequisites: | |
## install software | |
apt install mariadb-server libmariadbclient-dev sqlite3 | |
## install mysqlclient in virtualenv | |
su -c 'homeassistant/bin/pip3 install mysqlclient --upgrade' -l homeassistant | |
## create database | |
mysql -e 'CREATE SCHEMA IF NOT EXISTS `hass_db` DEFAULT CHARACTER SET utf8' | |
## create user (use a safe password please) | |
mysql -e "CREATE USER 'hass_user'@'localhost' IDENTIFIED BY 'hass_pw'" | |
mysql -e "GRANT ALL PRIVILEGES ON hass_db.* TO 'hass_user'@'localhost'" |
#! /usr/bin/env python | |
# Copyright (C) 2008-2009 by Guy Rutenberg | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |