Because some days ago friends engaged in a smart home development, written in C, called me to install a centos (a kind of Linux) to develop, so these days are groping how to install, of course, friends have to give a little help (hateful color long, you call me to pretend things, also do not help me), Because I've never done this before, so it's a bit of a hassle to do it now.
Business! @
I'm going to put something on the virtual machine.
1. CentOS 6.5
2, Eclipse C + + Linux version of the URL is (http://www.eclipse.org/downloads/), note is to download the Linux version, friends, do not mistake
3, the JDK address is what own Baidu Bar
4, GCC (CentOS6.5 execute linux command yum install GCC), as if the compiler
5, GdB (CentOS6.5 in the implementation of the Linux command yum install GDB installation)
6, MySQL (CentOS6.5 in the implementation of the Linux command yum install MYSQL installation)
7. mysql Service (CentOS6.5 has execute linux command yum install mysql-server)
After loading the above things can be basically C development, to note that after the MySQL loaded, to test if you can connect to the
First, execute the Enable MySQL service command
Mysqld Start
There will be OK words, sweat, look at the picture bar, really do not want to upload, trouble
After the startup of SQL you can try to log in,
Input command Mysql-uroot-proot, here to break down the meaning of this command, MySQL means to open MySQL,-u refers to the place where the user name is entered, root refers to the user name,-p refers to the place where the password is entered, root is the password
You may have to change the problem.
Enter command mysqladmin-u root password xxx//xxx is the password you set
Linux is installed in Eclipse/C + +, and environment configuration