본문 바로가기

반응형

변상철

[리눅스] KVM Virsh Console Access On CentOS 7 KVM Virsh Console Access On CentOS 7 [Enable Serial Console on the Virtual Machine] 1. console=ttyS0 추가 [root@ANSIBLEmn01 ~]# vi /etc/default/grub GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0 crashkernel=auto rhgb quiet console=ttyS0" GRU.. 더보기
[URL] Rackmonkey Rackmonkey http://flux.org.uk/projects/rackmonkey/ 더보기
[리눅스] Proxy 서버 구축(squid) 1. 설치 # yum install squid 설정 파일 구성 /etc/squid/squid.conf /var/log/squid/cache.log /var/log/squid/access.log 2. 설정 파일(squid.conf) # vi /etc/squid/squid.conf --- ### Access Control List acl localnet src 10.0.0.0/8 # RFC1918 possible internal network acl localnet src 172.16.0.0/12 # RFC1918 possible internal network acl localnet src 192.168.0.0/16 # RFC1918 possible internal network acl SSL_ports p.. 더보기
[URL] Python PyCharm PyCharm(python 프로그램) https://www.python.org/downloads/release https://www.jetbrains.com/pycharm/download/#section=windows 더보기
[ANSIBLE] 계정 생성 및 삭제 [ANSIBLE 계정 생성 및 삭제] $ ansible -m command -a "cat /etc/passwd" mongodb | grep devops5 1. 계정 생성 $ ansible-playbook --ask-pass -u root a_useradd.yml SSH password: Output--- PLAY [192.168.56.111,192.168.56.112,192.168.56.113] **************************** TASK [setup] ******************************************************************* ok: [192.168.56.111] ok: [192.168.56.112] ok: [192.168.56.113] TA.. 더보기
[ANSIBLE] 일반 계정 생성 [ANSIBLE] 일반 계정 생성 : 일반 계정 생성 --- 패스워드 설정, SSH 키, sudoer 등록 $ vi initialize_basic_user.yml ------ --- - hosts: 192.168.56.111 remote_user: root vars: NORMAL_USER_NAME: 'devops5' tasks: - name: "Create a secondary, non-root user" user: name={{ NORMAL_USER_NAME }} password='$6$fiyFUkCW$Eb46egUj8Ta1OqMTZfZUmXV2TxIGeKjlMXTZWdRXV0n99aY97yhLEe8LHjpfRSoLKNHJCiKIpQjr/bklT2C9I1' shell=/bin/bash - name: A.. 더보기
[리눅스] mongoDB 소스 설치 mongoDB 소스 설치 mongoDB 다운로드 사이트 https://www.mongodb.com/download-center#community 1. mongoDB 다운로드 # wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel62-3.4.4.tgz 2. mongoDB 압축 해제 # tar xvfz mongodb-linux-x86_64-rhel62-3.4.4.tgz 3. mongoDB 서브디렉토리 생성 # mv mongodb-linux-x86_64-rhel62-3.4.4 /appdata/ # ln -s /appdata/mongodb-linux-x86_64-rhel62-3.4.4 /appdata/mongodb # mkdir -p /appdata.. 더보기
[네임서버] rndc 명령어 rndc 명령어 # rndc Usage: rndc [-b address] [-c config] [-s server] [-p port] [-k key-file ] [-y key] [-V] command command is one of the following: reload Reload configuration file and zones. reload zone [class [view]] Reload a single zone. refresh zone [class [view]] Schedule immediate maintenance for a zone. retransfer zone [class [view]] Retransfer a single zone without checking serial number. f.. 더보기

728x90
반응형