Get the App
SLTechnology News&Howtos  ›  Database  › 

Centos 6.5. install one of the database sections of Atlassiana Crowd+JIRA+Confluence (Wiki) (MySQL5.1)

Shulou Source: shulou.com Published: 2022-06-01 11:31:15 09月30日 Update

Software preparation

1. Database software

Mysql 5.1 main program

Mysql clinet connection client

Mysql-devel driver

Installation steps

Install the operating system

Configure the host name

Modify IP address

Modify the system time to keep the time accuracy

Yum installation database

Open the database and make related changes

Open the corresponding port of the firewall

Modify host name

Vi / etc/sysconfig/network

Modify the hostname of your plan for HOSTNAME=

Save and launch

Modify host IP address

Vi / etc/sysconfig/network-scripts/ifcfg-eth0

Save the configuration file and restart the system for the computer name to take effect

Modify system time

Rm-rf / etc/localtime

Yum install-y ntpdate

Ntpdate us.pool.ntp.org

Ln-s / usr/share/zoneinfo/Asia/Shanghai / etc/localtime

Install the database

Yum install mysql mysql-server mysql-devel-y

Configuration database

Service mysqld start

Mysqladmin-u root password 'new password'

Modify the my.cnf file

Character-set-server=utf8

Default-storage-engine=InnoDB

Max_allowed_packet=50000000

Set-variable=max_allowed_packet=50000000

Save the configuration and restart the database

Open the firewall port

/ sbin/iptables-I INPUT-p tcp-- dport 3306-j ACCEPT

/ etc/init.d/iptables save

At this point, the database installation is complete, waiting for the database to be created.

Tags: Data database host system configuration name time address file port software firewall fire protection operating system main program accuracy client client step program Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Huawei Linux macOS Shulou Information