본문 바로가기
반응형

전체 글356

curl을 이용하여 post, get 방식 으로 데이터 전송하기 curl을 이용하여 post, get 방식 으로 데이터 전송하기 출처 : itfresh.tistory.com/23?category=691747 2021. 4. 28.
php 이미지 리사이징 image resizing 출처 : itfresh.tistory.com/29?category=691747 2021. 4. 28.
PHP ZIP 압축파일 만들기 pclzip.lib.php 라이브러리를 이용하여 파일 및 폴더를 zip 파일 형식으로 압축을 해보자 라이브러리 파일은 위에 첨부한 파일을 받거나 http://www.phpconcept.net 홈페이지에서 다운 받으면 됩니다. phpconcept에서는 Zip파일 형식 이외에 Tar나 Xml 형식으로 변환해주는 라이브러리도 제공하고 있습니다. 먼저, 코드 소개에 앞서 코드안에 있는 변수명에 대한 설명을 간단하게 드리겠습니다. filename : 원본 파일(또는 폴더) stored_filename : 변경된 파일(또는 폴더) size : 원본 크기 compressed_size : 압축된 크기 mtime : 수정시간 folder : 폴더이면 "1" 반환 status : 성공하면 "ok"반환 출처 : itfres.. 2021. 4. 28.
mysql 5.6 컴파일 설치 및 업그레이드 mysql 5.6 컴파일 설치 및 5.1에서 업그레이드 방법 # 사용자 및 그룹 추가 groupadd mysql useradd -r -g mysql mysql #관련프로그램 설치 yum install -y cmake build-essential libreadline6-dev libncurses5-dev # mysql 다운로드 wget http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.49.tar.gz # 설치시작 cmake \ -DCMAKE_INSTALL_PREFIX=/usr/local/mysql5.6.49 \ -DMYSQL_UNIX_ADDR=/tmp/mysql.sock \ -DDEFAULT_CHARSET=utf8 \ -DDEFAULT_COLLATION=utf8_.. 2021. 4. 13.
Field 'ssl_cipher' doesn't have a default value mysql 에러 #1364 - Field 'ssl_cipher' doesn't have a default value ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value ERROR 1364 (HY000): Field 'authentication_string' doesn't have a default value mysql 버전이 높아지면서 사용자 추가시 ssl_cipher, x509_issuer, x509_subject, authentication_string 를 입력 해 주어야 합니다. 예) insert into user (Host, User, Password, ssl_cipher, x509_issuer, x509_subject, aut.. 2021. 4. 8.
fontawesome 아이콘 넣기 1. 자바스크립트 CDN을 이용하는 방법 head 태그에 추가 합니다. 5.x 버전 2. CSS CDN을 이용하는 방법 4.x 버전 5.x 버전 사용예 체크박스에 적용예 # CSS label.bb:before { content: "\f0c8"; font-family: "Font Awesome 5 Free"; margin-right: 10px; color: #cccccc; font-size: 24px; } input#aa:checked + label.bb:before { content: "\f14a"; color: #000000; } input#aa { display: none; } # HTML Lorem Ipsum Dolor 2021. 4. 6.
아파치 웹서버 속도향상 - HTTP 압축 및 캐싱 Apache 웹서버 속도를 향상시켜보자 HTTP 압축 및 캐싱 httpd.conf 또는 apache2.conf 하단에 추가 ExpiresActive On ExpiresByType image/x-icon "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType application/x-font-ttf "access plus 1 month" ExpiresByType appli.. 2021. 2. 25.
한글 구글웹폰트 구글웹폰트 정리 나눔바른고딕 Noto Sans KR @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap'); font-family: 'Noto Sans KR', sans-serif; 나눔고딕 Nanum Gothic @import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700;800&display=swap'); font-family: 'Nanum Gothic', sans-serif; 나눔명조 Nanum Myeongjo @import url('https://fonts.googleapis.. 2021. 2. 5.
종료된 플래시(Flash) 이용하기 플래시가 2020.12.31일 종료되었으며, Adobe.com 에서 지원을 하지 않습니다. 2021.1.12일 서비스를 차단하였습니다. 기존의 제작한 플래시 파일을 모두 바꾸어야 합니다. 기존의 플래시를 구동하는 방법이 있습니다. 1. 플래시를 사용하려면 기존의 플래시를 삭제하고, 2. 이전 버전인 Adobe.Flash.Player.30.0.0.154.firefox.exe 버전을 설치합니다. 3. 플래시를 지원하는 브라우저 Pale Moon를 다운로드 받아 설치합니다. https://www.palemoon.org/download.shtml Pale Moon 브라우저로 플래시를 이용할 수 있습니다. 2021. 1. 13.
Imagick 설치 (확장모듈) 이미지처리에 필요한 모듈 입니다. php 확장모듈로 설치하는 방법입니다. 먼저 필요 패키지를 설치해줍니다 1. ImageMagick 라이브러리 설치 yum install ImageMagick Imagemagick-devel 2. 최신버전 다운로드 설치 최신버전 다운로드 : pecl.php.net/package/imagick pecl.php.net/get/imagick-3.4.4.tgz tar xvfz imagick-3.4.4.tgz cd imaick-3.4.4 /usr/local/php/phpize ./configure -with-php-config=/usr/local/php/bin/php-config make && make install 3. php.ini 파일 수정 extension_dir="/usr.. 2021. 1. 5.
centos6 yum update 오류 해결 YumRepo Error CentOS6 업데이트 지원 종료로 인해 yum update 오류가 발생한경우 이다 Loaded plugins: fastestmirror, security Setting up Install Process Determining fastest mirrors YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination/removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txtError: Cannot find a valid baseurl for repo: base 64비트 CentOS.. 2021. 1. 4.
Linux 용 멀웨어(Malware) 스캐너 도구 Linux 용 맬웨어 스캐너 도구 우리 모두는 Linux가 우리 주변에서 가장 강력한 운영 체제라는 것을 알고 있지만 Linux에는 바이러스 백신 프로그램이 필요하지 않다는 오해가 있습니다. 최대 보호를 위해 이것은 필수적입니다. 웹 서버의 60 % 이상이 Linux 서버에서 실행되고 있으며 대부분은 일부 솔루션으로 보호됩니다. 개인적인 경험을 통해 제대로 구성된 방화벽이있는 서버를 구축하고 더 나은 보안을 위해 정기적 인 보안 업데이트를 수행했습니다. 그러나 여전히 어떻게 든 서버의 사이트가 감염되고 검사 도구를 사용하여 서버에서 바이러스, 악성 코드, 루트킷 및 악의적 인 동작을 식별 할 수 있으므로 서버를 제거하고 보호 할 수 있습니다. 여기에서는 감염 및 맬웨어로부터 벗어나기 위해 Linux 서버.. 2020. 9. 23.
반응형