I’m wanting to run my own SimpleX chat server and set up a Monero node as well.

Can this be done on the same machine? I was considering getting a mini PC to do this so it wouldn’t be too much of an issue with it being always on.

Or should I take a different approach and set up both separately on two different machines like a raspberry pi or something?

As I’m sure you can tell I don’t have a lot of experience with self hosting anything but want to get into it to help strengthen the networks of these communities I care about.

  • @[email protected]
    link
    fedilink
    318 hours ago

    Get a barebones mini-PC (no OS so you aren’t paying for a wasted license) to install Linux. Bring questions to the community (after doing your due diligence to show that you put in some effort on your own by asking questions that show that you’re trying). People are generally pretty willing to help out. Start with figuring out which distro is the right fit for you. Check out r/homelab and other homelab resources.

    If all this is too overwhelming, take other advice from someone who makes a better pitch than I did. Good luck and welcome to the hobby that is known to take over your free time and money in a deeply enjoyable way. Cheers!

  • youmaynotknow
    link
    fedilink
    218 hours ago

    Start with a miniPC between 250-350 dollars. That will get you a good start. If you need to add storage, you can always add via USB.

  • @[email protected]
    link
    fedilink
    English
    21 day ago

    I started self hosting many years ago when the company I worked for got new workstations and sold the old ones for next to nothing. It was a very powerful machine but I payed the price every month in electricity. I am now running a bunch of services on 2 mini pcs (each was about $250 USD) with laptop cpus and my electricity usage is way down (like 45 watts for both machines, router, and switch).

    There will be a steep learning curve, but I highly recommend learning docker (especially docker compose) and how to setup a reverse proxy. The self hosted communities are very helpful and can answer more specific questions as they come up.

    • @HessiaNerd
      link
      121 hours ago

      Any tips for learning docker. I got it up and running on a raspberry pi following tutorials but can’t seem to figure out how to connect the dots with the project I’m trying to get running on it. The project assumes I know docker so their documentation is non existent. I can’t seem to find what I need in docker’s documentation. I’m kinda stuck.

  • @[email protected]
    link
    fedilink
    92 days ago

    I would recommend buying an ugly corporate desktop PC on EBay or similar. When companies do mass layoffs, or move offices, they often deem it cheaper to just sell off everyone’s workstation wiped on EBay or whatever. You can get a SOLID Intel workhorse of some sort for probably literally less than a Pi. Yes, it will use more power, but like, you’re planning to run multiple services on this and a desktop PC is often surprisingly upgradeable, even with shitty office towers, because the high end and low end model use the same motherboard, so you have plenty of room to upgrade non-processor components. You can probably find a great no OS included box for like $200 tops shipping included, if not half that.

    • @InternetCitizen2
      link
      42 days ago

      This is how I got started. I found a decent refurbed Optiplex.

      • drhoopoe
        link
        fedilink
        English
        223 hours ago

        Yep, I’ve got a stack of 5-10 year old optiplexes (optiplexi?) running proxmox.

  • @markstos
    link
    262 days ago

    Yes. You can run them both on the same machine and it would probably be cheaper that way.

    To minimize costs, besides looking at the cost of hardware, you’ll also want to consider the amount of electricity that the server uses with the memory and hard drives you have installed.

    The Monero docs say it uses 100 GB or more bandwidth a month. You may want to look at the quality of service settings on your router to make sure that it’s not interfering with other uses of your network.

    • @[email protected]
      link
      fedilink
      122 days ago

      Plus the need to open ports on the home router and ensuring more than 100 GB won’t piss off the ISP.

      • @markstos
        link
        52 days ago

        3 GB / day is unlikely to go unnoticed upstream.

      • @[email protected]
        link
        fedilink
        42 days ago

        And depending on your connection you’ll also need some kind of domain, dyn DNS and reverse proxy

        • @markstos
          link
          22 days ago

          It’s not clear that these services need any of these things.

          • Estebiu
            link
            fedilink
            12 days ago

            Its just that i never had any problems with any italian or french isp, and I upload 100gbs or more daily

  • @[email protected]
    link
    fedilink
    122 days ago

    Cheapest? Use someone else’s hrdware (or “borrow” it) and set it up at work/school/friend’s house/cafe. Free hardware, free connectivity, free electricity.

    More seriously, set everithing up on whatever spare old computer you have at hand (or use a vm running on you pc). You should not start with buying hardware.

    • @[email protected]
      link
      fedilink
      72 days ago

      I wouldn’t say “any old computer”, power consumption on old boxes can be high. I have an old box that pulls 120w at idle, so it only runs a couple hours a day, at most, to replicate files.

      • @[email protected]
        link
        fedilink
        31 day ago

        Yes, and computers people have laying around are most probably not outdated enterprise servers that draw 120w at idle :)
        (if anything, that’s something a newbie self hoster may buy since they are cheap and look cool)

  • @[email protected]
    link
    fedilink
    162 days ago

    With the Monero node, keep in mind hard drive space. If you want the full block chain, it’s a bit over 200GB. But if you want the pruned chain, it’s like 70GB.

  • @[email protected]
    link
    fedilink
    62 days ago

    A vps can be had for $10 a year. You gotta be smart about what you do and how you do it, but that neatly sidesteps some of the problems you’d run into when using your own hardware.