码迷,mamicode.com
首页 >  
搜索关键字:sbin    ( 4289个结果
nfs服务
1.安装 nfs 服务yum install nfs-utils rpcbindchkconfig nfs on2.exprotfs 文件/usr/sbin/exportfs -rvcat /etc/exports/home/ 10.0.2.0/24(rw,sync,all_squash,anonu...
分类:其他好文   时间:2014-08-03 22:57:26    阅读次数:172
linux 命令英文全称
linux命令英文全称目录/bin=BINaries/dev=DEVices/etc=ETCetera/lib=LIBrary/proc=PROCesses/sbin=SuperuserBINaries/tmp=TeMPorary/usr=UnixSharedResources/var=VARiab...
分类:系统相关   时间:2014-08-02 18:10:04    阅读次数:452
自制一小型的linux系统mylinux(转载)
通过grub引导程序引导编译后的内核文件bzImage,把制作的文件系统变成ramdisk镜像文件,通过内存加载镜像文件完成文件系统的注入;其中的命令通过编译busybox生成bin,sbin文件;注意:内核文件+文件系统镜像文件+grub引导程序 提示符处,输入:grub> root (fd0) ...
分类:系统相关   时间:2014-08-02 18:04:44    阅读次数:492
单服务器防护linux iptables脚本
#!/bin/bashiptables -Fiptables -P INPUT DROPiptables -P OUTPUT ACCEPTiptables -P FORWARD DROP/sbin/iptables -A INPUT -i eth1 -m multiport -p tcp --dp....
分类:系统相关   时间:2014-08-02 18:04:33    阅读次数:352
nagios检控硬盘健康状态
简单脚本实现:#!/bin/bashDEVICES="sda sdb" #有几块硬盘就写几块SMARTCTL=/usr/sbin/smartctlSMART_TMP_FILE="/opt/nagios/tmp/.smart"for DEV in $DEVICESdo REL=`sud...
分类:移动开发   时间:2014-08-01 15:58:01    阅读次数:252
linux下如何关闭防火墙?如何查看防火墙当前的状态
从配置菜单关闭防火墙是不起作用的,索性在安装的时候就不要装防火墙 查看防火墙状态: /etc/init.d/iptables?status 暂时关闭防火墙: /etc/init.d/iptables?stop 禁止防火墙在系统启动时启动 /sbin/chkconfi...
分类:系统相关   时间:2014-08-01 14:00:04    阅读次数:268
Linux下防火墙开启相关端口及查看已开启端口
最近利用Apache 实现了一个http服务,发布到linux下发现无法访问,通过telnet来检测连接,发现端口没开。原来是因为linux下没有开启对80的端口访问权限造成的。通过下面的命令可以开启允许对外访问的网络端口:/sbin/iptables -I INPUT -p tcp --dport...
分类:系统相关   时间:2014-07-31 19:37:37    阅读次数:234
Installation instructions of Nagios on CentOS 6.4 64bit
#InstallationinstructionsofNagiosonCentOS6.464bitAuthor:LarryZhaoQQ:920057952BLOG:larryzhao.blog.51cto.comE-mail:zhaolong0508@126.com#NTPServiceyuminstallntpservicentpdstartchkconfigntpdoncrontab-e*****/usr/sbin/ntpdatecn.pool.ntp.org#PacketsPreparenagios-3..
分类:移动开发   时间:2014-07-31 03:11:56    阅读次数:398
csync+lsync 实时双向批量同步小文件
cysnc+lsync配置安装环境ubuntu12.041)两台机器安装配置:apt-getinstallxinetdcsync2lsyncdcat/etc/xinetd.d/csync2 servicecsync2 { disable=no port=30865 socket_type=stream protocol=tcp wait=no user=root passenv=PATH server=/usr/sbin/csync2 server_args=-i }2)no..
分类:其他好文   时间:2014-07-30 17:56:34    阅读次数:1527
moosefs安装记录
5台服务器:主控服务器Master192.168.150.131日志服务器Metalogger192.168.150.130存储服务器1chunkServer192.168.150.136存储服务器2chunkServer192.168.150.137客户端Client192.168.150.138安装之前每台服务器新建用户和组:#groupaddmfs#useraddmfs-gmfs-s/sbin/nologin下载..
分类:其他好文   时间:2014-07-30 17:55:14    阅读次数:266
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!