ubuntu20.04默认密码_ubuntu服务器版默认密码

后端 (6) 2024-03-31 12:23

Hi,大家好,我是编程小6,很荣幸遇见你,我把这些年在开发过程中遇到的问题或想法写出来,今天说一说ubuntu20.04默认密码_ubuntu服务器版默认密码,希望能够帮助你!!!。
Ubuntu20详细安装步骤

镜像下载、域名解析、时间同步请点击 阿里云开源镜像站

Ubuntu20.04服务器版安装

下载地址:ubuntu.com/download/des

一、语言选择:English(按Done确认,Done按钮在安装窗口的最下面)


ubuntu20.04默认密码_ubuntu服务器版默认密码_https://bianchenghao6.com/blog_后端_第2张

二、Installer update available选择Continue without updating

三、Keyboard configuration(键盘布局)选择Done默认即可

四、Network connections(网络配置)选择默认的动态IP地址,成功IP地址后,选择Done

五、Configure Proxy(配置代理服务):默认空白即可,选择Done

六、configure Ubuntuu archive mirror(设置软件源的地址)修改为:mirrors.aliyun.com/ubun,然后点击Done


ubuntu20.04默认密码_ubuntu服务器版默认密码_https://bianchenghao6.com/blog_后端_第4张

6.1Installer update available(安装器的更新)选择Update to the new installer{有的安装会出现这个界面}

七、Guided storage configuration(磁盘分区设置) 默认选择use an entire disk 然后选择Done

八、Storage configuration(分区预览),选择Done,然后会弹出警告:是否确认,点击Continue


ubuntu20.04默认密码_ubuntu服务器版默认密码_https://bianchenghao6.com/blog_后端_第6张

九、Profile setup(创建用户配置),然后点击Done


ubuntu20.04默认密码_ubuntu服务器版默认密码_https://bianchenghao6.com/blog_后端_第8张

十、SSH Setup(弹出是否安装open ssh),选择安装,然后点击Done


ubuntu20.04默认密码_ubuntu服务器版默认密码_https://bianchenghao6.com/blog_后端_第10张

十一、Featured Server Snaps(其他功能软件列表),选一个docker表示安装docker,什么都不选表示不安装任何工具,直接移动到最后,选择Done


ubuntu20.04默认密码_ubuntu服务器版默认密码_https://bianchenghao6.com/blog_后端_第12张

十二、installing system(系统开始安装),然后等待让他安装,当View full log和Cancel update and reboot变成reboot 说明已经安装完成,点击重启

启动成功后,根据安装时设置的账户密码登录


ubuntu20.04默认密码_ubuntu服务器版默认密码_https://bianchenghao6.com/blog_后端_第14张

VMware网络需要改为桥接

启动docker

sudo service docker start

设置docker开启自启动

sudo systemctl enable docker

将当前用户加入到docker用户组中,那么当前用户就有权限访问Unix socket了,进而也就可以执行docker相关命令。

sudo groupadd docker            #添加docker用户组
sudo gpasswd -a $USER docker    #将登陆用户加入到docker用户组中
newgrp docker                   #更新用户组
docker ps                       #测试docker命令是否可以使用sudo正常使用

Ubunto20同步网络时间

1、使用timedatectl命令修改时区

sudo timedatectl set-timezone Asia/Shanghai

2、运行命令,验证修改

timedatectl

3、修改时间为24小时制显示

sudo vi /etc/default/locale
#文中添加一行
echo "LC_TIME=en_DK.UTF-8" >> /etc/default/locale

4、如果未生效重启服务器

原文链接:blog.csdn.net/weixin_48

今天的分享到此就结束了,感谢您的阅读,如果确实帮到您,您可以动动手指转发给其他人。