Love My Love

LEMP/LNMP 环境搭建(Nginx1.10 + PHP7)

更多文档请浏览官方文档和Wiki,这个很重要,其实文档里已经说的很清楚了,会遇到的Bug往往在回复里也有。

......

Shell Study

$ pushd $openssh_source_dir > /dev/null 命令 说明 command > file 将输出重定向到 file。 command < file 将输入重定向到 file。 command » file 将输出以追加的方式重定向到 file。 n > file 将文件描述符为 n 的文件重定向到 file。 n » file 将文件描述符为 n 的文件以追加......

sudo命令输入密码还是不能用?

sudo Command is unable in centos system?

我遇到了这样的问题,在 CentOS 7 系统下,执行 sudo 提示 Sorry, try again. ,密码是正确的密码,当前用户和 root 的密码都试过,都是这样 visudo 也都配置正确,怎么办?

我参考了这里:https://www.centos.org/forums/viewtopic.php?t=40708

......

Linux系统下,如何重置root密码?

本人遇到一个很尴尬的问题,忘记了 vps 的 root 的密码。怎么办?查阅官方提示,找到如下方法:

https://www.vultr.com/docs/boot-into-single-user-mode-reset-root-password

......