일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- centos
- 소비전력
- 자바스크립트
- KB국민카드
- 복현오거리
- 램가스초월
- 윈도우10
- proxmox
- 티스토리
- jQuery
- 알리익스프레스
- Linux
- 알뜰폰
- nginx
- iptime
- SKT
- OpenWrt
- 킹북이초월
- Rocky
- mysql
- Apache
- KB증권
- 스톤에이지
- PHP-FPM
- 리눅스
- php
- 아파치
- 가상서버호스팅
- 보르비스초월
- 시놀로지
- Today
- Total
목록2025/04 (7)
맛집 여행 캠핑 일상 생활
이것 저것 테스트 한다고 그런지는 모르겠는데 MariaDB가 저도 모르게 죽어있더군요~[root@localhost conf.d]# systemctl restart mariadbJob for mariadb.service failed because the control process exited with error code.See "systemctl status mariadb.service" and "journalctl -xeu mariadb.service" for details.[root@localhost conf.d]# systemctl status mariadb× mariadb.service - MariaDB 10.5 database server Loaded: loaded (/usr/lib/sy..
docker가 설치되어 있지 않다면 docker를 설치합니다.yum config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repoyum -y install docker-ce docker-ce-cli containerd.iosystemctl enable dockersystemctl start dockerdocker compose version 명령어로 버전명이 잘 나오는지 확인합니다.mkdir -p ~/docker/certbot/nginxcd ~/docker/certbotcat ~/docker/certbot/nginx/certbot.confserver { listen 80; server_name example...
duckdns.org 는 무료로 ddns 5개 subdomain을 사용할 수가 있습니다.한가지 아쉬운 점이 있다면 무료인증서 letsencrypt 툴인 certbot 으로는 webroot 방식으로만 가능한 것 같네요~1. Apachecat /etc/httpd/conf.d/certbot.conf ServerName example.duckdns.org DocumentRoot /var/www/certbot ErrorLog logs/certbot-error_log CustomLog logs/certbot-access_log vcommon Require all granted EOF2. NGINXcat /etc/nginx/conf.d/certbot.confserve..
PHP8.2 버전에서는 PHPExcel 이 엄청난 에러를 뿜어내는군요~php 8.x 버전에서는 PhpSpreadSheet 를 사용하면 되네요~먼저 /etc/php.ini 파일에서 allow_url_fopen 을 On 으로 되어 있어야 아래의 composer 가 실행이 됩니다.설치하려는 위치에서 아래 명령어로 설치하면 됩니다. cat /etc/php.ini | grep ^allow_url_fopensed -i 's/^allow_url_fopen\ =\ Off/allow_url_fopen = On/g' /etc/php.iniphp -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"php -r "if (hash_file('sha384',..
CentOS 7 지원 종료로 mirrorlist.centos.org 에서 패키지 검색이 안되는군요~지원이 종료되면서 vault.centos.org 으로 변경해줘야 하네요~yum 유틸을 괜히 업데이트 했나봅니다.서버 두군데가 CentOS 7 인데 한곳은 되고 한곳은 안됩니다~# nslookup mirrorlist.centos.org ;; Got SERVFAIL reply from 168.126.63.1, trying next server Server: 8.8.8.8 Address: 8.8.8.8#53 ** server can't find mirrorlist.centos.org.co.kr: SERVFAIL# nslookup mirrorlist.centos.org 168.126.6..
CentOS 7.x 버전에서는 Rocky 리눅스와 달리 yum install 로 설치를 지원하는 않는군요~yum install make gcc iptables-devel perl-Text-CSV_XS perl-App-cpanminus cpanm NetAddr::IP cpanm Getopt::Long wget mirror.koreaidc.com/iptables/xtables-addons-2.10.tar.gz tar xvfz xtables-addons-2.10.tar.gz cd xtables-addons-2.10 sed -i '/build_TARPIT=m/ s/^/#/' mconfig ./configure make && make install mkdir /usr/share/xt_geoip cd geoip ...
해외 IP 차단을 하려고 해도 수많은 아이피를 전부 iptables 로 차단하려면 수 만 줄이 넘어갑니다.한국 KR 이 아니면 차단하는게 간단해 보이네요~CentOS 7은 yum install 로 안되는데 rocky 9 은 쉽게 설치가 가능합니다.yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-9.noarch.rpmyum install iptables-services iptables-devel xtables-addons perl-Text-CSV_XS perl-App-cpanminus cpanm Net::CIDR::Lite cpanm Text::CSV_XS mkdir /usr/share/xt_geoip /usr/libex..