51CTO博客开发技术成就梦想抚琴煮酒王春海的博客老男孩的linux博客让"云"无处不在www.See you next year CAFree Linux, Share Linux
##正常关机重启Jul 12 16:59:50 ubuntu3 kernel: Kernel logging (proc) stopped.Jul 12 16:59:50 ubuntu3 rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="943" x-info="http://www.rsyslog.com"] exiti
------------------------报错------------------------Fatal error: Class 'PDO' not found in /usr/share/nginx/html/Core/Library/Think/Db.class.php on line 39:(Class 'PDO' not found错误位置FILE: /usr/share/ngin
location / { root /usr/share/nginx/html; index index.html index.htm; if (!-e $request_filename) { &nb
yum install python-setuptools1、创建git用户useradd git && echo "123" | passwd --stdin git2、创建仓库目录及赋于权限mkdir /home/git/repositorieschown git:git /home/git/repositorieschmod 755 /home/git/repositorie
windows: https://github.com/MSOpenTech/redis/releases12645:M 29 Jul 23:05:55.764 # Server started, Redis version 3.0.312645:M 29 Jul 23:05:55.766 # WARNING overcommit_memory is set to 0! Background sa
#!/bin/bashsendmail() {/usr/local/bin/sendEmail -f xyxsender@163.com -t test@relearn.com -s smtp.163.com -u "SERVER 192.168.31.$i" -xu xyxsender@163.com -xp "123456" -m "Alert: web 192.168.31.$i can't
http://caspian.dotconf.net/menu/Software/SendEmail/ install:# wget http://caspian.dotconf.net/menu/Software/SendEmail/sendEmail-v1.56.tar.gz# tar zxvf sendEmail-v1.56.tar.gz# cp sendEmail-v1.56/sendEm
Comparison between htop and topIn 'htop' you can scroll the list vertically and horizontally to see all processes and complete command lines.In 'top' you are subject to a delay for each unassigned key
取出两组中的交集[root@CentOS6 auto]# ansible Login:\&Player -m ping 交集No hosts matched表示两个组中的所有主机[root@CentOS6 auto]# ansible Login:Player -m ping player_centos6.5-2 | success >> {
升级python并安装ansible
设置方法:#export HISTTIMEFORMAT="`whoami` | %F %T | "#echo 'export HISTTIMEFORMAT="`whoami` | %F %T | "' >> /etc/profile#. /etc/profile效果如下:# history ...... 1047 root | 2015-08-14 17
zabbix windows客户端安装设置及服务器邮件通知设置
#!/bin/bash#Author:RELEARN#check MySQL and MYSQL_SLAVE STATUSMYSQL_PORT=`netstat -an | grep "LISTEN" | grep "3306" | awk -F[:" "]+ '{print $5}'`MYSQL_IP=`/sbin/if
MySQL Replication
Expect is atool for automating interactive applications such as telnet, ftp, passwd, fsck,rlogin, tip, etc. Expect really makes this stuff trivial. Expect is also usefulfor testing these same applicat
rsync featuresrsyncis a file transfer program for Unix systems. rsync uses the "rsyncalgorithm" which provides a very fast method for bringing remote filesinto sync. It does this by sending
Version: CentOS6.2_32bit、httpd-2.2.24.tar.gz、subversion-1.7.9.tar.gz1、Httpd的安装:[root@SRV src]# tar zxvf httpd-2.2.24.tar.gz[root@SRV src]# cd httpd-2.2.24[root@SRV httpd-2.2.24]# ./configure --p
Cobbler 可以快速建立网络安装环境
Lvs+keepalived能实现的功能: 利用lvs控制器主备模式避免单点故障以及自动删除故障WEB服务器结点并当它恢复后再自动添加到群集中。 拓扑图: IP规划: 1、在LVS SRV上安装lvs、keepalived软件(LVS-MASTER & LVS-BACKUP) lvs install
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号