In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly shows you "how to use OneinStack to install mysql 5.7", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn" how to use OneinStack to install mysql 5.7" this article.
[root@test ~] # wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz
-- 2017-10-11 10 purl 23 purl 09 muri-http://mirrors.linuxeye.com/oneinstack-full.tar.gz
Resolving mirrors.linuxeye.com... 121.196.203.66
Connecting to mirrors.linuxeye.com | 121.196.203.66 |: 80. Connected.
HTTP request sent, awaiting response... 200 OK
Length: 288846554 (275m) [application/octet-stream]
Saving to: "neinstack-full.tar.gz"
288846554 1.20M/s in 3m 26s
2017-10-11 10:26:35 (1.34 MB/s)-"neinstack-full.tar.gz" saved [288846554pm 288846554]
[root@test ~] # ll
Total 282160
-rw-. 1 root root 1341 Apr 7 2017 anaconda-ks.cfg
Drwxr-xr-x. 3 root root 4096 Apr 13 11:38 Desktop
Drwxr-xr-x. 2 root root 4096 Apr 13 11:37 Documents
Drwxr-xr-x. 2 root root 4096 Apr 13 11:37 Downloads
-rw-r--r--. 1 root root 26876 Apr 7 2017 install.log
-rw-r--r--. 1 root root 7572 Apr 7 2017 install.log.syslog
Drwxr-xr-x. 2 root root 4096 Apr 13 11:37 Music
-rw-r--r-- 1 root root 288846554 Oct 9 09:03 oneinstack-full.tar.gz
Drwxr-xr-x. 2 root root 4096 Apr 13 11:37 Pictures
Drwxr-xr-x. 2 root root 4096 Apr 13 11:37 Public
Drwxr-xr-x. 2 root root 4096 Apr 13 11:37 Templates
Drwxr-xr-x. 2 root root 4096 Apr 13 11:37 Videos
[root@test ~] # tar xzf oneinstack-full.tar.gz
[root@test ~] # ll
Total 282164
-rw-. 1 root root 1341 Apr 7 2017 anaconda-ks.cfg
Drwxr-xr-x. 3 root root 4096 Apr 13 11:38 Desktop
Drwxr-xr-x. 2 root root 4096 Apr 13 11:37 Documents
Drwxr-xr-x. 2 root root 4096 Apr 13 11:37 Downloads
-rw-r--r--. 1 root root 26876 Apr 7 2017 install.log
-rw-r--r--. 1 root root 7572 Apr 7 2017 install.log.syslog
Drwxr-xr-x. 2 root root 4096 Apr 13 11:37 Music
Drwxr-xr-x 7 root root 4096 Oct 9 09:03 oneinstack
-rw-r--r-- 1 root root 288846554 Oct 9 09:03 oneinstack-full.tar.gz
Drwxr-xr-x. 2 root root 4096 Apr 13 11:37 Pictures
Drwxr-xr-x. 2 root root 4096 Apr 13 11:37 Public
Drwxr-xr-x. 2 root root 4096 Apr 13 11:37 Templates
Drwxr-xr-x. 2 root root 4096 Apr 13 11:37 Videos
[root@test ~] # cd oneinstack
[root@test oneinstack] #. / install.sh
#
# OneinStack for CentOS/RadHat 6 + Debian 7 + and Ubuntu 12 + #
# For more information please visit https://oneinstack.com #
#
Please input SSH port (Default: 22):
Do you want to enable iptables? [y/n]: n
Do you want to install Web server? [y/n]: n
Do you want to install Database? [y/n]: y
Please select a version of the Database:
1. Install MySQL-5.7
2. Install MySQL-5.6
3. Install MySQL-5.5
4. Install MariaDB-10.2
5. Install MariaDB-10.1
6. Install MariaDB-10.0
7. Install MariaDB-5.5
8. Install Percona-5.7
9. Install Percona-5.6
10. Install Percona-5.5
11. Install AliSQL-5.6
Please input a number: (Default 2 press Enter) 1
Please input the root password of database: root.123
Please choose installation of the database:
1. Install database from binary package.
2. Install database from source package.
Please input a number: (Default 1 press Enter) 1
Do you want to install PHP? [y/n]: n
Do you want to install Pure-FTPd? [y/n]: n
Do you want to install redis? [y/n]: n
Do you want to install memcached? [y/n]: n
Do you want to install HHVM? [y/n]: n
.
76700K. . . . . 12% 566k 15m30s
76750K. . . . . 12% 556K 15m30s
76800K. . . . . 12% 636K 15m30s
76850K. . . . . 12% 811K 15m30s
76900K. . . . . 12% 605k 15m29s
76950K. . . . . 12% 635K 15m29s
77000K. . . . . 12% 341K 15m30s
77050K. . . . . 12% 2.82m 15m29s
.
Mysql-5.7.19-linux-glibc2.12-x86_64/support-files/magic
Mysql-5.7.19-linux-glibc2.12-x86_64/support-files/mysql.server
Mysql-5.7.19-linux-glibc2.12-x86_64/docs/INFO_BIN
Mysql-5.7.19-linux-glibc2.12-x86_64/docs/INFO_SRC
MySQL installed successfully!
~ / oneinstack
Starting MySQL. [OK]
Mysql: [Warning] Using a password on the command line interface can be insecure.
Shutting down MySQL.. [OK]
Starting MySQL.. [OK]
# Congratulations####
Total OneinStack Install Time: 24 minutes
Database install dir: / usr/local/mysql
Database data dir: / data/mysql
Database user: root
Database password: root.123
Please restart the server and see if the services start up fine.
Do you want to restart OS? [y/n]: y
Complete the installation after reboot.
The above is all the contents of the article "how to install mysql 5.7with OneinStack". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.