This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#This script is to install grafana server on the raspberry pi | |
#Download the installation file | |
#wget -P /home/pi/Documents/ https://dl.grafana.com/oss/release/grafana_6.4.4_armhf.deb | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo nano /boot/config.txt | |
#then add | |
over_voltage=5 | |
arm_freq=2000 | |
gpu_freq=600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
raspap_dir="/etc/raspap" | |
raspap_user="www-data" | |
version=`sed 's/\..*//' /etc/debian_version` | |
# Determine Raspbian version and set default home location for lighttpd | |
webroot_dir="/var/www/html" | |
if [ $version -eq 10 ]; then | |
version_msg="Raspbian 10.0 (Buster)" | |
php_package="php7.1-cgi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd to Downloads | |
wget https://github.com/wbenny/htop/files/573914/htop_2.0.2-2_armhf.deb.zip && unzip htop_2.0.2-2_armhf.deb.zip && sudo dpkg -i htop_2.0.2-2_armhf.deb | |
IF YOU HAVE TO REPEAT | |
sudo dpkg -i htop_2.0.2-2_armhf.deb | |
htop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana_5.3.2_armhf.deb && sudo dpkg -i grafana_5.3.2_armhf.deb | |
sudo apt-get update && sudo apt-get install grafana -y | |
sudo systemctl enable grafana-server.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Status Board | |
Status in ("To Do", Open) AND issuetype not in (Epic, bug, Sub-task, "Professional Services") AND project in (Skynet, "Toronto Raptors", EC) | |
- | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add repo | |
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - | |
Install | |
sudo apt-get install -y nodejs -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo HOST=192.168.2.30 PORT=8000 crontab-ui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen -R 192.168.2.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# m h dom mon dow command | |
# 0 6 * * * bash /home/pi/Documents/router_restart.py && date >> /home/pi/Music/samplefile.txt | |
# 0 6 * * * python /home/pi/Documents/router_restart.py && date >> /home/pi/Music/samplefile.txt | |
1 * * * * date >> /home/pi/Music/samplefile.txt | |
#Option1 | |
0 6 * * * bash -c 'python /home/pi/Documents/router_restart.py && date >> /home/pi/Music/samplefile.txt' |
OlderNewer