Data Analysis System DIY1/3: Installation documentary of CentOS7 + MariaDB, diy1centos7

Source: Internet
Author: User

Data Analysis System DIY1/3: Installation documentary of CentOS7 + MariaDB, diy1centos7

We plan to systematically learn data analysis through practice.


The three tasks to be completed in the preliminary plan.

1. Use VMware to install 64-bit CentOS. The database server can use the built-in CentOS.

2. Data collection and pre-processing are programmed using Dev-C ++.

3. Use MATLAB R2012b on local Win7 64 to connect to the database for mining and analysis.


This document describes how to complete the first task.


1. First download the iso seeds for the centos 7 DVD on the centos official website, then upload the seeds to Baidu cloud for offline download, and then drag them back to the local device. 4 M/s. It will be done soon.


2. Problems Encountered during installation into VMware. The error "kernel panic-not syncing: Fatal exception" is reported during the self-check installation ". I think the VMware7 version is too low. VMware is upgraded to 10.0.


3. Easy to install with all default options. After installation, yum cannot be used, and no gui is configured. Not afraid, du Niang. Du Niang provides the following solutions:

A. Directly "yum groupinstall 'x Window System '-y" -- no network leads to failure.

B. After mounting the local disc, the vi fails to modify the repo file-yum.

C. Use the command line "vi/etc/sysconfig/network-scripts/ifcfg-eth0" to modify the NIC configuration file, enable DHCP to dynamically obtain the ip address -- completely invalid, or no network.


4. It's not that DU Niang is not awesome, but that I am too fond of food. Reload centos once. Check the options carefully during installation, configure the network, and select gnome desktop as the system type.


5. This time the Network is available. Eh? Centos7 is out of mysql. Is it mariadb? Installation!

A. Change to root Login

B. Open Terminal and run the command "yum-y install mariadb *"

C. start the database and run the Terminal command "service mariadb start"

D. Change the root password. "mysqladmin-u root password '"

E. log on to the database, "mysql-u root-p", and enter the password set in the previous step.

F. Enter the "show databases;" command at the prompt.

MariaDB [(none)]> show databases;

The result is displayed.

+ -------------------- +
| Database |
+ -------------------- +
| Information_schema |
| Mysql |
| Performance_schema |
| Test |
+ -------------------- +
4 rows in set (0.00 sec)

G. Set the mariadb service to start automatically

Root User # Enter "systemctl enable mariadb. service" at the prompt"


Task 1, mission accomplished!




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.