<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>version Archives - 어제와 내일의 나 그 사이의 이야기</title>
	<atom:link href="https://lycos7560.com/tag/version/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>생각의 흐름을 타고 다니며 만드는 블로그</description>
	<lastBuildDate>Tue, 25 Nov 2025 15:17:43 +0000</lastBuildDate>
	<language>ko-KR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://lycos7560.com/wp-content/uploads/2022/11/cropped-cropped-cropped-log-1-150x150-1-80x80.png</url>
	<title>version Archives - 어제와 내일의 나 그 사이의 이야기</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>C# Switch 식(Expression)</title>
		<link>https://lycos7560.com/c/c-switch-%ec%8b%9dexpression/40362/</link>
					<comments>https://lycos7560.com/c/c-switch-%ec%8b%9dexpression/40362/#respond</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Tue, 11 Nov 2025 15:02:40 +0000</pubDate>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[!=]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[.NET 5]]></category>
		<category><![CDATA[.NET 6]]></category>
		<category><![CDATA[.Net Core]]></category>
		<category><![CDATA[>=]]></category>
		<category><![CDATA[<=]]></category>
		<category><![CDATA[==]]></category>
		<category><![CDATA[2019]]></category>
		<category><![CDATA[2020]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[action]]></category>
		<category><![CDATA[Admin]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Arrow Operator]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Authorization]]></category>
		<category><![CDATA[Boolean]]></category>
		<category><![CDATA[Branch]]></category>
		<category><![CDATA[Branching]]></category>
		<category><![CDATA[C#7]]></category>
		<category><![CDATA[C#8]]></category>
		<category><![CDATA[C#9]]></category>
		<category><![CDATA[Case]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[Clean Code]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Comparison]]></category>
		<category><![CDATA[Compile]]></category>
		<category><![CDATA[Concise]]></category>
		<category><![CDATA[Condition]]></category>
		<category><![CDATA[Conditional]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Control Flow]]></category>
		<category><![CDATA[CSharp]]></category>
		<category><![CDATA[Declarative]]></category>
		<category><![CDATA[Declarative Style]]></category>
		<category><![CDATA[Default]]></category>
		<category><![CDATA[delegate]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[Developer Guide]]></category>
		<category><![CDATA[Docs]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[dotnet]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Error Handling]]></category>
		<category><![CDATA[Example]]></category>
		<category><![CDATA[Exception]]></category>
		<category><![CDATA[Execution]]></category>
		<category><![CDATA[Expression]]></category>
		<category><![CDATA[Expression Body]]></category>
		<category><![CDATA[Expression Tree]]></category>
		<category><![CDATA[False]]></category>
		<category><![CDATA[Feature]]></category>
		<category><![CDATA[Flow]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Function Pointer]]></category>
		<category><![CDATA[Functional]]></category>
		<category><![CDATA[Functional Programming]]></category>
		<category><![CDATA[Grammar]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[History]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[Imperative]]></category>
		<category><![CDATA[Intuitive]]></category>
		<category><![CDATA[Lambda]]></category>
		<category><![CDATA[Language Evolution]]></category>
		<category><![CDATA[Language Feature]]></category>
		<category><![CDATA[Learning]]></category>
		<category><![CDATA[Library]]></category>
		<category><![CDATA[Logical Pattern]]></category>
		<category><![CDATA[Maintainable]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[method]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[Modern C#]]></category>
		<category><![CDATA[Modern Programming]]></category>
		<category><![CDATA[New Feature]]></category>
		<category><![CDATA[November]]></category>
		<category><![CDATA[Null]]></category>
		<category><![CDATA[Null Check]]></category>
		<category><![CDATA[Nullable]]></category>
		<category><![CDATA[Object]]></category>
		<category><![CDATA[Object-Oriented]]></category>
		<category><![CDATA[OOP]]></category>
		<category><![CDATA[Operator]]></category>
		<category><![CDATA[Pattern Matching]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Property]]></category>
		<category><![CDATA[Property Pattern]]></category>
		<category><![CDATA[Range]]></category>
		<category><![CDATA[Readable]]></category>
		<category><![CDATA[Refactor]]></category>
		<category><![CDATA[Refactoring]]></category>
		<category><![CDATA[Relational Pattern]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[Return Value]]></category>
		<category><![CDATA[Role]]></category>
		<category><![CDATA[Running]]></category>
		<category><![CDATA[Runtime]]></category>
		<category><![CDATA[Sample Code]]></category>
		<category><![CDATA[SDK]]></category>
		<category><![CDATA[September]]></category>
		<category><![CDATA[Simplify]]></category>
		<category><![CDATA[Snippet]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[State]]></category>
		<category><![CDATA[Statement]]></category>
		<category><![CDATA[Stopped]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[Switch Action]]></category>
		<category><![CDATA[Switch Branch]]></category>
		<category><![CDATA[Switch Case]]></category>
		<category><![CDATA[Switch Clean]]></category>
		<category><![CDATA[Switch Default]]></category>
		<category><![CDATA[Switch Delegate]]></category>
		<category><![CDATA[Switch Docs]]></category>
		<category><![CDATA[Switch Evolution]]></category>
		<category><![CDATA[Switch Example]]></category>
		<category><![CDATA[Switch Expression]]></category>
		<category><![CDATA[Switch Expression Action]]></category>
		<category><![CDATA[Switch Expression C#]]></category>
		<category><![CDATA[Switch Expression Clean]]></category>
		<category><![CDATA[Switch Expression Default]]></category>
		<category><![CDATA[Switch Expression Delegate]]></category>
		<category><![CDATA[Switch Expression Docs]]></category>
		<category><![CDATA[Switch Expression Education]]></category>
		<category><![CDATA[Switch Expression Evolution]]></category>
		<category><![CDATA[Switch Expression Example]]></category>
		<category><![CDATA[Switch Expression Guide]]></category>
		<category><![CDATA[Switch Expression History]]></category>
		<category><![CDATA[Switch Expression Lambda]]></category>
		<category><![CDATA[Switch Expression Learning]]></category>
		<category><![CDATA[Switch Expression Logical]]></category>
		<category><![CDATA[Switch Expression Migration]]></category>
		<category><![CDATA[Switch Expression Modern]]></category>
		<category><![CDATA[Switch Expression Null]]></category>
		<category><![CDATA[Switch Expression Pattern]]></category>
		<category><![CDATA[Switch Expression Property]]></category>
		<category><![CDATA[Switch Expression Relational]]></category>
		<category><![CDATA[Switch Expression Sample]]></category>
		<category><![CDATA[Switch Expression Simplify]]></category>
		<category><![CDATA[Switch Expression Snippet]]></category>
		<category><![CDATA[Switch Expression Study]]></category>
		<category><![CDATA[Switch Expression Tuple]]></category>
		<category><![CDATA[Switch Expression Tutorial]]></category>
		<category><![CDATA[Switch Expression Upgrade]]></category>
		<category><![CDATA[Switch Expression Version]]></category>
		<category><![CDATA[Switch Expression Wildcard]]></category>
		<category><![CDATA[Switch Feature]]></category>
		<category><![CDATA[Switch Flow]]></category>
		<category><![CDATA[Switch Function]]></category>
		<category><![CDATA[Switch Guide]]></category>
		<category><![CDATA[Switch Keyword]]></category>
		<category><![CDATA[Switch Lambda]]></category>
		<category><![CDATA[Switch Logical]]></category>
		<category><![CDATA[Switch Mapping]]></category>
		<category><![CDATA[Switch Modern]]></category>
		<category><![CDATA[Switch Null]]></category>
		<category><![CDATA[Switch Operator]]></category>
		<category><![CDATA[Switch Pattern]]></category>
		<category><![CDATA[Switch Property]]></category>
		<category><![CDATA[Switch Relational]]></category>
		<category><![CDATA[Switch Simplify]]></category>
		<category><![CDATA[Switch Statement]]></category>
		<category><![CDATA[Switch Syntax]]></category>
		<category><![CDATA[Switch Tuple]]></category>
		<category><![CDATA[Switch Tutorial]]></category>
		<category><![CDATA[Switch Wildcard]]></category>
		<category><![CDATA[Syntax]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[True]]></category>
		<category><![CDATA[tuple]]></category>
		<category><![CDATA[Tuple Pattern]]></category>
		<category><![CDATA[TUTORIAL]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[User]]></category>
		<category><![CDATA[Value]]></category>
		<category><![CDATA[Variable]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[Visual studio]]></category>
		<category><![CDATA[VS Code]]></category>
		<category><![CDATA[Wildcard]]></category>
		<category><![CDATA[공부]]></category>
		<category><![CDATA[기초]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=40362</guid>

					<description><![CDATA[<p>C# Switch 식(Expression) C# 8.0(2019년 9월)부터 도입된 Switch 식(Switch Expression)은 기존의 switch-case 문을 획기적으로 줄여주는 강력한 기능 람다 표현식(=>)을 쓰는 것처럼 간결하고 직관적인 분기 처리가 가능 기존 방식 (Statement) 새로운 방식 (Expression) 강력한 활용 패턴 C# 9.0(2020년 11월)부터 Switch 식이 단순 매핑이 아니라 패턴 매칭(Pattern Matching)과 결합됨 범위 비교 (Relational Pattern) C# 9.0부터는 when 키워드 [&#8230;]</p>
<p>The post <a href="https://lycos7560.com/c/c-switch-%ec%8b%9dexpression/40362/">C# Switch 식(Expression)</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-1bf84b0a      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							목차						</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#c-switch-식expression" class="uagb-toc-link__trigger">C# Switch 식(Expression)</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#기존-방식-statement" class="uagb-toc-link__trigger">기존 방식 (Statement)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#새로운-방식-expression" class="uagb-toc-link__trigger">새로운 방식 (Expression)</a></li></ul></li><li class="uagb-toc__list"><a href="#강력한-활용-패턴" class="uagb-toc-link__trigger">강력한 활용 패턴</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#범위-비교-relational-pattern" class="uagb-toc-link__trigger">범위 비교 (Relational Pattern)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#여러-변수-동시에-비교-tuple-pattern" class="uagb-toc-link__trigger">여러 변수 동시에 비교 (Tuple Pattern)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#객체-속성-비교-property-pattern" class="uagb-toc-link__trigger">객체 속성 비교 (Property Pattern)</a></li></ul></li></ul></li><li class="uagb-toc__list"><a href="#리턴값이-없는-메서드action-실행" class="uagb-toc-link__trigger">리턴값이 없는 메서드(Action) 실행</a></ul></ul></ol>					</div>
									</div>
				</div>
			


<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">C# Switch 식(Expression)</h2>



<p>C# 8.0(2019년 9월)부터 도입된 <strong>Switch 식(Switch Expression)</strong>은 기존의 <code><strong>switch-case</strong></code> 문을 획기적으로 줄여주는 강력한 기능</p>



<p>람다 표현식(<code>=></code>)을 쓰는 것처럼 간결하고 직관적인 분기 처리가 가능</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">기존 방식 (Statement)</h3>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">public string GetGrade(int score)
{
    string grade;
    switch (score)
    {
        case 90:
            grade = "A";
            break;
        case 80:
            grade = "B";
            break;
        default:
            grade = "C";
            break;
    }
    return grade;
}</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">새로운 방식 (Expression)</h3>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">public string GetGrade(int score) => score switch
{
    90 => "A",
    80 => "B",
    _  => "C"
};


또는 다른 범위 방식으로 (결과는 다름) 
score switch
{
    >= 90 => "A",
    >= 80 => "B",
    >= 70 => "C",
    _     => "D"
};
</pre>



<ul class="wp-block-list">
<li><strong>위치 이동:</strong> <code>switch</code> 키워드가 변수 <strong>뒤</strong>로 이동 (<code>score switch</code>)</li>



<li><strong>화살표 사용:</strong> <code>case ... :</code> 대신 람다 화살표 <code>=></code>를 사용</li>



<li><strong>Default 처리:</strong> <code>default:</code> 대신 와일드카드 <code>_</code>를 사용</li>



<li><strong>식(Expression):</strong> 그 자체가 &#8216;값&#8217;을 반환하므로 메서드의 리턴값으로 바로 사용할 수 있음</li>
</ul>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">강력한 활용 패턴</h2>



<p>C# 9.0(2020년 11월)부터 Switch 식이 단순 매핑이 아니라 <strong>패턴 매칭(Pattern Matching)</strong>과 결합됨</p>



<ul class="wp-block-list">
<li><strong>Switch Expression 자체는 C# 8에서 처음 도입</strong></li>



<li><strong>Pattern Matching 자체는 C# 7부터 지원</strong></li>



<li><strong>Relational Pattern, Logical Pattern 등이 C# 9에서 추가</strong></li>
</ul>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">범위 비교 (Relational Pattern)</h3>



<p>C# 9.0부터는 <code>when</code> 키워드 없이도 관계 연산자를 직접 사용</p>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">int temperature = 28;

string weather = temperature switch
{
    >= 30 => "폭염",
    >= 20 => "쾌적함",
    >= 10 => "쌀쌀함",
    _     => "추움"
};</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">여러 변수 동시에 비교 (Tuple Pattern)</h3>



<p>두 개 이상의 상태를 조합해서 분기해야 할 때, <code>if-else</code> 중첩 없이 튜플 패턴으로 깔끔하게 해결</p>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">string state = "Running";
bool hasError = true;

// (상태, 에러여부)를 한 번에 검사
string message = (state, hasError) switch
{
    ("Running", false) => "정상 작동 중",
    ("Running", true)  => "작동 중이나 오류 발생",
    ("Stopped", _)     => "시스템 중지됨", // _는 true/false 상관없음
    _                  => "알 수 없는 상태"
};</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">객체 속성 비교 (Property Pattern)</h3>



<p>객체 내부의 특정 프로퍼티 값에 따라 분기할 수도 있음 </p>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">var user = new User { Role = "Admin", IsDeleted = false };

string accessLevel = user switch
{
    { Role: "Admin", IsDeleted: false } => "관리자 권한",
    { Role: "User", IsDeleted: false }  => "일반 사용자",
    { IsDeleted: true }                 => "삭제된 계정",
    _                                   => "접근 불가" // null 포함
};

// 객체가 null인 경우도 자동으로 _</pre>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">리턴값이 없는 메서드(Action) 실행</h2>



<p><code>Action</code> 델리게이트를 반환받아 즉시 실행</p>



<p>switch expression은 &#8220;값&#8221;을 반환하므로 델리게이트(함수 포인터)를 반환하는 것도 가능</p>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">int command = 1;

// 1. 각 조건에 맞는 Action(행동)을 선택하고
// 2. 마지막의 ()로 즉시 실행합니다.
(command switch
{
    1 => (Action)(() => SaveData()),
    2 => () => LoadData(),
    _ => () => Console.WriteLine("대기")
})(); 
// 마지막 ()는 "반환된 델리게이트 실행"</pre>



<p></p>
<p>The post <a href="https://lycos7560.com/c/c-switch-%ec%8b%9dexpression/40362/">C# Switch 식(Expression)</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/c/c-switch-%ec%8b%9dexpression/40362/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[Linux] 리눅스 커널 및 버전 정보 확인 명령어</title>
		<link>https://lycos7560.com/etc/linux-%eb%a6%ac%eb%88%85%ec%8a%a4-%ec%bb%a4%eb%84%90-%eb%b0%8f-%eb%b2%84%ec%a0%84-%ec%a0%95%eb%b3%b4-%ed%99%95%ec%9d%b8-%eb%aa%85%eb%a0%b9%ec%96%b4/40334/</link>
					<comments>https://lycos7560.com/etc/linux-%eb%a6%ac%eb%88%85%ec%8a%a4-%ec%bb%a4%eb%84%90-%eb%b0%8f-%eb%b2%84%ec%a0%84-%ec%a0%95%eb%b3%b4-%ed%99%95%ec%9d%b8-%eb%aa%85%eb%a0%b9%ec%96%b4/40334/#comments</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Tue, 14 Oct 2025 20:33:58 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[기타]]></category>
		<category><![CDATA[/etc/issue]]></category>
		<category><![CDATA[/etc/os-release]]></category>
		<category><![CDATA[/proc]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[ArchLinux]]></category>
		<category><![CDATA[arm64]]></category>
		<category><![CDATA[armv7l]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Boot]]></category>
		<category><![CDATA[boot_messages]]></category>
		<category><![CDATA[cat]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[chmod]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[CPU]]></category>
		<category><![CDATA[CPU_info]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[diagnostics]]></category>
		<category><![CDATA[disk_info]]></category>
		<category><![CDATA[dmesg]]></category>
		<category><![CDATA[dnf]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[hardware_info]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[hostnamectl]]></category>
		<category><![CDATA[i386]]></category>
		<category><![CDATA[info_script]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[kernel_release]]></category>
		<category><![CDATA[kernel_version]]></category>
		<category><![CDATA[less]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux_commands]]></category>
		<category><![CDATA[Login]]></category>
		<category><![CDATA[lsb_release]]></category>
		<category><![CDATA[lscpu]]></category>
		<category><![CDATA[memory_info]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[network_info]]></category>
		<category><![CDATA[openSUSE]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[OS_info]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[Processor]]></category>
		<category><![CDATA[procfs]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[SUSE]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[system_check]]></category>
		<category><![CDATA[system_information]]></category>
		<category><![CDATA[system_logs]]></category>
		<category><![CDATA[system_script]]></category>
		<category><![CDATA[systemd]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[uname]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[vm]]></category>
		<category><![CDATA[x86_64]]></category>
		<category><![CDATA[yum]]></category>
		<category><![CDATA[가상화]]></category>
		<category><![CDATA[공부]]></category>
		<category><![CDATA[관리자]]></category>
		<category><![CDATA[권한]]></category>
		<category><![CDATA[기초]]></category>
		<category><![CDATA[네트워크]]></category>
		<category><![CDATA[데스크탑]]></category>
		<category><![CDATA[로그인]]></category>
		<category><![CDATA[리눅스]]></category>
		<category><![CDATA[릴리스]]></category>
		<category><![CDATA[메모리]]></category>
		<category><![CDATA[메모리정보]]></category>
		<category><![CDATA[명령어]]></category>
		<category><![CDATA[모니터링]]></category>
		<category><![CDATA[문제해결]]></category>
		<category><![CDATA[버전]]></category>
		<category><![CDATA[부팅]]></category>
		<category><![CDATA[부팅메시지]]></category>
		<category><![CDATA[서버]]></category>
		<category><![CDATA[스크립트]]></category>
		<category><![CDATA[스토리지]]></category>
		<category><![CDATA[시스템관리]]></category>
		<category><![CDATA[시스템로그]]></category>
		<category><![CDATA[시스템점검]]></category>
		<category><![CDATA[시스템정보]]></category>
		<category><![CDATA[아키텍처]]></category>
		<category><![CDATA[운영체제]]></category>
		<category><![CDATA[운영체제정보]]></category>
		<category><![CDATA[진단]]></category>
		<category><![CDATA[커널]]></category>
		<category><![CDATA[커널릴리스]]></category>
		<category><![CDATA[커널버전]]></category>
		<category><![CDATA[터미널]]></category>
		<category><![CDATA[패키지]]></category>
		<category><![CDATA[프로세서]]></category>
		<category><![CDATA[플랫폼]]></category>
		<category><![CDATA[하드웨어]]></category>
		<category><![CDATA[호스트명]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=40334</guid>

					<description><![CDATA[<p>🔥[Linux] 리눅스 커널 및 버전 정보 확인 명령어 1️⃣ 커널 버전 확인 uname 명령어 리눅스 시스템과 커널 정보를 확인할 때 쓰이는 아주 기본적인 도구 옵션 정리 옵션 설명 예시 -r 커널 버전만 출력 (release) 5.15.0-88-generic -v 커널 릴리스 정보 출력 (version) #90-Ubuntu SMP Fri Jul 14 00:44:00 UTC 2023 -s 커널 이름 출력 (system) Linux [&#8230;]</p>
<p>The post <a href="https://lycos7560.com/etc/linux-%eb%a6%ac%eb%88%85%ec%8a%a4-%ec%bb%a4%eb%84%90-%eb%b0%8f-%eb%b2%84%ec%a0%84-%ec%a0%95%eb%b3%b4-%ed%99%95%ec%9d%b8-%eb%aa%85%eb%a0%b9%ec%96%b4/40334/">[Linux] 리눅스 커널 및 버전 정보 확인 명령어</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-3e20bc5d      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							목차						</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#linux-리눅스-커널-및-버전-정보-확인-명령어" class="uagb-toc-link__trigger"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f525.png" alt="🔥" class="wp-smiley" style="height: 1em; max-height: 1em;" />[Linux] 리눅스 커널 및 버전 정보 확인 명령어</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#1-커널-버전-확인" class="uagb-toc-link__trigger">1&#x20e3; 커널 버전 확인</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#uname-명령어" class="uagb-toc-link__trigger">uname 명령어</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#옵션-정리" class="uagb-toc-link__trigger">옵션 정리</a></li></ul><li class="uagb-toc__list"><a href="#cat-procversion" class="uagb-toc-link__trigger">cat /proc/version</a></li></ul><li class="uagb-toc__list"><a href="#2-배포판-정보-확인" class="uagb-toc-link__trigger">2&#x20e3; 배포판 정보 확인</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#etcos-release-파일" class="uagb-toc-link__trigger">/etc/os-release 파일</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#주요-필드-설명" class="uagb-toc-link__trigger">주요 필드 설명</a></li></ul><li class="uagb-toc__list"><a href="#lsb-release-명령어" class="uagb-toc-link__trigger">lsb_release 명령어</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#hostnamectl-명령어" class="uagb-toc-link__trigger">hostnamectl 명령어</a></li></ul><li class="uagb-toc__list"><a href="#3-상세-시스템-정보" class="uagb-toc-link__trigger">3&#x20e3; 상세 시스템 정보</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#etcissue-파일" class="uagb-toc-link__trigger">/etc/issue 파일</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#dmesg-명령어" class="uagb-toc-link__trigger">dmesg 명령어</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#procsyskernel-디렉토리" class="uagb-toc-link__trigger">/proc/sys/kernel/ 디렉토리</a></li></ul><li class="uagb-toc__list"><a href="#4-하드웨어-아키텍처-확인" class="uagb-toc-link__trigger">4&#x20e3; 하드웨어 아키텍처 확인</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#주요-아키텍처-타입" class="uagb-toc-link__trigger">주요 아키텍처 타입</a></li></ul><li class="uagb-toc__list"><a href="#5-배포판별-특수-명령어" class="uagb-toc-link__trigger">5&#x20e3; 배포판별 특수 명령어</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#red-hat-centos-fedora" class="uagb-toc-link__trigger">Red Hat / CentOS / Fedora</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#debian-ubuntu" class="uagb-toc-link__trigger">Debian / Ubuntu</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#suse-opensuse" class="uagb-toc-link__trigger">SUSE / openSUSE</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#arch-linux" class="uagb-toc-link__trigger">Arch Linux</a></li></ul><li class="uagb-toc__list"><a href="#6-종합-정보-확인-스크립트" class="uagb-toc-link__trigger">6&#x20e3; 종합 정보 확인 스크립트</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#빠른-참조표" class="uagb-toc-link__trigger"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4cc.png" alt="📌" class="wp-smiley" style="height: 1em; max-height: 1em;" /> 빠른 참조표</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#가장-많이-사용하는-명령어" class="uagb-toc-link__trigger">가장 많이 사용하는 명령어</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#상황별-추천-명령어" class="uagb-toc-link__trigger">상황별 추천 명령어</a></ul></ul></ol>					</div>
									</div>
				</div>
			


<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h1 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f525.png" alt="🔥" class="wp-smiley" style="height: 1em; max-height: 1em;" />[Linux] 리눅스 커널 및 버전 정보 확인 명령어</h1>



<h2 class="wp-block-heading">1&#x20e3; 커널 버전 확인</h2>



<h3 class="wp-block-heading">uname 명령어</h3>



<p>리눅스 시스템과 커널 정보를 확인할 때 쓰이는 아주 기본적인 도구</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 커널 버전만 출력
uname -r

# 모든 시스템 정보 출력
uname -a

# 커널 이름 출력
uname -s

# 커널 릴리스 정보
uname -v
</pre>



<div style="height:15px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">옵션 정리</h4>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>옵션</th><th>설명</th><th>예시</th></tr></thead><tbody><tr><td><code>-r</code></td><td>커널 버전만 출력 (release)</td><td><code>5.15.0-88-generic</code></td></tr><tr><td><code>-v</code></td><td>커널 릴리스 정보 출력 (version)</td><td><code>#90-Ubuntu SMP Fri Jul 14 00:44:00 UTC 2023</code></td></tr><tr><td><code>-s</code></td><td>커널 이름 출력 (system)</td><td><code>Linux</code></td></tr><tr><td><code>-n</code></td><td>호스트 이름 출력 (node)</td><td><code>myserver</code></td></tr><tr><td><code>-m</code></td><td>하드웨어 아키텍처 출력 (machine)</td><td><code>x86_64</code></td></tr><tr><td><code>-p</code></td><td>프로세서 종류 출력 (processor)</td><td><code>x86_64</code></td></tr><tr><td><code>-i</code></td><td>하드웨어 플랫폼 출력 (platform)</td><td><code>x86_64</code></td></tr><tr><td><code>-o</code></td><td>운영체제 이름 출력 (operating system)</td><td><code>GNU/Linux</code></td></tr><tr><td><code>-a</code></td><td>모든 정보 출력 (all)</td><td><code>Linux myserver 5.15.0-88-generic #90-Ubuntu SMP x86_64 GNU/Linux</code></td></tr></tbody></table></figure>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">cat /proc/version</h3>



<p><code>/proc</code>은 리눅스 커널이 제공하는 가상 파일 시스템 (<code>procfs</code>)로 실제 디스크에 존재하는 파일이 아니라, 커널 메모리 정보를 텍스트 파일 형태로 보여주는 인터페이스</p>



<p><code>/proc/version</code>은 커널 버전과 빌드 정보가 들어있는 파일로 <code>cat</code> 명령어로 내용을 읽어서 출력</p>



<ul class="wp-block-list">
<li>uname: 커널 런타임 정보</li>



<li>proc/version: 커널 빌드 정보 포함</li>
</ul>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">cat /proc/version
</pre>



<p><strong>출력 예시:</strong></p>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">Linux version 5.15.0-91-generic (buildd@lcy02-amd64-047) (gcc version 11.4.0)
</pre>



<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50)"/>



<h2 class="wp-block-heading">2&#x20e3; 배포판 정보 확인</h2>



<h3 class="wp-block-heading">/etc/os-release 파일</h3>



<p><code>/etc/os-release</code>는 리눅스 배포판 정보가 들어있는 설정 파일로 커널 정보가 아니라 운영체제(OS) 배포판 정보를 담고 있음</p>



<p>대부분의 최신 리눅스 배포판에서 사용 가능하며 시스템 환경, 버전, 이름, ID, URL 등을 확인할 수 있음</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">cat /etc/os-release
</pre>



<p><strong>출력 예시:</strong></p>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">NAME="Ubuntu"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
ID=ubuntu
VERSION_ID="22.04"
PRETTY_NAME="Ubuntu 22.04.3 LTS"
</pre>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">주요 필드 설명</h4>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>필드</th><th>설명</th><th>예시</th></tr></thead><tbody><tr><td><code>NAME</code></td><td>배포판 이름</td><td><code>Ubuntu</code></td></tr><tr><td><code>VERSION</code></td><td>배포판 버전</td><td><code>22.04.3 LTS (Jammy Jellyfish)</code></td></tr><tr><td><code>ID</code></td><td>배포판 식별자</td><td><code>ubuntu</code></td></tr><tr><td><code>VERSION_ID</code></td><td>버전 번호</td><td><code>22.04</code></td></tr><tr><td><code>PRETTY_NAME</code></td><td>사람이 읽기 쉬운 전체 이름</td><td><code>Ubuntu 22.04.3 LTS</code></td></tr><tr><td><code>HOME_URL</code></td><td>배포판 홈페이지</td><td><code>https://www.ubuntu.com/</code></td></tr></tbody></table></figure>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">lsb_release 명령어</h3>



<p>LSB(Linux Standard Base) 정보를 표시하는 명령어로, 배포판의 표준화된 정보를 제공</p>



<p>일부 시스템에서는 <code>lsb-release</code> 패키지 설치가 필요할 수 있음</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 모든 정보 출력
lsb_release -a

# 배포판 설명만 출력
lsb_release -d

# 버전만 출력
lsb_release -r

# 배포판 ID만 출력
lsb_release -i
</pre>



<p><strong>출력 예시:</strong></p>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:        22.04
Codename:       jammy
</pre>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">hostnamectl 명령어</h3>



<p>systemd 기반 시스템에서 호스트명과 함께 운영체제 정보를 확인할 수 있는 명령어</p>



<p>시스템 관리에 유용하며 호스트명, 운영체제, 커널, 아키텍처 등을 한눈에 볼 수 있음</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">hostnamectl
</pre>



<p><strong>출력 예시:</strong></p>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">   Static hostname: myserver
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 1234567890abcdef1234567890abcdef
           Boot ID: abcdef1234567890abcdef1234567890
    Virtualization: kvm
  Operating System: Ubuntu 22.04.3 LTS
            Kernel: Linux 5.15.0-91-generic
      Architecture: x86-64
</pre>



<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50)"/>



<h2 class="wp-block-heading">3&#x20e3; 상세 시스템 정보</h2>



<h3 class="wp-block-heading">/etc/issue 파일</h3>



<p>로그인 전 터미널에 표시되는 시스템 식별 정보를 담고 있는 파일</p>



<p>배포판에 따라 다른 내용을 표시하며, 간단한 배포판 정보를 빠르게 확인할 때 유용</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">cat /etc/issue
</pre>



<p><strong>출력 예시:</strong></p>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">Ubuntu 22.04.3 LTS \n \l
</pre>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">dmesg 명령어</h3>



<p>커널 링 버퍼에 있는 메시지를 출력하는 명령어로, 부팅 시 커널이 출력한 메시지를 확인할 수 있음</p>



<p>시스템 부팅 과정과 하드웨어 인식 상태를 파악하는 데 유용</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 커널 버전 정보만 필터링
dmesg | grep "Linux version"

# 부팅 메시지 전체 확인
dmesg | less
</pre>



<p><strong>출력 예시:</strong></p>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">[    0.000000] Linux version 5.15.0-91-generic (buildd@lcy02-amd64-047)
</pre>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">/proc/sys/kernel/ 디렉토리</h3>



<p>커널 파라미터와 설정 정보가 있는 디렉토리</p>



<p>실시간으로 커널 설정을 확인하고 필요시 변경할 수 있음</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 커널 버전
cat /proc/sys/kernel/osrelease

# 커널 타입
cat /proc/sys/kernel/ostype

# 호스트 이름
cat /proc/sys/kernel/hostname
</pre>



<p><strong>출력 예시:</strong></p>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">5.15.0-91-generic
Linux
myserver
</pre>



<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50)"/>



<h2 class="wp-block-heading">4&#x20e3; 하드웨어 아키텍처 확인</h2>



<p>시스템의 하드웨어 아키텍처 정보를 확인하는 명령어들</p>



<p>소프트웨어 호환성 확인이나 패키지 설치 시 필요한 정보</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 아키텍처 정보 (가장 많이 사용)
uname -m

# 프로세서 정보
uname -p

# 하드웨어 플랫폼
uname -i

# CPU 상세 정보
lscpu
</pre>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">주요 아키텍처 타입</h4>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>아키텍처</th><th>설명</th></tr></thead><tbody><tr><td><code>x86_64</code></td><td>64비트 인텔/AMD 프로세서</td></tr><tr><td><code>i386</code>, <code>i686</code></td><td>32비트 인텔 프로세서</td></tr><tr><td><code>aarch64</code></td><td>64비트 ARM 프로세서</td></tr><tr><td><code>armv7l</code></td><td>32비트 ARM 프로세서</td></tr></tbody></table></figure>



<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50)"/>



<h2 class="wp-block-heading">5&#x20e3; 배포판별 특수 명령어</h2>



<h3 class="wp-block-heading">Red Hat / CentOS / Fedora</h3>



<p>Red Hat 계열 배포판에서 사용하는 버전 확인 방법</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># Red Hat 릴리스 정보
cat /etc/redhat-release

# CentOS 릴리스 패키지 정보
rpm -q centos-release

# Fedora 버전 확인
cat /etc/fedora-release
</pre>



<p><strong>출력 예시:</strong></p>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">CentOS Linux release 7.9.2009 (Core)
</pre>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">Debian / Ubuntu</h3>



<p>Debian 계열 배포판에서 사용하는 버전 확인 방법</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># Debian 버전
cat /etc/debian_version

# Ubuntu 버전 (os-release 사용 권장)
cat /etc/lsb-release
</pre>



<p><strong>출력 예시:</strong></p>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">12.5
</pre>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">SUSE / openSUSE</h3>



<p>SUSE 계열 배포판에서 사용하는 버전 확인 방법</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># SUSE 릴리스 정보 (구버전)
cat /etc/SuSE-release

# openSUSE 버전 (최신)
cat /etc/os-release
</pre>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">Arch Linux</h3>



<p>Arch Linux에서 사용하는 버전 확인 방법</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># Arch 릴리스 정보
cat /etc/arch-release

# 상세 정보
cat /etc/os-release
</pre>



<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40)"/>



<h2 class="wp-block-heading">6&#x20e3; 종합 정보 확인 스크립트</h2>



<p>여러 명령어를 한 번에 실행하여 시스템의 전체 정보를 확인할 수 있는 스크립트</p>



<p>시스템 진단이나 문서화 작업 시 유용하게 활용 가능</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">#!/bin/bash

echo "=========================================="
echo "  시스템 정보 확인"
echo "=========================================="

echo ""
echo "=== 커널 버전 ==="
uname -r

echo ""
echo "=== 전체 시스템 정보 ==="
uname -a

echo ""
echo "=== 배포판 정보 ==="
cat /etc/os-release | head -5

echo ""
echo "=== 아키텍처 ==="
uname -m

echo ""
echo "=== 호스트 정보 ==="
hostnamectl | grep -E "hostname|Operating|Kernel|Architecture"

echo ""
echo "=========================================="
</pre>



<p><strong>실행 방법:</strong></p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 실행 권한 부여
chmod +x system_info.sh

# 스크립트 실행
./system_info.sh
</pre>



<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50)"/>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4cc.png" alt="📌" class="wp-smiley" style="height: 1em; max-height: 1em;" /> 빠른 참조표</h2>



<h3 class="wp-block-heading">가장 많이 사용하는 명령어</h3>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>목적</th><th>명령어</th><th>설명</th></tr></thead><tbody><tr><td>커널 버전</td><td><code>uname -r</code></td><td>가장 빠르고 간단</td></tr><tr><td>전체 시스템 정보</td><td><code>uname -a</code></td><td>한 줄로 모든 정보</td></tr><tr><td>배포판 정보</td><td><code>cat /etc/os-release</code></td><td>표준 방식</td></tr><tr><td>상세 시스템 정보</td><td><code>hostnamectl</code></td><td>systemd 기반 시스템</td></tr><tr><td>아키텍처</td><td><code>uname -m</code></td><td>CPU 아키텍처 확인</td></tr></tbody></table></figure>



<h3 class="wp-block-heading">상황별 추천 명령어</h3>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>상황</th><th>추천 명령어</th></tr></thead><tbody><tr><td>처음 서버 접속</td><td><code>uname -a &amp;&amp; cat /etc/os-release</code></td></tr><tr><td>패키지 설치 전</td><td><code>uname -m &amp;&amp; cat /etc/os-release</code></td></tr><tr><td>문제 해결</td><td><code>dmesg | grep -i error</code></td></tr><tr><td>빠른 확인</td><td><code>uname -r</code></td></tr></tbody></table></figure>



<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50)"/>



<p></p>
<p>The post <a href="https://lycos7560.com/etc/linux-%eb%a6%ac%eb%88%85%ec%8a%a4-%ec%bb%a4%eb%84%90-%eb%b0%8f-%eb%b2%84%ec%a0%84-%ec%a0%95%eb%b3%b4-%ed%99%95%ec%9d%b8-%eb%aa%85%eb%a0%b9%ec%96%b4/40334/">[Linux] 리눅스 커널 및 버전 정보 확인 명령어</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/etc/linux-%eb%a6%ac%eb%88%85%ec%8a%a4-%ec%bb%a4%eb%84%90-%eb%b0%8f-%eb%b2%84%ec%a0%84-%ec%a0%95%eb%b3%b4-%ed%99%95%ec%9d%b8-%eb%aa%85%eb%a0%b9%ec%96%b4/40334/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>fdisk type, help</title>
		<link>https://lycos7560.com/ubuntu/fdisk-type-help/39077/</link>
					<comments>https://lycos7560.com/ubuntu/fdisk-type-help/39077/#comments</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Sun, 01 Sep 2024 06:00:10 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[attrs]]></category>
		<category><![CDATA[Boot]]></category>
		<category><![CDATA[bsd]]></category>
		<category><![CDATA[bytes]]></category>
		<category><![CDATA[color output]]></category>
		<category><![CDATA[compatibility]]></category>
		<category><![CDATA[cylinders]]></category>
		<category><![CDATA[device]]></category>
		<category><![CDATA[Disk]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[end]]></category>
		<category><![CDATA[fdisk]]></category>
		<category><![CDATA[getsz]]></category>
		<category><![CDATA[gpt]]></category>
		<category><![CDATA[heads]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[id]]></category>
		<category><![CDATA[list details]]></category>
		<category><![CDATA[list partitions]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[noauto-pt]]></category>
		<category><![CDATA[options]]></category>
		<category><![CDATA[output columns]]></category>
		<category><![CDATA[Partition]]></category>
		<category><![CDATA[Partition Table]]></category>
		<category><![CDATA[protect boot]]></category>
		<category><![CDATA[sector size]]></category>
		<category><![CDATA[sectors]]></category>
		<category><![CDATA[sgi]]></category>
		<category><![CDATA[size]]></category>
		<category><![CDATA[start]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[type]]></category>
		<category><![CDATA[type-uuid]]></category>
		<category><![CDATA[units]]></category>
		<category><![CDATA[usage]]></category>
		<category><![CDATA[uuid]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[wipe partitions]]></category>
		<category><![CDATA[wipe signatures]]></category>
		<category><![CDATA[공부]]></category>
		<category><![CDATA[기본 파티션 테이블 생성 안 함]]></category>
		<category><![CDATA[기초]]></category>
		<category><![CDATA[끝]]></category>
		<category><![CDATA[단위]]></category>
		<category><![CDATA[도움말]]></category>
		<category><![CDATA[디스크]]></category>
		<category><![CDATA[바이트]]></category>
		<category><![CDATA[버전]]></category>
		<category><![CDATA[부트]]></category>
		<category><![CDATA[부트 로더]]></category>
		<category><![CDATA[부트 보호]]></category>
		<category><![CDATA[사용법]]></category>
		<category><![CDATA[상세 목록]]></category>
		<category><![CDATA[색상 출력]]></category>
		<category><![CDATA[서명 지우기]]></category>
		<category><![CDATA[섹터]]></category>
		<category><![CDATA[섹터 크기]]></category>
		<category><![CDATA[속성]]></category>
		<category><![CDATA[시작]]></category>
		<category><![CDATA[실린더]]></category>
		<category><![CDATA[아이디]]></category>
		<category><![CDATA[옵션]]></category>
		<category><![CDATA[유형]]></category>
		<category><![CDATA[유형-UUID]]></category>
		<category><![CDATA[이름]]></category>
		<category><![CDATA[장치]]></category>
		<category><![CDATA[장치 잠금]]></category>
		<category><![CDATA[장치 크기]]></category>
		<category><![CDATA[출력 컬럼]]></category>
		<category><![CDATA[크기]]></category>
		<category><![CDATA[파티션]]></category>
		<category><![CDATA[파티션 목록]]></category>
		<category><![CDATA[파티션 서명 지우기]]></category>
		<category><![CDATA[파티션 테이블]]></category>
		<category><![CDATA[헤드]]></category>
		<category><![CDATA[호환성]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=39077</guid>

					<description><![CDATA[<p>fdisk type fdisk의 파티션타입(partition types)의 종류, Raid에 fd 주로 사용 fdisk help</p>
<p>The post <a href="https://lycos7560.com/ubuntu/fdisk-type-help/39077/">fdisk type, help</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">fdisk type</h3>



<p>fdisk의 파티션타입(partition types)의 종류, Raid에 fd 주로 사용</p>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">fdisk from util-linux 2.39.3

Command (m for help): l

00 Empty            27 Hidden NTFS Win  82 Linux swap / So  c1 DRDOS/sec (FAT-
01 FAT12            39 Plan 9           83 Linux            c4 DRDOS/sec (FAT-
02 XENIX root       3c PartitionMagic   84 OS/2 hidden or   c6 DRDOS/sec (FAT-
03 XENIX usr        40 Venix 80286      85 Linux extended   c7 Syrinx         
04 FAT16 &lt;32M       41 PPC PReP Boot    86 NTFS volume set  da Non-FS data    
05 Extended         42 SFS              87 NTFS volume set  db CP/M / CTOS / .
06 FAT16            4d QNX4.x           88 Linux plaintext  de Dell Utility   
07 HPFS/NTFS/exFAT  4e QNX4.x 2nd part  8e Linux LVM        df BootIt         
08 AIX              4f QNX4.x 3rd part  93 Amoeba           e1 DOS access     
09 AIX bootable     50 OnTrack DM       94 Amoeba BBT       e3 DOS R/O        
0a OS/2 Boot Manag  51 OnTrack DM6 Aux  9f BSD/OS           e4 SpeedStor      
0b W95 FAT32        52 CP/M             a0 IBM Thinkpad hi  ea Linux extended 
0c W95 FAT32 (LBA)  53 OnTrack DM6 Aux  a5 FreeBSD          eb BeOS fs        
0e W95 FAT16 (LBA)  54 OnTrackDM6       a6 OpenBSD          ee GPT            
0f W95 Ext'd (LBA)  55 EZ-Drive         a7 NeXTSTEP         ef EFI (FAT-12/16/
10 OPUS             56 Golden Bow       a8 Darwin UFS       f0 Linux/PA-RISC b
11 Hidden FAT12     5c Priam Edisk      a9 NetBSD           f1 SpeedStor      
12 Compaq diagnost  61 SpeedStor        ab Darwin boot      f4 SpeedStor      
14 Hidden FAT16 &lt;3  63 GNU HURD or Sys  af HFS / HFS+       f2 DOS secondary  
16 Hidden FAT16     64 Novell Netware   b7 BSDI fs          f8 EBBR protective
17 Hidden HPFS/NTF  65 Novell Netware   b8 BSDI swap        fb VMware VMFS    
18 AST SmartSleep   70 DiskSecure Mult  bb Boot Wizard hid  fc VMware VMKCORE 
1b Hidden W95 FAT3  75 PC/IX            bc Acronis FAT32 L  fd Linux raid auto
1c Hidden W95 FAT3  80 Old Minix        be Solaris boot     fe LANstep        
1e Hidden W95 FAT1  81 Minix / old Lin  bf Solaris          ff BBT            
24 NEC DOS        

Aliases:
   linux          - 83
   swap           - 82
   extended       - 05
   uefi           - EF
   raid           - FD
   lvm            - 8E
   linuxex        - 85
</pre>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">fdisk help</h3>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">Usage: 사용법
 fdisk [options] &lt;disk>         change partition table (파티션 테이블 변경)
 fdisk [options] -l [&lt;disk>...] list partition table(s) (파티션 테이블 목록 나열)

Display or manipulate a disk partition table. (디스크 파티션 테이블 표시 또는 조작)

Options: (옵션)
 -b, --sector-size &lt;size>      physical and logical sector size (물리적 및 논리적 섹터 크기)
 -B, --protect-boot            don't erase bootbits when creating a new label (새 레이블 생성 시 부트비트를 지우지 않음)
 -c, --compatibility[=&lt;mode>]  mode is 'dos' or 'nondos' (default) (호환 모드는 'dos' 또는 'nondos' (기본값))
 -L, --color[=&lt;when>]          colorize output (auto, always or never) (출력 색상화 (자동, 항상 또는 사용 안 함))
                                 colors are enabled by default (기본적으로 색상이 활성화됨)
 -l, --list                    display partitions and exit (파티션을 나열하고 종료)
 -x, --list-details            like --list but with more details (상세 정보 포함 목록)
 -n, --noauto-pt               don't create default partition table on empty devices (빈 장치에 기본 파티션 테이블 생성 안 함)
 -o, --output &lt;list>           output columns (출력 컬럼)
 -t, --type &lt;type>             recognize specified partition table type only (지정된 파티션 테이블 유형만 인식)
 -u, --units[=&lt;unit>]          display units: 'cylinders' or 'sectors' (default) (표시 단위: '실린더' 또는 '섹터' (기본값))
 -s, --getsz                   display device size in 512-byte sectors [DEPRECATED] (512바이트 섹터 단위로 장치 크기 표시 [사용 중단])
     --bytes                   print SIZE in bytes rather than in human readable format (인간이 읽을 수 있는 형식 대신 바이트로 크기 출력)
     --lock[=&lt;mode>]           use exclusive device lock (yes, no or nonblock) (전용 장치 잠금 사용 (예, 아니오 또는 비블록))
 -w, --wipe &lt;mode>             wipe signatures (auto, always or never) (서명 지우기 (자동, 항상 또는 사용 안 함))
 -W, --wipe-partitions &lt;mode>  wipe signatures from new partitions (auto, always or never) (새 파티션에서 서명 지우기 (자동, 항상 또는 사용 안 함))

 -C, --cylinders &lt;number>      specify the number of cylinders (실린더 수 지정)
 -H, --heads &lt;number>          specify the number of heads (헤드 수 지정)
 -S, --sectors &lt;number>        specify the number of sectors per track (트랙당 섹터 수 지정)

 -h, --help                    display this help (이 도움말 표시)
 -V, --version                 display version (버전 표시)

Available output columns: (사용 가능한 출력 컬럼)
 gpt: Device Start End Sectors Size Type Type-UUID Attrs Name UUID
 dos: Device Start End Sectors Cylinders Size Type Id Attrs Boot End-C/H/S Start-C/H/S
 bsd: Slice Start End Sectors Cylinders Size Type Bsize Cpg Fsize
 sgi: Device Start End Sectors Cylinders Size Type Id Attrs
 sun: Device Start End Sectors Cylinders Size Type Id Flags
</pre>



<p></p>
<p>The post <a href="https://lycos7560.com/ubuntu/fdisk-type-help/39077/">fdisk type, help</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/ubuntu/fdisk-type-help/39077/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu(우분투) SVN서버 설치 및 연결 (Apache2 / Tortoise SVN)</title>
		<link>https://lycos7560.com/ubuntu/ubuntu-svn-apache2-tortoise-svn/3301/</link>
					<comments>https://lycos7560.com/ubuntu/ubuntu-svn-apache2-tortoise-svn/3301/#respond</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Sun, 11 Dec 2022 15:35:06 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[TortoiseSVN]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[버전]]></category>
		<category><![CDATA[버전관리]]></category>
		<category><![CDATA[서버]]></category>
		<category><![CDATA[아파치]]></category>
		<category><![CDATA[우분투]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=3301</guid>

					<description><![CDATA[<p>Ubuntu(우분투)와 TortoiseSVN을 이용하여 서버 저장소를 만드는 과정을 설명하는 글입니다. (This article explains the process of creating a server repository using Ubuntu and Tortoise SVN.)</p>
<p>The post <a href="https://lycos7560.com/ubuntu/ubuntu-svn-apache2-tortoise-svn/3301/">Ubuntu(우분투) SVN서버 설치 및 연결 (Apache2 / Tortoise SVN)</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5698326622209671" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-5698326622209671" data-ad-slot="5078714126"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy</pre>



<div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>



<h1 class="wp-block-heading">목표</h1>



<p class="has-medium-font-size">서버로 사용하고 있는 리눅스 운영체제의 본체에 SVN 서버를 설치하고 노트북과 데스크탑이 저장소에 접근 + 프로젝트의 버전관리</p>



<div style="height:28px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="668" height="496" src="https://lycos7560.com/wp-content/uploads/image-637.png" alt="" class="wp-image-3303" srcset="https://lycos7560.com/wp-content/uploads/image-637.png 668w, https://lycos7560.com/wp-content/uploads/image-637-300x223.png 300w" sizes="(max-width: 668px) 100vw, 668px" /></figure>



<div style="height:59px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">해당 목표의 가이드 사이트</h2>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-embed is-type-wp-embed is-provider-devopsschool-com wp-block-embed-devopsschool-com"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="7Lr6CStKor"><a href="https://www.devopsschool.com/blog/setup-svn-server-with-apache2-in-ubantu/">How to Setup SVN Server with Apache2 in Ubuntu</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;How to Setup SVN Server with Apache2 in Ubuntu&#8221; &#8212; DevOpsSchool.com" src="https://www.devopsschool.com/blog/setup-svn-server-with-apache2-in-ubantu/embed/#?secret=USxa5xwOSU#?secret=7Lr6CStKor" data-secret="7Lr6CStKor" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">1. 아파치 설치</h2>



<p class="has-medium-font-size">먼저 HTTP URL을 사용하여 svn 서버에 액세스하려면 Apache 웹 서버를 설치해야 합니다.&nbsp;</p>



<p class="has-medium-font-size">시스템에 이미 Apache 웹 서버가 있는 경우 이 단계를 건너뜁니다.</p>



<div style="height:26px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">sudo apt-get update

sudo apt-get install apache2
</pre>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">2. SVN 서버 설치</h2>



<p class="has-medium-font-size">다음 명령을 사용하여 Subversion 패키지와 해당 종속성을 설치합니다.&nbsp;</p>



<p class="has-medium-font-size">또한 시스템에 Apache libapache2-mod-svn 패키지용 svn 모듈을 설치하고 재시작 합니다.</p>



<div style="height:34px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">sudo apt-get install subversion

sudo apt-get install libapache2-svn #안되면 보류

sudo apt-get install libsvn-dev

sudo apt-get install libapache2-mod-svn 

sudo a2enmod dav dav_svn

sudo service apache2 restart</pre>



<div style="height:29px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">sudo apt-get install subversion
#
#
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료        
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
  apg attr gnome-control-center-faces gnome-online-accounts ibverbs-providers libcdio-cdda2
  libcdio-paranoia2 libcdio19 libcephfs2 libcolord-gtk1 libgfapi0 libgfrpc0 libgfxdr0
  libglusterfs0 libgsound0 libgssdp-1.2-0 libgupnp-1.2-1 libgupnp-av-1.0-3 libgupnp-dlna-2.0-4
  libibverbs1 libldb2 libnfs13 librados2 librdmacm1 librygel-core-2.6-2 librygel-db-2.6-2
  librygel-renderer-2.6-2 librygel-server-2.6-2 libtalloc2 libtevent0 libwbclient0
  mobile-broadband-provider-info network-manager-gnome python3-dnspython python3-gpg python3-ldb
  python3-macaroonbakery python3-markdown python3-protobuf python3-pygments python3-pymacaroons
  python3-talloc python3-tdb rygel tdb-tools
'sudo apt autoremove'를 이용하여 제거하십시오.
다음의 추가 패키지가 설치될 것입니다 :
  libserf-1-1 libsvn1 libutf8proc2
제안하는 패키지:
  db5.3-util libapache2-mod-svn subversion-tools
다음 새 패키지를 설치할 것입니다:
  libserf-1-1 libsvn1 libutf8proc2 subversion
0개 업그레이드, 4개 새로 설치, 0개 제거 및 11개 업그레이드 안 함.
2,471 k바이트 아카이브를 받아야 합니다.
이 작업 후 9,938 k바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n] Y
받기:1 http://kr.archive.ubuntu.com/ubuntu jammy/universe amd64 libserf-1-1 amd64 1.3.9-10ubuntu2 [50.0 kB]
받기:2 http://kr.archive.ubuntu.com/ubuntu jammy/universe amd64 libutf8proc2 amd64 2.7.0-3 [73.9 kB]
받기:3 http://kr.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libsvn1 amd64 1.14.1-3ubuntu0.22.04.1 [1,387 kB]
받기:4 http://kr.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 subversion amd64 1.14.1-3ubuntu0.22.04.1 [960 kB]
내려받기 2,471 k바이트, 소요시간 2초 (1,104 k바이트/초)
Selecting previously unselected package libserf-1-1:amd64.
(데이터베이스 읽는중 ...현재 226996개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../libserf-1-1_1.3.9-10ubuntu2_amd64.deb ...
Unpacking libserf-1-1:amd64 (1.3.9-10ubuntu2) ...
Selecting previously unselected package libutf8proc2:amd64.
Preparing to unpack .../libutf8proc2_2.7.0-3_amd64.deb ...
Unpacking libutf8proc2:amd64 (2.7.0-3) ...
Selecting previously unselected package libsvn1:amd64.
Preparing to unpack .../libsvn1_1.14.1-3ubuntu0.22.04.1_amd64.deb ...
Unpacking libsvn1:amd64 (1.14.1-3ubuntu0.22.04.1) ...
Selecting previously unselected package subversion.
Preparing to unpack .../subversion_1.14.1-3ubuntu0.22.04.1_amd64.deb ...
Unpacking subversion (1.14.1-3ubuntu0.22.04.1) ...
libutf8proc2:amd64 (2.7.0-3) 설정하는 중입니다 ...
libserf-1-1:amd64 (1.3.9-10ubuntu2) 설정하는 중입니다 ...
libsvn1:amd64 (1.14.1-3ubuntu0.22.04.1) 설정하는 중입니다 ...
subversion (1.14.1-3ubuntu0.22.04.1) 설정하는 중입니다 ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...</pre>



<div style="height:41px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">#
#
sudo apt-get install subversion libapache2-mod-svn libapache2-svn libsvn-dev
#
#
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료        
E: libapache2-svn 패키지를 찾을 수 없습니다
#
#
sudo a2enmod dav dav_svn
#
#
Module dav already enabled
ERROR: Module dav_svn does not exist!
#
#
apt-get install libapache2-mod-svn
#
#
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다... 완료
상태 정보를 읽는 중입니다... 완료        
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
  apg attr gnome-control-center-faces gnome-online-accounts ibverbs-providers libcdio-cdda2
  libcdio-paranoia2 libcdio19 libcephfs2 libcolord-gtk1 libgfapi0 libgfrpc0 libgfxdr0
  libglusterfs0 libgsound0 libgssdp-1.2-0 libgupnp-1.2-1 libgupnp-av-1.0-3 libgupnp-dlna-2.0-4
  libibverbs1 libldb2 libnfs13 librados2 librdmacm1 librygel-core-2.6-2 librygel-db-2.6-2
  librygel-renderer-2.6-2 librygel-server-2.6-2 libtalloc2 libtevent0 libwbclient0
  mobile-broadband-provider-info network-manager-gnome python3-dnspython python3-gpg python3-ldb
  python3-macaroonbakery python3-markdown python3-protobuf python3-pygments python3-pymacaroons
  python3-talloc python3-tdb rygel tdb-tools
'apt autoremove'를 이용하여 제거하십시오.
제안하는 패키지:
  db5.3-util
다음 새 패키지를 설치할 것입니다:
  libapache2-mod-svn
0개 업그레이드, 1개 새로 설치, 0개 제거 및 11개 업그레이드 안 함.
96.5 k바이트 아카이브를 받아야 합니다.
이 작업 후 458 k바이트의 디스크 공간을 더 사용하게 됩니다.
받기:1 http://kr.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libapache2-mod-svn amd64 1.14.1-3ubuntu0.22.04.1 [96.5 kB]
내려받기 96.5 k바이트, 소요시간 1초 (92.3 k바이트/초)
Selecting previously unselected package libapache2-mod-svn.
(데이터베이스 읽는중 ...현재 227116개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../libapache2-mod-svn_1.14.1-3ubuntu0.22.04.1_amd64.deb ...
Unpacking libapache2-mod-svn (1.14.1-3ubuntu0.22.04.1) ...
libapache2-mod-svn (1.14.1-3ubuntu0.22.04.1) 설정하는 중입니다 ...
apache2_invoke: Enable module dav_svn
apache2_invoke: Enable module authz_svn</pre>



<div style="height:64px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size">SVN 설치 확인</p>



<div style="height:44px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">svn help
</pre>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">svn help
#
#
usage: svn &lt;subcommand> [options] [args]
Subversion command-line client.
Type 'svn help &lt;subcommand>' for help on a specific subcommand.
Type 'svn --version' to see the program version and RA modules,
     'svn --version --verbose' to see dependency versions as well,
     'svn --version --quiet' to see just the version number.
Most subcommands take file and/or directory arguments, recursing
on the directories.  If no arguments are supplied to such a
command, it recurses on the current directory (inclusive) by default.
Available subcommands:
   add
   auth
   blame (praise, annotate, ann)
   cat
   changelist (cl)
   checkout (co)
   cleanup
   commit (ci)
   copy (cp)
   delete (del, remove, rm)
   diff (di)
   export
   help (?, h)
   import
   info
   list (ls)
   lock
   log
   merge
   mergeinfo
   mkdir
   move (mv, rename, ren)
   patch
   propdel (pdel, pd)
   propedit (pedit, pe)
   propget (pget, pg)
   proplist (plist, pl)
   propset (pset, ps)
   relocate
   resolve
   resolved
   revert
   status (stat, st)
   switch (sw)
   unlock
   update (up)
   upgrade
Subversion은 형상관리를 위한 도구입니다.
더 상세한 정보를 위해서는 http://subversion.apache.org/ 를 방문하세요</pre>



<div style="height:57px" aria-hidden="true" class="wp-block-spacer"></div>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5698326622209671" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-5698326622209671" data-ad-slot="4245812909"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div style="height:62px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">3. SVN 저장소 만들기</h2>



<p class="has-medium-font-size">다음 명령을 사용하여 이름이&nbsp;&nbsp;<strong>myrepo 인</strong>&nbsp;첫 번째 svn 리포지토리를 만듭니다 .&nbsp;</p>



<p class="has-medium-font-size">또한 새로 생성된 디렉터리에 필요한 권한을 설정합니다.</p>



<div style="height:42px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">sudo mkdir -p /var/lib/svn/ 

sudo svnadmin create /var/lib/svn/myrepo 

sudo chown -R www-data:www-data /var/lib/svn 

sudo chmod -R 775 /var/lib/svn</pre>



<div style="height:46px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size">저장소가 생성되면 자동으로 파일이 만들어 집니다.</p>



<div style="height:38px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="432" height="313" src="https://lycos7560.com/wp-content/uploads/image-638.png" alt="" class="wp-image-3306" srcset="https://lycos7560.com/wp-content/uploads/image-638.png 432w, https://lycos7560.com/wp-content/uploads/image-638-300x217.png 300w" sizes="(max-width: 432px) 100vw, 432px" /></figure>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">4. Subversion용 사용자 만들기</h2>



<p class="has-medium-font-size"><strong>이제 /etc/apache2/dav_svn.passwd</strong>&nbsp;&nbsp;파일&nbsp;에 첫 번째 svn 사용자를 만듭니다&nbsp; .</p>



<p class="has-medium-font-size">&nbsp;이 사용자는 체크아웃, 커밋 프로세스를 위해 svn 저장소 인증에 사용합니다.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">sudo touch /etc/apache2/dav_svn.passwd

sudo htpasswd -m /etc/apache2/dav_svn.passwd "원하는 아이디"

# 추가 사용자를 생성하려면 다음 명령을 사용

sudo htpasswd -m /etc/apache2/dav_svn.passwd "아이디1"

sudo htpasswd -m /etc/apache2/dav_svn.passwd "아이디2"
</pre>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">5. Subversion으로 Apache 구성</h2>



<p class="has-medium-font-size">Subversion Apache 모듈 패키지는&nbsp;&nbsp;<strong>/etc/apache2/mods-enabled/dav_svn.conf</strong>&nbsp;구성 파일을 생성합니다 .&nbsp;</p>



<p class="has-medium-font-size">필요한 사항을 변경하기만 하면 됩니다.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">Alias /svn /var/lib/svn
&lt;Location /svn>
   DAV svn
   SVNParentPath /var/lib/svn
   AuthType Basic
   AuthName "Subversion Repository"
   AuthUserFile /etc/apache2/dav_svn.passwd
   Require valid-user
     
&lt;/Location></pre>



<div style="height:44px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="csharp" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 재시작 
sudo service apache2 restart</pre>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size">도메인의 리디렉션으로 SVN이 연결이 안되는 문제가 생김</p>



<p class="has-medium-font-size">Alias 부분을 주석처리 + 따로 포트를 열어서 해결</p>



<p class="has-medium-font-size">/etc/apache2/ports.conf 수정</p>



<p class="has-medium-font-size">/etc/apache2/sites-available/000-default.conf 수정</p>



<p class="has-medium-font-size">URL 연결 시 IP : 포트 로 접근</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="442" height="292" src="https://lycos7560.com/wp-content/uploads/image-639.png" alt="" class="wp-image-3307" srcset="https://lycos7560.com/wp-content/uploads/image-639.png 442w, https://lycos7560.com/wp-content/uploads/image-639-300x198.png 300w" sizes="(max-width: 442px) 100vw, 442px" /></figure>



<div style="height:102px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">6. 저장소에 접근</h2>



<p class="has-medium-font-size">Tortoise SVN 설치 및 접속의 설명 아래의 글을 참고해주세요</p>



<div style="height:28px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-embed is-type-wp-embed is-provider-어제와-내일의-나-그-사이의-이야기 wp-block-embed-어제와-내일의-나-그-사이의-이야기"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="drtS6aof4o"><a href="https://lycos7560.com/?p=3199">TortoiseSVN 설치 및 접속 + 간단한 용어 설명 + Unity ignore 설정</a></blockquote><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;TortoiseSVN 설치 및 접속 + 간단한 용어 설명 + Unity ignore 설정&#8221; &#8212; 어제와 내일의 나 그 사이의 이야기" src="https://lycos7560.com/?p=3199&#038;embed=true#?secret=gaKitKbMDX#?secret=drtS6aof4o" data-secret="drtS6aof4o" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<div style="height:34px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="491" height="217" src="https://lycos7560.com/wp-content/uploads/image-640.png" alt="" class="wp-image-3308" srcset="https://lycos7560.com/wp-content/uploads/image-640.png 491w, https://lycos7560.com/wp-content/uploads/image-640-300x133.png 300w" sizes="(max-width: 491px) 100vw, 491px" /></figure>



<div style="height:58px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size">원하는 파일 위치에서 Checkout</p>



<div style="height:29px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="663" height="475" src="https://lycos7560.com/wp-content/uploads/image-641.png" alt="" class="wp-image-3309" srcset="https://lycos7560.com/wp-content/uploads/image-641.png 663w, https://lycos7560.com/wp-content/uploads/image-641-300x215.png 300w" sizes="(max-width: 663px) 100vw, 663px" /></figure>



<div style="height:37px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size">URL을 통하여 연결 / 저는 리디렉션 때문에 도메인을 사용 못하고 IP로 연결했습니다.</p>



<div style="height:45px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1010" height="1024" src="https://lycos7560.com/wp-content/uploads/image-642.png" alt="" class="wp-image-3310" srcset="https://lycos7560.com/wp-content/uploads/image-642.png 1010w, https://lycos7560.com/wp-content/uploads/image-642-296x300.png 296w, https://lycos7560.com/wp-content/uploads/image-642-768x779.png 768w" sizes="(max-width: 1010px) 100vw, 1010px" /></figure>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size">성공하면 폴더가 체크 표시</p>



<figure class="wp-block-image size-full"><img decoding="async" width="349" height="99" src="https://lycos7560.com/wp-content/uploads/image-643.png" alt="" class="wp-image-3311" srcset="https://lycos7560.com/wp-content/uploads/image-643.png 349w, https://lycos7560.com/wp-content/uploads/image-643-300x85.png 300w" sizes="(max-width: 349px) 100vw, 349px" /></figure>



<div style="height:103px" aria-hidden="true" class="wp-block-spacer"></div>



<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5698326622209671" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-layout="in-article" data-ad-format="fluid" data-ad-client="ca-pub-5698326622209671" data-ad-slot="5078714126"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
<p>The post <a href="https://lycos7560.com/ubuntu/ubuntu-svn-apache2-tortoise-svn/3301/">Ubuntu(우분투) SVN서버 설치 및 연결 (Apache2 / Tortoise SVN)</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/ubuntu/ubuntu-svn-apache2-tortoise-svn/3301/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>TortoiseSVN 설치 및 접속 + 간단한 용어 설명 + Unity ignore 설정</title>
		<link>https://lycos7560.com/etc/tortoise-svn-install-unity-ignore/3199/</link>
					<comments>https://lycos7560.com/etc/tortoise-svn-install-unity-ignore/3199/#comments</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Sat, 10 Dec 2022 05:25:38 +0000</pubDate>
				<category><![CDATA[기타]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[Ignore]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[Tortoise]]></category>
		<category><![CDATA[TortoiseSVN]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[version]]></category>
		<category><![CDATA[버전]]></category>
		<category><![CDATA[버전관리]]></category>
		<category><![CDATA[유니티]]></category>
		<category><![CDATA[이그노어]]></category>
		<category><![CDATA[저장소]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=3199</guid>

					<description><![CDATA[<p>Tortoise SVN 를 설치하는 과정 및 URL 접속 및 unity 협업 시 필요한 ignore 설정에 대한 글입니다. 추가적으로  SVN의 간단한 용어 설명이 있습니다.  (This article describes the process of installing Tortoise SVN and the ignore setting required for URL access and unity collaboration. Additionally, there is a brief description of SVN terminology.)</p>
<p>The post <a href="https://lycos7560.com/etc/tortoise-svn-install-unity-ignore/3199/">TortoiseSVN 설치 및 접속 + 간단한 용어 설명 + Unity ignore 설정</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5698326622209671"
     crossorigin="anonymous"></script>
<!-- HorizontalAD -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-5698326622209671"
     data-ad-slot="6908948342"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">Tortoise SVN 설치 및 접속 + 간단한 용어 설명 + Unity</h2>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size"><a href="https://tortoisesvn.net/downloads.html">https://tortoisesvn.net</a><a href="https://tortoisesvn.net/downloads.html" target="_blank" rel="noreferrer noopener">/downloads.html</a></p>



<figure class="wp-block-image size-full"><a href="https://tortoisesvn.net/downloads.html" target="_blank" rel="noreferrer noopener"><img decoding="async" width="1311" height="321" src="https://lycos7560.com/wp-content/uploads/image-593.png" alt="" class="wp-image-3200" srcset="https://lycos7560.com/wp-content/uploads/image-593.png 1311w, https://lycos7560.com/wp-content/uploads/image-593-300x73.png 300w, https://lycos7560.com/wp-content/uploads/image-593-768x188.png 768w" sizes="(max-width: 1311px) 100vw, 1311px" /></a></figure>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size">사이트에서 SVN을&nbsp; 다운로드 합니다.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="1343" height="552" src="https://lycos7560.com/wp-content/uploads/image-594.png" alt="" class="wp-image-3201" srcset="https://lycos7560.com/wp-content/uploads/image-594.png 1343w, https://lycos7560.com/wp-content/uploads/image-594-300x123.png 300w, https://lycos7560.com/wp-content/uploads/image-594-768x316.png 768w" sizes="(max-width: 1343px) 100vw, 1343px" /></figure>



<div style="height:37px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1296" height="997" src="https://lycos7560.com/wp-content/uploads/image-595.png" alt="" class="wp-image-3202" srcset="https://lycos7560.com/wp-content/uploads/image-595.png 1296w, https://lycos7560.com/wp-content/uploads/image-595-300x231.png 300w, https://lycos7560.com/wp-content/uploads/image-595-768x591.png 768w" sizes="(max-width: 1296px) 100vw, 1296px" /></figure>



<div style="height:57px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1436" height="731" src="https://lycos7560.com/wp-content/uploads/image-596.png" alt="" class="wp-image-3203" srcset="https://lycos7560.com/wp-content/uploads/image-596.png 1436w, https://lycos7560.com/wp-content/uploads/image-596-300x153.png 300w, https://lycos7560.com/wp-content/uploads/image-596-768x391.png 768w" sizes="(max-width: 1436px) 100vw, 1436px" /></figure>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size">리포지토리(Repository) 관리자가 주는 URL로 접속</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1350" height="559" src="https://lycos7560.com/wp-content/uploads/image-597.png" alt="" class="wp-image-3204" srcset="https://lycos7560.com/wp-content/uploads/image-597.png 1350w, https://lycos7560.com/wp-content/uploads/image-597-300x124.png 300w, https://lycos7560.com/wp-content/uploads/image-597-768x318.png 768w" sizes="(max-width: 1350px) 100vw, 1350px" /></figure>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size">리포지토리(Repository) 관리자가 설정한 개인 아이디와 비번으로 접속 후 업데이트를 해준다.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1408" height="635" src="https://lycos7560.com/wp-content/uploads/image-598.png" alt="" class="wp-image-3205" srcset="https://lycos7560.com/wp-content/uploads/image-598.png 1408w, https://lycos7560.com/wp-content/uploads/image-598-300x135.png 300w, https://lycos7560.com/wp-content/uploads/image-598-768x346.png 768w" sizes="(max-width: 1408px) 100vw, 1408px" /></figure>



<div style="height:92px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size">Unity 프로그램으로 협업을 할 경우 ignore 에서 항목을 추가하자</p>



<p class="has-medium-font-size">&nbsp;ignore는 커밋 목록에서 제외하는 것을 의미</p>



<div style="height:48px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1400" height="499" src="https://lycos7560.com/wp-content/uploads/image-599.png" alt="" class="wp-image-3206" srcset="https://lycos7560.com/wp-content/uploads/image-599.png 1400w, https://lycos7560.com/wp-content/uploads/image-599-300x107.png 300w, https://lycos7560.com/wp-content/uploads/image-599-768x274.png 768w" sizes="(max-width: 1400px) 100vw, 1400px" /></figure>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size">입력 후 저장</p>



<div style="height:37px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">*.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo __pycache__ *.rej *~ #*# .#* .*.swp .DS_Store [Tt]humbs.db obj Temp *.suo *.user *.pidb *.userprefs *.csproj *.pidb *.sln *.csproj *.unityproj Library Temp Logs UserSettings .vsconfig .vs obj *.log </pre>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5698326622209671"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="autorelaxed"
     data-ad-client="ca-pub-5698326622209671"
     data-ad-slot="4245812909"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--80)"/>



<div style="height:47px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading"><strong>간단한 용어정리</strong></h2>



<p class="has-medium-font-size"><a href="https://fall-in-it.tistory.com/10" target="_blank" rel="noreferrer noopener">https://fall-in-it.tistory.com/10</a>  &lt;- 참고</p>



<div style="height:77px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>SVN&nbsp;(SubVersion)&nbsp;</strong></h3>



<p class="has-medium-font-size">형상관리/소스관리 툴</p>



<p class="has-medium-font-size">프로젝트의 버전관리를 위해 Repository를 만들고 안에 소스를 저장하여 운용하는 소프트웨어입니다.</p>



<p class="has-medium-font-size">버전 관리 기능을 제공하여 프로젝트를 여러 사람이 함께 참여할때 프로젝트 소스코드의 공유,&nbsp;<br>옛날 버전의 소스 코드 조회 소스 코드의 백업의 용도로 사용할수있다</p>



<p class="has-medium-font-size">&#8211; 체크아웃 : 저장소에 접근해 소스 코드와 버전관리를 위한 파일들을 받아 오는 행위</p>



<p class="has-medium-font-size">&#8211; 추가 : 말 그대로 파일을 서버에 올린다</p>



<p class="has-medium-font-size">&#8211; 커밋 : 내가 수정한 코드를 올린다</p>



<p class="has-medium-font-size">&#8211; 업데이트 : 최신 리버전된 버전의 코드를 받는다</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Repository : 저장소</strong></h3>



<p class="has-medium-font-size">SVN 에서 저장소는 보통 Remote Repository(원격 저장소)를 의미한다.</p>



<p class="has-medium-font-size">즉, 서버에 올라가 있는 저장소로 소스뿐만이 아니라 소스의 변경 사항도 모두 저장되며</p>



<p class="has-medium-font-size">URL 이 있는 모든 사용자가 네트워크를 통해서 접근 할 수 있습니다.&nbsp;</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>클라이언트, client</strong></h3>



<p class="has-medium-font-size">네트워크로 연결된 서버로부터 정보를 제공받는 컴퓨터.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Revision : 리비전</strong></h3>



<p class="has-medium-font-size">저장소에 올라가 있는 파일들의 버전이라고 표현 할 수 있다.</p>



<p class="has-medium-font-size">Revision 의 숫자는 소스 및 파일&#8230;등 을 수정하여 commit 하면 일정한 규칙에 의해 숫자가 증가합니다.</p>



<p class="has-medium-font-size">이 Revision&nbsp;을 통해 롤백을 하거나 이전에 소스코드를 확인할 수 있다.</p>



<p class="has-medium-font-size">위와 같은 이유로 commit 시 어떤 변경사항들이 발생했는지 Commit Message 를 잘 작성해야 한다.</p>



<p class="has-medium-font-size">Revision 을 보고 프로젝트 진행 상황을 알 수 있습니다.</p>



<p class="has-medium-font-size">Subversion의 경우 파일별로&nbsp;Revision 이 매겨지지 않고 한번&nbsp;commit 한 것으로 전체&nbsp;Revision&nbsp;이 매겨집니다.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Trunk : 트렁크</strong></h3>



<p class="has-medium-font-size">해당 저장소의 중심이 된다는 의미이다.</p>



<p class="has-medium-font-size">아래의 그림을 참고하자.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Branch : 브랜치</strong></h3>



<p class="has-medium-font-size">브랜치는 트렁크와 마찬가지로 영어 단어의 뜻적으로 접근하면 나뭇가지를 뜻한다.</p>



<p class="has-medium-font-size">나뭇가지는 나무의 몸통에서부터 파생되어 나온다.</p>



<p class="has-medium-font-size">* 그렇다면 트렁크는 중심에서 전체적으로 에러가 없이 잘 돌아가는 소스코드이고</p>



<p class="has-medium-font-size">&nbsp; &nbsp;브랜치는 그 트렁크에서 기능 추가, 수정을 하기 위해 가지로 뻗어 나와 있는 기둥에 영향을 안 주는 소스코드이다.</p>



<p class="has-medium-font-size">&nbsp; &nbsp;나뭇가지를 자른다고(실제로는 그런 행동을 하면 안 됩니다!) 기둥이 죽지는 않는다.</p>



<div style="height:42px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1145" height="626" src="https://lycos7560.com/wp-content/uploads/image-600.png" alt="" class="wp-image-3207" srcset="https://lycos7560.com/wp-content/uploads/image-600.png 1145w, https://lycos7560.com/wp-content/uploads/image-600-300x164.png 300w, https://lycos7560.com/wp-content/uploads/image-600-768x420.png 768w" sizes="(max-width: 1145px) 100vw, 1145px" /></figure>



<div style="height:58px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="has-medium-font-size">그림으로 표현하면 위와 같다.</p>



<p class="has-medium-font-size">그래서 보통 개발할 때는 기반이 되는 Trunk 소스코드에서 기능 별로 혹은 메뉴 별로 혹은 카테고리 별로</p>



<p class="has-medium-font-size">(이건 프로젝트 내부 룰에 따라)</p>



<p class="has-medium-font-size">Branch 만들어서 개발하고&nbsp;<strong>나중에 Trunk 에 합치는 식으로 개발을 진행</strong>한다.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Tag : 태그</strong></h3>



<p class="has-medium-font-size">태그는&nbsp;<strong><u>여러 브랜치들이 모여서 만들어진 트렁크에 대해 어느 특정 지점을 기록하기 위한 꼬리표</u></strong>라고 생각하면 된다.</p>



<p class="has-medium-font-size">주로 상용 서비스에서는 Release 단위에 따라 태그를 붙이는 편이다.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Checkout : 체크아웃</strong></h3>



<p class="has-medium-font-size">체크아웃은 초기에 원격 저장소에서 작업을 하기 위해 소스코드를<strong>&nbsp;내 PC 로 내려받는 것을 의미</strong>한다.</p>



<p class="has-medium-font-size">(Git 의 Clone 과 동일함)</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Import : 임포트</strong></h3>



<p class="has-medium-font-size">임포트는 초기에 원격 저장소에&nbsp;<strong>버전 관리할 소스 코드를 넣는 것을 의미</strong>한다.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Export : 익스포트</strong></h3>



<p class="has-medium-font-size">익스포트는 임포트와 반대로 원격 저장소에서 소스 코드를 가져오는 것을 의미한다.</p>



<p class="has-medium-font-size"><strong>체크아웃과 다른 점은 .svn 숨김 폴더는 제외한다는 것</strong>이다.</p>



<p class="has-medium-font-size">즉, 버전 관리 파일을 제외한 순수 소스 코드만 가져오는 것이다.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Commit : 커밋</strong></h3>



<p class="has-medium-font-size">커밋은&nbsp;<strong><u>원격 저장소에 변경된 변경 사항들을 저장</u></strong>하는 것을 의미한다.</p>



<p class="has-medium-font-size">내 PC에서 아무리 열심히 해도 커밋을 안 한다면 아무 소용이 없다.</p>



<p class="has-medium-font-size"><strong>커밋을 하게 되면 저자(Author)와 커밋 메시지, 일자와 일시가 찍히고 리비전이 갱신</strong>된다.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Update : 업데이트</strong></h3>



<p class="has-medium-font-size">업데이트는&nbsp;<strong>원</strong><strong>격 저장소에서 다른 사람에 의해 변경된 소스 코드를 내 PC 에 반영하는 작업</strong>이다.</p>



<p class="has-medium-font-size">업데이트는 수시로 해주는 게 좋다.&nbsp;</p>



<p class="has-medium-font-size"><strong>작업을 시작하기 전에, 커밋을 하기 전에는 필수</strong>로 해준다.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Revert : 리버트, 롤백</strong></h3>



<p class="has-medium-font-size">리버트는&nbsp;<strong>내 PC 에서 수정했던 작업 내역을 되돌리는 작업</strong>이다.</p>



<p class="has-medium-font-size">파일 단위로 할 수도 있고 폴더 단위로 할 수도 있다.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Merge : 머지, 병합</strong></h3>



<p class="has-medium-font-size">머지는 내 브랜치와 다른 사람이 작업해 둔 브랜치를 합치는 작업이다.</p>



<p class="has-medium-font-size">업데이트 시에는 자동적으로 진행되는 작업이다.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Conflict : 컨플릭트, 충돌</strong></h3>



<p class="has-medium-font-size">가장 까다롭고 귀찮은 녀석이다..</p>



<p class="has-medium-font-size">일단 충돌이 나는 이유는 동일한 파일을 서로 다른 프로그래머가 개발할 경우 자주 발생한다.</p>



<p class="has-medium-font-size">충돌이 발생하면 하나하나 비교해가면서 병합을 해야 한다.. (손머지..)</p>



<p class="has-medium-font-size">사람이 하는 것이기에 휴먼에러가 발생할 가능성이 있고 그렇게 되면 개발됐던 소스 코드들을 날려버릴 수가 있다&#8230;</p>



<p class="has-medium-font-size">미연에 방지하기 위해서는 원격 저장소와 동일한 파일 상태에서 업데이틀 무조건 해주는 것이 정신건강에 이롭다..</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Lock : 락</strong></h3>



<p class="has-medium-font-size">그래서 있는 것이 이 Lock(락) 이라는 것이다.</p>



<p class="has-medium-font-size"><strong>이 명령어를 파일에 걸어두면 락을 건 사용자만 해당 파일을 수정할 수 있다.</strong></p>



<p class="has-medium-font-size">사용한 후에는 반드시 unlock 을 해주는 것을 잊지 말자.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Diff : 디프</strong></h3>



<p class="has-medium-font-size">Difference 의 약자이다.</p>



<p class="has-medium-font-size"><strong>현재 소스 코드 대비 특정 리비전의 소스 코드와 차이점</strong>을 볼 수 있다.</p>



<p class="has-medium-font-size">특정 리비전 2개의 차이점을 볼 수도 있다.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Add : 추가</strong></h3>



<p class="has-medium-font-size">원격 저장소에 커밋하기 위해 VCS 목록에 추가하는 것을 의미한다.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Ignore : 이그노어</strong></h3>



<p class="has-medium-font-size">Add 와는 반대로 커밋 목록에서 제외하는 것을 의미한다.</p>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5698326622209671"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-5698326622209671"
     data-ad-slot="5078714126"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
<p>The post <a href="https://lycos7560.com/etc/tortoise-svn-install-unity-ignore/3199/">TortoiseSVN 설치 및 접속 + 간단한 용어 설명 + Unity ignore 설정</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/etc/tortoise-svn-install-unity-ignore/3199/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
