<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.garamx.com/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.garamx.com/dokuwiki/feed.php">
        <title>GaramX linux</title>
        <description></description>
        <link>https://www.garamx.com/dokuwiki/</link>
        <image rdf:resource="https://www.garamx.com/dokuwiki/lib/tpl/darkblue/images/favicon.ico" />
       <dc:date>2026-05-06T13:40:11+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:apache2&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:awk&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:disk&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:dokuwiki&amp;rev=1746526781&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:dosbox&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:eclipse&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:editor&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:file&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:grep&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:grub&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:home&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:https_ssl&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:iptables&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:locale&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:mediawiki&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:mount&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:search&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:service&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:shell&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:ssh_key&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:ssh&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:svn&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:timezone&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:user&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:vi&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:welcome&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:wifi&amp;rev=1744711518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.garamx.com/dokuwiki/doku.php?id=linux:zsh&amp;rev=1744711518&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.garamx.com/dokuwiki/lib/tpl/darkblue/images/favicon.ico">
        <title>GaramX</title>
        <link>https://www.garamx.com/dokuwiki/</link>
        <url>https://www.garamx.com/dokuwiki/lib/tpl/darkblue/images/favicon.ico</url>
    </image>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:apache2&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:apache2</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:apache2&amp;rev=1744711518&amp;do=diff</link>
        <description>Apache2

Debian 파일위치들

	*  /etc/apache2/apache2.conf

	*  index html : /var/www/html
	*  lib : /var/lib/apache2\

Proxy


ProxyPass         /commonfw http://dev.asics.co.kr:9080/commonfw
ProxyPassReverse  /commonfw http://dev.asics.co.kr:9080/commonfw</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:awk&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:awk</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:awk&amp;rev=1744711518&amp;do=diff</link>
        <description>awk 사용하기

AWK는 최초에 awk 기능을 디자인한 사람들의 이니셜을 조합하여 만든 이름입니다.
Aho + Weinberger + Kernighan. (A:Alfred V. Aho, W:Peter J. Weinberger, K:Brian W. Kernighan)</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:disk&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:disk</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:disk&amp;rev=1744711518&amp;do=diff</link>
        <description>Disk관리하기

journalctl

systemctl status 명령으로 확인할 수 있는 로그 정보는 systemd-journald가 제공합니다. systemd-journald는 부팅부터 발생하는 systemd의 로그 정보를 이진 자료로 저장합니다. 일반적인 로그 기록이 텍스트 파일에 남는 것과 달리 systemd 로그 정보는 이진 자료이기 때문에 cat, more, less, head, tail 같은 명령을 쓸 수 없고 journalctl 명령으로만 확인할 수 있습니다.</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:dokuwiki&amp;rev=1746526781&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-05-06T10:19:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:dokuwiki</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:dokuwiki&amp;rev=1746526781&amp;do=diff</link>
        <description>DokuWiki

git을 이용한 백업

보안

사용자등록을 안되도록 설정
register를 비활성화

추가설치 플러그인

1.XBR
엔터키를 인식시킴
설정에서 xhtml에서 XBR을 선택해야 한다.
2.WRAP
줄바꾸기가능
3.Code
 codeprettify
4.Variable -</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:dosbox&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:dosbox</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:dosbox&amp;rev=1744711518&amp;do=diff</link>
        <description>DosBox

왜 찾아 보려고 하지 않았을까? 과거의 추억을 살려줄 수 있는 것인데.. 나의 20대의 과거를...

DOSBox Staging설치

Install dependencies on Ubuntu and Debian

Ubuntu 18.04 or newer, and Debian 9 or newer is required.</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:eclipse&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:eclipse</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:eclipse&amp;rev=1744711518&amp;do=diff</link>
        <description>Linux에서 Eclipse 사용하기

eclipse.org에서 Linux용 설치파일을 다운로드 받아서 설치한다.</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:editor&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:editor</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:editor&amp;rev=1744711518&amp;do=diff</link>
        <description>Ubuntu 기본Editor 변경


sudo update-alternatives --config editor


git Commit Editor변경


git config --list
git config --global core.editor vim</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:file&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:file</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:file&amp;rev=1744711518&amp;do=diff</link>
        <description>Linux File 정보 알아보기

file


% file D2Coding-Ver1.3.2-20180524.zip
dosbox-staging-linux-v0.81.0.tar.xz: XZ compressed data, checksum CRC64


stat


% stat upgrade
  파일: upgrade
  크기: 887       	블록: 8          입출력 블록: 4096   일반 파일
장치: 259,2	아이노드: 397219      링크: 2
접근: (0755/-rwxr-xr-x)  UID: ( 1000/    mama)   GID: ( 1000/    mama)
접근: 2024-09-14 08:57:24.171559751 +0900
수정: 2024-09-14 08:08:44.054175199 +0900
변경: 2024-09-14 08:56:30.914440391 +0900
생성: 2024-09-14 08:08:44.054175199 +0900…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:grep&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:grep</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:grep&amp;rev=1744711518&amp;do=diff</link>
        <description>grep

grep은 많이 사용하였지만 어떻게 사용하는 지 알아보지 않았다.
PATTERN을 이용하는 방법이 재미가 좀 있다.

standard input으로 부터 검색한다.


$ echo &quot;Good Morning&quot; | grep ing


 output 
Good Morning

3.12 ~ 3.19 사이조회</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:grub&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:grub</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:grub&amp;rev=1744711518&amp;do=diff</link>
        <description>grub사용하기

linux를 설치하고 grub프롬프트가 나오면 당황스럽다.

수동부팅.. 환경에 따라서 다르겠지만..


grub&gt; set root=hd0,grp7
grub&gt; linux /vmlinuz root=/dev/nvme0n1p7
grub&gt; initrd /initrd.img
grub&gt; boot


/boot/grub/grub.cfg</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:home&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:home</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:home&amp;rev=1744711518&amp;do=diff</link>
        <description>Linux

	*  USB에서 Ubuntu사용하기
	*  Debian에서 USB Debian 설치 만들기
	*  Linux에서 Eclipse사용

Linux배포판중에서 RedHat은 사용한 적이 없다. 이제는 접하기 쉽지 않나 싶다. 개인적으로는 Ubuntu보다는 Debian이 더 편리한 것같다. 잡다한 것들을 설치 안 한다고 할까? 아무래도 Ubuntu는 상업용으로 전환하고 싶어하는 듯 싶다. Debian은 공용OS를 공유하는 목적을 잘 지키는 것같다.
그럼에도 Ubuntu를 사용하는 것은 Oracle Cloud에 Debian이 없다는 것이다.( 나는 무료를 사랑한다. - 돈 벌이를 못 하므로…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:https_ssl&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:https_ssl</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:https_ssl&amp;rev=1744711518&amp;do=diff</link>
        <description>HTTPS SSL

Certbot


sudo apt install snapd


SSL 무료인증서 - Certbot

HTTPS를 적용을 위해 
Certbot 사이트에서 권장하는 snap 패키지를 이용하여 설치하겠습니다.
아래 명령을 실행하여 인증서를 발급하시면 됩니다.</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:iptables&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:iptables</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:iptables&amp;rev=1744711518&amp;do=diff</link>
        <description>리눅스 방화벽

&lt;https://upcloud.com/resources/tutorials/configure-iptables-ubuntu&gt;

&lt;https://banggucha.tistory.com/entry/Tip-iptables-%EC%84%A4%EC%A0%95-%EB%B0%8F-%EC%A0%95%EC%B1%85-%EC%A0%81%EC%9A%A9&gt;

iptables

아래에 저장되어야 작동된다.(reboot시)
/etc/iptables/rules.v4
/etc/iptables/rules.v6

iptables설정 백업


sudo iptables-save &gt; maro_rules.v4



# Overwrite the current rules
sudo iptables-restore &lt; /etc/iptables/rules.v4
# Add the new rules keeping the current ones
sudo iptables-restore -n &lt; /etc/iptables/rule…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:locale&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:locale</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:locale&amp;rev=1744711518&amp;do=diff</link>
        <description>Debian, Ubuntu에 Locale변경하기

한국의 Locale

한국의 Locale은 보통 ko_KR.UTF-8로 사용합니다. 만약 많이 오래된 서버라면 ko_KR.EUC-KR일 수도 있어요.

Ubuntu의 기본 Locale

만약 여러분이 AWS나 Google Cloud, Oracle Cloud등의 외국 회사에서 제공하는 우분투 이미지를 사용하고 있다면 아마 기본 설정은 en-US.UTF-8일 가능성이 큽니다. 그리고 만약 여러분이 미국권에서 사용하는 형식에 익숙하다면 (그리고 프로그램에서도 Locale이슈가 없다면) 이 설정을 굳이 한글로 바꾸실 필요는 없습니다. 하지만 가끔 업체마다 Locale정보를 공란으로 둔 이미지를 제공하는 경우가 있습니다. 그런 경우 기본값으로 한국어 UTF-8을 이용하는 것은 나쁘지 않은 선택입니다.…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:mediawiki&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:mediawiki</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:mediawiki&amp;rev=1744711518&amp;do=diff</link>
        <description>Media Wiki

설치


&gt; sudo apt-get install mediawiki


MariaDB 설정


#sudo mysql
&gt;create database hasiowiki;
&gt;create user &#039;wiki&#039;@&#039;localhost&#039; identified &#039;xxxx&#039;;</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:mount&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:mount</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:mount&amp;rev=1744711518&amp;do=diff</link>
        <description>리눅스 디스크 볼륨 마운트

부팅시에도 쓰려면
/etc/fstab파일수정


# /mnt/maro was on /dev/nvme0n1p9 
UUID=b27527a5-36c1-4257-9fef-e7e272bd31fa /mnt/maro               ext4    errors=remount-ro 0       1


Oracle Cloud 볼륨 사용하기</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:search&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:search</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:search&amp;rev=1744711518&amp;do=diff</link>
        <description>1. 리눅스 파일명으로 검색하는법.

사용법
find [찾을위치] -name [파일명]
예) 최상위 폴더부터 하위로 &#039;apache&#039;로 시작하는 파일 찾기.
find / -name &#039;apache*&#039;
예) usr 폴더부터 하위로 &#039;apa&#039;로 시작하는 파일 찾기.</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:service&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:service</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:service&amp;rev=1744711518&amp;do=diff</link>
        <description>Service관리

리눅스의 서비스 확인


# 서비스목록확인
systemctl list-unit-files

# 서비스 시작
systemctl start [service name]

# 서비스 종료
systemctl stop [service name]

# 서비스 재시작
systemctl restart [service name]

# 서비스 활설화
systemctl enable [service name]

# 서비스 비활성화
systemctl disable [service name]

# 서비스 갱신
systemctl reload [service name]</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:shell&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:shell</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:shell&amp;rev=1744711518&amp;do=diff</link>
        <description>#!/bin/bash

# 디렉토리 존재 유무 확인
if [ ! -d 디렉토리명 ] ; then
  mkdir 디렉토리명
fi

# 파일 존재 유무 확인
if [ ! -e 디렉토리명 ] ; then
  touch 파일명
fi

if test -f &quot;manage.py&quot;; then
  echo ls -l manage.py
fi

file_name=&quot;my_file.txt&quot;
# 파일이 있을 경우 메세지 출력
if test -e $file_name
  then echo &quot;$file_name 파일을 찾았습니다.&quot;
fi
 
# 파일이 없을 경우 메세지 출력(! 사용)
if ! test -e $file_name
  then echo &quot;$file_name 파일이 없습니다.&quot;
fi
 
# 디렉토리의 존재 여부는 -d 옵션을 사용하면 된다.
 
dir_name=&quot;/var/log/&quot;
# 디렉토리가 있을 경우 메세지 출력
if test -d $dir_name
  then echo &quot;$dir_name 디렉토…</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:ssh_key&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:ssh_key</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:ssh_key&amp;rev=1744711518&amp;do=diff</link>
        <description>SSH Key Generate

리눅스/유닉스 계열

1. 키 생성


ssh-keygen -t rsa


-t : 어떤 암호화 방식을 사용할 것인가 (디폴트이기에 정하지 않으면 rsa로 만들어진다)
파일위치 지정 : (기본위치로 사용하려면 Enter)
비밀번호 : (비밀번호 없이 사용하려면 Enter)
비밀번호 확인 :
위에서 정한 파일위치에 .ssh 디렉토리가 생기고 그 아래에 id_rsa(개인키), id_rsa.pub(공개키),known_hosts 파일이 생성된다.</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:ssh&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:ssh</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:ssh&amp;rev=1744711518&amp;do=diff</link>
        <description>SSH

SSH Key 생성

Secure SHell

SSH관련사용

ssh를 이용할 원격 Terminal 접속


ssh garam


scp를 이용한 원격파일 복사

명령어 : scp -P 포트 계정@리모트주소:리모트경로 target


scp -P 포트 &lt;&lt;source&gt;&gt; &lt;&lt;target&gt;&gt;


소스/타켓</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:svn&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:svn</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:svn&amp;rev=1744711518&amp;do=diff</link>
        <description>SVN

	*  SVN Windows

SVN설치


sudo apt-get install subversion


저장소 설정


sudo mkdir /home/svn
sudo svnadmin create /home/svn/REPO


repository 권한 설정


# svn 그룹을 만들고 권한 설정을 한다.
sudo groupadd svn
sudo chgrp svn /home/svn/
sudo chmod g+w /home/svn/
sudo usermod -a -G svn 계정명</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:timezone&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:timezone</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:timezone&amp;rev=1744711518&amp;do=diff</link>
        <description>리눅스 시간을 한국 표준시(KST)로 변경하기

리눅스를 설치할 때 Timezone을 설정하지 않으면 UST/PST 등으로 기본 설정되어 한국이 아닌 다른 국가의 시간으로 나오게 된다.

(네트워크에 연결되어 있을 경우 자동으로 timezone을 잡기도 함)</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:user&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:user</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:user&amp;rev=1744711518&amp;do=diff</link>
        <description>계정생성하기

아래의 문서는 ubuntu기준으로 하겠습니다.
Oracle Linux

리눅스에 관리자계정생성에 대해서

계정생성


adduser test1



useradd -s /usr/bin/zsh -c &quot;Maro Lim&quot; maro


관리자 권한추가(sudo 그룹에 사용자를 추가)</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:vi&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:vi</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:vi&amp;rev=1744711518&amp;do=diff</link>
        <description>VI Editor

신규하님의 블로그에서 가져왔습니다.
(&lt;http://gyuha.tistory.com/157&gt;)
vi명령어 이미지 모음

vi와 Vim의 가장 큰 차이점은, Vim은 에디터에서 화살표 방향키로 커서의 이동이 되지만 vi는 이 방법으로는 커서의 이동이 되지 않는다는 것이다. 순수하게 vi만 설치되어 있다면 화살표 방향키가 아닌 h, j, k ,l로 커서를 이동할 수 있다.</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:welcome&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:welcome</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:welcome&amp;rev=1744711518&amp;do=diff</link>
        <description>Welcome Message

Ubuntu /etc/motd 파일 편집

/etc/update-motd.d/</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:wifi&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:wifi</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:wifi&amp;rev=1744711518&amp;do=diff</link>
        <description>무선랜(WiFi)설정

설정확인

RaspberryPi의 설정확인


pi@raspberrypi:~ $ cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=KR

network={
        ssid=&quot;MamaHome&quot;
        psk=&quot;qwerty2020&quot; &lt;-- 비밀번호가 평문이다.
}</description>
    </item>
    <item rdf:about="https://www.garamx.com/dokuwiki/doku.php?id=linux:zsh&amp;rev=1744711518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-04-15T10:05:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux:zsh</title>
        <link>https://www.garamx.com/dokuwiki/doku.php?id=linux:zsh&amp;rev=1744711518&amp;do=diff</link>
        <description>zsh 사용하기

현재 shell 확인


$ echo $SHELL


zsh install


$ sudo apt-get install zsh



$ sudo yum install zsh


zsh 사용하기

	*  zsh로 변경


$ chsh -s /usr/bin/zsh


SHELL 로드

.zshenv


export PYENV_ROOT=&quot;$HOME/.pyenv&quot;
export PATH=&quot;$PYENV_ROOT/bin:$PATH&quot;
export TGLIM=&quot;Hello .zshenv&quot;

# set PATH so it includes user&#039;s private bin if it exists
if [ -d &quot;$HOME/bin&quot; ] ; then
    PATH=&quot;$HOME/bin:$PATH&quot;
fi

# set PATH so it includes user&#039;s private bin if it exists
if [ -d &quot;$HOME/.local/bin&quot; ] ; then
    PATH=&quot;$…</description>
    </item>
</rdf:RDF>
