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
{ | |
"_comment": "This is the replaced file", | |
"alt-speed-down": 50, | |
"alt-speed-enabled": false, | |
"alt-speed-time-begin": 540, | |
"alt-speed-time-day": 127, | |
"alt-speed-time-enabled": false, | |
"alt-speed-time-end": 1020, | |
"alt-speed-up": 50, | |
"bind-address-ipv4": "0.0.0.0", |
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 chmod 777 -R /media/pi | |
sudo apt-get install apt-transport-https -y | |
curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add - | |
echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list | |
sudo apt-get update -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 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
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
sudo iptables -t nat -I POSTROUTING -d 127.0.0.0/8 -j ACCEPT | |
curl -sL https://install.raspap.com | bash -s -- -y | |
Use this for RASPAP installation | |
Go to Documents folder and: |
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
Raspberry PI | |
sudo nano=gedit visudo | |
After this line [ %sudo ALL=(ALL:ALL) ALL ]- add | |
Add | |
pi ALL=(ALL) NOPASSWD: ALL | |
SUDO APT- GET UPGRADE | |
sudo apt update --allow-releaseinfo-change && sudo apt-get update -y && sudo apt-get upgrade -y --allow-unauthenticated && sudo apt-get dist-upgrade -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 apt install firefox-esr -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 apt-get install samba samba-common-bin -y | |
# sudo nano /etc/samba/smb.conf | |
sudo cp -f smb.conf /etc/samba/smb.conf | |
sudo smbpasswd -a pi | |
sudo service smbd restart |
OlderNewer