Install Turnkey Linux on the Raspberry Pi B
Installing Turnkey Linux on the Raspberry Pi B
Get a copy of Raspbian Wheezy
Getting a copy of Wheezy is a must, this project will not work correctly on Jessie. The newest version of Wheezy at time of writing this is July 2013.
Burn the .img file to your SD card, and fire up your Raspberry Pi.
Next do some initial configuration.
Wait for the raspi-config menu. Once loaded, do the following…
Expand your SD card.
Set your Locale, Time-zone, etc.
In the Advanced menu, set your gpu ram to 16mb.
In the Advanced menu, enable SSH.
In the Overclock menu, bump to Modest, or whatever value you feel comfortable with.
Now Finish, and allow the Raspberry Pi to Reboot.
Set up a Root Password
Set up a root user password by entering the following command.
sudo passwd root
Make sure you pick a strong password. Enter it twice to confirm.
Convert to Turnkey Linux
We are going to need Root access for this.
Clone the git repo to the Raspberry Pi
git clone https://github.com/mortezaPRK/Raspliance-Core /tmp/tkl
Next lets compile the Patch.
Next lets turn TurnKey into a system path.
tklpatch-apply / ./core/
This may take a while… Once complete reboot.
Logging in to Turnkey.
Once the reboot is complete, you will be prompted to login again. Login with
Set up our Network Interfaces.
On the initial install, we will be missing our Network Interfaces. At the prompt enter the following… (Assuming your logged in with root. If not, prefix the following command with ‘sudo’)
This will likely give you a blank file. If you want to use your DHCP Server for the IP address for your Server enter the following…
# UNCONFIGURED INTERFACES auto lo eth0 iface lo inet loopback iface eth0 inet dhcp
If you would like to add a static IP address to your Turnkey server (recommended) enter the following, but set to your networks configuration…
# UNCONFIGURED INTERFACES auto lo eth0 iface lo inet loopback # Set the following to your network settings iface eth0 inet static address 192.168.10.10 netmask 255.255.255.0 broadcast 192.168.10.255 network 192.168.10.0 gateway 192.168.10.1 dns-nameservers 192.168.10.1
When finished, press Ctrl+x, y to conform save and exit. This should set up your Network adapter to work in Turnkey.
Lets give this a reboot, and let the system come up again.
Logging in to Webmin
On initial installation Webmin doesn’t run. We need to start the service. Start your web browser and enter the following URL.
http://(your ip address):4200
You will be prompted for your login information. You can log in with your pi username and password. Once logged in, enter the following.
service webmin start
Once completed, you can now log into the Webmin interface by entering the following in your browser.
http://(your ip address):12321
Now you should be logged into the Webmin panel. Go ahead and have fun!