ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to install the RocketChat server on Fedora 28

    IT Discussion
    rocketchat fedora 28 fedora messaging chat
    4
    10
    2.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by

      Installing Rocket.Chat is simple on Fedora because the Rocket.Chat team's recommend method to install it yourself is with their snap package.

      Starting from a minimal install of Fedora 28 this is all you need to do.

      As always, run from the root user, or prepend these commands with sudo.

      1. Install snapd
      dnf install -y snapd
      
      1. Install the RocketChat server
      snap install rocketchat-server
      
      1. Open the firewall
      firewall-cmd --add-port=3000/tcp --permanent
      firewall-cmd --reload
      

      That's it, you can now connect to your RocketChat instance with a client.

      1 Reply Last reply Reply Quote 4
      • JaredBuschJ
        JaredBusch
        last edited by JaredBusch

        Now most people will not want their server live on the internet and all that.

        And most will also want it behind a reverse proxy.

        I run my stuff behind a Nginx reverse proxy that is on another instance, not on the rocket chat server itself, but the process is the same either way.

        This config came from @scottalanmiller's thread on install with snap on Ubuntu. I'll post mine once I finish setting it up.

        server {
            #client_max_body_size 80M;
            listen 443 ssl default_server;
            server_name my.server.com;  
            ssl          on;
            ssl_certificate /etc/letsencrypt/live/my.server.com/fullchain.pem;
            ssl_certificate_key /etc/letsencrypt/live/my.server.com/privkey.pem;
        
            location / {
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header Host $http_host;
                proxy_set_header X-NginX-Proxy true;
                proxy_pass http://127.0.0.1:3000;    
                proxy_redirect off;
            }
            location /websocket {
                proxy_pass http://127.0.0.1:3000;
                proxy_http_version 1.1;
                proxy_set_header Upgrade websocket;
                proxy_set_header Connection upgrade;
            }
        }
        
        1 Reply Last reply Reply Quote 3
        • GodfatherX64G
          GodfatherX64
          last edited by

          hi, thanks for the info, is there any new update on the matter??
          can you share more info on how to setup rocket.chat and nginx on fedora 29

          travisdh1T scottalanmillerS 2 Replies Last reply Reply Quote 0
          • travisdh1T
            travisdh1 @GodfatherX64
            last edited by

            @GodfatherX64 said in How to install the RocketChat server on Fedora 28:

            hi, thanks for the info, is there any new update on the matter??
            can you share more info on how to setup rocket.chat and nginx on fedora 29

            Exactly the same procedure. I installed it a couple weeks ago on Fedora 29 using this guide.

            1 Reply Last reply Reply Quote 1
            • GodfatherX64G
              GodfatherX64
              last edited by

              which confg file to edit and put the above configs??
              and is these config if the nginx on the same server as RocketChat or on another server??

              scottalanmillerS travisdh1T 2 Replies Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @GodfatherX64
                last edited by

                @GodfatherX64 said in How to install the RocketChat server on Fedora 28:

                hi, thanks for the info, is there any new update on the matter??
                can you share more info on how to setup rocket.chat and nginx on fedora 29

                Nothing has changed, just start with Fedora 29 instead of 28.

                1 Reply Last reply Reply Quote 1
                • scottalanmillerS
                  scottalanmiller @GodfatherX64
                  last edited by

                  @GodfatherX64 said in How to install the RocketChat server on Fedora 28:

                  which confg file to edit and put the above configs??
                  and is these config if the nginx on the same server as RocketChat or on another server??

                  NGinx config file. So whatever you want to name it, but something like /etc/nginx/conf.d/rocket.conf

                  And it goes wherever your reverse proxy is. Could be in either place.

                  1 Reply Last reply Reply Quote 1
                  • travisdh1T
                    travisdh1 @GodfatherX64
                    last edited by

                    @GodfatherX64 said in How to install the RocketChat server on Fedora 28:

                    which confg file to edit and put the above configs??
                    and is these config if the nginx on the same server as RocketChat or on another server??

                    It's not a config file to edit, it's a new config file. The file is going to be in \etc\nginx\conf.d\ and it will be called myfilename.conf (I like using FQDN.conf as it makes telling what config file is for which server easy.) So I have \etc\nginx\conf.d\irc.travisdh1.net.conf for my Rocket.Chat instance. I recommend using nginx -t after changing or adding a config file.

                    The Nginx proxy can be on the same host or a different host. Just change the ip address for the proxy_pass http://127.0.0.1:3000 to your actual IP address.

                    1 Reply Last reply Reply Quote 3
                    • GodfatherX64G
                      GodfatherX64
                      last edited by

                      thanks so much guys, its up and running

                      scottalanmillerS 1 Reply Last reply Reply Quote 3
                      • scottalanmillerS
                        scottalanmiller @GodfatherX64
                        last edited by

                        @GodfatherX64 said in How to install the RocketChat server on Fedora 28:

                        thanks so much guys, its up and running

                        Awesome

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post