GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Maholmire (maholmire@crlf.ninja)'s status on Sunday, 12-Nov-2023 19:53:33 JST Maholmire Maholmire
    • pistolero :thispersondoesnotexist:
    • 恵真 :hypercat:
    • ✙ dcc :pedomustdie: :phear_slackware:
    • pwm
    Time for me to finally demystify system administration @p, @pwm.

    Span up a NixOS server on Virtualbox in a College VM. Don't have a domain, but @dcc mentioned they can lend me a sub-domain. Figured that if @emma of all people can do it, then I can too.
    In conversation Sunday, 12-Nov-2023 19:53:33 JST from crlf.ninja permalink
    • pistolero :thispersondoesnotexist: likes this.
    • Embed this notice
      Maholmire (maholmire@crlf.ninja)'s status on Sunday, 12-Nov-2023 21:12:04 JST Maholmire Maholmire
      in reply to
      • pistolero :thispersondoesnotexist:

      ERROR: ssh: connect to host (address) port 22: Connection timed out.

      What do @p? Already made sure that I was using a bridged connection for the VM.

      In conversation Sunday, 12-Nov-2023 21:12:04 JST permalink
      pistolero :thispersondoesnotexist: likes this.
    • Embed this notice
      pistolero :thispersondoesnotexist: (p@freespeechextremist.com)'s status on Sunday, 12-Nov-2023 21:15:37 JST pistolero :thispersondoesnotexist: pistolero :thispersondoesnotexist:
      in reply to
      @Maholmire From the server's side, make sure that that port isn't filtered (I don't know what NixOS does with /etc/hosts.{allow,deny} or iptables or if it uses ufw) and that from inside, pinging the outside works (so that you can verify your routes work), but this is as much as I can say because I have not used and do not recommend either Virtualbox or NixOS and if you're already in a VM, maybe just put it in the VM instead of putting a VM in the VM.
      In conversation Sunday, 12-Nov-2023 21:15:37 JST permalink
    • Embed this notice
      pistolero :thispersondoesnotexist: (p@freespeechextremist.com)'s status on Sunday, 12-Nov-2023 21:47:46 JST pistolero :thispersondoesnotexist: pistolero :thispersondoesnotexist:
      in reply to
      @Maholmire I mean why put it inside a VM if you already have a VM? Like, the college gives you a VM: why do you need VirtualBox?

      Either way, the case might be that you can't route to it from outside. (You also don't need an ethernet port to bridge: you create a bridge interface and then you can add and remove other interfaces at will, any of which could be virtual. The conventional use for it is to add ethernet ports to the bridge interface to bridge the ports, but now people often bridge one physical port with several virtual ones, but you don't have to have *any* physical ports involved. FSE talks to Postgres over that kind of bridge.)

      > Currently running through some Nix-related troubleshooting atm. Though I just wish it would've been easier to connect to a VM by default rather than having to jump through hoops.

      Easiest way to do this is to just use qemu and forward a port on the host to a port on the VM, or to just use libvirtd (I expected to hate libvirt but after I got all the XML out of the way, I did not hate it at all).
      In conversation Sunday, 12-Nov-2023 21:47:46 JST permalink
    • Embed this notice
      Maholmire (maholmire@crlf.ninja)'s status on Sunday, 12-Nov-2023 21:47:47 JST Maholmire Maholmire
      in reply to
      • pistolero :thispersondoesnotexist:
      Decided to run it from within my college's VM as I can use it more reliably as a test environment than on my Steam Deck which doesn't have an ethernet port for bridging.

      Currently running through some Nix-related troubleshooting atm. Though I just wish it would've been easier to connect to a VM by default rather than having to jump through hoops.
      In conversation Sunday, 12-Nov-2023 21:47:47 JST permalink
      pistolero :thispersondoesnotexist: likes this.
    • Embed this notice
      Maholmire (maholmire@crlf.ninja)'s status on Sunday, 12-Nov-2023 21:58:02 JST Maholmire Maholmire
      in reply to
      • pistolero :thispersondoesnotexist:
      Well, can't say I didn't give it a try at the very least. Was either that or designing a poster about copyright and the open knowledge movement.
      In conversation Sunday, 12-Nov-2023 21:58:02 JST permalink
      pistolero :thispersondoesnotexist: likes this.
    • Embed this notice
      pistolero :thispersondoesnotexist: (p@freespeechextremist.com)'s status on Sunday, 12-Nov-2023 21:58:47 JST pistolero :thispersondoesnotexist: pistolero :thispersondoesnotexist:
      in reply to
      @Maholmire I'm still confused as to what the answers to the questions are.
      In conversation Sunday, 12-Nov-2023 21:58:47 JST permalink
    • Embed this notice
      moesha (moesha@yuga.surf)'s status on Sunday, 12-Nov-2023 22:54:15 JST moesha moesha
      in reply to
      • pistolero :thispersondoesnotexist:
      • 恵真 :hypercat:
      • ✙ dcc :pedomustdie: :phear_slackware:
      • pwm
      @Maholmire @dcc @pwm @p @emma

      Is the VM on a Windows host? If the host OS Linux QEMU+KVM tends to be better option, and if using a Mac Parallels is a better option. Even if on Windows I'd use Hyper-V over Virtualbox, but Virtualbox also works fine if it's your hearts content.

      The last time I used virtualbox, it wasn't difficult to set up bridging. This page seems to have more information:
      https://www.virtualbox.org/manual/ch06.html
      In conversation Sunday, 12-Nov-2023 22:54:15 JST permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        Chapter 6. Virtual Networking
      pistolero :thispersondoesnotexist: likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.