<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Server on rammie_blog</title>
    <link>https://rammie-blog.xyz/tags/server/</link>
    <description>Recent content in Server on rammie_blog</description>
    <generator>Hugo</generator>
    <language>ko</language>
    <lastBuildDate>Sat, 04 Nov 2023 14:39:47 +0000</lastBuildDate>
    <atom:link href="https://rammie-blog.xyz/tags/server/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Nginx letsencrypt SSL 적용과 인증 문제</title>
      <link>https://rammie-blog.xyz/posts/nginx-ssl-troubleshooting/</link>
      <pubDate>Sat, 04 Nov 2023 14:39:47 +0000</pubDate>
      <guid>https://rammie-blog.xyz/posts/nginx-ssl-troubleshooting/</guid>
      <description>&lt;p&gt;서버를 구축하고, WordPress를 설치하고, 내 domain을 구매해서 이제 어디서나 domain 주소로 내 블로그에 접속할 수 있게 되었다. 하지만 이 상태로 블로그를 사용하면 보안이 취약해서 블로그 관리를 위한 로그인 정보 등이 해킹 당할 위험이 있다. 보안을 강화하기 위해서 SSL을 적용할 수 있다.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;웹사이트 보안을 위한 방법, SSL이란?
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.naver.com/skinfosec2000/222135874222&#34;&gt;https://blog.naver.com/skinfosec2000/222135874222&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;내 domain 주소에 SSL을 적용하는 방법도 여러 블로그에 잘 설명되어 있다.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Nginx letsencrypt SSL 적용기
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://yeopbox.com/%EC%9A%B0%EB%B6%84%ED%88%ACubuntu-22-04-server-%EC%9B%8C%EB%93%9C%ED%94%84%EB%A0%88%EC%8A%A4-nginx-letsencrypt-ssl-%EC%A0%81%EC%9A%A9%EA%B8%B0/&#34;&gt;https://yeopbox.com/우분투ubuntu-22-04-server-워드프레스-nginx-letsencrypt-ssl-적용기/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;그대로 따라하면 SSL 적용은 어렵지 않다. SSL을 적용하기 위해서는 인증서가 사용되는데, 이 인증서는 일정 주기(3개월)마다 갱신해줘야 한다. 위 블로그에서 인증서 자동 갱신을 적용하는 방법까지 설명되어 있지만, 나는 이 갱신이 수행되는 부분에서 문제가 발생했다.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Setting up sftp</title>
      <link>https://rammie-blog.xyz/posts/setting-up-sftp/</link>
      <pubDate>Wed, 11 Oct 2023 15:07:43 +0000</pubDate>
      <guid>https://rammie-blog.xyz/posts/setting-up-sftp/</guid>
      <description>&lt;p&gt;sFTP란 ssh File Transfer Protocol의 약자로, ssh 포트를 통해 파일을 주고 받을 수 있는 규약이다. FTP의 보안이 강화된 버전이라고 볼 수 있다.&lt;/p&gt;
&lt;p&gt;원격으로 파일을 전송할 때, 간단히 scp로도 전송할 수 있다. 하지만 전송해야 할 파일이 많거나, 용량이 크거나, 서버 간 다른 플랫폼을 사용하고 있다면 전송이 어려울 수 있다.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;scp -p [port] [file_path] [user_name]@[ip_address]:[target_path]
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;SCP vs SFTP
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://parkadd.tistory.com/129&#34;&gt;https://parkadd.tistory.com/129&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;나는 Windows에서 Ubuntu 서버로 file을 옮기는 작업을 주로 하기 때문에, sFTP를 setup하고 FileZila를 이용해서 전송을 한다.&lt;/p&gt;</description>
    </item>
    <item>
      <title>서버에 WordPress 설치하기</title>
      <link>https://rammie-blog.xyz/posts/install-wordpress/</link>
      <pubDate>Sun, 20 Aug 2023 08:56:51 +0000</pubDate>
      <guid>https://rammie-blog.xyz/posts/install-wordpress/</guid>
      <description>&lt;p&gt;요즘은 많은 홈페이지와 블로그들이 WordPress를 통해서 만들어진다고 한다. WordPress를 설치형 블로그라고 하는데, 페이지 모양을 구성해주는 일종의 템플릿이다.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://namu.wiki/w/%EC%9B%8C%EB%93%9C%ED%94%84%EB%A0%88%EC%8A%A4&#34;&gt;https://namu.wiki/w/워드프레스&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;서버 구축 이후, WordPress 설치와 사용을 위해서는 선행해야 할 작업들이 있다.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;NGINX 설치
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://yeopbox.com/%EC%9A%B0%EB%B6%84%ED%88%ACubuntu-22-04-server-php-nginx-%EC%84%A4%EC%B9%98%EA%B8%B0/&#34;&gt;https://yeopbox.com/우분투ubuntu-22-04-server-php-nginx-설치기/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;PHP 설치
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://yeopbox.com/%EC%9A%B0%EB%B6%84%ED%88%ACubuntu-22-04-server-php-nginx-%EC%84%A4%EC%B9%98%EA%B8%B0/&#34;&gt;https://yeopbox.com/우분투ubuntu-22-04-server-php-nginx-설치기/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;MariaDB 설치
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://yeopbox.com/%EC%9A%B0%EB%B6%84%ED%88%ACubuntu-22-04-server-mariadb-%EC%84%A4%EC%B9%98-%EB%B0%8F-%EA%B8%B0%EB%B3%B8-%EC%84%A4%EC%A0%95/&#34;&gt;https://yeopbox.com/우분투ubuntu-22-04-server-mariadb-설치-및-기본-설정/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;위 프로그램 들은 왜 필요한 것일까?&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://namu.wiki/w/NGINX&#34;&gt;NGINX&lt;/a&gt;는 웹 서버 프로그램이다. 웹 서버 프로그램에 대해 설명한 글 중 가장 이해하기 쉬웠던 것은, 웹 서버 프로그램이 웹 브라우저의 반대 역할을 하는 프로그램이라는 것이다. 서버는 NGINX를 통해 웹 페이지를 제공하고, 클라이언트는 Chrome, Safari등을 통해 이 웹 페이지를 볼 수 있다. 대표적은 웹 서버 프로그램으로는 &lt;a href=&#34;https://namu.wiki/w/%EC%95%84%ED%8C%8C%EC%B9%98%20HTTP%20%EC%84%9C%EB%B2%84&#34;&gt;Apache HTTP server&lt;/a&gt;가 있는데, 현재 사용률이 가장 높지만 무겁다는 단점이 있다. 나는 저사양의 미니PC로 서버를 만들었기 때문에, 무조건 가벼운 NGINX를 사용하기로 했다.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
