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

    Centos 7 Minimal Started Issues Started too

    IT Discussion
    5
    19
    1.1k
    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.
    • LakshmanaL
      Lakshmana
      last edited by Lakshmana

      I have installed the Centos 7 minimal version in the Virtual box,i am trying to configure make that machine to be available in Putty session but unable make the machine available in the putty.I have followed the below link,unable to take the machine in putty.Any help.Ifconfig command is also not available as in built i have installed manually through command line

      https://www.cyberciti.biz/faq/centos-ssh/

      Firewall or Iptables

      https://ask.openstack.org/en/question/58601/systemctl-1failed-to-start-ipv4-firewall-with-ip-tables/

      1 Reply Last reply Reply Quote 0
      • A
        Alex Sage
        last edited by Alex Sage

        Sounds like your Network Adapter is attached to NAT. Change it to Bridged Adapter.

        What does this command output?

        ip a
        
        LakshmanaL 1 Reply Last reply Reply Quote 3
        • A
          Alex Sage
          last edited by

          0_1486577565845_VirtualBox_2017-02-08_13-11-03.png

          LakshmanaL 1 Reply Last reply Reply Quote 3
          • LakshmanaL
            Lakshmana @Alex Sage
            last edited by

            @aaronstuder I am checking on that too and update

            1 Reply Last reply Reply Quote 0
            • LakshmanaL
              Lakshmana @Alex Sage
              last edited by

              @aaronstuder bridge network working fine now.Thank u.can u please provide the NAT and other things in virtual machine network status.just for remembering the difference

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

                SELinux?

                LakshmanaL 1 Reply Last reply Reply Quote 0
                • hobbit666H
                  hobbit666
                  last edited by

                  Yeah I alsways install net-tools once I get networking going. That will give ifconfig and other useful tools

                  LakshmanaL 1 Reply Last reply Reply Quote 0
                  • LakshmanaL
                    Lakshmana @hobbit666
                    last edited by

                    @hobbit666 now net tools installed and ifconfig working

                    1 Reply Last reply Reply Quote 1
                    • LakshmanaL
                      Lakshmana @hobbit666
                      last edited by

                      @hobbit666 how to find the selinux??What can be done from that??

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

                        I know we.shouldn't and configure it properly but I normally disable selinux
                        https://www.centos.org/docs/5/html/5.2/Deployment_Guide/sec-sel-enable-disable.html

                        But I am working in learning more once I move my xen host into a central datacentre and start rebuilding my servers like unifi and zabbix

                        That should get putty working as long as the vm is working on the network correctly

                        LakshmanaL 1 Reply Last reply Reply Quote 0
                        • LakshmanaL
                          Lakshmana @hobbit666
                          last edited by

                          @hobbit666 usage of selinux for what purpose? If it is enabled or disabled what is the output?Why we speak about selinux too??

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

                            To be honest I'm a linux noobie myself I run it put only for certain purposes like zabbix or unifi.

                            Not sure what SELinux actually is put I think its like a firewall type thing but always causes me problems hence the reason I just disable it.

                            The reason I mentioned it was it causes me issues so its worth checking if your still having putty issues

                            LakshmanaL 1 Reply Last reply Reply Quote 1
                            • LakshmanaL
                              Lakshmana @hobbit666
                              last edited by Lakshmana

                              @hobbit666 OK anyone gives me the proper reason for Selinux usage??@scottalanmiller can u help me for the above questions?

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

                                @Lakshmana said in Centos 7 Minimal Started Issues Started too:

                                @hobbit666 OK anyone gives me the proper reason for Selinux usage??@scottalanmiller can u help me for the above questions?

                                SELinux (or AppArmor on suse and ubuntu) is an important security mechanism to ensure that applications are doing what they are supposed to do rather than doing malicious things. It actually provides a lot of extra security against malware.

                                LakshmanaL 1 Reply Last reply Reply Quote 1
                                • LakshmanaL
                                  Lakshmana @scottalanmiller
                                  last edited by

                                  @scottalanmiller whether it should be enabled by default?

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

                                    Yes. SELinux should not be disabled. Think of it like a firewall.

                                    LakshmanaL 1 Reply Last reply Reply Quote 0
                                    • LakshmanaL
                                      Lakshmana @scottalanmiller
                                      last edited by

                                      @scottalanmiller difference between iptables and selinux?

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

                                        @Lakshmana said in Centos 7 Minimal Started Issues Started too:

                                        @scottalanmiller difference between iptables and selinux?

                                        IPTables controls networking in and out of the server. SELinux controls applications permissions for actions on the system.

                                        1 Reply Last reply Reply Quote 2
                                        • F
                                          Francesco Provino
                                          last edited by

                                          Selinux cannot be the problem with SSH, if you haven't changed the SSH server listening port. Selinux has sane defaults for SSH, much less for other application… one of the bigger concern in learning RHEL/CentOS is not how to make everything running, but how to run it with Selinux ENFORCED.

                                          Of course, never disable Selinux. Never.
                                          It's maybe the most valuable security feature on the whole Linux ecosystem.

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