Dashcam pi

From INIwiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "Build a Auto DashCam Download the Raspbian buster lite [https://www.raspberrypi.org/downloads/raspbian/ Download Here] Default The default user is '''pi''' and the password ...")

Revision as of 01:50, 8 October 2019

Build a Auto DashCam

Download the Raspbian buster lite Download Here

Default The default user is pi and the password is raspberry

Base Setup

Set keyboard to US from GB

vi /etc/default/keyboard
change gb to us

Update OS

sudo apt-get update
sudo apt-get upgrade -y

Update time

dpkg-reconfigure tzdate

Install additional Packages

apt-get install vim

Update default editor to VIM

Verify Current Editor

ls -lt /etc/alternatives/editor

Update editor

sudo update-alternatives --config editor

Change Password

sudo raspi-config

Change Hostname

sudo raspi-config

Enable SSH access

sudo raspi-config
interface options

Find IP Address

hostname -I

Install Lighttpd

Other Wed Server Options

Verify Apache is not installed

sudo apt-get remove apache2

Install Light Http

sudo apt-get install lighttpd -y

Create default landing page (if needed)

vi /var/www/html/index.html
Add some text "DashCam Build"
Save and Close

Verify it is running by browsing to local IP address

hostname -I

To restart the Wen server

/etc/init.d/lighttpd restart

Install Motion

Need some base packages

sudo apt-get install libjpeg-dev gettext libmicrohttpd-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev libwebp-dev mysql-common libmariadbclient18 libpq5
Personal tools