1. Install the VMware Visual machine secret key
2. Installing CentOS6.5
Linux Common commands
1.PWD View current Path
2.ls view directories and files under the current path
Ls-l viewing directories and files as a list
Ls-la View all directories and files as a list (you can see hidden files)
3.clear Clear Screen
4.rpm-qa|grep JDK to see if the JDK is installed
Path to the 5.rpm-ef JDK
6.RPM-IVH Path to install software
7.TAR-ZXVF/directory to extract the software-c/extract to which directory
8.tomcat 8080 Linux cannot directly access ports need to open corresponding port number
Iptables-a input-ptcp--dport 3306-j ACCEPT
Iptables Save
Service Iptales Restart
9.kill-9 Thread Number
10. How to view the thread number
Ps-ef|grep JDK View Thread number
11.mkdir Folder name new Folder
12.CD Jump Directory
13.touch Abc.txt
14.cp-r/directory 1/directory 2 recursive replication
15.MV Catalog 1 Catalog 2 Cut
16.rm-p Directory Recursive deletion
17. User Action Commands
1) su Root uses the SU command to switch to the root user
2) View Current user WhoAmI
3) View the command group for the group to which the current user belongs
4) View the UID of the current user, and the GID ID
5) Add user's new command useradd
6) passwd User name
7) Delete User Userdel user name
8) Modify user information usermod-l new user name old username
9) Modify Yo household group usermod-g new group name User name
10) Add Group Groudadd
18. Permission actions in Code demo
19: Command to install JDK
1) Where to find the JDK installation files Cd/soft
2) See what software is available in the soft directory Ls-la
3) Install RPM-IVH JDK name (copy over)
1. Turn on MySQL service
Service MySQL start;
2. First login MYQL Set password
mysql> Set Password = password (' 123456 ');
3. Authorize the root user to log in remotely
Mysql> Grant all privileges on * * to [e-mail protected] '% ' identified by ' 123456 ' with GRANT option;
20.Linux system Installation SVN how to install software online
Yum-y Install SVN
About Linux basic commands