블로그
- centos 에서 기존 PHP를 삭제하고 PHP 7.2를 서버에 설치 yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm # yum -y install --enable remi-php72 # yum update -y # yum install php php-cli -y # yum install php-fpm -y # php -v #
- [CentOS7] 방화벽 해제 방법 , firewall-cmd --port 80 tcp [서비스 설치] # yum -y install firewalld [서비스 등록] # systemctl enable firewalld [서비스 시작] # systemctl start
- 2022년2월18일기준 centos7에서 rabbitmq 깔기 https://www.rabbitmq.com/install-rpm.html | https://archive.fo/hhLSM 암튼 페이지 가장 밑바닥의 이부분만 보고 따라하면 암튼 된다 위에 적힌 경로로 vi같은걸로 파일만들어서 텍스트 박아넣고 yum update 때리면 설치정보들을 centos7이라는 구식 환경 기준으로 맞추고 땡겨올수 있게된다.
- [Docker] Docker 설치 패키지 설치 # yum install device-mapper-persistent-data.x86_64 lvm2 3. 저장소 설정 # yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo Loaded
- [Docker] 도커파일 명령어 정리 도커파일 예제 FROM nginx:1.19.6 RUN yum update && yum install -y procps-ng COPY conf/nginx.conf /etc
- [nginx]Installation instructions 출처 : http://nginx.org/en/linux_packages.html Install the prerequisites: sudo yum install yum-utils To set up the yum repository, create the file named /etc/yum.repos.d/nginx.repo with the following contents
- [CentOS] yum.conf의 installonly_limit 옵션 installonly_limit=3, 아래와 같이 kernel 패키지가 3개 설치된 환경이라면, kernel-2.6.32-642 kernel-2.6.32-754.27.1 kernel-3.10.0-693 다음 yum install kernel ...
- linux Web Source, DB 자동백업 및 NAS에 Rsync로 자동 동기화 # 2 Rsync 동기화 . ** 패키지 설치가 안 되어있을 경우 # yum install rsync # yum install xinetd # vi /etc/xinetd.d/rsync 'disable = yes
- KVM 가상화 환경에서 fence_ipmilan 사용 baseurl=http://mirror.centos.org/centos/7/cloud/$basearch/openstack-train gpgcheck=0 2. virtalbmc 설치 # yum install python2-virtualbmc ... # vbmc list.......
- 리눅스 root 패스워드 자동 변경후 패스워드 알림 메일보내기 (Mutt 명령어 메일발송) 패키지 설치 yum install mutt 2. /root/change_pw_hostname.sh 작성 vi /root/change_pw_hostname.sh #!