Data Analysis System DIY1/3:CENTOS7+MARIADB installation Documentary

Source: Internet
Author: User

We intend to study the data analysis through practice.


The initial plan is to complete three tasks.

First, with VMware 64-bit CentOS, database service end with CentOS bring the good.

Second, data acquisition and pretreatment with dev-c++ programming solution.

Third, using the local Win7 64 matlab r2012b Connection database for mining analysis.


This article is the process of completing the first task.


1. Download the CENTOS7 DVD ISO seed on the CentOS website first, then upload the seeds to the Baidu cloud offline download, and then drag back to the local. 4m/s, get it done soon.


2. A problem has been encountered in the installation of VMware. Error "kernel panic-not syncing:fatal exception" During the installation of the self-test. Ask Niang, originally is CentOS7 proud jiao, abandon VMware7 version too low. VMware upgrade to 10.0 resolution.


3. Worry, the full default option to install. Installed after the dumbfounded, no net yum can not be used, no GUI will not be set. Not afraid, have degrees Niang. Degrees Niang provides the following solutions:

A. Direct "Yum groupinstall ' X window System '-y"-no nets cause failure.

B. After mounting the local disc VI modify the repo file--yum error failed.

C. Use the command line "Vi/etc/sysconfig/network-scripts/ifcfg-eth0" to modify the network card configuration file, the DHCP dynamic acquisition ip--completely invalid, or no network.


4. Not the degree Niang does not give the force, but I am too vegetable, reload once CentOS bar. Look at the options carefully during installation, configure the network, and select Gnome DESKTOP for the system type.


5. This is a net. Eh Centos7 no MySQL, the favorite is MARIADB? Mount

A. Change root login

B. Open terminal, Run command "yum-y install mariadb*"

C. Start the database, terminal run the command "service mariadb start"

D. Change the root password, "mysqladmin-u root password ' Set the password here"

E. Login database, "Mysql-u root-p", enter the password set in the previous step

F. Prompt to lose a "show databases;" command to try

MariaDB [(None)]> show databases;

The results come out.

+--------------------+
| Database |
+--------------------+
| Information_schema |
| MySQL |
| Performance_schema |
| Test |
+--------------------+
4 rows in Set (0.00 sec)

G. Setting up the MARIADB service boot from boot

Root User # Prompt , enter "Systemctl Enable Mariadb.service"


Task One, Mission accomplished!

Data Analysis System DIY1/3:CENTOS7+MARIADB installation Documentary

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.