mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-03-27 02:30:10 +08:00
commit
7342d2b210
@ -1,3 +1,4 @@
|
|||||||
|
ucasFL translating
|
||||||
How to Install MariaDB 10 on Debian and Ubuntu
|
How to Install MariaDB 10 on Debian and Ubuntu
|
||||||
============================================================
|
============================================================
|
||||||
|
|
||||||
@ -77,7 +78,7 @@ $ sudo apt-get install mariadb-server
|
|||||||
During the course of installation, you’ll be asked to configure the MariaDB server; set a secure root user password in the interface below.
|
During the course of installation, you’ll be asked to configure the MariaDB server; set a secure root user password in the interface below.
|
||||||
|
|
||||||
[
|
[
|
||||||

|

|
||||||
][6]
|
][6]
|
||||||
|
|
||||||
Set New Root Password for MariaDB
|
Set New Root Password for MariaDB
|
||||||
@ -85,7 +86,7 @@ Set New Root Password for MariaDB
|
|||||||
Re-enter the password and press [Enter] to continue with the installation process.
|
Re-enter the password and press [Enter] to continue with the installation process.
|
||||||
|
|
||||||
[
|
[
|
||||||

|

|
||||||
][7]
|
][7]
|
||||||
|
|
||||||
Repeat MariaDB Password
|
Repeat MariaDB Password
|
||||||
@ -93,19 +94,19 @@ Repeat MariaDB Password
|
|||||||
3. When the installation of MariaDB packages completes, start the database server daemon for the mean time and enable it to start automatically at the next boot as follows:
|
3. When the installation of MariaDB packages completes, start the database server daemon for the mean time and enable it to start automatically at the next boot as follows:
|
||||||
|
|
||||||
```
|
```
|
||||||
------------- On SystemD Systems -------------
|
------------- On SystemD Systems -------------
|
||||||
$ sudo systemctl start mariadb
|
$ sudo systemctl start mariadb
|
||||||
$ sudo systemctl enable mariadb
|
$ sudo systemctl enable mariadb
|
||||||
$ sudo systemctl status mariadb
|
$ sudo systemctl status mariadb
|
||||||
------------- On SysVinit Systems -------------
|
------------- On SysVinit Systems -------------
|
||||||
$ sudo service mysql start
|
$ sudo service mysql start
|
||||||
$ chkconfig --level 35 mysql on
|
$ chkconfig --level 35 mysql on
|
||||||
OR
|
OR
|
||||||
$ update-rc.d mysql defaults
|
$ update-rc.d mysql defaults
|
||||||
$ sudo service mysql status
|
$ sudo service mysql status
|
||||||
```
|
```
|
||||||
[
|
[
|
||||||

|

|
||||||
][8]
|
][8]
|
||||||
|
|
||||||
Start MariaDB Service
|
Start MariaDB Service
|
||||||
@ -122,7 +123,7 @@ Start MariaDB Service
|
|||||||
$ sudo mysql_secure_installation
|
$ sudo mysql_secure_installation
|
||||||
```
|
```
|
||||||
[
|
[
|
||||||

|

|
||||||
][9]
|
][9]
|
||||||
|
|
||||||
Secure MariaDB Installation
|
Secure MariaDB Installation
|
||||||
@ -134,7 +135,7 @@ $ mysql -V
|
|||||||
$ mysql -u root -p
|
$ mysql -u root -p
|
||||||
```
|
```
|
||||||
[
|
[
|
||||||

|

|
||||||
][10]
|
][10]
|
||||||
|
|
||||||
Check MariaDB Version
|
Check MariaDB Version
|
||||||
|
Loading…
Reference in New Issue
Block a user