Oh no, you!

  • 0 Posts
  • 34 Comments
Joined 9 months ago
cake
Cake day: November 3rd, 2024

help-circle

  • bash setup/config/PS1 is your friend here. I frequently find myself with a myriad of terminals between a bunch of usernames and servers at work, and setting up a proper prompt is key to help you keep track.

    My bashrc makes my prompt look like this:

    username@hostname:/absolute/path
    $ inputgoeshere

    … with color coding, of course. Yes, I use a multiline prompt. I somehow never saw that before using ParrotSec despite being a bash user for 25 years. I modified the ParrotSec default to suit my needs better, and I like it:

    • Obvious which user I am.
    • Obvious which host I’m on.
    • Obvious which path I’m in.
    • It’s easy to copy and paste a complete source/destination for pasting into, for example, an rsync comman

    I pasted my PS1 config here: https://pastebin.com/ZcYwabfB

    Stick that line near the bottom of your ~/.bashrc file if you want to try it out.






  • It’s way too late at night for me to give an in-depth answer, but I just wanted to let you know that if you plan on adding drives over time, you might want to check out running the disks in JBOD instead of RAID and the use ZFS to create the storage volume. Redundancy supported, and you can add disks whenever you need more space. The disks don’t even have to be the same size.






  • I was considering something similar for my Volvo 940 about around 2010. The idea was that I’d install a touch screen as an infotainment system where I could see stuff like OBD2 data and navigation.

    While not having a functioning speedometer for a little bit (later fixed), I used my phone to see the GPS speed with the screen flipped so I could get the speed on the windshield like a HUD in some modern cars. The plan was to do something similar integrated with the home brewed infotainment.

    It annoys me that I never went through with it, because so much stuff of what I’d drawn up became standard for “fancy” cars later.





  • Anything that does the job is good enough. At its core a server is just a regular PC with a dedicated purpose and software. Sure, there are specialized hardware better suitable and purpose built, but it’s not a requirement.

    I for one prefer 19" rackmount stuff with disk bays in the front, but that’s more of a convenience than anything.

    UPS is nice, but it’ll work without it.

    I’ve had to deal with the Brazilian computer market and how it’s ridiculously overpriced due to import fees, so in your situation I’d just get any hand-me-down computer. Servers generally don’t require much unless you’re doing something special or intensive.

    Get your hands on whatever you can find for free or dirt cheap (laptop or desktop doesn’tmatter), install linux, and you have a basic setup that you can work with. If your use case requires more, then that’s something you can accommodate in the next iteration of your server.



  • neidu3@sh.itjust.workstoSelfhosted@lemmy.worldOMV remote access
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    4 months ago

    No, just one. You set up one device/server as a VPN gateway (often called VPN concentrator), and you will have access to anything the concentrator has access to on your home network.

    Either you just your VPN concentrator as your jump box, or you set up routing and firewalls to be able to access them directly.