Background Run Details: https://www.cnblogs.com/little-ant/p/3952424.html
View ports, find commands, and more
Find file information by keyword: Cat < file name > | grep < keywords >"guard" --R 7774040 -ef |grep Tomcat lsof-i:5300" keyword " path
Reference: http://blog.csdn.net/wjcquking/article/details/45293167
Update system: Yum update
The error message is as follows:
Loaded plugins:fastestmirrorexisting lock/var/run/yum.pid:another copy is running as PID 2503.Another app is currently Holding the Yum lock; Waiting for it to exit ... The other application Is:yum memory:19 M RSS (306 MB VSZ) started:thu Oct 23:03:02 2015-04:00 ago State : traced/stopped, pid:2503
Workaround:
Rm-rf/var/run/yum.pid to forcibly unlock, then you can use your Yum as usual.
1.RZ Command Installation
After the root account is logged in, execute the following command: yum install-y lrzsz
1.2. Instructions for use
SZ command send file to Local: SZ filename
RZ command to upload files locally to server: RZ
After executing the command, select the file you want to upload in the pop-up box.
Description: Open the directories for uploading and downloading under Options, X/y/zmodem, Options, SECURECRT software.
2.unzip Installation: Yum install UNZIP3.install wget.
Install command: yum-y install wget
Reference Address: http://www.cnblogs.com/UncleFreak/p/5720996.html
4.netstat Installation
Install command: Yum install Net-tools
5. Installing GCC
Install command: Yum install gcc
6.linux redis Setup Password login
Redis Set Password access
Your redis is not accessible in the real environment, so you have to set a password if you want to access it.
The process for setting the password is as follows:
Vim/etc/redis.conf found 480 rows
#requirepass foobared Remove the comment, foobared change to its own password, I change here
Requirepass 123456
Then save, restart the service
Cd/usr/local/bin
./redis-server/etc/redis.conf
Test connection:./redis-cli
The input command will prompt (error) Noauth authentication required. This is a normal phenomenon.
We enter auth 123456# the password you just set
to view all open port commands :
Firewall-cmd--zone=public--list-ports
List all ports:
Netstat-ntlp
Linux basic command "record"