发布时间:2012-11-30 10:44:16
网络服务器IP: 192.168.20.129yum -y install httpd tftp-server syslinux dhcp xinetdmkdir -p /media/CentOSmount /dev/cdrom /media/CentOS/bin/cp -afr /media/CentOS/* /var/var/www/mkdir -p /tftpboot/pxelinux.cfg/cp /media/CentOS/isolinux/isolinux.cfg &.........【阅读全文】
发布时间:2012-11-29 17:54:59
#!/bin/bashset -xd=/tmp/citypasswd=123456mysql -uroot -p${passwd} -e "create database city;"for n in `cd $d ; ls -l |awk -F "[ .]" 'NR >1,(NF = NF -1) {print $NF}' |uniq `do echo $n dn=${d}/${n} m.........【阅读全文】
发布时间:2012-11-29 11:34:33
1,新建了个class[root@web1.test.com /etc/puppet/modules/cron/manifests]# lsinit.pp install.pp puppet.pp service.pp[root@web1.test.com /etc/puppet/modules/cron/manifests]# cat *class cron { include cron::install,cron::service,cron::puppet}class c.........【阅读全文】