- Edit
/etc/default/keyboard
XKBLAYOUT="us"
- Localisation Options
- Change Locale
- Unset en_GB
- Set en_US.UTF-8 UTF-8
- Change Timezone
- Change Locale
- Interfacing Options
- Enable ssh
- Advanced Options
- Expand Filesystem
allow-hotplug wlan0
iface wlan0 inet dhcp
## static ip address example
#iface eth0 inet static
#address 192.168.1.142
#netmask 255.255.255.0
#gateway 192.168.1.1
#broadcast 192.168.1.255
#network 192.168.1.0
#dns-nameservers 192.168.1.249
# WiFi
wpa-ssid ******
wpa-psk ******
# example settings
domain w3pmu.com
search w3pmu.com
nameserver 192.168.0.56
ip address
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ca-certificates
sudo nano /etc/kbd/config
BLANK_TIME=0
BLANK_DPMS=off
POWERDOWN_TIME=0
Network Time Protocol NTP is used to synchronize the computer's time clock with reference time server.
- Reference: Install and Configure NTP in Debian
- Reference: NIST Internet Time Servers
# Install NTP
sudo apt-get install ntp ntpdate -y
# Optionally modify the time servers and other ntp options
sudo nano /etc/ntp.conf
# Apply configuration changes
sudo dpkg-reconfigure ntp
# Check
sudo ntpd --version
sudo ntpq -p
sudo service ntp status
sudo apt-get install htop
Pre-cleaning is optional. It should be done before we build and install any software without the aptitude package manager.
# remove previous python versions
sudo apt-get purge python
# Install Git prerequisites
sudo apt-get install build-essential gettext libssl-dev libcurl4-openssl-dev libexpat1-dev tk-dev asciidoc xz-utils -y
# sudo apt-get install docbook2x unzip -y
# Change to Home folder
cd ~
# Get git
wget https://www.kernel.org/pub/software/scm/git/git-2.13.3.tar.gz
tar -xzvf git-2.13.3.tar.gz
cd git-2.13.3
# Make Git and Install
make prefix=/usr/local all
# make prefix=/usr/local all doc info
sudo make prefix=/usr/local install all
# sudo make prefix=/usr/local install all install-doc install-html install-info
# Test Git
git -–version
# For gogs 'git' user:
# sudo adduser --disabled-login --gecos 'Gogs' git
# For simple 'git' user:
sudo adduser --disabled-login git
sudo -u git -H mkdir /home/git/.ssh
sudo -u git -H vi /home/git/.ssh/authorized_keys
# Server sied Git Repository Initialization
# sudo git init /opt/git/MyRepoExample.git --share --bare
# SSH Clients need to do this:
ssh-keygen
# Append the contents from ~/.ssh/id_rsa.pub to the server's authorized_keys file.
# remove previous python versions
sudo apt-get purge python
# Python 2
cd ~/
wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz
tar -xvf Python-2.7.13.tar.xz
cd Python-2.7.13
./configure
make
sudo make install
python2 --version
# Python 3
cd ~/
wget https://www.python.org/ftp/python/3.6.2/Python-3.6.2.tar.xz
tar -xvf Python-3.6.2.tar.xz
cd Python-3.6.2
./configure
make
sudo make install
python3 --version
# now check to see the default python version
sudo reboot
python --version
GUI installation instructions are derived from the procedure described in: GUIDE Raspbian Lite with LXDE/XFCE/MATE/Openbox GUI
sudo apt-get install xserver-xorg
sudo apt-get install xinit x11-xserver-utils xorg
## Raspbian: if physical mouse and keyboard no longer working apt-get install xserver-xorg-input-evdev
sudo reboot
# Raspbian PIXEL instead of LXDE
sudo apt-get install raspberrypi-ui-mods
sudo reboot
Optionally configure autologin for simplified remote control.
sudo nano /etc/lightdm/lightdm.conf
autologin-user=theusername
autologin-user-timeout=0
sudo dpkg-reconfigure lightdm
sudo apt-get install x11vnc
sudo apt-get install lxterminal leafpad clipit -y
sudo apt-get install freerdp-x11
Jul 28, 2017 updated by //AJ