<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Preparing_RaspberryPI_%28Debian-Wheezy%29_for_Domoticz</id>
	<title>Preparing RaspberryPI (Debian-Wheezy) for Domoticz - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Preparing_RaspberryPI_%28Debian-Wheezy%29_for_Domoticz"/>
	<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Preparing_RaspberryPI_(Debian-Wheezy)_for_Domoticz&amp;action=history"/>
	<updated>2026-09-18T20:44:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.domoticz.com/index.php?title=Preparing_RaspberryPI_(Debian-Wheezy)_for_Domoticz&amp;diff=7576&amp;oldid=prev</id>
		<title>Lectere: /* Tweaking (Optional) */</title>
		<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Preparing_RaspberryPI_(Debian-Wheezy)_for_Domoticz&amp;diff=7576&amp;oldid=prev"/>
		<updated>2016-12-12T17:05:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Tweaking (Optional)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=To prepare a Raspberry PI (Debian/Wheezy) from scratch to run Domoticz=&lt;br /&gt;
&lt;br /&gt;
==Download the Wheezy image==&lt;br /&gt;
&lt;br /&gt;
http://www.raspberrypi.org/downloads&lt;br /&gt;
&lt;br /&gt;
===Unix===&lt;br /&gt;
Follow instructions to prepare an SD-card&lt;br /&gt;
&lt;br /&gt;
http://elinux.org/RPi_Easy_SD_Card_Setup&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
Use the program Win32DiskImager to burn the image to the SD card:&lt;br /&gt;
&lt;br /&gt;
https://sourceforge.net/projects/win32diskimager/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Raspbian images released after 2016-11-25:&amp;#039;&amp;#039;&amp;#039; If You downloaded the latest version of Raspbian and You intend to access it using ssh, enable ssh by creating a file with name &amp;quot;ssh&amp;quot; in boot partition of the SD card.&lt;br /&gt;
&lt;br /&gt;
To login via SSH, you can use the application &amp;#039;Putty&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==Get your Rpi up-and running with this SD card==&lt;br /&gt;
The Raspi-config will start up, perform the following actions:&lt;br /&gt;
&lt;br /&gt;
Option 1. expand Filesystem&lt;br /&gt;
&lt;br /&gt;
Option 2. Change User Password&lt;br /&gt;
&lt;br /&gt;
Option 4. Internationalization options:&lt;br /&gt;
::Option I1. Change Locale: set locale to en_US.UTF-8&lt;br /&gt;
::Option I2. Change Timezone: set to appropriate timezone&lt;br /&gt;
::Option I3. Change Keyboard Layout: Takes a while for the list to appear - stick to the generic layouts unless you have a good reason not to [[Wikipedia:IBM PC keyboard|IBM PC Keyboard]].&lt;br /&gt;
&lt;br /&gt;
Option 8. Advanced Options:&lt;br /&gt;
::Option A3. Memory Split: Set to 16M since we don&amp;#039;t need a graphical environment&lt;br /&gt;
::Option A0. Update&lt;br /&gt;
&lt;br /&gt;
Finish the config tool and reboot.&lt;br /&gt;
 sudo reboot&lt;br /&gt;
&lt;br /&gt;
Give it at least a minute to expand your root filesystem, then continue&lt;br /&gt;
&lt;br /&gt;
==Cleanup==&lt;br /&gt;
Login as &amp;#039;pi&amp;#039; and remove unneeded packages.&lt;br /&gt;
 sudo apt-get remove cups*&lt;br /&gt;
 sudo apt-get remove gnome*&lt;br /&gt;
 sudo apt-get remove x11-common*&lt;br /&gt;
 sudo apt-get autoremove&lt;br /&gt;
&lt;br /&gt;
==Installing updates==&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
 sudo apt-get upgrade&lt;br /&gt;
&lt;br /&gt;
==Add some extra packages==&lt;br /&gt;
 sudo apt-get install git-core subversion screen&lt;br /&gt;
&lt;br /&gt;
Install texteditor &amp;#039;nano&amp;#039;, which is much easier to work with than &amp;#039;vi&amp;#039;.&amp;lt;br&amp;gt;&lt;br /&gt;
 sudo apt-get install nano&lt;br /&gt;
&lt;br /&gt;
==Updating firmware==&lt;br /&gt;
 sudo apt-get install ca-certificates&lt;br /&gt;
 sudo wget &amp;lt;nowiki&amp;gt;http://goo.gl/1BOfJ&amp;lt;/nowiki&amp;gt; -O /usr/bin/rpi-update &amp;amp;&amp;amp; sudo chmod +x /usr/bin/rpi-update&lt;br /&gt;
 sudo rpi-update&lt;br /&gt;
&lt;br /&gt;
And reboot again.&lt;br /&gt;
 sudo reboot&lt;br /&gt;
&lt;br /&gt;
==Options (Optional)==&lt;br /&gt;
===fixed ip-adress===&lt;br /&gt;
 sudo nano /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
 iface eth0 inet static&lt;br /&gt;
 address 10.0.1.10 # &amp;lt;&amp;lt; change to an ip address in your network&lt;br /&gt;
 netmask 255.255.255.0&lt;br /&gt;
 gateway 10.0.1.1 # &amp;lt;&amp;lt; change to your gateway&lt;br /&gt;
&lt;br /&gt;
===Tweaking (Optional)===&lt;br /&gt;
Free up some memory and cpu cycles:&lt;br /&gt;
 sudo nano /etc/inittab &lt;br /&gt;
&lt;br /&gt;
/etc/inittab no longer present in Raspbian Jessie, use;&lt;br /&gt;
  sudo systemctl disable serial-getty@ttyAMA0.service&lt;br /&gt;
&lt;br /&gt;
Find the lines:&lt;br /&gt;
 4:23:respawn:/sbin/getty 38400 tty4&lt;br /&gt;
 5:23:respawn:/sbin/getty 38400 tty5&lt;br /&gt;
 6:23:respawn:/sbin/getty 38400 tty6&lt;br /&gt;
&lt;br /&gt;
 T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And replace &amp;#039;respawn&amp;#039; by &amp;#039;off&amp;#039;&lt;br /&gt;
 4:23:off:/sbin/getty 38400 tty4&lt;br /&gt;
 5:23:off:/sbin/getty 38400 tty5&lt;br /&gt;
 6:23:off:/sbin/getty 38400 tty6&lt;br /&gt;
&lt;br /&gt;
 T0:23:off:/sbin/getty -L ttyAMA0 115200 vt100&lt;br /&gt;
&lt;br /&gt;
And make changes active:&lt;br /&gt;
 sudo telinit q&lt;br /&gt;
&lt;br /&gt;
=Install Domoticz=&lt;br /&gt;
Follow the instructions at:&lt;br /&gt;
[[Installing and running Domoticz on a Raspberry PI]]&lt;br /&gt;
&lt;br /&gt;
==Now backup the SD-card==&lt;br /&gt;
 sudo halt&lt;br /&gt;
&lt;br /&gt;
===Unix===&lt;br /&gt;
Put the card in a Mac or Linux workstation. Find the raw disk device, be very careful not to overwrite your system disk:&lt;br /&gt;
 sudo diskutil umount /dev/disk1s1&lt;br /&gt;
 sudo dd bs=1m if=/dev/rdisk1 of=clean-rpi.img&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
Put the card in a windows workstation, and use the program &amp;#039;Win32DiskImager&amp;#039; again to backup the SD card.&lt;br /&gt;
&lt;br /&gt;
[[Category:Domoticz]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Install]]&lt;br /&gt;
[[Category:Raspberry Pi]]&lt;/div&gt;</summary>
		<author><name>Lectere</name></author>
	</entry>
</feed>