could a beginner set up a mail server, and web hosting, using just the terminal?

9 risposte [Ultimo contenuto]
muhammed
Offline
Iscritto: 04/13/2013

A single-board computer like the Raspberry Pi seems like a good way to do this, because those don't cost too much, and consume little electricity.

But single-board computers demand proprietary software to use GUIs, right? I think that they can be used freely with the command line (is this different from the terminal in a GUI system?).

Do you think I could set up a mail server and hosting for a domain that I own, without stressing myself out?

Michał Masłowski

I am a member!

I am a translator!

Offline
Iscritto: 05/15/2010

> But single-board computers demand proprietary software to use GUIs,
> right? I think that they can be used freely with the command line (is
> this different from the terminal in a GUI system?).

Not true. RPi needs nonfree software to boot and run any software on
its ARM CPU, there are other computers listed at
https://www.fsf.org/resources/hw/single-board-computers that need it
only for 3d acceleration. A free distribution should be able to support
GUI on them without including such nonfree software. (There is a
partially related issue of no free distro supporting ARM yet.)

I don't believe a GUI would help in case of a mail server, it needs
mostly running some simple commands and editing text files.

> Do you think I could set up a mail server and hosting for a domain
> that I own, without stressing myself out?

Possibly yes, if you can spend enough time to learn it. Stress depends
on people, configuring a mail server was less stressing for me than
writing mail.

leny2010

I am a member!

I am a translator!

Offline
Iscritto: 09/15/2011

By the time you've paid for all the things you need in addition to the single board (e.g. SD card and power supply) you will have spent more than the cost of a second hand x86 / x86_64 netbook. Which will give you the added advantages of larger disk, WiFi (test it first) and a battery for a kind of UPS.

Then you can install and run those services and more from the command line by doing a Trisquel text mode install with just the console environment (+ SSH is an idea). Use the Ubuntu Server Guide for the appropriate release for your instructions.

muhammed
Offline
Iscritto: 04/13/2013

Thanks! I'll check out the Ubuntu Server Guide

Darksoul71
Offline
Iscritto: 01/04/2012

If you buy a package, you usually can get a Raspi plus case plus SD card and power supply for below 60€. Also a Raspi only sucks up to a 10W of power. Show me a used netbook / PC which runs at this power consumption. Raspi is defenitly not fully free but has several advantages over a "normal PC".

Setting up a mail server and other typical Linux services under a pure console is equally "hard". Be it a raspi or a x86 PC.

lloydsmart

I am a member!

Offline
Iscritto: 12/22/2012

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I'm in the process of writing a tutorial on setting up your own mail server using Trisquel. Hope to have it up on the Trisquel wiki soon.

I don't know about SBCs, though. They seem like a great idea, but we need one that will work in freedom.

Having said that, it is completely possible, and in fact advisable, to set up what you asked for without a GUI, so one of those boards that can be run in freedom except for the graphics acceleration would be suitable. You couldn't run Trisquel on it, because Trisquel doesn't provide binaries for ARM, but there may be ways to use other distributions freely.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iF4EAREIAAYFAlIP41oACgkQgijxUCZnvlvIwgD8CL3VzSrssluqxUzHtZX5SSps
aU8wCqAL6RxGxRm6EjEA/2KmUUau4IxNAMwcnExQrbrBK5LubGD2sqK5TzbVz8LZ
=4lOA
-----END PGP SIGNATURE-----

a_slacker_here
Offline
Iscritto: 06/29/2013

Thank you a lot Lloydsmart for the tutorial you are writting.

Please, could you put examples of good server machines that runs entirely with free software?

Thank you again.

lembas
Offline
Iscritto: 05/13/2010

>Please, could you put examples of good server machines that runs entirely with free software?

That's probably another tutorial! :)

Here's some info on that http://www.fsf.org/resources/hw

Note that some of the motherboards supported by coreboot may still require proprietary CPU microcode; you will need to do additional research to avoid that.

muhammed
Offline
Iscritto: 04/13/2013

Thanks Lloyd; I look forward to reading your tutorial as well.

Andresm

I am a member!

Offline
Iscritto: 11/21/2010

lloydsmart I am looking forward to try your tutorial out. thank you!