Install scripts to modify a base Raspbian image.
Optimized for Singapore users:
- apt-mirror
- timezone
- ntp
- RPI3
- RPI-ZERO
Official Raspbian download page
- Raspbian Jessie
- Raspbian Stretch Lite ( Preferred )
- Raspbian Stretch with Desktop
- General Settings:
- Keyboard
- Locale
- Timezone
- Essentials:
- Image Versioning
- Serial Number
- NTP
- Admin User
- Generic User Group
- Networking ( Wireless, Ethernet )
- Bonuses:
- Hardening ( Fail2ban, UFW, Disable
pi
androot
Users, SSH Pubkey Authentication ) - Slack Alerts ( Bootup, SSH Login )
- Hardening ( Fail2ban, UFW, Disable
- Clone repository to your machine.
- Prepare SD card written with downloaded image. HOWTO
- Plug the prepared SD card into your computer. It should appear as a
boot
removable drive. Create a empty filessh
in the boot folder and eject. - Boot RPI with SD card and plug in an ethernet cable. Get the ip address via your router's admin webpage and ssh in with
ssh pi@{IP_ADDRESS}
, pw:raspberry
. - Configure and set
setup.conf
.INSTALL_DIR
must strictly match the location which the directory will be copied to on the RPI. - Copy folder to the RPI path matching the setting of
INSTALL_DIR
. Suggested command:scp -r LOCAL_DIR_PATH pi@192.168.6.2:/root/DIR_NAME
. - Login with
pi
user and change to theroot
user withsudo su
( vulnerability will be removed during build ). - Navigate to the directory and make setup script executable with
chmod +x setup
. - Execute
./setup
.