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

    Install LAMP phpMyAdmin and MariaDB into CentOS7

    Scheduled Pinned Locked Moved IT Discussion
    33 Posts 5 Posters 2.2k 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

      Just turn of SELinux and make sure it all works before you change contexts.

      setenforce 0

      then if it all works, change contexts and turn it back on and test.

      stacksofplatesS 1 Reply Last reply Reply Quote 2
      • scottalanmillerS
        scottalanmiller
        last edited by

        I'm with Jared, turning SELinux off during testing and installation is fine. Just make sure it is there before you start using the box.

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

          @scottalanmiller said in Install LAMP phpMyAdmin and MariaDB into CentOS7:

          I'm with Jared, turning SELinux off during testing and installation is fine. Just make sure it is there before you start using the box.

          And that is why I always say to use setenforce 0, because it will not survive a reboot in case you forget.

          scottalanmillerS 1 Reply Last reply Reply Quote 1
          • stacksofplatesS
            stacksofplates @JaredBusch
            last edited by

            @JaredBusch said in Install LAMP phpMyAdmin and MariaDB into CentOS7:

            Just turn of SELinux and make sure it all works before you change contexts.

            setenforce 0

            then if it all works, change contexts and turn it back on and test.

            I got out of the habit of doing this because if the installer changes something in a diff directory that you didn't expect it can be a pain to troubleshoot. I've had that happen a couple times. But in this scenario it's all http files so I agree.

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

              @JaredBusch said in Install LAMP phpMyAdmin and MariaDB into CentOS7:

              @scottalanmiller said in Install LAMP phpMyAdmin and MariaDB into CentOS7:

              I'm with Jared, turning SELinux off during testing and installation is fine. Just make sure it is there before you start using the box.

              And that is why I always say to use setenforce 0, because it will not survive a reboot in case you forget.

              Same here.

              1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403
                last edited by DustinB3403

                So I've used

                sentenforce 0
                

                But now I'm getting stopped here 0_1471533634265_chrome_2016-08-18_11-20-19.png

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  You put in the directory name, rather than the log file name.

                  1 Reply Last reply Reply Quote 1
                  • DustinB3403D
                    DustinB3403
                    last edited by

                    Ah. maybe that is it (it auto fills).

                    One second, testing

                    1 Reply Last reply Reply Quote 1
                    • DustinB3403D
                      DustinB3403
                      last edited by

                      So I touched a messages.log file into /var/log/syslog and gave it 666 access.

                      Still no love.

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403
                        last edited by

                        Same with "messages"

                        No love.

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

                          @DustinB3403 said in Install LAMP phpMyAdmin and MariaDB into CentOS7:

                          So I touched a messages.log file into /var/log/syslog and gave it 666 access.

                          Still no love.

                          What OS is that? I thought you wanted the logs from XenServer. That's an Ubuntu log.

                          /var/log/messages

                          1 Reply Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403
                            last edited by

                            This is CentOS 7 that is running LogAnalyzer and Syslog.

                            I'm trying to stand up a centralized location to push the logs to from XenServer.

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

                              @DustinB3403 said in Install LAMP phpMyAdmin and MariaDB into CentOS7:

                              This is CentOS 7 that is running LogAnalyzer and Syslog.

                              I'm trying to stand up a centralized location to push the logs to from XenServer.

                              So you are looking for the XenServer or the CentOS logs? In both cases, they are in /var/log/messages, not in /var/log/syslog as that's an Ubuntu file.

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