I want to set GeoServer in a machine that will also be hosting a webpage (a web map) and a database (PostgreSQL with PostGIS). Map layers will be stored in the DB, published in Geoserver and served to the Web.

I’m between Fedora Server and Ubuntu Server, I use Fedora Workstation as my daily drive, so I feel more leaned to Fedora Server. However I’m still new in the field and this will be my first time setting up a Server, so maybe Ubuntu has more documentation and thus more easy.

Any suggestion?

  • @rtbravoM
    link
    31 year ago

    A decade ago, I might have suggested Ubuntu because it seemed like a lot of the open source GIS development was taking place on Ubuntu. It ran fine on RedHat derivatives; it was just a little easier to get running quickly on Ubuntu. However, even then that was probably more true for QGIS and friends than the server side stuff.

    Fedora and Ubuntu would both be perfectly adequate. Part of it depends on what makes you most comfortable. If you ever plan to deploy this for someone else, though, it’s a good idea to find out what environment works best for them.

    If this is primarily (or even partly) about learning, stick with the OS you’re familiar with and concentrate on just learning the tools. If your primary interest is using the tools, you might go with the suggestion from @key – begin with one of the containers. On the other hand, if you really want to know how the pieces go together, there is no substitute for installing those pieces (PostgreSQL, PostGIS, Tomcat, Geoserver) one piece at a time and fitting them together.

    (Full disclosure: Xubuntu is my daily driver and Ubuntu server is what we use at work.)

    • @necrxfagivsOP
      link
      11 year ago

      I’m deploying this for my company, I started as an intern and got hired recently. I’m hired to do GIS job and I’m the only one with programming experience and interest. My boss used Linux maybe +10 years ago and he knows I use it and I’m learning to code, so he wants me to set up a webpage with a map that displays different projects.

      I’m planning to do Postgis (postgresql) + Geoserver + Openlayers. I plan to learn as I do it but I also don’t want to mess a lot as is not a personal project.

      I’m comfortable with both, Fedora and Ubuntu (I used Xubuntu, Linux Mint, Ubuntu and OsgeoLive in the past but not as daily drivers), but I still feel that I have a lot to learn about Linux, code and GIS.

      Thank you for answering!

  • key
    link
    fedilink
    21 year ago

    Both have plenty of docs for the stuff you’re running (pg/tomcat). If not finding anything for Fedora Server directly then a search for another RHEL will give you whatever answers you need. I’d go with what’s easier for you and whoever else you’re working with to maintain.

    I’d consider using containers instead of direct installation if it’s a more hobbyist thing. Kartoza produces images for Postgis and Geoserver which aren’t the best for serious scaled production workloads but work well for getting up and going quickly. It lets you worry a bit less about distro specifics and building the right dependencies and all that jazz.

    • @necrxfagivsOP
      link
      11 year ago

      I’d be setting this up for my company, so maybe Ubuntu LTS will be better for maintaining. I’m also a bit scared of Fedora constant upgrades, I wouldn’t mind for a personal project, but in a work environment maybe is better to have something more stable.

    • @necrxfagivsOP
      link
      21 year ago

      Base Debian or is there anything like Debian Server? This will be my first time setting up a server machine.

      Also I’ve never used Debian itself, only debian-based distros (Ubuntu and Ubuntu based) and Fedora.

      • @[email protected]
        link
        fedilink
        21 year ago

        Base Debian. It gives you the option to install a GUI if you want it but I never do. Just make sure you enable SSH if you need it.