Service management of Linux system Management, Ipv6,tcp_wrappers

Source: Internet
Author: User

Service Management

1. View the service status of all unit file individual files

Systemctl List-unit-files

Systemctl list-unit-files--type Serbice (Type filter)

2. Configure the Yum repository for small knowledge points

file://local file/mnt under the root of mnt

3. Service Status

View state systemctl Status service name

Start Service systemctl Start service name

Shutdown Service systemctl Stop service name

Next open still effective systemctl enable service name

4. Four common states

Static statics

Enable Open

Disable off

Unkown

5. Lock Service

Systemctl Mask Service Name

Systemctl unmask Service Name

6. View current Active status

Systemctl is-active Service Name

7. Get the current run level

Systemctl Get-default

8. Set the operating level of the system

Systemctl Set-default + Level

9. View the Run level

Cat/etc/inittab


IPv6

1. Set IPv6 address

2.NMCLI Connection Modify ipv6.addresses network card name "IPv6 address" (IPv6. DNS) Ipv6.method Manual Connection.autoconnect Yes

Systemctl Restart Network

3.ping6 IPv6 Address

4. View IPv6 Address

NMCLI connection show Nic name | grep ipv6.addresses


Tcp_wrappers

1. is a system that provides us with a mechanism to enhance security

2./etc/hosts.allow

/etc/hosts.deny

3. Determine whether a service relies on a library

LDD-V Services | grep Library

4.man LDD Show dependencies for shared libraries


This article from "Big Plum" blog, declined reprint!

Service management of Linux system Management, Ipv6,tcp_wrappers

Related Article

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.