일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- GPU
- zabbix
- K8S
- Shell
- bash
- Linux
- centos 7.5
- 빅데이터
- Elasticsearch
- Elk
- syslog
- Python
- docker
- 서울시민카드
- RHEL
- yum
- CentOS
- log
- JSON
- 크롬
- rsyslog
- 디렉토리
- GNOME
- 파이썬
- Chrome
- PostgreSQL
- C
- Audit Log
- Kubernetes
- audit
- Today
- Total
목록업무/sys (56)
Sysops Notepad
global daemon # 백그라운드에서 동작 user haproxy group haproxy log 127.0.0.1 local0 log 127.0.0.1 local1 notice maxconn 4096 # 프로세스 별 최대 connection 갯수 ssl-default-bind-options no-sslv3 # Bind SSL 프로토콜 정의 ssl-default-bind-ciphers ECDHE-RSA-AES128-GCM-SHA256:... # Bind SSL 사용 알고리즘 목록 정의 ssl-default-server-options no-sslv3 # Server SSL 프로토콜 정의 ssl-default-server-ciphers ECDHE-RSA-AES128-GCM-SHA256:... # Ser..
1. 호스트 to 컨테이너docker cp [host 파일 경로] [container name]:[container 내부 경로] 2. 컨테이너 to 호스트docker cp [container name]:[container 내부 경로] [host 파일경로] 디렉토리 경로를 지정한 경우 디렉토리 전체를 통채로 복사
docker run -ti --rm -e NVIDIA_VISIBLE_DEVICES=1 --runtime=nvidia --ipc=host nvidia/cuda or NV_GPU=0,1,nvidia-docker run ... : 특정 GPU 할당 --ipc : Docker 컨테이너 간의 IPC 통신--shm-size : 컨테이너 내부 ipc 통신시 사용할 shared memory size ( default 64mb )--ulimit memlock : 메모리 주소 공간 최대 size ( default 64kb ) , -1 swap 사용 X--ulimit stack : stack size ( default 8mb ) 참고:https://docs.nvidia.com/deeplearning/dgx/user-guid..
Centos or RHEL에서 bridge-nf-call-iptables WARNING message 발생시 조치 방법 입니다. bridge 네트워크를 통해 송수신되는 패킷이 iptables 설정을 우회한다는 의미다컨테이너의 네트워크 패킷이 호스트머신의 iptables 설정에 따라 제어되도록 하는 설정 # docker infoWARNING: bridge-nf-call-iptables is disabledWARNING: bridge-nf-call-ip6tables is disabled - 해결 방법# echo "net.bridge.bridge-nf-call-ip6tables = 1" >> /etc/sysctl.conf# echo "net.bridge.bridge-nf-call-iptables = 1" >>..
# yum install -y fio # cpupower idle-info | grep "Number of idle states:" # for i in `seq 1 $((N-1))`; do cpupower idle-set -d $i; done 16KB 임의 쓰기 작업(IOPS SSD)# fio --directory=/mnt/p_iops_vol0 --name fio_test_file --direct=1 --rw=randwrite --bs=16k --size=1G --numjobs=16 --time_based --runtime=180 --group_reporting --norandommap 16KB 임의 읽기 작업(IOPS SSD)# fio --directory=/mnt/p_iops_vol0 --name f..
Hyper-Threading 확인하기 #lscpu Architecture: x86_64CPU op-mode(s): 32-bit, 64-bitByte Order: Little EndianCPU(s): 32On-line CPU(s) list: 0-31Thread(s) per core: 2Core(s) per socket: 8Socket(s): 2NUMA node(s): 2 #grep -H . /sys/devices/system/cpu/cpu*/topology/thread_siblings_list/sys/devices/system/cpu/cpu0/topology/thread_siblings_list:0,16/sys/devices/system/cpu/cpu17/topology/thread_siblings_lis..
nvidia Driver 415.18 install # yum install kernel-devel kernel-headers gcc make # lsmod | grep nouveau # vi /etc/modprobe.d/blacklist-nouveau.confblacklist nouveauoptions nouveau modeset=0 # dracut --force# reboot lspci | grep VGA # wget http://download.nvidia.com/XFree86/Linux-x86_64/415.18/NVIDIA-Linux-x86_64-415.18.run # bash NVIDIA-Linux-x86_64-390.59.run cuda 10.0 install # rpm -i cuda-repo..
테스트 환경OS : Centos 7.5 GUI version : GNOME3 1. App menu -> Search "Application Installer" -> "Let’s Go Shopping." click -> Search "Kickstart" -> install 2. vi /usr/share/system-config-kickstart/packages.py161 linerepoorder = ["rawhide","development","fedora"] -> repoorder = ["rawhide","development","fedora","base"] 로 변경 3. App menu -> Search "Kickstart" -> user setting 참고:https://linuxhint.com/in..
server,peer 둘 다 실행 yum install -y centos-release-gluster yum install glusterfs-server systemctl start glusterd systemctl enable rpcbindsystemctl start rpcbind vi /etc/hostsx.x.x.10 server.comx.x.x.20 peer.com server.com에서 실행 gluster peer probe peer.com -> peer probe: success. gluster peer status -> Number of Peers: 1 Hostname: peer.com Uuid: - State: Peer in Cluster (Connected) gluster pool list..
Centos 7 / RHEL 7 에서 반복되는 로그 제거하는 방법 해당로그는 systemd의 session_start_scope () 함수에 의해 인쇄됩니다. 이 함수는 cgroup을 만드는 데 사용되며 무시 가능합니다. # tail /var/log/message Dec 6 04:01:01 localhost systemd: Created slice user-0.slice.Dec 6 04:01:01 localhost systemd: Starting Session 63 of user root.Dec 6 04:01:01 localhost systemd: Started Session 63 of user root.Dec 6 05:01:01 localhost systemd: Created slice user-0.s..