在这里插入图片描述
✨
1.3
修改时区
[root@jeames ~]# docker cp /usr/share/zoneinfo/Asia/Shanghai
oracle19C:/etc/localtime
✨
1.4
进入容器
[root@jeames ~]# docker exec -it oracle19C bash
✨
1.5 yum
安装包
yum install -y openssh-clients openssh-server initscripts \
net-tools telnet which wget passwd
yum install -y e4fsprogs lrzsz sudo unzip lvm2 \
tree traceroute bridge-utils dos2unix rlwrap
yum -y install vim redhat-lsb
✨
1.6
启动
ssh
进程
systemctl restart sshd echo "root:root" | chpasswd --
修改
root
用户密码
评论