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

    How to install SuiteCRM 7.8.3 on Fedora 25 Minimal

    Scheduled Pinned Locked Moved IT Discussion
    how toreal instructionssuitecrmfedora 25guide
    20 Posts 5 Posters 5.8k Views
    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 JaredBusch

      Reserved to enable SSL

      To enable SSL you sinply need to install mod_ssl to get a self signed certificate, but nobody wants that.

      So, assuming that you have no proxy in front of this system, we will use certbot to get a certificate.

      Install the required packages

      dnf install -y mod_ssl certbot python-certbot-apache
      

      Allow SSL through the firewall

      firewall-cmd --zone=public --add-port=https/tcp --permanent
      firewall-cmd --reload
      

      Restart Apache

      systemctl restart httpd
      

      Run certbot

      certbot --apache -n --agree-tos --email [email protected] -d crm.domain.com
      

      You should now have a new vhost configuration file named /etc/httpd/conf.d/suitecrm-le-ssl.conf

      Restart Apache

      systemctl restart httpd
      

      Navigate to your site.
      https://crm.domain.com

      I just did this on a new Vultr instance and actually setup the SSL prior to running the install wizard.
      0_1494867791311_upload-ec17e64d-d106-495e-bd45-510b323beddd

      If you wish to disable non SSL, traffic, run this

      #remove the allow for http
      firewall-cmd --zone=public --remove-port=80/tcp --permanent
      #reload the firewall
      firewall-cmd --reload
      
      FATeknollogeeF 1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch
        last edited by JaredBusch

        Please let me know if anyone runs into a problem. I had a couple oddities both times I installed this. But each time the oddity was different.

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

          The installer in the GUI needs to have SELinux disbaled because it creates files that simply do not exist prior to the the execution of the wizard.

          It is more than 1 file and I did not feel like taking to time to figure all of them out.

          The most critical were the config.php and .htaccess` files. If SELinux is enabled, it cannot create them.

          1 Reply Last reply Reply Quote 0
          • black3dynamiteB
            black3dynamite
            last edited by

            Nice write up.

            About SELinux, any issue with just doing this?

            semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/suitecrm(/.*)?"
            restorecon -R /var/www/html/suitecrm

            Would help with any future changes or additions in the suitecrm directories.

            JaredBuschJ 1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @black3dynamite
              last edited by

              @black3dynamite said in How to install SuiteCRM 7.8.3 on Fedora 25 Minimal:

              Nice write up.

              About SELinux, any issue with just doing this?

              semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/suitecrm(/.*)?"
              restorecon -R /var/www/html/suitecrm

              Would help with any future changes or additions in the suitecrm directories.

              It is more permissions than minimum, so I would really not do it. It will work though.

              1 Reply Last reply Reply Quote 0
              • FATeknollogeeF
                FATeknollogee
                last edited by

                @JaredBusch said in How to install SuiteCRM 7.8.3 on Fedora 25 Minimal:

                chmod -R 755 /var/www/html/suitecrm/
                chmod -R 775 /var/www/html/suitecrm/cache
                chmod -R 775 /var/www/html/suitecrm/custom
                chmod -R 775 /var/www/html/suitecrm/modules
                chmod -R 775 /var/www/html/suitecrm/themes
                chmod -R 775 /var/www/html/suitecrm/data
                chmod -R 775 /var/www/html/suitecrm/modules
                chmod 775 /var/www/html/suitecrm/config_override.php

                You have modules listed twice

                scottalanmillerS JaredBuschJ 2 Replies Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @FATeknollogee
                  last edited by

                  @FATeknollogee he wants to be very sure.

                  1 Reply Last reply Reply Quote 2
                  • JaredBuschJ
                    JaredBusch @FATeknollogee
                    last edited by JaredBusch

                    @FATeknollogee said in How to install SuiteCRM 7.8.3 on Fedora 25 Minimal:

                    @JaredBusch said in How to install SuiteCRM 7.8.3 on Fedora 25 Minimal:

                    chmod -R 755 /var/www/html/suitecrm/
                    chmod -R 775 /var/www/html/suitecrm/cache
                    chmod -R 775 /var/www/html/suitecrm/custom
                    chmod -R 775 /var/www/html/suitecrm/modules
                    chmod -R 775 /var/www/html/suitecrm/themes
                    chmod -R 775 /var/www/html/suitecrm/data
                    chmod -R 775 /var/www/html/suitecrm/modules
                    chmod 775 /var/www/html/suitecrm/config_override.php

                    You have modules listed twice

                    That last one should have been upload.. Instructions fixed.

                    1 Reply Last reply Reply Quote 1
                    • FATeknollogeeF
                      FATeknollogee
                      last edited by

                      Also, remember to use your own server name:

                      0_1494856648268_suite.PNG

                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @FATeknollogee
                        last edited by

                        @FATeknollogee said in How to install SuiteCRM 7.8.3 on Fedora 25 Minimal:

                        Also, remember to use your own server name:

                        0_1494856648268_suite.PNG

                        I did skip the big bold text to find/replace things with your own info...

                        I guess I should go back and add that.

                        FATeknollogeeF 1 Reply Last reply Reply Quote 0
                        • FATeknollogeeF
                          FATeknollogee @JaredBusch
                          last edited by

                          @JaredBusch I think for now it's ok..
                          I spun up a new Fed 25 vm & I'm using your instruction set.
                          So far it's all good.

                          1 Reply Last reply Reply Quote 0
                          • FATeknollogeeF
                            FATeknollogee
                            last edited by

                            Was this "Admin" user setup in a previous step, I don't seem to remember setting this up?

                            0_1494859099333_suite.PNG

                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @FATeknollogee
                              last edited by

                              @FATeknollogee said in How to install SuiteCRM 7.8.3 on Fedora 25 Minimal:

                              Was this "Admin" user setup in a previous step, I don't seem to remember setting this up?

                              0_1494859099333_suite.PNG

                              No, this is new creation for the account you will log into the Web GUI with.

                              1 Reply Last reply Reply Quote 0
                              • FATeknollogeeF
                                FATeknollogee @JaredBusch
                                last edited by

                                @JaredBusch said in How to install SuiteCRM 7.8.3 on Fedora 25 Minimal:

                                dnf install -y mod_ssl cerbot

                                typo, you forgot the "t" in certbot

                                JaredBuschJ 1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch @FATeknollogee
                                  last edited by

                                  @FATeknollogee said in How to install SuiteCRM 7.8.3 on Fedora 25 Minimal:

                                  @JaredBusch said in How to install SuiteCRM 7.8.3 on Fedora 25 Minimal:

                                  dnf install -y mod_ssl cerbot

                                  typo, you forgot the "t" in certbot

                                  Just start to document that process and I was interupted by a client call.

                                  FATeknollogeeF 1 Reply Last reply Reply Quote 1
                                  • FATeknollogeeF
                                    FATeknollogee @JaredBusch
                                    last edited by

                                    @JaredBusch Ha, I hear ya!

                                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                                    • JaredBuschJ
                                      JaredBusch @FATeknollogee
                                      last edited by

                                      @FATeknollogee said in How to install SuiteCRM 7.8.3 on Fedora 25 Minimal:

                                      @JaredBusch Ha, I hear ya!

                                      SSL instructions updated.

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

                                        Just thought I'd report back that these instructions are still working for

                                        Version 7.9.7
                                        Sugar Version 6.5.25 (Build 344)

                                        Just installed a local copy to see if it'll meet our needs for user tracking and such. Will probably pay for an instance on Hostadillo if it does.

                                        Guess it's my day to resurrect old how-to threads.

                                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch @travisdh1
                                          last edited by

                                          @travisdh1 said in How to install SuiteCRM 7.8.3 on Fedora 25 Minimal:

                                          Just thought I'd report back that these instructions are still working for

                                          Version 7.9.7
                                          Sugar Version 6.5.25 (Build 344)

                                          Just installed a local copy to see if it'll meet our needs for user tracking and such. Will probably pay for an instance on Hostadillo if it does.

                                          Guess it's my day to resurrect old how-to threads.

                                          Not bad timing. I am installing this for a client this evening.

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