Chinaunix首页 | 论坛 | 博客
  • 博客访问: 609720
  • 博文数量: 142
  • 博客积分: 116
  • 博客等级: 入伍新兵
  • 技术积分: 1445
  • 用 户 组: 普通用户
  • 注册时间: 2010-09-28 08:37
文章分类

全部博文(142)

文章存档

2017年(7)

2016年(57)

2015年(48)

2014年(30)

我的朋友

发布时间:2015-02-16 09:18:51

#!/usr/bin/env pythonimport osimport syslogimport timedef showProcessInfo(msg):    # ps -eo pid,ppid,pgid,pgrp,sess,tty,tpgid,cmd    pid=os.getpid()    ppid=os.........【阅读全文】

阅读(1110) | 评论(0) | 转发(0)

发布时间:2015-02-13 17:52:12

安装yum install nfs-utils配置/etc/exports/home *(rw,sync)/etc *(ro,sync)修改后,生效需要执行exportfs -r启动停止/etc/init.d/nfs {start|stop|status|restart|reload|force-reload|condrestart|try-restart|condstop}.........【阅读全文】

阅读(1044) | 评论(0) | 转发(0)

发布时间:2015-02-13 17:29:17

安装yum install sambayum install samba-client配置最简配置--无密码读写/tmp/etc/samba/smb.conf[global] #security = user #passdb backend = tdbsam security = share[myshare]path=/tmppublic=yeswritable=yes启动停止使用testparm检.........【阅读全文】

阅读(995) | 评论(0) | 转发(0)

发布时间:2015-02-12 11:26:33

安装yum install bindyum install bind-utils配置修改/etc/named.confoptions {        listen-on port 53 { ANY; };       // 默认监听lo        allow-query     { A.........【阅读全文】

阅读(1254) | 评论(0) | 转发(0)

发布时间:2015-02-11 17:44:13

官网  http://nginx.orgwindows下载windows版,解压到任意目录即可使用。linux源代码编译安装需要的软件包:yum install pcre-develyum install openssl-devel./configure --prefix=/opt/nginx-1.6.2 --with-http_ssl_modulemakemake install启动停止sbin/nginx [ -s stop|re.........【阅读全文】

阅读(969) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册