This repository contains scripts to configure Raspian and Snort project as follows:
- Raspain - one bash scripts for installing and configuring.
- RaspianConfig.sh
- Python3_x.sh
At the time of creation, RaspianConfig.sh script was designed be executed without any paramenters. I tried to make the scripts, also work as versions change, so I allowed passing parameters.
Configuration as follows:
- change password
- set timezone
- configure bluetooth serial connection
- set keyboard locale
- update the Raspian O/S
- setup serial bluetooth
$ wget https://raw.githubusercontent.com/PHuhn/RaspberryPI/master/RaspianConfig.sh
$ chmod 755 RaspianConfig.sh
$ ./RaspianConfig.sh -h
Usage: ./RaspianConfig.sh [options]
-h this help text.
-c country code, default value: US
-t timezone code, default value: michigan
-s serial bluetooth, default value: false
Example: ./RaspianConfig.sh -c canada -t eastern
$ ./RaspianConfig.sh -s true
Download and install updated version of python. Including:
- pip
- gpio
- pyodbc
This will NOT install a python version that is already installed. To overwrite use the force option. If you do not want general purpose I/O (GPIO) use the false GPIO option. If you do want ODBC use the true ODBC option.
$ wget https://raw.githubusercontent.com/PHuhn/RaspberryPI/master/Python3_x.sh
$ chmod 755 Python3_x.sh
$ ./Python3_x.sh -h
Usage: ./Python3_x.sh [options]
-h this help text.
-p python version, default value: 3.7.2
-f force python, default value: false
-l link python3, default value: false
-g install GPIO, default value: true
-o install ODBC, default value: false
Example: ./Python3_x.sh -p 3.8.0a2 -o true -l true
$ ./Python3_x.sh
Good luck, Phil