& Nbsp; (1) when the startup level is 2345, chkconfig closes the ftp service: [root @ RHEL4etc] # chkconfig -- level2345vsftpdoff displays the startup status of each service at different levels: [root @ RHEL4etc] # chkconfig -- list scripts for starting, querying, and disabling daemon: [root @
(1) chkconfig
Disable the ftp service at startup level 2345: [root @ RHEL4 etc] # chkconfig -- level 2345 vsftpd off
Display the startup status of each service at different levels: [root @ RHEL4 etc] # chkconfig -- list
Script for starting, querying, and disabling daemon: [root @ RHEL4 etc] # service vsftpd stop [status, start]
The following are some of the services I know that can be stopped:
Autofs automatically reprints the file system when you need it, but uninstalls it when you do not need it.
Apmd is used to monitor the power usage status of the system and write related information to logs through syslogd. It can also be used to shut down when the power supply is insufficient.
Acpid is a new power management standard to replace the traditional APM power management standard. Generally, the laptop needs to be powered on for management.
Netfs is responsible for loading/detaching NFS, Samba, and NCP (Netware) file systems.
Kudzu is inspecting new hardware and can be switched off. After the new hardware is installed, you can use/usr/sbin/kudzu.
The sendmail Daemon.
Irqbalance is a load balancing daemon for system interrupt requests in multiple system processor environments. If you only install one CPU, you do not need to load this daemon.
(2) smartd startup failure
Smart is a hard disk fault monitoring process.
[Root @ RHEL4 ~] # Service smartd start prompt: start smartd [failed]
[Root @ RHEL4 ~] # Service smartd status prompt: smartd is dead, but sbusys is locked
[Root @ RHEL4 ~] # Tail/var/log/messages-n 15 prompt:
Unable to register device/dev/sda (no Directive-d removable). Exiting.
Unable to register SCSI device/dev/sda at line 30 of file/etc/smartd. conf
The prompt is probably that smart does not support SCSI devices, but I don't understand why the hard disk of my virtual machine RHEL4 is a SCSI hard disk.
I deleted this service in the service: chkconfig -- del smartd
(3) mount
After the USB device is inserted into the host, winXP first prompts to find the device, but no USB device is found through fdisk-l on linux. To solve this problem, choose an anonymous USB device from VM> Removable Devices. The USB device name is sdb1.
[Root @ RHEL4 ~] # Mkdir/mnt/usb
[Root @ RHEL4 ~] # Mount-t auto/dev/sdb1/mnt/usb
[Root @ RHEL4 ~] # Umount/mnt/usb
(4) shutdown
Shutdown is the safest way to shut down. It notifies all logged-on users that the system will be shut down and freezes login. Direct shutdown, delayed shutdown, and even restart are all possible. This gives your applications time to save relevant information.
Shutdown-r restart
Shutdown-t: The number of seconds after shutdown
Shutdown-h power off after shutdown, that is, the halt command
Shutdown-f ignores fsck during reboot and restarts quickly