CentOS(6)
-
[Linux][CentOS] Getting Started with Podman
포드맨 시작하기 Podman은 libpod 라이브러리의 일부로 제공되는 유틸리티입니다. 컨테이너를 만들고 유지 관리하는 데 사용할 수 있습니다. 다음 자습서에서는 Podman을 설정하고 몇 가지 기본 명령을 수행하는 방법을 알려줍니다. CentOS 8 설치 시 podman을 기본 라이브러리로 포함하고 있습니다. Podman에 익숙해지기 코드 샘플은 root가 아닌 사용자로 실행하기 위한 것이며 sudo권한을 필요로 합니다.. 도움을 받다 도움을 받고 Podman이 어떻게 작동하는지 알아보려면 다음 도움말 을 사용할 수 있습니다 . $ podman --help $ podman --help 자세한 내용은 맨페이지를 참조하십시오. $ man podman $ man podman- 이미지 검색, 가져오기 및 나열..
2022.10.04 -
[Linux][CentOS] firewalld 설정
# 설치 안되어 있는 경우 yum install firewalld systemctl start firewalld systemctl enable firewalld # 서비스 재시작 firewall-cmd --reload # 설정파일 위치 cat /etc/firewalld/firewalld.conf # 기타 명령어 # 사전 정의된 존 목록 출력 firewall-cmd --get-zones # 전체 존 목록을 상세하게 출력 firewall-cmd --list-all-zones # 기본 존 출력 firewall-cmd --get-default-zone # 활성화된 존 출력 firewall-cmd --get-active-zone # 새로운 존 추가 firewall-cmd --permanent --new-zone=..
2022.10.04 -
[Linux][CentOS] 방화벽(firewalld)에서 특정 아이피 차단
중국발 MSSQL SA계정 접속 시도 때문에 작업. ipv4 대역이 중구난방이라서 범위로 차단 불가능한 상황에서 처리. # 방화벽 상태 확인 firewall-cmd --state # firewall 특정 아이피 차단 firewall-cmd --permanent --add-rich-rule="rule family='ipv4' source address='차단할아이피' drop" # 방화벽 설정 리로드 firewall-cmd --reload
2022.06.20 -
[CentOS] Nginx 설치 (yum)
To set up the yum repository for RHEL/CentOS, choose the corresponding nginx-release package from the list: RHEL 5 RHEL 6 RHEL 7 CentOS 5 CentOS 6 CentOS 7 This package contains yum configuration file and a public PGP key necessary to authenticate signed RPMs. Download and install it, then run the following: yum install nginx Alternatively, a repository configuration can be added manually withou..
2015.03.13 -
[CentOS] APM Source Compile
MySQL yum install zlib curl yum install gcc g++ cpp gcc-c++ yum install openssl openssl-devel yum install libtermcap-devel ncurses-devel libc-client-devel bzip2-devel yum install bison groupadd mysql useradd -g mysql mysql cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITH_EXTRA_CHARSETS=all -DMYSQL_DATADIR=/usr/local/mysql/data -DENAB..
2013.06.26 -
[CentOS] port open
vi /etc/sysconfig/iptables 3306 DB포트를 열어준다고 치면 -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT 추가 service iptables restart 로 재시작
2013.06.26