일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- MySQL
- CentOS
- GlusterFS
- fstab
- httpd.conf
- 3ware
- Laravel
- php
- VMware
- AIR
- redmine
- VirtualBox
- tw_cli
- Subversion
- Fedora
- xampp
- php5
- 라라벨
- Trac
- JavaScript
- 명령어
- vsftpd
- Linux
- MOUNT
- ubuntu
- exception
- Network
- APM
- nateon
- BIND
- Today
- Total
목록IT관심분야 (92)
어제와 똑같이 살면서 다른 미래를 기대하지 말자
슬라이드로 되어있는데 잘 정리된 내용임. http://www.slideshare.net/sprdd/glusterfs-v20
header('Access-Control-Allow-Origin: *');header('Access-Control-Allow-Methods: GET, POST, PUT');header("Access-Control-Allow-Headers: X-Requested-With, Content-Type");
http://browscap.org/ # mkdir /usr/local/lib/php# cd /usr/local/lib/php php_browscap.ini 다운로드wget -O php_browscap.ini http://browscap.org/stream?q=PHP_BrowsCapINI lite_php_browscap.ini 다운로드wget -O lite_php_browscap.ini http://browscap.org/stream?q=Lite_PHP_BrowsCapINI # vi /etc/php.ini[browscap]; http://php.net/browscapbrowscap = /usr/loca/lib/php/php_browscap.ini # systemctl restart httpd
CentOS PHP 5.6.x 설치할 경우 PHP 5.6.20 설치 [CentOS 7]# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm [CentOS 6]# http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm# http://rpms.famillecollet.com/enterprise/remi-release-6.rpm remi repo 설치/설정 # rpm -Uvh http://rpms.famillecollet.com..
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..
Node-Webkit 개발환경 구축 (windows) # npm install -g yo# npm install -g grunt bower# npm install -g generator-node-webkit# yo node-webkit# bower install bootstrap --save# bower install bootstrap --save# bower install angular --save# bower install angular-route --save# bower install jquery --save# npm install lowdb --save# npm install# bower install On Linux# grunt dist-linux // 64bit# grunt dist-linux..