OS(19)
-
[CentOS] Samba
# yum -y install samba# chkconfig smb on# vi /etc/samba/smb.conf>------------------------------------------------------------------------------------------------------------------------------------------------------------
2014.09.03 -
[CentOS] NFS
# yum -y install nfs-utils# chkconfig rpcbind on# chkconfig nfs on# vi /etc/sysconfig/nfs>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2014.09.03 -
[CentOS] RAID
# yum -y install mdadm# fdisk /dev/sdb> n> p> 1> [엔터]> [엔터]> w # mknod /dev/md127 b 9 1# mdadm --create /dev/md127 --level=1 --raid-device=2 /dev/sdb1 /dev/sdc1# mkfs.ext4 /dev/md127 상태확인# df -h# fdisk -l# ls -l /dev/sd*# ls -l /dev/md*# mdadm --query --detail /dev/md127 복구# mdadm /dev/md127 --add /dev/sdd1 제거# mdadm --remove /dev/md127 /dev/sdb1 # fdisk -l# fdisk /dev/xvdb> n> p> 1> [엔터]> [엔터]>..
2014.08.25 -
[CentOS] Network Bond
# yum -y install ethtool# vi /etc/sysconfig/network-scripts/ifcfg-bond0>--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------..
2014.08.04 -
[CentOS] fail2ban
# yum -y install epel-release # yum -y install fail2ban# chkconfig fail2ban on# vi /etc/fail2ban/jail.conf>------------------------------------------------------------------------------
2014.08.04