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

    Hyper-V 2012 R2 and CentOS 7. Gen 1 or Gen 2 Virtual Machine?

    IT Discussion
    centos 7 hyper-v hyper-v 2012 r2 centos linux virtualization
    5
    24
    5.6k
    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.
    • brianlittlejohnB
      brianlittlejohn
      last edited by

      I'm installing SnipeIT on it. I've been looking for a decent asset manager for awhile now.

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

        Check SELinux status before running that script. I am suspicious that it is on by default but off by default on Digital Ocean.

        brianlittlejohnB 1 Reply Last reply Reply Quote 0
        • brianlittlejohnB
          brianlittlejohn @scottalanmiller
          last edited by

          @scottalanmiller It is enabled by default on CENTOS install

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

            @brianlittlejohn said:

            @scottalanmiller It is enabled by default on CENTOS install

            I hate when vendors modify the OS without notification. I double checked that even knowing that it could be an issue11

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

              Can you test setenforce 0 to see if that works on CentOS 7?

              JaredBuschJ brianlittlejohnB 2 Replies Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch
                last edited by

                All of my CentOS VMs are generation 2.

                Prior to power on, just go to the bios setting in Hyper-V and disable secure boot. Nothing else needs done.

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

                  @scottalanmiller said:

                  Can you test setenforce 0 to see if that works on CentOS 7?

                  Centos 7 default install has SELinux set to enforcing

                  1 Reply Last reply Reply Quote 0
                  • brianlittlejohnB
                    brianlittlejohn @scottalanmiller
                    last edited by

                    @scottalanmiller said:

                    Can you test setenforce 0 to see if that works on CentOS 7?

                    I will, reinstalling, already made it through the install script and figured it would be easier to just reinstall

                    1 Reply Last reply Reply Quote 1
                    • DashrenderD
                      Dashrender @JaredBusch
                      last edited by

                      @JaredBusch said:

                      All of my CentOS VMs are generation 2.

                      Prior to power on, just go to the bios setting in Hyper-V and disable secure boot. Nothing else needs done.

                      I thought that at least a few Linux versions could use secure boot?

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

                        @Dashrender said:

                        @JaredBusch said:

                        All of my CentOS VMs are generation 2.

                        Prior to power on, just go to the bios setting in Hyper-V and disable secure boot. Nothing else needs done.

                        I thought that at least a few Linux versions could use secure boot?

                        The question is CentOS, not a nebulous "Linux versions" of some type.

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

                          Jared is correct. That is a question about a specific OS, not an OS family.

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

                            @scottalanmiller said:

                            Jared is correct. That is a question about a specific OS, not an OS family.

                            Well my fingers are moving at least.. 😛

                            http://www.lapsura.com/drawings/images/of-course-im-right.jpg

                            1 Reply Last reply Reply Quote 3
                            • hobbit666H
                              hobbit666
                              last edited by

                              Have you got Snipe-IT working?

                              brianlittlejohnB 1 Reply Last reply Reply Quote 0
                              • brianlittlejohnB
                                brianlittlejohn @hobbit666
                                last edited by

                                @hobbit666 Not yet, it looks like it installed, but I am not able to pull up the webpage (times out) I'm wondering if iptables is blocking port 80.

                                JaredBuschJ 2 Replies Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch @brianlittlejohn
                                  last edited by

                                  @brianlittlejohn said:

                                  @hobbit666 Not yet, it looks like it installed, but I am not able to pull up the webpage (times out) I'm wondering if iptables is blocking port 80.

                                  It is.

                                  sec

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

                                    @brianlittlejohn
                                    here you go.

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

                                    brianlittlejohnB 1 Reply Last reply Reply Quote 1
                                    • brianlittlejohnB
                                      brianlittlejohn @JaredBusch
                                      last edited by

                                      @JaredBusch Thanks. It is up!0_1448297925246_Untitled.png

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

                                        @scottalanmiller , you may want to add that to your one liner. along with yum -y install wget

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

                                          Going to do so now, thanks.

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