51CTO博客开发小栋—HOME龙哥技术之路---桀Share your knowledge …好好活着一路向北雷纳科斯的博客
dhcp服务安装包:dhcp-3.0.5-31.el5.i386.rpm配置文件:/etc/dhcpd.conf cp /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample /etc/dhcpd.conf启动服务:service dhcpd restart日志文件:/var/log/messages tail -f /va
打开acl功能mount -o acl /dev/sda6 /opt/ 或者 tune2fs -o acl /dev/sda6getfacl file/dirsetfacl -m u:tom:rw aa.txt 设置用户的acl[root@localhost ~]# ll aa.txt -rw-rw-r--+ 1 root root 9 07-25 12:16 aa.txt &nbs
pvcreate /dev/sda5 /dev/sda6pvspvdisplayvgcreate vg0 /dev/sda5 /dev/sda6vgsvgdisplaylvlvcreate -L 300M -n /dev/vg0/lv0 vg0 -L size -n namelvslvdisplay mkfs.ext3 /dev/vg0/lv0m
1.mount -o usrquota /dev/sda5 /quota/ 挂载磁盘打开配额功能2.quotacheck /quota/ 检测磁盘配额配置文件若存在检验信息,如不存在创建配额文件3.edquota -u wang 配置用户配额 Disk quotas for user robin (uid 1501):Filesystem block
raid 0 raid 1 raid 5 raid 10条带化写 冗余 带奇偶校验的条带化 raid 1 &nb
扩大fdisk /dev/sda #分出一个磁盘partprobe /dev/sda #同步分区表mkswap /dev/sda7 #格式化成swapswapon /dev/sda7 #开启free #查看变化swapon -s 查询交换区信息永久生效:将swap信息写入fstabLABEL
日志存放位置:/var/log/日志服务: service syslog restart (service rsyslog restart)配置文件: /etc/syslog.conf (/etc/sysconfig/syslog)日志级别debuginfonoticewarning errcritalertemerg(panic)存放日志的位置1.保存到文件*.info;mail.n
编译安装nginxtar -zxvf nginx-1.0.9.tar.gz -C /usr/local/src./configure --prefix=/usr/local/nginx109 --with-http_stub_status_module --with-http_ssl_module --user=nginx --group=nginxmake && ma
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号