<?xml version="1.0" encoding="UTF-8" ?><feed xmlns="http://www.w3.org/2005/Atom">
	<title>Linux</title>
		<link rel="alternate" type="text/html" hreflang="ko" href="https://ischo.net/bd_linux"/>
	<link rel="self" type="application/atom+xml" href="https://ischo.net/bd_linux/atom"/>
	<updated>2026-04-21T09:13:41+00:00</updated>
	<id>https://ischo.net/bd_linux/atom</id>
	<generator>Rhymix</generator>
		<entry>
		<title>Rocky 9+nginx1.20+php8+MariaDB 10.5 환경에서 wordpress 설치하기</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/23083"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/23083#comment"/>		<id>https://ischo.net/bd_linux/23083</id>
		<published>2024-01-10T00:14:00+00:00</published>
		<updated>2024-01-10T00:17:51+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">* 설치환경 - OS : Rockay Linux 9.1 - Webserver : nginx 1.20 - PHP : php 8 - DBMS : MariaDB 10.5 - nginx root directory : /data/www - nginx to php-fpm 통신방식 : TCP 1. php, nginx 설치 # yum install php php-common php-xml php-pdo php-opcache php-mbstring php-cli php-fpm php-gd php-mysqlnd php-common-8.0.30-1.el9_2.x86_64 php-xml-8.0.30-1.el9_2.x86_64 php-pdo-8.0.30-1.el9_2.x86_64 php-opcache-8.0.30-...</summary>
							</entry><entry>
		<title>파일시스템 양방향 동기화하기 - rsync, lsyncd</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/23071"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/23071#comment"/>		<id>https://ischo.net/bd_linux/23071</id>
		<published>2024-01-03T01:24:50+00:00</published>
		<updated>2024-01-03T01:42:36+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">1. 시나리오 - 다음 2개의 서버의 디렉토리내 파일들을 양방향으로 동기화 Server1 : /data/files (소유권 계정 dsnw) Server2 : /data/files (소유권 계정 dsnw) - 운영환경 OS : Rocky Linux 9.1 ssh port : TCP 2142 2. rsync를 이용하여 동기화하기 2-1. ssh key 생성 - Server1 측 key생성 [server1]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Created ...</summary>
							</entry><entry>
		<title>LVM 타입 swap 영역 용량 축소하기</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/23060"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/23060#comment"/>		<id>https://ischo.net/bd_linux/23060</id>
		<published>2023-11-27T23:27:26+00:00</published>
		<updated>2023-11-28T00:05:39+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">케이스 : 64GB로 설정된 스왑영역을 32GB로 축소하고자 할때 1. 현재 스왑을 제거 # swapoff -v /dev/mapper/rhel-swap 2. 용량 줄이기 # lvreduce -L 32g /dev/mapper/rhel-swap 3. 스왑영역으로 만들기 # mkswap /dev/mapper/rhel-swap 4. 스왑영역 활성화 하기 # swapon -va 5. 결과 확인 # cat /proc/swaps # free -h</summary>
							</entry><entry>
		<title>named 에서 DNS root 서버 리스트 갱신하기</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/22996"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/22996#comment"/>		<id>https://ischo.net/bd_linux/22996</id>
		<published>2023-06-13T03:04:50+00:00</published>
		<updated>2023-06-13T05:48:27+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">오래된 root 서버 리스트파일을 갖고 있다면 root 네임서버 리스트를 갱신해야 한다. 다음은 오래된 root 네임서버 파일의 예이다. ############################################################################# ; &lt;&lt;&gt;&gt; DiG 9.9.4-RedHat-9.9.4-38.el7_3.2 &lt;&lt;&gt;&gt; +bufsize=1200 +norec @a.root-servers.net ; (2 servers found) ;; global options: +cmd ;; Got answer: ;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 17...</summary>
							</entry><entry>
		<title>vi 에디터에서 복사,붙여넣기 하면 # 마크가 자동으로 앞에 붙을때</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/22972"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/22972#comment"/>		<id>https://ischo.net/bd_linux/22972</id>
		<published>2023-04-19T04:25:30+00:00</published>
		<updated>2023-04-19T04:27:03+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">vi 에디터에서 복사,붙여넣기 하면 # 마크가 자동으로 앞에 붙을때 이유 : 스크립트를 짤때 # 마크로 시작할 경우 자동으로 다음줄에도 붙이는 기능이 동작하기 때문. 해결법 : 텍스트를 복사할때는 명령어 모드에서 다음 명령어 실행후 붙여넣기. : set paste</summary>
							</entry><entry>
		<title>구버전 Linux에서 Rocky Linux 9.1 버전으로 ssh 접속시 &quot;no hostkey alg&quot; 표시후 접속불가</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/22970"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/22970#comment"/>		<id>https://ischo.net/bd_linux/22970</id>
		<published>2023-04-19T02:38:33+00:00</published>
		<updated>2023-04-19T04:07:55+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">원인 : Rocky Linux 9.1 에서는 더이상 예전의 복호화 정책을 사용하지 않기 때문. 해결법 : 예전 방식의 복호화 정책을 사용가능하도록 조정. Rocky Linux 9.1 에서 다음 명령어 실행. # update-crypto-policies --set LEGACY</summary>
							</entry><entry>
		<title>파일시스템 사용량 추이를 http 전송으로 DB에 누적하기</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/22677"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/22677#comment"/>		<id>https://ischo.net/bd_linux/22677</id>
		<published>2022-08-29T01:58:25+00:00</published>
		<updated>2022-09-01T02:46:30+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">파일시스템 사용량 추이를 http 전송으로 DB에 누적하기 시스템 관리를 하다보면 각 서버들의 파일시스템 추이를 관리해야 할 필요가 있다. 파일시스템은 갈수록 크기가 커지며, 하루에 얼마나 쌓이는지 알아야지 향후 저장공간을 증설할때 얼마만큼의 저장공간을 마련해야 할지 예측할 수 있기 때문이다. 또는 정기적인 에방점검을 할때 보고서를 작성하는 경우에도 파일시스템 용량 체크는 상당한 노력이 든다. 수십대가 넘는 시...</summary>
							</entry><entry>
		<title>[Shell] 시작한지 1시간 이상 경과한 프로세스 kill 하기</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/22549"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/22549#comment"/>		<id>https://ischo.net/bd_linux/22549</id>
		<published>2022-06-16T05:25:46+00:00</published>
		<updated>2022-07-07T00:30:45+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">시작한지 1시간 이상 경과한 프로세스만 골라서 kill -9 명령어를 날려주는 프로세스 ps -ef 명령어의 결과 # ps -ef | grep http apache 30553 1794 0 13:03 ? 00:00:36 /usr/sbin/httpd -DFOREGROUND 프로세스 시작시간이 13:03 인걸 이용하여 현재 시간과 비교하여 2 만큼 차이가 나면 프로세스는 죽인다. ############ program kill ############################################################### #!/bin/bash export LANG=...</summary>
							</entry><entry>
		<title>apache log4j 취약점 제거조치 CVE-2021-44228 CVE-2021-45046 CVE-2021-41045 CVE-2021-4104</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/22480"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/22480#comment"/>		<id>https://ischo.net/bd_linux/22480</id>
		<published>2021-12-23T09:16:22+00:00</published>
		<updated>2021-12-31T03:53:19+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">apache log4j 취약점 제거조치 1. Log4j 사용여부 및 버전 조회 방법 # find / -name &quot;*log4j*jar&quot; -type f /usr/share/java/log4j.jar /usr/share/java/slf4j/log4j-over-slf4j.jar /usr/share/java/slf4j/slf4j-log4j12.jar /data/webapp/webapp/WEB-INF/lib/log4j-1.2.14.jar /data/webapp/webapp/WEB-INF/lib/log4j-1.2.14.jar 조회시 위와 같이 WEB-INF/ 하위 디렉토리에 log4j&lt;버전명&gt;.jar 파일이 있는 경우 해당 log4j 를 사...</summary>
							</entry><entry>
		<title>Multi Putty Manager</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/22133"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/22133#comment"/>		<id>https://ischo.net/bd_linux/22133</id>
		<published>2020-10-08T07:01:04+00:00</published>
		<updated>2020-10-08T07:01:04+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">Multi Putty Manager</summary>
							</entry><entry>
		<title>CentOS 7에 Apache2, php7.3, MariaDB 설치하기</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/21684"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/21684#comment"/>		<id>https://ischo.net/bd_linux/21684</id>
		<published>2019-09-01T21:35:19+00:00</published>
		<updated>2019-09-08T12:07:22+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">1. set repositories # rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY* # yum install epel-release # yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm # yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm 2. install mariadb # yum install mariadb-server mariadb # mysql_secure_installation 3. install httpd # yum install httpd (adsbygoogle = window.adsbygoogle ...</summary>
							</entry><entry>
		<title>리눅스에서 Windows Filesystem(NTFS) 마운트하기</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/21125"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/21125#comment"/>		<id>https://ischo.net/bd_linux/21125</id>
		<published>2018-12-20T11:20:23+00:00</published>
		<updated>2020-03-10T07:55:21+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">원문 : http://www.ischo.net -- 조인상 //시스템 엔지니어 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 리눅스에서 Windows Filesystem(NTFS) 마운트하기증상 : 리눅스 머신에 외장하드와 같이 NTFS 파일시스템으로 된 디스크를 마운트하고 자 할 경우 아래와 같이 마운트가 되지 않음# mkdir /usb# mount /dev/sdb1 /usbmount: unknown filesystem type &#039;ntfs&#039;해결 : 마운트하기 위해서는 ntfs-3g 패키지를 설치해...</summary>
						<category term="NTFS"/><category term="CentOS"/>	</entry><entry>
		<title>SFTP로 자동 업로드/다운로드 스크립트</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/19959"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/19959#comment"/>		<id>https://ischo.net/bd_linux/19959</id>
		<published>2018-04-04T08:25:28+00:00</published>
		<updated>2019-08-07T15:47:14+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">원문 : http://www.ischo.net -- 조인상 //시스템 엔지니어 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ #!/bin/bashDATE=`date &#039;+%Y%m%d&#039;`PORTNUMBER=&#039;22&#039;FTP_USER=&#039;SSHUSER&#039;FTP_PASS=&#039;SSHPASSWORD&#039;SFTPSERVER=&#039;sftp://sftp_server_ip_address&#039;FTP_DEST=&#039;FTP server&#039;s directory&#039;DEST=&#039;local directory&#039;lftp -p ${PORTNUMBER} -u ${FTP_USER},${FTP_PASS} ${SFTPSERVER} &lt;&lt; !cd ${FTP_DEST}lcd ${DEST}mput home_${D...</summary>
							</entry><entry>
		<title>CIDR Conversion Table</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/19747"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/19747#comment"/>		<id>https://ischo.net/bd_linux/19747</id>
		<published>2018-03-08T08:46:00+00:00</published>
		<updated>2022-08-31T02:30:52+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">CIDR Conversion Table CIDR Length Mask # Networks # Hosts /1 128.0.0.0 128 A 2,147,483,392 /2 192.0.0.0 64 A 1,073,741,696 /3 224.0.0.0 32 A 536,870,848 /4 240.0.0.0 16 A 268,435,424 /5 248.0.0.0 8 A 134,217,712 /6 252.0.0.0 4 A 67,108,856 /7 254.0.0.0 2 A 33,554,428 /8 255.0.0.0 1 A 16,777,214 /9 255.128.0.0 128 B 8,388,352 /10 255.192.0.0 64 B 4,194,176 /11 255.224.0.0 32 B 2,097,088 /12 255.240....</summary>
							</entry><entry>
		<title>(스크립트) 오라클 DB서버에서  매일 원격지 FTP로 export 파일 업로드 하기</title>
		<link rel="alternate" type="text/html" href="https://ischo.net/bd_linux/19423"/>
		<link rel="replies" type="text/html" href="https://ischo.net/bd_linux/19423#comment"/>		<id>https://ischo.net/bd_linux/19423</id>
		<published>2017-11-03T16:58:02+00:00</published>
		<updated>2017-11-03T17:02:06+00:00</updated>
		<author>
			<name>ischo</name>
		</author>
		<summary type="text">원문 : http://www.ischo.net -- 조인상 //시스템 엔지니어 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ (스크립트) 오라클 DB서버에서 매일 원격지 FTP로 export 파일 업로드 하기목표 : 오라클DB서버 (리눅스) 에서 매일 export backup 후 원격지 FTP서버로 파일 업로드아래 스크립트 작성후 실행권한을 주고 crontab 에 등록하여 사용.#!/bin/bash######################################## ENV #################...</summary>
							</entry></feed> 
