51CTO博客开发
##############################################################第一种方式:svn服务端 也是rsync的客户端web 是rsync的服务端svn服务端执行:[root@xinyou04 ~]#sh yum-svn02.sh[root@xiny
####yum install##yum install gcc gcc-c++ openssl* ntp perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker -yecho 'export LC_ALL=C'>> /etc/profiletail -1 /etc/profilesource /etc/profile/usr/sbin/ntpda
#yum installyum -y install make apr* autoconf automake gcc gcc-c++ zlib-devel openssl openssl-devel pcre-devel gd kerne
1、####yum 安装lamp环境以及插件yum install apr apr-util httpd httpd-devel subversion mod_dav_svn mod_auth_mysql -y2、####建立svn的目录mkdir -p /home/svndata3、###创建一个库就叫SVN:svnadmin create /home/svndata/svn4、##
(1)初学者 先实践后理论。 高手牛人 先理论,再实践。(2)通过画图来表达枯燥的难以记忆的理论知识是个好方法。(3)睡觉前回顾今天的学习内容或早晨醒来后计划今天的学习的内容。(4)处理问题正面处理困难,侧面或倒推。数学选择题。(5)尽可能科学的实验,得出结论后,要敢于总结下结论。学习方法(1)根据已知的正确的思路去推测(2)即使失败也比不敢去做
主ip:192.168.0.102从ip:192.168.0.105配置主msyql:[root@localhost ~]#vi /etc/my.cnf在[mysqld]下添加:server-id=1log-bin=mysql-bin进入mysql执行:GRANT REPLICATION SLAVE ON *.* to 'root'@'192.168.0.105' identified by '1
vi /usr/local/nagios/etc/nagios.cfg +34#←增加如下两行主机和服务的配置文件 cfg_file=/usr/local/nagios/etc/objects/hosts.cfg cfg_file=/usr/local/nagios/etc/objects/services.cfg 并注释掉如下一行 # Definitions for monitoring the
#####yum安装依赖环境####echo 'export LC_ALL=C'>> /etc/profiletail -1 /etc/profilesource /etc/profileyum install ntp -y/usr/sbin/ntpdate pool.ntp.org yum install gcc glibc glibc-common -yyum install ht
###yum安装相关插件及更新变量yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker -yecho 'export LC_ALL=C'>> /etc/profiletail -1 /etc/profilesource /etc/profileyum install ntp -y/usr/sbin/ntpdate pool
####配置nrpe#####cd /usr/local/nagios/etcvi nrpe.cfg +79###修改为Nagios Server主控端的ip: allowed_hosts=121.10.242.9##注释掉或者干脆*** 199-203 行 即下面几行 #command[check_users]=/usr/local/nagios//libexec/check_use
######NFS服务端A##### IP:192.168.10.110 5.8对应的就是portmapyum -y install nfs-utils portmapvi /etc/selinux/config修改成disabled/etc/init.d/iptables stop/etc/init.d/portmap restart/etc/init.d/nfs res
#!/bin/bashyum -y install net-snmp*sed -i '41s/default/192.168.1.1/g' /etc/snmp/snmpd.conf sed -i '62s/systemview/all/g' /etc/snmp/snmpd.confsed -i '85s/#view all included .1
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号