Installation and service management of Linux

Source: Internet
Author: User

1. Red Hat 6.5 steps to turn off the firewall:

(1). Close Iptables:chkconfig

Iptables off

(2). Close SELINUX, double-click Open, Etc/stsconfig/selinux file, modify "Selinux=disabled", save exit.

(3). Restart

2.linux boot process: post---MBR boot----GRUB MENU----Load the Linux kernel----init process initialization .

Meaning and purpose of the 3.linux operation level:

(1: Single user mode, no user name and password to log in, more for system maintenance)

(2: Multi-user mode for character interface "network access not supported")

(3: Full multi-user mode for character interface, most server hosts run at this level)

(4: Not assigned to use)

(5: Multi-user mode of graphical interface, providing a graphical desktop operating environment)

(6: Restart)

(0: Shutdown status)

The role of each field in the 4.inittab file;

    1. ) ID---tag field to differentiate the configuration of other rows

2.) runlevels------runlevel field, Linux works together to meet different functional requirements by combining different system services

3.) Action--------Action Type field, which describes the action category for the row configuration, Initdefault indicates "default entry to run level after setting initialization system"

4.) process------Program or script field for actual operation

5. Methods to control the specified system services;

    1. )Service Name control type

    2. )/etc/rc.d/init.d/Service Name control type

6. Several common types of control:

*start-------Start up

*stop---------Stop

*restart---------Restart

*reload------Overloading

*status-----View Status

7. View the RunLevel RunLevel (the first column will show N if the run level was previously switched)

Switching the operating level of the system init RunLevel

8. Optimized boot load service can use NTSYSV tools and Chkconfig tools

Chkconfig--list View the default boot status for all services

Chkconfig--level Run-level service name On|off set the default startup state for the service

9. View the free memory grep "Memfree"/proc/meminfo






This article from "12005549" blog, declined reprint!

Installation and service management of Linux

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.