用OneinStack安裝mysql 5.7
--2017-10-11 10:23:09--
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鈥
100%[======================================================================================================================>] 288,846,554 1.20M/s in 3m 26s
2017-10-11 10:26:35 (1.34 MB/s) - 鈥渙neinstack-full.tar.gz鈥saved [288846554/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 #
#######################################################################
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
重啟後完成安裝。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22996654/viewspace-2145907/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Docker 安裝 Mysql 5.7DockerMySql
- mysql5.7.x用壓縮包安裝MySql
- CentOS 7 - 安裝MySQL 5.7CentOSMySql
- CentOS 7 安裝 MySQL 5.7CentOSMySql
- mysql5.7 安裝教程MySql
- mysql 5.7 多例項安裝MySql
- centos安裝mysql5.7CentOSMySql
- Windows安裝MySQL5.7教程WindowsMySql
- Linux下安裝MySQL 5.7LinuxMySql
- Linux 7 安裝Mysql 5.7LinuxMySql
- CentOS 6.5/6.6 安裝mysql 5.7CentOSMySql
- MySQL 5.7安裝部署總結MySql
- mysql 5.7單例項安裝MySql單例
- MySQL:mysql5.7解壓版安裝與解除安裝MySql
- debian-mysql5.7安裝與解除安裝MySql
- Mysql 5.7 免安裝版windows安裝完整教程MySqlWindows
- CentOS7.3 安裝 MySQL5.7CentOSMySql
- Ubuntu 18.04 安裝配置 MySQL 5.7UbuntuMySql
- CentOS7 安裝mysql5.7CentOSMySql
- mysql5.7tar包的安裝MySql
- macOS Mojave 降級安裝 MySQL 5.7MacMySql
- MySQL5.7綠色版安裝MySql
- 如何在debain上安裝mysql 5.7AIMySql
- mysql5.7安裝_centos7MySqlCentOS
- ubuntu16 安裝mysql5.7UbuntuMySql
- windows安裝及配置mysql5.7WindowsMySql
- mysql5.7GeleraCluster安裝部署(二)MySql
- Ubuntu 16.04 上安裝 MySQL 5.7UbuntuMySql
- windows同時安裝 5.7 8.0 mysqlWindowsMySql
- [Mysql] 1.Mysql 5.7 綠色安裝(windows)MySqlWindows
- centos7.2 mysql5.7安裝教程CentOSMySql
- CentOS7下yum安裝MySQL 5.7CentOSMySql
- CentOS7 yum安裝MySQL5.7CentOSMySql
- centos7.6 安裝配置 mysql5.7CentOSMySql
- MySQL5.7 在CentOS 下的安裝MySqlCentOS
- linux離線安裝mysql5.7LinuxMySql
- mysql5.6以上(適用5.7)免安裝版本 終極配置MySql
- Linux使用原始碼來安裝MySQL 5.7Linux原始碼MySql