博客
关于我
vagrant 新增 root 用户
阅读量:399 次
发布时间:2019-03-05

本文共 198 字,大约阅读时间需要 1 分钟。

要完成上述任务,您需要按照以下步骤操作:

  • 首先,输入两次新密码以更改根用户的密码:

    sudo passwd root

    根据提示输入两次新密码。

  • 接着,切换到根用户并进入指定目录:

    su rootcd /etc/nginx/sites-available

    这将使你进入Nginx配置文件所在目录。

  • 在完成以上步骤后,你需要执行删除操作:

    rm -f 
    <配置文件名>

    确认要删除的文件名后按回车键,完成操作。

  • 转载地址:http://piuzz.baihongyu.com/

    你可能感兴趣的文章
    ReferenceQueue的使用
    查看>>
    php flush()刷新不能输出缓冲的原因分析
    查看>>
    Referenced classpath provider does not exist: org.maven.ide.eclipse.launchconfig
    查看>>
    Refactoring-Imporving the Design of Exsiting Code — 代码的坏味道
    查看>>
    PHP imap 远程命令执行漏洞复现(CVE-2018-19518)
    查看>>
    php include和require
    查看>>
    ref 和out 区别
    查看>>
    php JS 导出表格特殊处理
    查看>>
    php json dom解析
    查看>>
    ReentrantReadWriteLock读写锁解析
    查看>>
    php laravel实现依赖注入原理(反射机制)
    查看>>
    php laravel请求处理管道(装饰者模式)
    查看>>
    ReentrantReadWriteLock读写锁底层实现、StampLock详解
    查看>>
    PHP mongoDB 操作
    查看>>
    ReentrantLock读写锁
    查看>>
    ReentrantLock的公平锁与非公平锁
    查看>>
    php mysql procedure获取多个结果集
    查看>>
    php mysql query 行数,PHP和MySQL:返回的行数
    查看>>
    php mysql session_php使用MySQL保存session会话
    查看>>
    PHP mysql_real_escape_string() 函数防SQL注入
    查看>>