Docker-构建自己的Web-Linux系统-镜像webtop:ubuntu-kde

介绍

复制代码
安装自己的linux-server,可以作为学习使用,web方式访问,基于ubuntu构建

开源项目

复制代码
https://github.com/linuxserver/docker-webtop

安装

复制代码
docker run -d -p 1336:3000 -e PASSWORD=123456 --name webtop lscr.io/linuxserver/webtop:ubuntu-kde

登录

复制代码
docker exec -it --user root webtop /bin/bash

apt update
apt install vim

配置镜像源

复制代码
cp /etc/apt/sources.list /etc/apt/sources.list.bak

vim /etc/apt/sources.list

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse

chown root:root /etc/apt/sources.list
apt update

安装语言包

复制代码
sudo apt-get install language-pack-kde-zh-hant language-pack-kde-zh-hans language-pack-zh-hans-base language-pack-zh-hant-base language-pack-zh-hans

sudo apt-get install fonts-wqy-zenhei

配置语言

复制代码
locale -a
sudo locale-gen zh_CN.UTF-8
sudo update-locale LANG=zh_CN.UTF-8

登录

复制代码
http://127.0.0.1:1336
用户名:abc
密码:123456(安装时配置)
相关推荐
未济9 小时前
linux 配置环境变量
linux
傲世仙尊9 小时前
目录即文件-Ext文件系统收尾篇
linux·c语言
分布式存储与RustFS10 小时前
MinIO 官方 Docker 镜像被移除:依赖它的项目该怎么办
docker·云原生·devops·对象存储·minio·分布式存储
_艾伦 耶格尔.11 小时前
进程间通信
linux
Liuqy-0512 小时前
Linux IO编程——静态库、动态库
linux
彧azz12 小时前
Linux 环境下 Redis 学习总结:数据类型、持久化、锁、事务、主从与缓存问题
linux·redis·笔记·学习·面试
玉&心12 小时前
通过Arthas在线诊断K8S中的内存及JVM等使用情况
docker·k8s·arthas
xing-xing13 小时前
Docker容器中Nginx站点根目录网页配置访问
nginx·docker
-梅13 小时前
linux(8) 软硬链接
linux·运维·服务器
guo_wen_qiang13 小时前
上传本地镜像到harbor中
docker·容器·持续部署