I'm a total noob on Raspberry Pi's. I was given one as a vExpert gift in VMworld 2016 by Datrium. This was the coolest and nicest gift in my opinion.
Rapsberry Pi 3 Model B is a very capable device - much more than I anticipated. I'm having a lot of fun with it!
Some tips (amazon links are my affiliate links):
You need a good power supply that can give 2.5A at 5V - otherwise you will start seeing problems. I chose this one by Canakit from amazon because it was cheap, on Prime shipping, and well rated, and reviews of a cheaper one said the power block was too big, and this one is a good size.
I installed it on a SD card that I had around, only to find what anyone that manages servers knows - storage speed maters. I just bought a new Samsung EVO+ that had good reviews and a good price. This one had better random write than the Pro series, which is what really should matter for most things. Note that the Raspberry Pi 3 can't take full advantage of UHS so no point in getting a UHS-3 card. This was a great table showing different cards.
I used Rufus with the Raspbian Jessie with PIXEL. PIXEL is a new window manager ( and real nice to be honest). I checked the downloaded file with the SHA-1 signature, unzipped with 7zip and then opened Rufus, browsed to the img file and let it do it's thing, no need to select anything special, it selected DD mode on it's own, etc.
Connected a HDMI monitor, mouse, keyboard, popped SD card in and connected power - it came up quickly and without issues, and immediately you were logged in to a nice GUI.
From the graphical interface I was able to join my WPA wifi network without problems. Of note, SSH is enabled by default. The user is pi with password raspberry.
Once you have internet you should update your linux server. This is debian, so you must use sudo apt-get update && sudo apt-get dist-upgrade to maintain the software with the latest release.
I was able to connect an apple ethernet dongle and it recognized it immediately, and now I can use this device as a small networking router/firewall on two separate subnets (and use wireless as management). Sent the pictures out in a tweet:
https://twitter.com/arielsanchezmor/status/784246876736368640
I wanted to get console access to the Pi - not a separate session through X (MobaTerm did this easily) but the actual console that I would see if I connected the monitor again. There are lots of tutorials out there that recommend installing TightVNC, but RealVNC is now included with Raspbian. It just has to be enabled. I find the raspi-config command and its matching options in the GUI to be a pleasure to usei.
One thing I found where I don't agree with the official instructions is how to prevent the minimal resolution if no HDMI cable is attached. Instead of forcing the HDMI connection (which if at some point later, if you connect a monitor, will conflict) you can change the default console resolution and achieve a similar thing - you just need to un-comment the two lines in /boot/config.txt . In my case, since my smallest laptop is 1366x768, the defaults of 1280x720 work great in full screen mode, and is decent enough from other screens.
You can also install Xming and redirect X from PuTTY, and it may be I use that in the future to disable VNC and save on resources - but since it was included already in Raspbian, I decided to give it a go and it works very well.
As I play more with it, I'll put more articles, but for now, I can open Chromium and practice against an always on Debian like system - great for studying for LFCS (choosing the Ubuntu track).
The only other thing I want to do is install OpenBSD, but from what i've read, some of the Pi3 components are closed source and thus will never make it into the OS. Shame as I was looking to use pf instead of iptables!
No comments:
Post a Comment