리눅스 썸네일형 리스트형 configure, make, make install 명령어 configure, make, make install 명령어리눅스에서 소스 코드로부터 프로그램을 설치하는 과정은 일반적으로 configure, make, make install 명령어를 사용합니다. 명령설명configureconfigure 명령을 이용하여 Makfile 생성make distcleanmake clean과 유사하지만 Makefile을 포함하여 configure에 의해 생성된 모든 파일도 삭제합니다.(파일을 받고 압축을 푼 처음 상태로 만드는 것)makeMakefile에 따라 소스 코드를 컴파일하고 링크하고 목적 파일, 실행 파일을 생성합니다.(Makfile를 이용해서 소스 코드를 컴파일하여 실행가능한 설치파일을 만듬)make clean마지막 make 명령으로 생성된 개체 파일(접미사가 "... 더보기 CentOS 7에 MySQL 5.7을 바이너리 설치하는 방법(binary) CentOS 7에 MySQL 5.7을 바이너리 설치하는 방법(binary) 테스트 환경 - DB : mysql 5.7.15 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) $ getconf LONG_BIT 64 mysql 계정 생성 groupadd -g 27 mysql useradd -m -c "MySQL Server" -d /usr/local/mysql -s /bin/false -g 27 -u 27 mysql MySQL Community Server 다운로드 받기 mysql-boost-5.7.15.tar.gz 압축 풀기 tar xfz mysql-boost-5.7.15.tar.gz cd mysql-5.7.15/ 컴파일 설치 cmake \ -.. 더보기 gzip 명령어, gunzip 명령어 gzip 명령어, gunzip 명령어 gzip과 gunzip은 유닉스(리눅스) 시스템에서 사용되는 명령어로, 파일들을 압축하거나 해제하는데 사용됩니다. gzip은 파일을 압축하고, gunzip은 압축된 파일을 해제합니다. gzip 명령어의 기본 구문 gzip [옵션] [파일] gunzip 명령어의 기본 구문 gunzip [파일.gz] 주요 옵션 (gzip) -c: 압축한 파일을 표준 출력으로 출력 (stdout) -d 또는 --decompress: 압축 해제 -r 또는 --recursive: 디렉토리를 재귀적으로 압축 또는 해제 -v 또는 --verbose: 상세 정보 출력 사용 예시 파일 file.txt를 압축하여 file.txt.gz로 저장 gzip file.txt file.txt: 압축할 파일 fi.. 더보기 Jenkins의 관리자(admin) 비밀번호를 재설정하는 방법 Jenkins의 관리자(admin) 비밀번호를 재설정하는 방법 docker-compose.yml 파일 편집 vim docker-compose.yml version: '3.8' services: jenkins: image: jenkins/jenkins:lts #image: jenkins/jenkins:lts-jdk11 container_name: jenkins restart: always privileged: true #user: root environment: TZ: "Asia/Seoul" volumes: #- /usr/bin/docker:/usr/bin/docker - /var/run/docker.sock:/var/run/docker.sock - ./jenkins_home:/var/jenkins_hom.. 더보기 CentOS 7에서 PHP rdkafka 확장(Extension) 모듈을 설치하는 방법 CentOS 7에서 PHP rdkafka 확장(Extension) 모듈을 설치하는 방법 테스트 환경 nginx php-fpm PHP 버전 확인 php -v $ php -v PHP 7.3.27 (cli) (built: Feb 2 2021 10:32:50) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.27, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.27, Copyright (c) 1999-2018, by Zend Technologies PHP 저장소 버전 확인 yum info php | egrep 'Name|Arch|Version|Repo' 2 $ yum info p.. 더보기 리눅스 curl 명령어(curl bash -x) curl 명령어(curl bash -x) curl로 스크립트를 다운로드하기 curl -Ssf https://sangchul.kr/scripte/webconfsync.sh -o /tmp/webconfsync.sh curl로 스크립트를 다운로드하고 실행하기 curl -Ssf https://sangchul.kr/scripte/webconfsync.sh | bash -x wget을 사용하여 스크립트를 다운로드하고 실행하기 wget -qO - https://sangchul.kr/scripte/webconfsync.sh | bash -x 참고URL - curl 명령어 : https://scbyun.com/1005 더보기 ssh 접속 시 no matching key exchange method found 에러 ssh 접속 시 no matching key exchange method found 에러 테스트 환경 $ cat /etc/redhat-release CentOS release 5.6 (Final) $ getconf LONG_BIT 32 $ openssl version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 $ ssh -V OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 [에러] Unable to negotiate with 192.168.0.101 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-h.. 더보기 CentOS 7에 Apache2의 확장 모듈인 Evasive를 설치하는 방법 CentOS 7에 Apache2의 확장 모듈인 Evasive를 설치하는 방법 EPEL 저장소 설치 yum install -y epel-release 필수 패키지 설치 yum install -y httpd httpd-devel Evasive 모듈 설치 yum install -y mod_evasive Evasive 활성화 및 설정 vim /etc/httpd/conf.d/mod_evasive.conf LoadModule evasive20_module /usr/lib64/httpd/modules/mod_evasive20.so apachectl -M | egrep evasive $ apachectl -M | egrep evasive evasive20_module (shared) Evasive 모듈에 대한 설정 m.. 더보기 이전 1 ··· 91 92 93 94 95 96 97 ··· 182 다음