Ready-to-use image with no graphic interface and SSH on
#1
Hi there,

Here's the thing. I just received my Pine64 but only a few weeks after the only screen I had died (and my finances aren't in the mood for buying a new screen just now).
I just wanted to get a Pine to use it as a server and host some stuff on it anyway, so I'd like to know if there's any image available with just minimal setup, no graphic and SSH turned on so I can just boot my Pine on it and administrate it through SSH. And if there's no such image, is there some resources available somewhere on how to create one?

Thanks  Smile
#2
Hi,

Yes, there is a such thing. I have two Pine's running. The first has Mate and does the desktop while the second is a minimal build used strictly for Python coding. The best place to find the various images is at Pine64 Pro: https://www.pine64.pro/getting-started-linux/

As an FYI, my preference is for Lenny's Debian builds. (You would want "Debian Base") Once you create the image, be sure to update uboot, update the kernel and then run resize FS.
#3
Oh, I actually already visited this page but didn't get that SSH was turned on by default. I'll go try this out right now, thanks!
#4
You can also use longsleep's build if you like Ubuntu : http://forum.pine64.org/showthread.php?tid=376
I have been using it as server for a while now and it is great.
#5
Thanks people, everything is working fine Smile
#6
I installed the image, bit it won't run without some display attached to HDMI :-(
#7
Hmm. The display connection was just a coincidence. The pine64s (or the debian?) have actually some problem activating ethernet port or detecting carrier - or maybe they just do not like my cables and/or switches?
#8
Using the ubuntu image should be fine with no graphical interface.

on first boot just run the commands:
sudo systemctl stop graphical.target
sudo systemctl disable graphical.target
sudo systemctl set-default multi-user.target <- stops systemd from initializing the system as gui

1st one stops the GUI, 2nd one makes it stop loading at boot <- it isn't needed to turn it off - but who wants to waste cpu cycles on a gui you aren'y using.

to reverse
sudo systemctl enable graphical.target && sudo systemctl reboot

^^ some distros and GUIs don't like it when you try to load the gui mid session - so this command just saves it for reboot and reboots
__________________________________________________________________

the image defaults to 192.168.1.11 on my net - for instance trying to boot two newly imaged pine64's causes havoc on my net - so I boot one, set it to statically be on some open ip on my network - restart and add the next-- one repeat

I believe you can decompress the image - mount it on your system. go into rootfs etc > network > interfaces.d > eth0

and set it up for your subnet and specs - by default it is dhcp

Also I had a problem (though i forgot what it was) with the image that was on pine64's official download page so make sure you downoad the image linked below - the one that is hosted by longsleep

https://www.stdin.xyz/downloads/people/l...es/ubuntu/

EDIT: I messed up and had to edit how systemd loads the gui
#9
Armbian is the one you're looking for: http://www.armbian.com/pine64/

SSH On by default
Lightweight
No display required
#10
(10-08-2016, 08:36 AM)lovenemesis Wrote: Armbian is the one you're looking for: http://www.armbian.com/pine64/

SSH On by default
Lightweight
No display required

DietPi is another good option. Both DietPi and Armbian are perfect for headless / SSH boxes, and are both well configured out of the box. DietPi is nicer if you want a GUI later, as you can easily install your preferred desktop environment from the DietPi launcher. Longsleeps Ubuntu build is the other one I'd recommend - I don't know off the top of my head if SSH is enabled out of the box but I would suspect it is.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Gentoo Linux test image xalius 23 52,834 01-28-2019, 11:05 PM
Last Post: necrose99
  Found this fully working RASPBIAN Image that boots to desktop speedro86 21 32,300 10-07-2017, 10:06 PM
Last Post: speedro86
  eta linux image?? firosiro 1 4,547 08-03-2017, 10:05 PM
Last Post: pfeerick
Big Grin Docker image based on gentoo crossdev arm64 and distcc uulaoba 0 3,269 11-19-2016, 09:34 AM
Last Post: uulaoba
  Creating a complete linux image yuvgin 2 5,711 09-14-2016, 10:00 AM
Last Post: tkaiser
  How to boot alternative kernel image with u-boot? zhouer 3 7,586 06-27-2016, 04:15 AM
Last Post: ssvb
  Making a Ubuntu Server image for SD Card insignia96 3 7,302 04-06-2016, 09:46 PM
Last Post: insignia96
  1st Debian image and further information umiddelb 13 23,606 03-04-2016, 02:08 AM
Last Post: umiddelb
  ETA Linux image? psypro 0 2,994 02-08-2016, 11:37 AM
Last Post: psypro

Forum Jump:


Users browsing this thread: 3 Guest(s)