• [gentoo-user] gentoo for a virtual server in the cloud?

    From n952162@21:1/5 to All on Fri Mar 18 19:50:01 2022
    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From n952162@21:1/5 to All on Fri Mar 18 20:10:01 2022
    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Raphael Mejias Dias@21:1/5 to gentoo@tastytea.de on Fri Mar 18 20:40:01 2022
    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

    <div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace"><span class="gmail_default"></span><span style="font-family:Arial,Helvetica,sans-serif">On Fri, Mar 18, 2022 at 4:22 PM tastytea &lt;<a href="
    mailto:gentoo@tastytea.de">gentoo@tastytea.de</a>&gt; wrote:</span><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2022-03-18 20:03+0100
    n952162 &lt;<a href="mailto:n952162@web.de" target="_blank">n952162@web.de</a>&gt; wrote:<br>

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

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

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

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

    Kind regards, tastytea<br></blockquote><div><span class="gmail_default" style="font-family:monospace,monospace"></span></div><div><span style="font-family:monospace,monospace"><span class="gmail_default" style="font-family:monospace,monospace"></span>I&#
    39;ve read this question and now I&#39;m curious about how much <span class="gmail_default" style="font-family:monospace,monospace">it would c</span>ost<span class="gmail_default" style="font-family:monospace,monospace"> </span></span><span class="gmail_
    default"><font face="monospace, monospace">to compile a Gentoo system into cloud.</font></span> <span class="gmail_default" style="font-family:monospace,monospace">Anyone know this?</span></div><div><span class="gmail_default" style="font-family:
    monospace,monospace"><br></span></div><div><span class="gmail_default" style="font-family:monospace,monospace">Regards, Raphael</span></div><div><span class="gmail_default" style="font-family:monospace,monospace"></span></div></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tastytea@21:1/5 to n952162@web.de on Fri Mar 18 20:30:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matthias Hanft@21:1/5 to All on Fri Mar 18 20:50:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ralph Seichter@21:1/5 to All on Fri Mar 18 21:00:01 2022
    * 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From n952162@21:1/5 to Matthias Hanft on Fri Mar 18 21:00:01 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tastytea@21:1/5 to n952162@web.de on Fri Mar 18 21:20:01 2022
    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>.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to All on Fri Mar 18 22:00:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From n952162@21:1/5 to tastytea on Fri Mar 18 21:40:01 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matthias Hanft@21:1/5 to All on Sat Mar 19 09:10:01 2022
    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

    --- Sou
  • From n952162@21:1/5 to Matthias Hanft on Sat Mar 19 11:00:01 2022
    :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


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeremy Hendricks@21:1/5 to n952162@web.de on Sat Mar 19 19:00:01 2022
    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




    <div dir="auto">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.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 19,
    2022 at 5:51 AM n952162 &lt;<a href="mailto:n952162@web.de">n952162@web.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">:thumbsup:  Thank you.<br>

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

    </blockquote></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matt Connell@21:1/5 to Grant Taylor on Mon Mar 21 03:30:01 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)