0 0
0 0

Docker install Debian

Read Time:2 Minute, 2 Second

之前用docker安装magento2之后进行配置网站时,原环境是centos,我个人习惯于debian的环境配置,便直接pull了debian的最新版本开始环境配置:

## DOCKER IMAGE

for the example we can use Debian. Search in Docker hub the Image https://hub.docker.com/_/debian.

Now, download the image:

下载debian的docker最新镜像

docker pull debian

## CONTAINER

Now, we need to set up and run the image:

if went not download the image before, the debian image could be downloaded y create the Container.

pull下载完之后,启动镜像并进入容器内

docker run --name debian -e LANG=C.UTF-8 -it debian /bin/bash -l

with the command we obtain the bash shell section in the Container named to debian, with the hostname set to debian and locale to C.UTF-8.

## SETUP ENVIRONMENT

Now we can update and install some packages necessary:

更新软件包的列表,并安装本地环境包

apt update && apt upgrade --yes && apt install sudo locales --yes

(更多…)

About Post Author


Hye

天法道,道法自然。
逸庭前,花开花落。

administrator


Happy

Happy

0 %


Sad

Sad

0 %


Excited

Excited

0 %


Sleepy

Sleepy

0 %


Angry

Angry

0 %


Surprise

Surprise

0 %

0 0

nextcloud

Read Time:2 Second

昨天在服务器端DOCKER安装配置了nextcloud服务端,今天在gentoo下安装配置了客户端,并进行了部分数据的同步应用,服务器在德国,速度相对来说还可以,比国内同步到GOOGLE DRIVER要快不少,感觉还算满意。

(更多…)

About Post Author


Hye

天法道,道法自然。
逸庭前,花开花落。

administrator


Happy

Happy

0 %


Sad

Sad

0 %


Excited

Excited

0 %


Sleepy

Sleepy

0 %


Angry

Angry

0 %


Surprise

Surprise

0 %

0 0

Docker portainer/portainer

一、什么是Portainer? Portainer是Docker的图形化管理工具,提供状态显示面板、应用模板快速部署、容器镜像网络数据卷的基本操作(包括上传下载镜像,创建容器等操作)、事件日志显示、容器控制台操作、Swarm集群和 阅读更多…

0 0
0 0
0 0
0 0

在 Debian 10 上安装 MariaDB

首先更新包索引: sudo apt update 通过运行以下命令安装 MariaDB 服务器和客户端软件包: sudo apt install mariadb-server MariaDB 服务将自动启动。要验证它,请检查服务状态: sudo systemctl status mariadb 保 阅读更多…