Brief introduction of new characteristics of RHEL7 (II.)

Source: Internet
Author: User

System and service start control:

1, boot Manager: SYSTEMD

2, start the admin command: SYSTEMCTL

For example:

Systemctl Status UNIT

Systemctl Start UNIT

Systemctl Stop UNIT

Systemctl Restart UNIT

Systemctl Mask UNIT# rejects the service, prevents the installation from starting

Systemctl unmask UNIT# Cancel Disable, can install boot

Systemctl Reload UNIT

.......

Chkconfig--list is replaced by:==> Systemctl list-units

Set boot up or boot not on:

Systemctl Enable AutoFS corresponds to Rhel6:chkconfig autofs on

Systemctl Disable AutoFS corresponds to Rhel6:chkconfig autofs off

Start stop service:

Systemctl start AutoFS corresponds to Rhel6:service autofs start

Systemctl Stop AutoFS corresponds to Rhel6:service autofs stop


Editors and tools:

1, using GCC 4.8 As the default compilation tool (Rhel6 using: GCC 4.4)

2, using glibc 2.17 as the standard library (rhel6 using: glibc 2.12)

3, using GDB 7.6.1 as the compilation debugging tool (Rhel6 using: GdB 7.2)

4, Support Ruby 2.0(Rhel6:ruby 1.8)

5, Support Python 2.7.5 (rhel6:P Ython 2.6)

6, supports Java 6 and 7 (Rhel6:java 5,6,7)


Network configuration:

1, migrate the original network Configuration tool to the new NetworkManager

2, support new network aggregation mode team (like Bond, team more efficient, more secure, new technology)

3, replace the original NTPD (/etc/ntpd.conf) service with the Chronyd (/etc/chronyd.conf) service

4, the new FIREWALLD Firewall tool

Firewall-config #打开图形化界面命令

5, support the network name space convenient container-type virtual machine management


------------------Firewall Settings comparison:

Allow external access to local 80 ports


RHEL6:

Iptables-a input-p TCP--dport 80-j ACCEPT# temporarily in effect

Service Iptables Save# saves settings and is permanently active


RHEL7:

Firewall-cmd--permanent--add-service=http#--permanent continues to take effect,--runtime temporary entry into force

Firewall-cmd--reload# re-read the configuration to make the configuration effective


This article is from the "Bug" blog, please be sure to keep this source http://chongzi100.blog.51cto.com/340243/1591101

Brief introduction of new characteristics of RHEL7 (II.)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.