Linux essay-bird Brother Linux Server Chapter learning Summary (FULL)

Source: Internet
Author: User

Bird Brother Linux Server Chapter learning Summary

Danbo Time: 2015-7-17

The network mount (AUTOFS) mechanism is started by default at the Runlevel3 startup level, and we can turn it off by command: Chkconfig autofs off or/etc/init.d/autofs stop.

Query start service on network listening: Netstat-lntup
[Email protected] ~]# NETSTAT-LNUTP
Active Internet connections (only servers)
Proto recv-q send-q Local address Foreign address State Pid/program Name
TCP 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1750/sshd
TCP 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1545/cupsd
TCP 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1854/master
TCP 0 0 0.0.0.0:49347 0.0.0.0:* LISTEN 1506/rpc.statd
TCP 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1354/rpcbind

Now let's assume that the RPC.STATD this service starts the listening port, we can use/etc/init.d/xxx stop this command, and then use Chkconfig to set the startup behavior.
[[email protected] ~]#/etc/init.d/rpc.statd stop
[Email protected] ~]# Chkconfig rpc.statd off

YUM-Y update updates the system, which updates the entire system file, including the system kernel.

Common uses of RPM packages:

-IVH: Installation shows installation progress--install--verbose--HASH-UVH: Upgrade Package --UPDATE;-QPL: Lists the file information in the RPM package [Query Packages list] ;-qpi: Lists description information for RPM packages [query package install package (s)];-QF: Find which rpm package the specified file belongs to [query File];-va: Verify all RPM packages to find missing files [ View LOST];-E: Deleting a package

Compare the difference between/ETC/RC.D and/ETC/INIT.D:
[Email protected] ~]# ls-ld/etc/init.d/etc/rc.d/
lrwxrwxrwx 1 root root all Jul 18:03 /etc/init.d-RC.D/INIT.D
Drwxr-xr-x root root 4096 Jul 18:07/etc/rc.d/

We can see that the Init.d folder is a soft connection to RC.D. The/ETC/RC.D/INIT.D contains script files that are used by the Init process (that is, the 1th process) to run the system from the start-up level of the process, with the option to run scripts in the INIT.D. These are generally system-installed software RunLevel, which determines the level at which the system runs after it is booted. This level is from 0 to 6 and has different functions. The level of downtime is 0, and the level of restart is 6. Its value is obtained from the INIT process to read the Initdefault ID value in the Inittab file in the/etc/directory. The average Linux system X11 graphical interface has a runlevel of 5. What is usually called RC is the meaning of the run control.

When we install the hardware into the Linux system and install the driver, how do we judge the hardware P112

Linux Essays-Bird's-brother Linux Server Chapter learning Summary (FULL)

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.