admin 2021.11.23 centos 6 yum.repo centos 6.x yum repo 수정 1. fastestmirror.conf 수정 [crayon-69b70cf391b81948053439/] 2. yum.repo 백업 및 파일 다운로드 [crayon-69b70cf391b93972687370/] Read More..
+ admin 2021.06.08 php browser cap install ( browscap.ini ) 기본 get_browser 를 이용하여 웹 접속자의 webagent 정보를 보여지게 하는게 기본으로 php에서는 제공되지 않는다 기본 없는 상태에서 아래 소스를 웹에서 출력을 해보면 browser.php [crayon-69b70cf3929c3540528408/] 아래와 같이 표시가 된다 좀 더 세부적인 정보를 표시하기 위해서 php.ini browscap.ini를 추가해주면 된는데 아래 링크에서 파일을 다운 받아서 php.ini에 추가해주면 된다 ( http://browscap.org/ ) [crayon-69b70cf3929d5442017276/] 이제 해당 웹페이지에서 browser.php 다시 로드하면 아래와 같이 상세 정보가 출력된다 만약 full php borwscap.ini 파일을 다운로드 해당... Read More..
admin 2021.04.09 ubuntu 18.04 NVIDIA Driver install cuda 10.2 install O/S : Ubuntu 18.04.2 nvidia : 450 driver cuda : 10.2 1. nvidia driver 설치 진행 [crayon-69b70cf3938fc613199308/] 2. 드라이버 어떤 목록이 있는지 확인하는 명령어 [crayon-69b70cf39390d227274981/] 3. nvidia-dirvier-450 install [crayon-69b70cf393915236729493/] 4. nvidia 그래픽카드 확인 [crayon-69b70cf39391d536530558/] 5. cuda 10.2 install [crayon-69b70cf393923383403943/] 6. 환경 설정 및 리부팅 [crayon-69b70cf39392a370260216/] 7. cuda 버전 확인... Read More..
+ admin 2020.07.28 APM 최신버전 설치 ( apache 2.4.43 / php 7.4.8 / mysql 8.0.21 ) tls 1.3 http/2 지원 OS : Centos 7.x MYSQL VERSION : 8.0.21 Apache Version : 2.4.43 Php Version : 7.4.8 mysql 8.0.21 설치를 진행하는데 간단하게 yum 으로 진행해보자 repo rpm file down 및 설치 [crayon-69b70cf3964d2566472254/] yum install [crayon-69b70cf3964eb170046231/] /etc/my.cnf 파일 설정 (기본 innodb) —> 만약 기본 engine을 myisam으로 설정하고 싶다면 젤 하단 myisam my.cnf파일 내용 참고 [crayon-69b70cf3964f9419505222/] 4. 서비스 시작 및 서비스 확인 [crayon-69b70cf39650673693770... Read More..
+ admin 2020.02.17 awstats nginx centos ( geoip ) OS : Cenots 7.x NGINX : 1.17.8 Awstats : 7.8 nginx 1.17.8 install -> https://xinet.kr/?p=2765 1. 다운로드 ( 다운로드는 공식 홈페이지에서 다운로드 가능 https://awstats.sourceforge.io/ ) 및 폴더 변경 [crayon-69b70cf39b8ef214762671/] 2. 사용자 환경 config 파일 생성 [crayon-69b70cf39b908914000938/] 3. awstats 환경설정 파일 수정 ( geoip 설치되어 있어야함 없으면 Geoip 부분 주석처리) / 설치 yum -y install Geo-* [crayon-69b70cf39b915022497642/] 4. 이제 모든 설정이 완료되었으므... Read More..
+ admin 2020.02.14 nginx ssl 설정 ( tls 1.2 1.3 설정) nginx : 1.17.8 ( 1.13.0 이상부터 지원) openssl : 1.1.1d (l 1.1.1 이상이어야 ( tls 1.3 지원한다) nginx 1.17.8 install 및 openssl install -> https://xinet.kr/?p=2765 (페이지 참고) nginx 환경설정 파일 경로 : /usr/local/nginx/conf 1. openssl 을 이용하여 key 파일과 csr 파일을 생성한다 [crayon-69b70cf47c5cc100321554/] 2. 인증업체에 csr 파일을 보내 인증서 파일을 받는다 3. 인증서를 받게 되면 기본 도메인에 대한 인증서 그리고 chain 인증서 / root 인증서 3가지가 존재하게 된다 apache의 경우 chain 및 root 인증... Read More..
+ admin 2020.02.14 nginx tls 1.3 enable / php-fpm ( nginx 1.17.8 / php 7.3.14) OS : Centos 7 nginx : 1.17.8 php : 7.3.14 mariadb : mariadb 10.4.7 oepnssl : 1.1.1d tls 1.3 enable , log geoip , php-fpm 구동 1. mariadb 설치 yum repo에 추가 후 설치 진행 [crayon-69b70cf47fcc4025212722/] 2. yum으로 mariadb 10.4.7 install [crayon-69b70cf47fccd512459250/] 3. mariadb는 설치가 완료되었으며 이제 시작만 하면 되지만 사용자마다 mysql 을 설치하는 디렉토리가 모두 다르므로 해당 경로를 지정해서 설치해주자 기본 바로 시작을 하게 되면 경로는 /var/lib/mysql 이 기본경로이다 설치는 우리는 /fr... Read More..
+ admin 2020.02.04 maxminddb apache module install and how to GeoLite2-Country.mmdb ( mod_maxminddb ) O/S : Centos 7.x Apache : 2.4.x maxminddb module requires Apache 2.2 or 2.4 to be installed mod_maxminddb : https://dev.maxmind.com/geoip/geoip2/downloadable/ –> Apache ( mod_maxminddb) 기존 apache에서 mod_geoip 대신 mod_maxminddb 를 사용하여 access 로그에 국가코드 및 가상호스트에 국가별 접속 설정 1. 사전에 bootstrap을 정상적으로 진행하기 위해서 autoconf automake libtool 설치 libmaxminddb install ( maxminddb 를 설치하기 위해서 사전에 libmaxminddb 를 ... Read More..
+ admin 2020.02.03 how to install go on sample page ( go 언어 설치하기 및 샘플 페이지 ) how to install go on sample page ( go 언어 설치하기 및 샘플 페이지 ) OS: Centos 7.X 1. go file wget down load ( wget 이용하여 파일 다운로드 ) go website : https://golang.org/ [crayon-69b70cf65e620191809032/] 2. tar.gz extract ( 압축 해제 /usr/local/go 폴더에 해제) [crayon-69b70cf65e62b555147975/] 3. setup go environment ( /root/.bash_profile ) / go를 어디에서는 실행할 수 있게 /root/.bash_profile 등록하고 source 등록해준다 [crayon-69b70cf65e62... Read More..
+ admin 2020.02.03 geoipupdate 4.1.5 install ( Centos 7 ) / GeoLite2-ASN.mmdb GeoLite2-City.mmdb GeoLite2-Country.mmdb geoipupdate 4.1.5 install ( Centos 7 ) / GeoLite2-ASN.mmdb GeoLite2-City.mmdb GeoLite2-Country.mmdb geoipupdate 가 기본 설치된 버전은 2.5 버전이다 최근 maxmind에서 제공하는 geolite2가 무료 버전이 아닌 회원 가입 후 라이센스 발급을 받아야 하기 때문에 버전이 4.1 버전 이상을 요구한다. maxmind에서 회원 가입 후 라이센스 발급 절차 안내 maxmind에서 기존에 Geolite2를 무료로 제공을 했는데 2019년 12월 30일부로 정책이 변경되어 아무나 다운로드 받는 방식이 아닌 회원 가입 후 라이센스를 발급 받아 다운로드 하는 방식으로 변경되었다. 아래 내용처럼 변경되었다는 것을 공시하고 있다.... Read More..