전체 글 썸네일형 리스트형 리눅스에서 MySQL을 설치하는 방법 리눅스에서 MySQL 설치하는 방법 1. MySQL 다운로드 MySQL 공식 웹사이트 (https://dev.mysql.com/downloads/mysql/)에서 해당 버전의 tar 파일을 다운로드합니다. 다운로드한 파일은 원하는 경로에 저장합니다. 2. 설치 디렉토리 생성 MySQL을 설치할 디렉토리를 생성합니다. sudo mkdir -p /usr/local/mysql 3. tar 파일 압축 해제 다운로드한 tar 파일을 압축 해제합니다. sudo tar xvf mysql-*.tar -C /usr/local/mysql --strip-components=1 4. MySQL 사용자 및 그룹 생성 MySQL을 실행할 사용자와 그룹을 생성합니다. sudo groupadd mysql sudo useradd -r.. 더보기 앤서블 디렉토리 레이아웃(Directory Layout) 앤서블 디렉토리 레이아웃(Directory Layout) 디렉토리 레이아웃(Directory Layout) production # inventory file for production servers staging # inventory file for staging environment group_vars/ group1.yml # here we assign variables to particular groups group2.yml host_vars/ hostname1.yml # here we assign variables to particular systems hostname2.yml library/ # if any custom modules, put them here (optional) module_ut.. 더보기 ansibe 명령어 ansibe 명령어 ansible : 호스트 집합에 대해 단일 작업 'playbook' 정의 및 실행 ansible-config : 앤서블 구성 보기 ansible-inventory : 앤서블이 보는 대로 구성된 인벤토리를 표시하거나 덤프하는 데 사용됩니다. ansible-playbook : 앤서블 플레이북을 실행하여 대상 호스트에서 정의된 작업을 실행합니다. ansible-doc : 플러그인 문서화 도구 ansible-galaxy : 다양한 역할 및 수집 관련 작업을 수행합니다. ansible ansible -m ping all ansible-config ansible-config init -f vars --disabled ansible-inventory ansible-inventory -i ~/inv.. 더보기 리눅스에서 bash 자동 완성 사용하는 방법 리눅스에서 bash 자동 완성 사용하는 방법 bash-completion은 Bash 셸에서 자동 완성 기능을 제공하는 패키지입니다. 다음은 bash-completion 패키지를 설치하고 사용하는 방법입니다. 설치 방법 Ubuntu/Debian 계열 sudo apt-get install -y bash-completion RHEL/CentOS 계열 sudo yum install -y bash-completion 사용 방법 bash-completion 패키지가 설치된 후, Bash를 재시작하거나 다음과 같이 source 명령어를 사용하여 변경 사항을 적용합니다. source /usr/share/bash-completion/bash_completion 이제 Bash에서 명령어, 옵션, 파일 및 디렉토리 이름 등.. 더보기 이전 1 ··· 12 13 14 15 16 17 18 ··· 34 다음