본문 바로가기

728x90

전체 글

[리눅스] Cockpit 관리 도구 설치(WEB UI 기반) cockpit 관리 도구 설치 플렛폼Platform(플랫폼) $ cat /etc/os-release NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRO.. 더보기
[기타] mac(macOS)에 stormssh 설치 및 설정하기 mac(macOS)에 stormssh 설치 및 설정하기 stormssh 설치 brew install stormssh storm 사용법 usage: storm [-h] [-v] COMMAND ... $ storm -h usage: storm [-h] [-v] COMMAND ... options: -h, --help show this help message and exit -v, --version show program's version number and exit commands: COMMAND version prints the working storm(ssh) version. add Adds a new entry to sshconfig. clone Clone an entry to the sshconfig.. 더보기
configure, make, make install 명령어 configure, make, make install 명령어 리눅스에서 소스 코드로부터 프로그램을 설치하는 과정은 일반적으로 configure, make, make install 명령어를 사용합니다. 명령 설명 configure configure 명령을 이용하여 Makfile 생성 make distclean make clean과 유사하지만 Makefile을 포함하여 configure에 의해 생성된 모든 파일도 삭제합니다. (파일을 받고 압축을 푼 처음 상태로 만드는 것) make Makefile에 따라 소스 코드를 컴파일하고 링크하고 목적 파일, 실행 파일을 생성합니다. (Makfile를 이용해서 소스 코드를 컴파일하여 실행가능한 설치파일을 만듬) make clean 마지막 make 명령으로 생성된 개체.. 더보기
CentOS 7에서 MySQL 5.7를 바이너리 아카이브 파일로 설치하는 방법 CentOS 7에서 MySQL 5.7를 바이너리 아카이브 파일로 설치하는 방법 테스트 환경 운영체제 버전 정보 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) $ getconf LONG_BIT 64 DB : mysql 5.7.15 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 다운로드 받기 https://downloads.mysql.com/archives/community/ 작업 디렉토리로 이동 cd /usr/local/src 아카이브 파일 다운.. 더보기
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 \ -.. 더보기
리눅스에서 my.cnf 파일을 찾는 방법 리눅스에서 my.cnf 파일을 찾는 방법 MySQL 또는 MariaDB의 설정 파일인 my.cnf 파일은 일반적으로 리눅스 시스템에서 여러 위치에 저장될 수 있습니다. MySQL 또는 MariaDB의 버전 및 배포에 따라 my.cnf 파일의 위치가 다를 수 있습니다. 일반적으로 /etc/mysql/ 또는 /etc/my.cnf 디렉토리에 위치합니다. Ubuntu 또는 Debian Ubuntu 또는 Debian 시스템에서 my.cnf 파일은 /etc/mysql/ 디렉토리에 저장됩니다. /etc/mysql/my.cnf CentOS 또는 RHEL CentOS 또는 Red Hat Enterprise Linux (RHEL) 시스템에서 my.cnf 파일은 /etc/my.cnf 또는 /etc/mysql/my.cnf에 .. 더보기
[리눅스] 압축 명령어 tar, gzip 압축 명령어 tar 명령어(tar, tar.gz) tar - GNU 버전 tar 저장 도우미 묶음 foo 디렉토리에 있는 내용물을 foo.tar 파일로 묶는다. $ tar cvvf foo.tar foo/ drwxr-xr-x root/root 0 2022-03-03 17:08 foo/ -rw-r--r-- root/root 0 2022-03-03 17:08 foo/file1.txt -rw-r--r-- root/root 0 2022-03-03 17:08 foo/file2.txt -rw-r--r-- root/root 0 2022-03-03 17:08 foo/file3.txt 묶음 풀기 묶음(foo.tar) 파일 리스트 확인 $ tar tvf foo.tar drwxr-xr-x root/root 0 2022-03-.. 더보기
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.. 더보기

728x90