运维自动化
文章平均质量分 71
向良玉
做自己想做的
展开
-
安装cobbler时报错及解决
1. Cobbler安装yum -y install cobbler2. 启动cobbler[root@localhost cobbler]# setenforce 0[root@localhost cobbler]# getenforce Permissive[root@localhost cobbler]# service cobblerdsta原创 2012-08-01 18:52:12 · 2635 阅读 · 0 评论 -
Cobbler web interface
With the web user interface (WebUI),you can:· View all of the cobblerobjects and the settings· Add and delete a system, distro,profile, or system· Run the equivalent of a"co转载 2012-08-01 18:53:28 · 2031 阅读 · 0 评论 -
php页面远程执行shell脚本
php在执行shell时使用的默认用户为nobody用户,因此引起命令无法执行返回结果为空的问题。既然是权限问题,那么可以转换成root来执行,sudo即可转换为root或者相应的用户来执行命令exec('sudo -u root -S your_command');远程,当然得加上服务器本身的key,这样方便需要的配置:a. 配置nobody用户的sudo权限,修原创 2012-10-23 11:02:46 · 3913 阅读 · 0 评论