zoukankan      html  css  js  c++  java
  • 随堂笔记

    1.####重置密码

    第1步:开机后在内核上敲击“e”。
    第2步:在linux16这行的后面输入“rd.break”并敲击“ctrl+x“。
    第3步:进入到了系统的紧急求援模式。
    第4步:依次输入以下命令。
    mount -o remount,rw /sysroot
    chroot /sysroot
    echo "linuxprobe" | passwd --stdin root
    touch /.autorelabel
    exit
    reboot   重启

    这样密码就重置为 linuxprobe了

    2.####修改yumIP

    命令: cd /etc/sysconfig/network-scripts

        vi ifcfg-ens33

    3.###配置vnc

    [root@linuxprobe ~]# yum install tigervnc-server    下载

    rm -rf /etc/systemd/system/vncserver@:1.service //删除文件夹

    cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service //复制
    vi /etc/systemd/system/vncserver@:1.service
    vncpasswd //修改密码
    systemctl start vncserver@:1.service //开启服务
    systemctl enable vncserver@:1.service
    netstat -an|grep 590 //查询端口

    如果您出现了这样的报错:

    xauth: (stdin):1:  bad display name "linuxprobe.com:1" in "add" command

    代表您的主机名(hostname)不能被ping通,请执行这行命令:

    echo "127.0.0.1 linuxprobe.com" > /etc/hosts

    4.###

     

  • 相关阅读:
    软件项目管理阅读笔记02
    大二下周总结(11)
    “帮你APP”团队冲刺9
    “帮你APP”团队冲刺8
    “帮你APP”团队冲刺7
    “帮你APP”团队冲刺6
    “帮你APP”团队冲刺5
    单词统计
    “帮你APP”团队冲刺4
    “帮你APP”团队冲刺3
  • 原文地址:https://www.cnblogs.com/hjt123/p/11701198.html
Copyright © 2011-2022 走看看