Summary of problems encountered when installing cmake and mysql in linux, cmakemysql
First, problems encountered during cmake installation:
1. When using the yum command to install the package, I don't know why it never works. Then I need to prepare wget to download the compressed package and then compile it manually. Due to network restrictions, wget cannot download the Internet and always displays connection timed out.
At first, I thought there was a problem with the environment and solved the connection timeout problem. Later, I started to download the file locally and then upload it to the linux server. Because the file is ssh on secureCRT, the rz and sz commands are used.
For settings of the default environment of secyureCRT, under opetion-"session opetion, you can select the default directory, and then run the rz command to upload the local file to the linux server, no parameter added at the beginning-be will keep passing garbled characters
And error, and then re-Execute rz-be.
In this process, I also checked how to delete the file with garbled names in the directory:
Yes. We know that each file has an I node number. We can consider using I node number to manage files. First, we need to obtain
The I node number. This can be obtained through the-I option of the ls command.
-Bash-3.00 $ ls-I
41697812 a 32983551 di 32983554 ethnet. c 32983543 hard_link
32983542 de. c 32983544 ethnet 32983541 ethnet. h 32983543 kstat
The number before each file name is the node number of the file. With the I node number of the file, we can use the-inum option of the find command
Common file management commands are used for file management. For example, to delete a di file, run the following command:
-Bash-3.00 $ find.-inum 32983551-exec rm {}\;
-Bash-3.00 $ ls
A de. c ethnet. c ethnet. h hard_link kstat
2. Upload the corresponding compressed package to the corresponding directory of the linux server, and then unzip and install it.
Http://www.cnblogs.com/mophee/archive/2013/03/19/2969456.html
3. With this Cmake, You can execute the mysql installation script file. This is why cmake has never passed before. It may take some time to install and don't worry.
The following are some of the usage after the installation is complete. The following is a special I post for instructions.