Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Ubuntu install msyql

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

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.

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.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report