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

    Installing a Basic LAMP Stack on CentOS 7

    IT Discussion
    lamp linux mysql mariadb apache httpd php centos centos 7 rhel rhel 7
    3
    20
    4.9k
    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.
    • scottalanmillerS
      scottalanmiller @NashBrydges
      last edited by

      @NashBrydges said in Installing a Basic LAMP Stack on CentOS 7:

      @scottalanmiller Interesting. I can ping the gateway from all other devices but not this VM.

      Sounds like it is most likely a Hyper-V or driver issue. Any other CentOS machines on Hyper-V?

      NashBrydgesN 1 Reply Last reply Reply Quote 0
      • NashBrydgesN
        NashBrydges @scottalanmiller
        last edited by

        @scottalanmiller None, this was my first try with setting up CentOS in hyper-v. I've tried reinstalling a number of times but nothing worked. Tried minimal install and even tried web server install from the DVD ISO but still nothing.

        I'm going to try to reinstall but use the standard network adapter instead of the legacy one and see where that gets me. Suppose if that doesn't work I can setup XenServer on a spare R210II I've got sitting around.

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

          You have or have not tried the non-legacy adapter yet?

          NashBrydgesN 1 Reply Last reply Reply Quote 0
          • NashBrydgesN
            NashBrydges @scottalanmiller
            last edited by

            @scottalanmiller I haven't yet. About to give it a try. Stuck to legacy since that was what I was reading everywhere.

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

              @NashBrydges said in Installing a Basic LAMP Stack on CentOS 7:

              @scottalanmiller I haven't yet. About to give it a try. Stuck to legacy since that was what I was reading everywhere.

              Where is everywhere? Technet says to not use legacy.

              https://technet.microsoft.com/en-us/windows-server-docs/compute/hyper-v/supported-centos-and-red-hat-enterprise-linux-virtual-machines-on-hyper-v

              Legacy is a fallback driver that you never want to use, it's low performance and high overhead. If you needed that for CentOS, it would make Hyper-V a silly, non-production ready platform. But Hyper-V is a good, solid performer.

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

                Here are some general best practices for CentOS on Hyper-V:

                https://technet.microsoft.com/en-us/windows-server-docs/compute/hyper-v/best-practices-for-running-linux-on-hyper-v

                1 Reply Last reply Reply Quote 0
                • NashBrydgesN
                  NashBrydges @scottalanmiller
                  last edited by

                  @scottalanmiller Perhaps my google-fu wasn't as strong as I thought.

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

                    @NashBrydges said in Installing a Basic LAMP Stack on CentOS 7:

                    @scottalanmiller Perhaps my google-fu wasn't as strong as I thought.

                    LOL

                    NashBrydgesN 1 Reply Last reply Reply Quote 0
                    • NashBrydgesN
                      NashBrydges @scottalanmiller
                      last edited by

                      @scottalanmiller Thanks for your help Scott. Looks like using the standard network adapter did the trick. Update is working.

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

                        Glad that that worked.

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

                          @scottalanmiller said in Installing a Basic LAMP Stack on CentOS 7:

                          @NashBrydges said in Installing a Basic LAMP Stack on CentOS 7:

                          @scottalanmiller I haven't yet. About to give it a try. Stuck to legacy since that was what I was reading everywhere.

                          Where is everywhere? Technet says to not use legacy.

                          https://technet.microsoft.com/en-us/windows-server-docs/compute/hyper-v/supported-centos-and-red-hat-enterprise-linux-virtual-machines-on-hyper-v

                          Legacy is a fallback driver that you never want to use, it's low performance and high overhead. If you needed that for CentOS, it would make Hyper-V a silly, non-production ready platform. But Hyper-V is a good, solid performer.

                          Not only that, but I install all of my CentOS 7 VM's as Generation 2 when on Hyper-V they work perfectly with default settings for everything except secure boot. Uncheck secure boot. Everything else is 100% default settings.

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