Linux is installed in Eclipse/C + +, and environment configuration

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.