일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 소비전력
- php
- SKT
- 윈도우10
- proxmox
- Ajax
- 리눅스
- mysql
- html/css
- 알뜰폰
- 램가스초월
- 시놀로지
- 킹북이초월
- 스톤에이지
- 워드프레스
- 자바스크립트
- ConoHa
- centos
- 가상서버호스팅
- 복현오거리
- Apache
- 아파치
- jQuery
- 거제도
- 알리익스프레스
- iptime
- KB국민카드
- 티스토리
- KB증권
- 보르비스초월
- Today
- Total
목록LINUX (5)
맛집 여행 캠핑 일상 생활
PXE Boot 서버 구축 방법입니다. 윈도우10 PE 부팅 내용도 포함하였습니다. 아래의 설정 방법이 복잡하다고 생각되시면 iventoy.com 에서 툴을 받아서 사용해보세요~ 설정이 엄청 간단하고 편리합니다. # wget https://github.com/ventoy/PXE/releases/download/v1.0.19/iventoy-1.0.19-linux-free.tar.gz # tar -zxvf iventoy-1.0.19-linux-free.tar.gz # cd iventoy-1.0.19 # ls -l total 4 drwxr-xr-x 2 root root 39 Sep 13 2023 data drwxr-xr-x 2 root root 88 Jun 21 2023 doc drwxr-xr-x 2 root..
Proxmox 에서 container 로 centos 9 stream 을 설치했는데 sshd 서비스가 디폴트로 안깔려있네요~ 버전이 한번 바뀌때마다 적응해야할게 많네요~ yum -y install openssh-server systemctl enable sshd systemctl start sshd 이제 다시 접속을 시도해 봅니다. [root@raspberry ivps]# ssh root@192.168.1.2 root@192.168.1.2's password: Permission denied, please try again. root@192.168.1.2's password: 루트로 접속하는게 기본적으로 막혔있나봅니다. echo "PermitRootLogin yes" >> /etc/ssh/sshd_con..
wget 으로 https 보안인증서가 있는 서버에 접근시 아래와 같은 에러가 나면서 다운로드가 되지 않습니다. [root@raspberry log]# wget https://www.example.com/ccs/download.txt --2023-11-27 08:55:18-- https://www.example.com/ccs/download.txt Resolving http://www.example.com (http://www.example.com)... 192.168.1.2 Connecting to http://www.example.com (http://www.example.com)|192.168.1.2|:443... connected. ERROR: cannot verify http://www.examp..
기존 php 5.x 버전에서 7.4 버전으로 사용하려고 PHP Multiple 환경으로 설치하였습니다. phpMyAdmin 버전은 4.4.15.10 입니다. 아파치 설정하고 로그인 시도를 하니 로그인이 안되는 문제가 있습니다. # chmod 777 /var/opt/remi/php74/lib/php/session 위 디렉토리 퍼미션을 변경해 주니 잘됩니다. 에러 로그도 없어서 한참 동안 삽질을 했네요~
아파치 .htaccess 파일이나 VirtualHost 에서 특정 IP만 허용하고 열거한 IP 제외한 나머지는 리디렉션 시켜주는 코드입니다. RewriteEngine On RewriteCond %{HTTP_HOST} ^(www)\.example\.com$ [NC] RewriteCond %{REMOTE_ADDR} !^192.168.1.2$ RewriteCond %{REMOTE_ADDR} !^192.168.1.3$ RewriteCond %{SERVER_PORT} ^443$ RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] 192.168.1.2 ~ 3 만 https 443 포트 이용이 가능하고 나머지는 http 80 포트로 이동시켜줍니다.