public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] gentoo for a virtual server in the cloud?
@ 2022-03-18 18:45 n952162
  0 siblings, 0 replies; 14+ messages in thread
From: n952162 @ 2022-03-18 18:45 UTC (permalink / raw
  To: gentoo-user

I rent a low-cost virtual server in the cloud.  The platform offers me
some choices in linux distributions, but I'm wondering if I can compile
gentoo to run on it.  Anybody have experience doing this?



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [gentoo-user] gentoo for a virtual server in the cloud?
@ 2022-03-18 19:03 n952162
  2022-03-18 19:22 ` tastytea
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: n952162 @ 2022-03-18 19:03 UTC (permalink / raw
  To: gentoo-user

I rent a low-cost virtual server in the cloud.  The platform offers me
some choices in linux distributions, but I'm wondering if I can compile
gentoo to run on it.  Anybody have experience doing this?





^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] gentoo for a virtual server in the cloud?
  2022-03-18 19:03 n952162
@ 2022-03-18 19:22 ` tastytea
  2022-03-18 19:29   ` Raphael Mejias Dias
  2022-03-18 19:40 ` Matthias Hanft
  2022-03-18 20:57 ` Grant Taylor
  2 siblings, 1 reply; 14+ messages in thread
From: tastytea @ 2022-03-18 19:22 UTC (permalink / raw
  To: gentoo-user

On 2022-03-18 20:03+0100 n952162 <n952162@web.de> wrote:

> I rent a low-cost virtual server in the cloud.  The platform offers me
> some choices in linux distributions, but I'm wondering if I can
> compile gentoo to run on it.  Anybody have experience doing this?

If the platform offers you access to the VGA output via VNC or whatever
and lets you mount an ISO in a virtual DVD drive, it pretty much works
like any other Gentoo install.

Another option is to shrink your filesystem and partition, make a new
partition and install Gentoo from the old install.

You could also try to make Grub boot into an ISO in your /boot
partition. If you don't have access to the VGA output, you could try to
find a ISO that starts an SSH server automatically and lets you set the
password via the kernel cmdline.

Kind regards, tastytea


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] gentoo for a virtual server in the cloud?
  2022-03-18 19:22 ` tastytea
@ 2022-03-18 19:29   ` Raphael Mejias Dias
  2022-03-18 19:52     ` Ralph Seichter
  0 siblings, 1 reply; 14+ messages in thread
From: Raphael Mejias Dias @ 2022-03-18 19:29 UTC (permalink / raw
  To: Gentoo User

[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]

On Fri, Mar 18, 2022 at 4:22 PM tastytea <gentoo@tastytea.de> wrote:

> On 2022-03-18 20:03+0100 n952162 <n952162@web.de> wrote:
>
> > I rent a low-cost virtual server in the cloud.  The platform offers me
> > some choices in linux distributions, but I'm wondering if I can
> > compile gentoo to run on it.  Anybody have experience doing this?
>
> If the platform offers you access to the VGA output via VNC or whatever
> and lets you mount an ISO in a virtual DVD drive, it pretty much works
> like any other Gentoo install.
>
> Another option is to shrink your filesystem and partition, make a new
> partition and install Gentoo from the old install.
>
> You could also try to make Grub boot into an ISO in your /boot
> partition. If you don't have access to the VGA output, you could try to
> find a ISO that starts an SSH server automatically and lets you set the
> password via the kernel cmdline.
>
> Kind regards, tastytea
>
I've read this question and now I'm curious about how much it would cost to
compile a Gentoo system into cloud. Anyone know this?

Regards, Raphael

[-- Attachment #2: Type: text/html, Size: 2455 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] gentoo for a virtual server in the cloud?
  2022-03-18 19:03 n952162
  2022-03-18 19:22 ` tastytea
@ 2022-03-18 19:40 ` Matthias Hanft
  2022-03-18 19:53   ` n952162
  2022-03-18 20:57 ` Grant Taylor
  2 siblings, 1 reply; 14+ messages in thread
From: Matthias Hanft @ 2022-03-18 19:40 UTC (permalink / raw
  To: gentoo-user

n952162 schrieb:
> I rent a low-cost virtual server in the cloud.  The platform offers me
> some choices in linux distributions, but I'm wondering if I can compile
> gentoo to run on it.  Anybody have experience doing this?

Yes.  I have a Remote Console using a Java Applet (via VPN) where I can
select an ISO image on my local disk (also for boot).  So the Gentoo
installation was just as straight forward as at home - no problem.

The prerequisite is, of course, that the provider does offer a Remote
Console and the ISO option.  I was lucky enough :-)

-Matt


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] gentoo for a virtual server in the cloud?
  2022-03-18 19:29   ` Raphael Mejias Dias
@ 2022-03-18 19:52     ` Ralph Seichter
  0 siblings, 0 replies; 14+ messages in thread
From: Ralph Seichter @ 2022-03-18 19:52 UTC (permalink / raw
  To: gentoo-user

* Raphael Mejias Dias:

> I've read this question and now I'm curious about how much it would
> cost to compile a Gentoo system into cloud. Anyone know this?

The cheapest Gentoo VMs of mine are based on Hetzner's CX11 [1] which
cost 3,49 EUR per month (plus VAT, but no setup fees). Gentoo can be
installed by booting Hetzner's custom "rescue image" Linux which comes
will full network support, which is all that is required.

[1] https://www.hetzner.com/cloud?country=ot

Disclaimer: I have no affiliation with Hetzner beyond having used their
services for more than 15 years.

-Ralph


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] gentoo for a virtual server in the cloud?
  2022-03-18 19:40 ` Matthias Hanft
@ 2022-03-18 19:53   ` n952162
  2022-03-18 20:16     ` tastytea
  2022-03-19  8:08     ` Matthias Hanft
  0 siblings, 2 replies; 14+ messages in thread
From: n952162 @ 2022-03-18 19:53 UTC (permalink / raw
  To: gentoo-user

On 3/18/22 20:40, Matthias Hanft wrote:
> n952162 schrieb:
>> I rent a low-cost virtual server in the cloud.  The platform offers me
>> some choices in linux distributions, but I'm wondering if I can compile
>> gentoo to run on it.  Anybody have experience doing this?
> Yes.  I have a Remote Console using a Java Applet (via VPN) where I can
> select an ISO image on my local disk (also for boot).  So the Gentoo
> installation was just as straight forward as at home - no problem.
>
> The prerequisite is, of course, that the provider does offer a Remote
> Console and the ISO option.  I was lucky enough :-)
>
> -Matt
>

You booted the minimal install ISO and went through the steps of
partitioning the disk, network, etc?

I was thinking that there were special drivers necessary for the virtual
devices offered by the platform.  Maybe even proprietary....

Maybe I don't understand it correctly.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] gentoo for a virtual server in the cloud?
  2022-03-18 19:53   ` n952162
@ 2022-03-18 20:16     ` tastytea
  2022-03-18 20:41       ` n952162
  2022-03-19  8:08     ` Matthias Hanft
  1 sibling, 1 reply; 14+ messages in thread
From: tastytea @ 2022-03-18 20:16 UTC (permalink / raw
  To: gentoo-user

On 2022-03-18 20:53+0100 n952162 <n952162@web.de> wrote:

> On 3/18/22 20:40, Matthias Hanft wrote:
> > n952162 schrieb:  
> >> I rent a low-cost virtual server in the cloud.  The platform
> >> offers me some choices in linux distributions, but I'm wondering
> >> if I can compile gentoo to run on it.  Anybody have experience
> >> doing this?  
> > Yes.  I have a Remote Console using a Java Applet (via VPN) where I
> > can select an ISO image on my local disk (also for boot).  So the
> > Gentoo installation was just as straight forward as at home - no
> > problem.
> >
> > The prerequisite is, of course, that the provider does offer a
> > Remote Console and the ISO option.  I was lucky enough :-)
> >
> > -Matt
> >  
> 
> You booted the minimal install ISO and went through the steps of
> partitioning the disk, network, etc?
> 
> I was thinking that there were special drivers necessary for the
> virtual devices offered by the platform.  Maybe even proprietary....
> 
> Maybe I don't understand it correctly.

Most providers just use the virtualization that is built into the Linux
kernel, the same QEMU/KVM that you can setup yourself with libvirt. You
need to select some VIRTIO drivers but that's about the only difference
to a “normal” system. As far as I know sys-kernel/gentoo-kernel{,-bin}
has everything needed built in.

See also <https://wiki.gentoo.org/wiki/QEMU/Linux_guest#Guest>.


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] gentoo for a virtual server in the cloud?
  2022-03-18 20:16     ` tastytea
@ 2022-03-18 20:41       ` n952162
  0 siblings, 0 replies; 14+ messages in thread
From: n952162 @ 2022-03-18 20:41 UTC (permalink / raw
  To: gentoo-user

On 3/18/22 21:16, tastytea wrote:
> On 2022-03-18 20:53+0100 n952162 <n952162@web.de> wrote:
>
>> On 3/18/22 20:40, Matthias Hanft wrote:
>>> n952162 schrieb:
>>>> I rent a low-cost virtual server in the cloud.  The platform
>>>> offers me some choices in linux distributions, but I'm wondering
>>>> if I can compile gentoo to run on it.  Anybody have experience
>>>> doing this?
>>> Yes.  I have a Remote Console using a Java Applet (via VPN) where I
>>> can select an ISO image on my local disk (also for boot).  So the
>>> Gentoo installation was just as straight forward as at home - no
>>> problem.
>>>
>>> The prerequisite is, of course, that the provider does offer a
>>> Remote Console and the ISO option.  I was lucky enough :-)
>>>
>>> -Matt
>>>
>> You booted the minimal install ISO and went through the steps of
>> partitioning the disk, network, etc?
>>
>> I was thinking that there were special drivers necessary for the
>> virtual devices offered by the platform.  Maybe even proprietary....
>>
>> Maybe I don't understand it correctly.
> Most providers just use the virtualization that is built into the Linux
> kernel, the same QEMU/KVM that you can setup yourself with libvirt. You
> need to select some VIRTIO drivers but that's about the only difference
> to a “normal” system. As far as I know sys-kernel/gentoo-kernel{,-bin}
> has everything needed built in.
>
> See also <https://wiki.gentoo.org/wiki/QEMU/Linux_guest#Guest>.
>

Good link, thank  you.




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] gentoo for a virtual server in the cloud?
  2022-03-18 19:03 n952162
  2022-03-18 19:22 ` tastytea
  2022-03-18 19:40 ` Matthias Hanft
@ 2022-03-18 20:57 ` Grant Taylor
  2022-03-21  2:29   ` Matt Connell
  2 siblings, 1 reply; 14+ messages in thread
From: Grant Taylor @ 2022-03-18 20:57 UTC (permalink / raw
  To: gentoo-user

On 3/18/22 1:03 PM, n952162 wrote:
> I rent a low-cost virtual server in the cloud.  The platform offers 
> me some choices in linux distributions, but I'm wondering if I can 
> compile gentoo to run on it.  Anybody have experience doing this?

I've got a Gentoo image running in Linode without any problem.

I'm fairly certain that they offer Gentoo as an option when creating the 
VPS.  It's been too long and I've messed with too many things since then.



-- 
Grant. . . .
unix || die


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] gentoo for a virtual server in the cloud?
  2022-03-18 19:53   ` n952162
  2022-03-18 20:16     ` tastytea
@ 2022-03-19  8:08     ` Matthias Hanft
  2022-03-19  9:53       ` n952162
  1 sibling, 1 reply; 14+ messages in thread
From: Matthias Hanft @ 2022-03-19  8:08 UTC (permalink / raw
  To: gentoo-user

n952162 wrote:
> 
> You booted the minimal install ISO and went through the steps of
> partitioning the disk, network, etc?

Yes.  Exactly the same way as I did for my server at home.

> I was thinking that there were special drivers necessary for the virtual
> devices offered by the platform.  Maybe even proprietary....

Not in my case.  The provider uses VMware for his virtual servers,
and Gentoo didn't need any special drivers or something.

Here's the output of "lspci":

--- cut here ---

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10)
00:0f.0 VGA compatible controller: VMware SVGA II Adapter
00:10.0 SCSI storage controller: Broadcom / LSI 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
00:11.0 PCI bridge: VMware PCI bridge (rev 02)
00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01)
[the same for 00:15.0..7, 00:16.0..7, 00:17.0..7, and 00:18.0..7]
02:00.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)

--- cut here ---

Gentoo could handle all this just out of the box.

-Matt


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] gentoo for a virtual server in the cloud?
  2022-03-19  8:08     ` Matthias Hanft
@ 2022-03-19  9:53       ` n952162
  2022-03-19 17:57         ` Jeremy Hendricks
  0 siblings, 1 reply; 14+ messages in thread
From: n952162 @ 2022-03-19  9:53 UTC (permalink / raw
  To: gentoo-user

:thumbsup:  Thank you.

On 3/19/22 09:08, Matthias Hanft wrote:
> n952162 wrote:
>> You booted the minimal install ISO and went through the steps of
>> partitioning the disk, network, etc?
> Yes.  Exactly the same way as I did for my server at home.
>
>> I was thinking that there were special drivers necessary for the virtual
>> devices offered by the platform.  Maybe even proprietary....
> Not in my case.  The provider uses VMware for his virtual servers,
> and Gentoo didn't need any special drivers or something.
>
> Here's the output of "lspci":
>
> --- cut here ---
>
> 00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01)
> 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
> 00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
> 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
> 00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
> 00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10)
> 00:0f.0 VGA compatible controller: VMware SVGA II Adapter
> 00:10.0 SCSI storage controller: Broadcom / LSI 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
> 00:11.0 PCI bridge: VMware PCI bridge (rev 02)
> 00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01)
> [the same for 00:15.0..7, 00:16.0..7, 00:17.0..7, and 00:18.0..7]
> 02:00.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)
>
> --- cut here ---
>
> Gentoo could handle all this just out of the box.
>
> -Matt
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] gentoo for a virtual server in the cloud?
  2022-03-19  9:53       ` n952162
@ 2022-03-19 17:57         ` Jeremy Hendricks
  0 siblings, 0 replies; 14+ messages in thread
From: Jeremy Hendricks @ 2022-03-19 17:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1890 bytes --]

If you want to save time (and probably money), compile packages into binary
packages on another server and set the virtual server to only use binary.

On Sat, Mar 19, 2022 at 5:51 AM n952162 <n952162@web.de> wrote:

> :thumbsup:  Thank you.
>
> On 3/19/22 09:08, Matthias Hanft wrote:
> > n952162 wrote:
> >> You booted the minimal install ISO and went through the steps of
> >> partitioning the disk, network, etc?
> > Yes.  Exactly the same way as I did for my server at home.
> >
> >> I was thinking that there were special drivers necessary for the virtual
> >> devices offered by the platform.  Maybe even proprietary....
> > Not in my case.  The provider uses VMware for his virtual servers,
> > and Gentoo didn't need any special drivers or something.
> >
> > Here's the output of "lspci":
> >
> > --- cut here ---
> >
> > 00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host
> bridge (rev 01)
> > 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP
> bridge (rev 01)
> > 00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
> > 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
> > 00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
> > 00:07.7 System peripheral: VMware Virtual Machine Communication
> Interface (rev 10)
> > 00:0f.0 VGA compatible controller: VMware SVGA II Adapter
> > 00:10.0 SCSI storage controller: Broadcom / LSI 53c1030 PCI-X Fusion-MPT
> Dual Ultra320 SCSI (rev 01)
> > 00:11.0 PCI bridge: VMware PCI bridge (rev 02)
> > 00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01)
> > [the same for 00:15.0..7, 00:16.0..7, 00:17.0..7, and 00:18.0..7]
> > 02:00.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet
> Controller (Copper) (rev 01)
> >
> > --- cut here ---
> >
> > Gentoo could handle all this just out of the box.
> >
> > -Matt
> >
>
>

[-- Attachment #2: Type: text/html, Size: 2391 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-user] gentoo for a virtual server in the cloud?
  2022-03-18 20:57 ` Grant Taylor
@ 2022-03-21  2:29   ` Matt Connell
  0 siblings, 0 replies; 14+ messages in thread
From: Matt Connell @ 2022-03-21  2:29 UTC (permalink / raw
  To: gentoo-user

On Fri, 2022-03-18 at 14:57 -0600, Grant Taylor wrote:
> I've got a Gentoo image running in Linode without any problem.
> 
> I'm fairly certain that they offer Gentoo as an option when creating
> the VPS.  It's been too long and I've messed with too many things
> since then.

They do.  I have happily run a Gentoo Linode VM for years now.



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-03-21  2:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-18 18:45 [gentoo-user] gentoo for a virtual server in the cloud? n952162
  -- strict thread matches above, loose matches on Subject: below --
2022-03-18 19:03 n952162
2022-03-18 19:22 ` tastytea
2022-03-18 19:29   ` Raphael Mejias Dias
2022-03-18 19:52     ` Ralph Seichter
2022-03-18 19:40 ` Matthias Hanft
2022-03-18 19:53   ` n952162
2022-03-18 20:16     ` tastytea
2022-03-18 20:41       ` n952162
2022-03-19  8:08     ` Matthias Hanft
2022-03-19  9:53       ` n952162
2022-03-19 17:57         ` Jeremy Hendricks
2022-03-18 20:57 ` Grant Taylor
2022-03-21  2:29   ` Matt Connell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox