Operation Step
1. Disk Partitioning
2. Create physical volumes--list physical volumes--Show physical volume properties
Create Volume Group--list volume group--Show volume group properties
Creating logical Volumes--listing logical volumes--displaying logical volume properties
3. format (create file system)
4. mount and display
Jobs: View background pending jobs
FG [ job number ]
Chkconfig
Binary program :/USR/SBIN/VSFTPD
configuration file :/etc/vsftpd/vsftpd.conf
startup script:/etc/rc.d/init.d/vsftpd
Manual Control Service:
/ETC/RC.D/INIT.D/VSFTPD start
/ETC/RC.D/INIT.D/VSFTPD stop
/ETC/RC.D/INIT.D/VSFTPD status
Servise vsftpd Start
Servise vsftpd Stop
Servise vsftpd Status
Automatic control
# chkconfig-list VSFPD
# chkconfig--level vsftpd on
# ll *vsftpd*
[Email protected] ~]# CD/ETC/RC5.D
[email protected] rc5.d]# ll *vsftpd*
lrwxrwxrwx. 1 root root 7 months 05:56 k50vsftpd. /INIT.D/VSFTPD
[Email protected] rc5.d]# chkconfig--level vsftpd on
[email protected] rc5.d]# ll *vsftpd*
lrwxrwxrwx. 1 root root 7 months 15:43 s60vsftpd. /INIT.D/VSFTPD
[Email protected] rc5.d]#
Kernel:
Chapter
to view process information: PS-EF | Grep
View All processes: ps-a
Show Important information for running processes /processes : Top top [ options ]
kill process:Kill
Kill-l Display signal name
Sleep 999&
Ps-ef | grep sleep
Pstree 21763 ( parent process pid of Sleep)
Kill 23945( pid of sleep )
Jobs: View the status of background jobs press CTRL + Z (closed but background hangs)
Sleep 999&
Kill-9 24069 ( forced kill 24069 process )
BG + Job number example:BG 2
FG + Job number
Chapter VII mission plan
additions and deletions crontab entry:crontab crontab[ options ]
crontab[ Options [ file ]
The sun and the moon cannot be seen together
*/2 * * * *:: Every 2 minutes
#Crontab-E: editing content
#* * * * * echo $ (date) >>/root/test.log: Show Date
#Crontab-L: View content
#Cat/var/spool/cron/root
#cat/var/log/cron
Linux system basics with the Tang notes 5 7.24