Ubuntu install msyql
Download various packages online
1. Ensure that the system is online, can access the Internet, and has a domain name server
2, Sudo vi /etc/resolv.conf, add nameserver 8.8.8.8 (or the name server of the local area network where the computer is located) to the last line
3, Sudo apt-get update (update system software source)
4, apt-cache search mysql |grep server, find the installation package name related to mysql-server
5, sudo apt-get install mysql-server-5.6 -d (add-d at the end to download the installation package, otherwise choose online installation)
6, and then install dependencies.
7, download the good files in/var/cache/apt/archives, copy all downloaded deb files to a folder under the home directory.
8, go to folder, sudodpkg -I *.deb
9, then check if msyql runs netstat -antupl| grep :3306
Using offline packages
Start directly from step 7 above.