ubuntu初始配置

it2023-05-08  71

一.ubuntu安装mysql

1.安装服务端

sudo apt-get install mysql-server

2.安装客户端

sudo apt-get install mysql-client

3.查看是否安装成功

sudo netstat -tap | grep mysql

二.ubuntu安装nginx

1.更新apt

sudo apt update

2.安装nginx

sudo apt install nginx

3.查看是否安装成功

sudo systemctl status nginx

三.ubuntu安装python3.6

1.配置软件仓库

sudo add-apt-repository ppa:jonathonf/python-3.6

2.更新apt-get

sudo apt-get update

3.安装python3.6

sudo apt-get install python3.6

四.ubuntu安装docker

1.安装ubuntu维护docker版本

apt install docker.io

2.测试docker

docker run hello-world

3.查看本地镜像

docker images

4.安装docker-compose

apt install docker-compose
最新回复(0)