yum安装出现这种情况
Loaded plugins: langpacks, versionlock File contains no section headers.file: file:///etc/yum.repos.d/nginx.repo, line: 1'nx-stable]\n'
Loaded plugins: langpacks, versionlock
File contains no section headers.file: file:///etc/yum.repos.d/nginx.repo, line: 1'nx-stable]\n'
切换:cd etc/yum.repos.d/
vim nginx.repo 检查错误i