1. 重启Linux reboot 2. 修改文件命令 vi 例如vi /etc/sysctl.conf 修改etc目录下的sysctl.config文件 i 写入要修改的内容 q! 退出不保存 wq!退出保存