1
If you can perform remote operations, set the ssh service on the server
A. Modify the sshd_config file and run the command vi/etc/ssh/sshd_config.
B. Remove the # PasswordAuthentication no comment and change NO to YES.
C. Remove the # PermitRootLogin yes annotation.
D. restart the SSH service. The command is/etc/init. d/sshd restart.
E. Verify the SSH service status. The command is/etc/init. d/sshd status.
2
View disk capacity
Df-h
3
View System Version
Uname-
4
View disk drive
Fdisk-l
5
Attach a cd
Mount-t iso9660/dev/hdc/mnt/cdrom
Attach a USB flash drive
Mount/dev/hdc/mnt/upan
6
Local file copying
Cp-R/mnt/upan/xxx/usr/local/kb
Remote file copy
Scp/mnt/upan/xxx. sh root @ IP_ADDR:/usr/local/kb
7
View the permissions of files in the current folder
Ls-l
8
Grant the execution permission to setup. sh.
Chmod + x./setup. sh
9
Modify the owner and array of a folder
Chown-R kb: kb/data
10
If some link libraries are not found during installation
Search for related libraries in the system
Find/-name libName
11
Establish a soft connection and continue installation
Ln-s *. so *. so
12
Or set the path of the dependent Link Library.
Export LD_LIBRARY_PASS = ~ PWD ~
Export LD_LIBRARY_PASS =/usrlocal/BaseSoft/king/bin
Echo $ LD_LIBRARY_PASS
13
Check whether the linked libraries on which the target program depends are OK.
Ldd kb
14
To view system resource limits, you must adjust the number of file handles that can be opened by a process to limit the number of open files.
Ulimit-
15
Query Process id
Ps-ef | grep kb
16
Kill this process
Kill-9 kb _ process id