일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
- MOUNT
- Trac
- VMware
- exception
- 3ware
- JavaScript
- php5
- GlusterFS
- 라라벨
- Linux
- tw_cli
- Fedora
- AIR
- vsftpd
- nateon
- Laravel
- 명령어
- Network
- xampp
- Subversion
- CentOS
- MySQL
- BIND
- fstab
- redmine
- VirtualBox
- APM
- ubuntu
- httpd.conf
- php
- Today
- Total
목록IT관심분야/Linux (36)
어제와 똑같이 살면서 다른 미래를 기대하지 말자
iptables 설치 및 서비스 교체 # yum install iptables-services# systemctl mask firewalld# systemctl enable iptables# systemctl enable ip6tables# systemctl stop firewalld# systemctl start iptables# systemctl start ip6tables
1. fail2ban 설치# yum install epel-release# yum install fail2ban 2. 설정# vi /etc/fail2ban/jail.d/sshd.local iptables 이용 설정[ssh-iptables]enabled = truefilter = sshdaction = iptables[name=SSH, port=ssh, protocol=tcp]logpath = %(sshd_log)smaxretry = 3bantime = 86400 firewalld 이용 설정[sshd]enabled = trueport = ssh#action = firewallcmd-ipset (이미 fail2ban에 정의되어 있다)logpath = %(sshd_log)smaxretry = 3bantime ..
1. 현재 적용중인 charset 확인# localeLANG=ko_KR.UTF-8LC_CTYPE="ko_KR.UTF-8"LC_NUMERIC="ko_KR.UTF-8"LC_TIME="ko_KR.UTF-8"LC_COLLATE="ko_KR.UTF-8"LC_MONETARY="ko_KR.UTF-8"LC_MESSAGES="ko_KR.UTF-8"LC_PAPER="ko_KR.UTF-8"LC_NAME="ko_KR.UTF-8"LC_ADDRESS="ko_KR.UTF-8"LC_TELEPHONE="ko_KR.UTF-8"LC_MEASUREMENT="ko_KR.UTF-8"LC_IDENTIFICATION="ko_KR.UTF-8"LC_ALL= 2. charset 변경 (UTF-8 => EUC-KR로 변경 시)# vi /etc/sysco..
1. Ruby 버전 업그레이드 (루비버전관리툴 설치 rvm)# yum install gcc-c++ patch readline readline-devel zlib zlib-devel # yum install libyaml-devel libffi-devel openssl-devel make # yum install bzip2 autoconf automake libtool bison iconv-devel # curl -L get.rvm.io | bash -s stable에러발생... 에러문구를 잘 확인해보면 해결 가능함.(# gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3) # source /et..