CentOS操作

打开终端,运行以下命令来编辑`/etc/profile`文件:```sudovi/etc/profile```在文件末尾添加以下内容,设置JAVA_HOME和PATH环境变量:```export...