+ it ops chmod ๐ง ๋ฆฌ๋ ์ค ํ์ผ & ๋๋ ํ ๋ฆฌ ๊ถํ (์์ ๊ถ / ํ๊ฐ๊ถ / ํน์๊ถํ)ํ์ผ ๋ฐ ๋๋ ํฐ๋ฆฌ ๊ถํ ๋ฆฌ๋ ์ค๋ ์ฌ๋ฌ์ฌ์ฉ์๊ฐ ๋ค์ด์ ์ฌ์ฉํ๋ ๋ฉํฐ์ ์ ์์คํ ์ด๋ค. ๋ฐ๋ผ์ ์ฌ๋ฌ ์ฌ์ฉ์๊ฐ ๋ค์ด์ ์ฌ์ฉํ๋ค๋ณด๋ฉด, ์๋ฒ์ ์ฌ๋ ค์ง ๋น๋ฐ์๋ฃ ์ด๋๊ณผ ๊ทธ๊ฒ์ ๋ณ์กฐ,์์ ,์ญ์ ๋ฅผ ํ ์ฐ๋ ค๊ฐ ๋์์ง๊ฒ ๋๋ค. ์ด ๋ฌธ์ ๋ฅผ ๊ทน๋ณตํ๊ธฐ์ํด ๋ฆฌ๋ ์ค OS์๋ ํน๋ณํ ๊ธฐ๋ฅ์ด ์๋๋ฐ ๋ฐ๋ก ํผ๋ฏธ์ (๊ถํ)์ด๋ผ๋ ๊ธฐ๋ฅ์ด๋ค. ์๋์ฐ OS์๋ ํผ๋ฏธ์ ๊ธฐ๋ฅ์ด ์๊ธดํ์ง๋ง, ์ฌ๋ฌ์ฌ์ฉ์๋ค์ด ๋ค์ด์ค๋ ์๋ฒ์ฉ์ด ์๋๊ธฐ์ ๋ฆฌ๋ ์ค์ฒ๋ผ ํ์ฑํ ๋์ด ์์ง์๋๋ค. ์ด ๊ธฐ๋ฅ์ผ๋ก ์ฌ์ฉ์๋ค์ ์์ ํํ ์ฝ๊ธฐ ํผ๋ฏธ์ ์ด ๋ถ์ฌ๋ ํ์ผ๋ง ์ฝ์ ์ ์๊ณ , ์ฐ๊ธฐ ํผ๋ฏธ์ ์ด ๋ถ์ฌ๋ ํ์ผ๋ง ์ฐ๊ธฐ์ ์์ ์ด ๊ฐ๋ฅํ๊ณ , ์คํ ํผ๋ฏธ์ ์ด ๋ถ์ฌ๋ ํ์ผ๋ง ์คํ์ด ๊ฐ๋ฅํ๊ฒ ๋๋ค. ๊ทธ๋ฆฌ๊ณ ์ด๋ ๊ถํ ๋ฟ๋ง ์๋๋ผ ํ์ผ ์์ ์ ๊ฐ๋ ๋ ์ง์ํด์ค๋ค. ์์ ๊ถ & ํ๊ฐ๊ถ ํ์ธ ๋ฐฉ๋ฒ ํ์ผ ๊ถํ ์ ๋ณด .. wono | discuss | tweet + it ops caddy Caddy2 matcher / rewrite / modx1. My Caddy version (caddy version): (devel) /has to do this for php sockets to work/ 2. How I run Caddy: ./caddy run --config /root/downloads/configfile --adapter caddyfile a. System environment: Ubuntu, php-fpm b. Co… wono | discuss | tweet + it ops env [Linux] Ubuntu, Centos ํ๊ฒฝ๋ณ์ ์ค์ ๋ฐฉ๋ฒ๋ด๊ฐ ํท๊ฐ๋ ค์ ๋จ๊ฒจ๋ Ubuntu vi ~/.bashrc source ~/.bashrc Centos vi ~/.bash_profile source ~/.bash_profile vi /etc/profile source /etc/profile ์ฐธ๊ณ ) /etc/profile : Linux ๋ฅผ ์ฌ์ฉํ๋ ๋ชจ๋ ์ฌ์ฉ์๋ค์ ์ ์ฉ๋๋ ํ๊ฒฝ์ค์ ํ์ผ ~/.bash_profile : Linux ๊ฐ ๊ฐ์ธ ์ฌ์ฉ์๋ค์ ์ ์ฉ๋๋ ํ๊ฒฝ์ค์ ํ์ผ PATH ์ค์ ๋ฐฉ๋ฒ (Ubuntu, Centos) PATH=$PATH:$HOME/bin export PATH export JAVA_HOME=/usr/java/jdk1.6.0_45 export PATH=$PATH:$JAVA_HOME/bin ์ ์ฉ์ด ๋์๋์ง ํ์ธํ๋ ๋ฐฉ๋ฒ echo $JAVA_H.. wono | discuss | tweet + it ops mysql [MYSQL] ์์คํ ์ค์ ํ์ผ(my.cnf) ์ฐธ๊ณ [์ฐธ๊ณ ์ฌ์ดํธ] - make my.cnf 1. ์์คํ ์ค์ ํ์ผ(my.cnf) ์ฐธ๊ณ [my.cnf] wono | discuss | tweet + it ops ssh [AWS] 5-2. AWS - EC2 ์ธ์คํด์ค ์ ์ํ๊ธฐ(Linux Ubuntu) + ๊ธฐ๋ณธ์ค์ ์๋ ํ์ธ์. ๊ฐ๋ํฌ ์ ๋๋ค. ์ด๋ฒ ํฌ์คํ ์ [ AWS - EC2 Instance ์ ์ํ๊ธฐ ] ์ ๋๋ค. : ) 0. Amazon EC2(Amazon Elastic Compute Cloud) ์ ์ ๋ฐฉ๋ฒ - Instance ์ค์ ํ๋ฉด์์ ์ด๋ฏธ ์ค์นํ EC2 ์ฐํด๋ฆญ, "์ฐ๊ฒฐ" ์ ํด๋ฆญ ํ์. - "ssh ํด๋ผ์ด์ธํธ" ๋ฅผ ํด๋ฆญ ํ์. - ํ๊ธฐ์ ๊ฐ์ด ๊ฐ์ด๋๊ฐ ๋์ ์๋๋ฐ ์ด ๋ถ๋ถ์ ๋ฐ๋ผ ๊ฐ๋ณด์. 1. SSH ํด๋ผ์ด์ธํธ๋ฅผ ์ฐ๋ค. - gitbash, putty๋ฅผ ํตํด ์ ์ํ๋ ๋ฐฉ๋ฒ์ ์์ ๊ธ์ ๊ธฐ๋ก ๋์ด ์์ผ๋ ์ฐธ๊ณ ํ๋๋ก ํ์. https://goddaehee.tistory.com/181 - ์ด๋ฒ ํฌ์คํ ์์ MobaXterm์ผ๋ก ์งํ ํ๋ ค๊ณ ํ๋ค. 1) MobaXterm์ด๋? - SSH, RDP, SFTP ๋ฑ ๋ค์.. wono | discuss | tweet + it ops aws ec2 AWS EC2 ์ด๊ธฐ ์ค์ ๋ชจ์์ ๊ฐ AWS EC2์ ํ๋ฆฌํฐ์ด ๋ฒ์ ์ ์ฌ๋ฌ๋ฒ ์์ฑํด๋ณด๋ฉฐ ํญ์ ํด์ค๋ ์ค์ ๋ค์ ๋ชจ์๋จ์ต๋๋ค. wono | discuss | tweet + it ops caddy How to Install Caddy Web Server on Ubuntu 22.04 - RoseHostingCaddy is a modern web server built using Go. Its installation is fairly straightforward - we'll show you how to install Caddy on Ubuntu. wono | discuss | tweet + it dev fe TailwindCSS Next.js Typescript wono | discuss | tweet + it ops linux os ๋ฆฌ๋ ์ค ๋ฐฐํฌํ ์ ์ ์จ(ํ) : ํด๋ฆฌ์IT ์์ฐ ๊ด๋ฆฌ ๊ธฐ์ ๋์ค์ํผ(Lansweeper)๊ฐ ์ง๋ 5์ ๋ฐํํ ๋ฐ์ดํฐ์ ๋ฐ๋ฅด๋ฉด, ์ ์ธ๊ณ 20๋ง์ฌ ๊ฐ ๋ฆฌ๋ ์ค ์ฅ๋น ์ค ์ฐ๋ถํฌ(Ubuntu)๊ฐ 32.24%๋ก ๊ฐ์ฅ ๋์์ผ๋ฉฐ,26.05%๊ฐ ์ผํธOS๋ฅผ ์ฌ์ฉ. RHEL์ 20.11%๋ฅผ ์ฌ์ฉํ๋ ๊ฒ์ผ๋ก ๋ํ๋ฌ์ต๋๋ค. ์ถ์ฒ : ์ปดํจํฐ์๋(https://www.comworld.co.kr/news/articleView.html?idxno=51210) ์ฐธ๊ณ : https://www.theregister.com/2024/06/06/lansweeper_centos/ ๋ค๋ฅธ ์๋ฃ๋ฅผ ์ดํด๋ณด๋ฉด ์ต๊ทผ ํต๊ณ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค. ๋ฐ์คํฌํ ์์ฅ: - 2024๋ ๋ฆฌ๋ ์ค๋ ๋ฐ์คํฌํ ์ด์ ์ฒด์ ์์ฅ์์ 4.45%์ ์ ์ ์จ์ ๊ธฐ๋กํ๋ฉฐ, ํฌ๋กฌ OS๋ฅผ ๋์ด์๋ ์ฑ์ฅ์ ๋ณด์์ต๋๋ค (https://ostechnix.com/linux-market-share-july-2024-report/). ๋ฐฐํฌํ๋ณ ์ฌ์ฉ: * ์ฐ๋ถํฌ๋ ์ ์ฒด ๋ฆฌ๋ ์ค ์์ฅ์์ ์ฝ 33.9%๋ก ๊ฐ์ฅ ๋์ ์ ์ ์จ์ ์ฐจ์งํ๊ณ ์์ผ๋ฉฐ, ๊ทธ ๋ค๋ฅผ ๋ฐ๋น์(16%), CentOS(9.3%)๊ฐ ๋ฐ๋ฅด๊ณ ์์ต๋๋ค - https://www.enterpriseappstoday.com/stats/linux-statistics.html - https://truelist.co/blog/linux-statistics/ ๋ฆฌ๋ ์ค๋ ํด๋ผ์ฐ๋, ์๋ฒ, IoT, ์น ์ธํ๋ผ ๋ฑ ๋ค์ํ ๋ถ์ผ์์ ๊ณ์ํด์ ์ค์ํ ์ญํ ์ ํ๊ณ ์์ผ๋ฉฐ, ์ด๋ฌํ ์ฑ์ฅ์ธ๋ ์์ผ๋ก๋ ์ง์๋ ๊ฒ์ผ๋ก ๋ณด์ ๋๋ค. wono | discuss | tweet + it ops aws Mastering AWS Cloud: Best Practices for Naming ConventionsWhen working with AWS Cloud, using clear and consistent naming conventions is essential. Proper naming helps in organizing resources, improving readability, and easing management. Hereโs a guide toโฆ wono | discuss | tweet + it ops aws AWS Naming ๋ชจ๋ฒ์ฌ๋ก๋ฅผ ์์๋ณด์๊ธฐ์กด ๊ตฌ์ถ๋์ด ์๋ ํ๊ฒฝ์ Cloud๋ก Migrationํ๋ ๊ฒ์ ๋ง์ ์๊ฐ์ ํ๊ฒ ๋ง๋ ๋ค. ํนํ ๊ฒฝํ์ด ๋ง์ ์๋์ด ๊ฐ๋ฐ์๊ฐ ์ด๋์ด ์ฃผ๋, ํน์ ์ด๋ฏธ ๊ธฐ์กด์ ์กด์ฌํ๋ ๋๊ท๋ชจ ์์คํ ์ ์ ์ฉ๋์ด ์๋ ๊ท์น์ ๋ฐ๋ฅผ ์ ์๋ ์ํฉ์ด ์๋๋ผ๋ฉด ์์ผ๋ก ๊ตฌ์ถํ ์ธํ๋ผ์ ๋ํ ๊ฑฑ์ ์ด ์์ค ์ ๋ฐ์ ์๋ค. ์ด์ ๋ ๊ฐ๋ฐ๋ ์๋น์ค์ ๋ฐฉํฅ์ฑ๊ณผ ๊ทธ์ ๋ฐ๋ฅธ ์ํคํ ์ฒ, ์ธํ๋ผ ๊ตฌ์ถ์ ๋ํ ์ค๊ณ๊ฐ ์ด๋์ ๋ ๋์ด ๋๊ณ ์๊ณ ์ด์ ๋ ๊ทธ์๋ฐ๋ผ ๊ตฌ์ถ๋ง ํ๋ฉด๋๋ ์ํฉ์ด์ง๋ง ์๋น์ค ๊ท๋ชจ๊ฐ ์ปค์ง๊ณ , ๊ฐ๋ฐ์ ์ธ์์ด ๋์ด๋ ๊ฒฝ์ฐ ๋ฆฌ์์ค๋ค์ด ์คํ๊ฒํฐ ์ฒ๋ผ ์์ผ ์ฒ์น๋ถ๊ฐํ ์ํ๊ฐ ๋ ์ ์๋ค. AWS์์๋ ์ด๋ฐ ์ํฉ์ ๋ํ ๋ค์ํ ํด๊ฒฐ๋ฒ์ ์ ์ํด ์ฃผ๊ณ ์์ง๋ง ์ฐ๋ฆฌ๋ ๋จผ์ ๊ฐ์ฅ ๊ฐ๋จํ๊ฒ ๋ฐ๋ก ์ ์ฉํ ์ ์๋ ๋ฆฌ์์ค๋ค์ Naming ๊ท์น์ ์ ํด ๋์ ํด๋ณด๋.. wono | discuss | tweet + it ops aws EC2 Naming Convention Made Easy: Top Strategies for Improved OrganizationAmazon Elastic Compute Cloud (EC2) is a popular web service provided by Amazon Web Services (AWS) that allows users to create and manage virtual machines in the cloud. EC2 provides users with aโฆ wono | discuss | tweet + it ops aws ec2 AWS - EC2 ์ด ๊ฐ๋จ ์์ฑ + vscode ์๊ฒฉ์ฐ๊ฒฐ๋ ๋ฆฝ๋ ์๋ฒ๊ฐ ๊ธํ ํ์ํ๋ฐ ์ฃผ๋ณ์ ์๋ฌด๊ฒ๋ ์๋ค๋ฉด? Linux OS๊ฐ ํ์ํ ์ํฉ์ธ๋ฐ ์ง์ Windows๋ง ์๋ ์ํฉ์ด๋ผ๋ฉด? Docker๋ฅผ windows ํ๊ฒฝ์์ ๋ ์๋ก ๊ตฌ์ถํ๊ธด ๊ท์ฐฎ์ฃ ... ๊ทธ๋ด ๋๋ EC2๋ฅผ ์ฌ์ฉํด ๋ด ์๋ค!! 1. AWS Service ์ ์ aws ์ฌ์ดํธ์ ์ ์ํด ์ค์๋ค. https://aws.amazon.com/ko/ ํด๋ผ์ฐ๋ ์๋น์ค | ํด๋ผ์ฐ๋ ์ปดํจํ ์๋ฃจ์ | Amazon Web Services aws.amazon.com 2. AWS ๊ฐ์ ํ ๊ณ์ ์์ฑ (์๋ต) ๊ณ์ ์์ฑ ์ ์ ์ฉ์นด๋๋ฅผ ํ์๋ก ํ๊ธฐ ๋๋ฌธ์ ๊ณ์ ๋ณด์์ ์ ์ํฉ์๋ค. ๊ทธ๋ ๋ค๊ณ MFA๋ฅผ ํจ๋ถ๋ก ์ค์ ํ๊ณ ํฐ์ ๋ฐ๊พธ๊ฑฐ๋ MFA ์ฌ์ฉ๋ฒ์ ๊น๋จน์ผ๋ฉด ๊ณ์ ์ฌ์ฉ์ด ๊ณค๋ํด์ง๋๋ค. ๋์ค์ ์๋์ผ๋ก ๋ฌธ์ํด์ ํด์ ํด์ผ ๊ณ์ ์ฌ์ฉ์ด ๊ฐ๋ฅ.. wono | discuss | tweet + it ops ec2 aws EC2 ์ธ์คํด์ค VSCode๋ก ์ฐ๊ฒฐํ๊ธฐEC2 ์ธ์คํด์ค์ ์ ์ํ๋ฉด, ํฐ๋ฏธ๋์์ ์ฝ๋๋ฅผ ์์ ํ ์ ์๋ค.๋ถํธํ๊ธฐ ๋๋ฌธ์ Visual Studio Code๋ฅผ EC2 ์ธ์คํด์ค์ ์ฐ๊ฒฐํ์ฌ ์ดํ์๋ ์ฝ๋๋ฅผ ์์ฑํ๊ณ ์์ ํ๋ ๋ฐฉ๋ฒ์ ์์๋ณด์.extensions์์ ftp-simple ํ์ผ์ ์ฐพ์์ ์ค์นํ๋ค.comman wono | discuss | tweet + it ops aws ๐ฝ MobaXterm ์ค์น & ์ฌ์ฉ ๋ฐฉ๋ฒ (SSH ์ ์)MobaXterm ๋ฆฌ๋ ์ค์ Telnet, SSH ์ ์์ ์ํด Putty๋ XShell์ ๊น๊ณ , FTP/SFTP์ ์์ ์ํด FileZilla๋ฅผ ๊น๊ณ , ๊ทธ ์ธ ๋ค์ํ ์๊ฒฉ ์ ์์ฉ ํ๋ก๊ทธ๋จ์ ๋ณต์๊ฐ ์ค์นํ์ฌ ๊ด๋ฆฌํ๋ฉด ๋ง์ด ๋ณต์กํด์ง๊ณ ๋ฒ๊ฑฐ๋ก์ ์ง๋ค. ๋ํ Putty ๊ฐ์ ๊ฒฝ์ฐ, ์ฌ๋ฌ ํ์ผ๋ค์ vi์๋ํฐ๋ก ์์ /๊ด๋ฆฌํด์ผํ๋ ๊ฒฝ์ฐ 'Putty'๋ง์ผ๋ก๋ ํ๊ณ๊ฐ ์๋ค MobaXterm์ ํ์กดํ๋ ์ต๊ฐ์ SSH ์ ์ ํด๋ก, ์ต์ํ UI์ ๋ค์ํ ์ ์ ๋ฐฉ์ ์ง์์ผ๋ก ์ค์ ์ด ํธํ๊ณ ๋ณ๋์ SFTP ํ๋ก๊ทธ๋จ ๋ฑ์ ์ค์นํ์ง ์์๋ ๋๋ค. (putty, ํ์ผ์ง๋ผ OUT) ๊ทธ๋ฆฌ๊ณ ๋ณด์ํค๋ putty๋ก ppk ๋ณํํ์ง์๊ณ .key ๋๋ .pem ๊ทธ๋๋ก ์ฌ์ฉํ ์๋ ์๋ค. ํฐ๋ฏธ๋ ํ๋ฉด ์ข์ธก์ ์๋์ฐ ํ์ ์ฐฝ์ฒ๋ผ ํ์ฌ ๊ฒฝ๋ก์ ํด๋์ ํ์ผ.. wono | discuss | tweet + it ops aws sftp [AWS EC2] ์ธ์คํด์ค ํ์ผ ์ ์ก ๋ฐฉ๋ฒ (FTP, FTPS FileZilla ์ฌ์ฉ)EC2 ์์ SSH ์ฐ๊ฒฐ๋ก ๋ค ํด๊ฒฐ ๋ ๋๋ ์์ง๋ง, ํ์ํ ํ์ผ๋ค์ ์ธ์คํด์ค ์๋ฒ๋ก ์ฎ๊ฒจ์ผํ ๋๋ ์๋ค. ์ฌ๋ฌ๊ฐ์ง ํด์ด ์๊ฒ ์ง๋ง, ์์ ์ ํ์ผ์ง๋ผ(FileZilla)๋ฅผ ์ฌ์ฉํ ๊ฒฝํ์ด ์์ด์ ์ฌ์ฉํด๋ณธ ๊ฒ์ผ๋ก ์ ํํ๋ค. 1. FileZilla ์ค์น https://filezilla-project.org/download.php?platform=win64 Download FileZilla Client for Windows (64bit x86) Download FileZilla Client for Windows (64bit x86) The latest stable version of FileZilla Client is 3.55.1 Please select the file appropriate for your pl.. wono | discuss | tweet + it ops aws ubuntu AWS์ EC2์์ฑ ๋ฐ ubuntu linux์ค์นํ๊ธฐAWS์ EC2์์ฑ ๋ฐ ubuntu linux์ค์นํ๊ธฐ wono | discuss | tweet + it ops caddy Redirect reverse proxy to /path1. Caddy version (caddy version): v2.5.1 2. How I run Caddy: Command line (CLI) a. System environment: Windows Server 2016 b. Command: caddy_windows_amd64.exe run --watch c. Service/unit/compose file: N/A d… wono | discuss | tweet + it qa caddy How to proxy including subpath1. The problem Iโm having: I want to handle requests coming to subdomain.example.com to localhost:8080/subpath. How can I migrate this? The previous apache configuration was as follows: <VirtualHost *:80> ServerName s… wono | discuss | tweet + it tool windows ์๋์ฐ ์๋น์ค ๋ช ๋ น ํ๋กฌํํธ๋ก ์ ์ด๋ช ๋ นํ๋กฌํํธ์์ ์๋น์ค๋ช ํ์ธ sc GetKeyName "OracleServiceORCL" ์๋น์ค ์ญ์ sc delete "OracleServiceORCL" ์๋น์ค ์์ sc start "OracleServiceORCL" ๋๋ net start "OracleServiceORCL" ์๋น์ค ๋ฉ์ถค sc stop "OracleServiceORCL" ๋๋ net stop "OracleServiceORCL" ์ค๋ผํด ์์.bat net start "OracleDBConsoleorcl" net start "OracleOraDb11g_home1TNSListener" net start "OracleServiceORCL" ์ค๋ผํด ๋ฉ์ถค.bat net stop "OracleDBConsoleorcl" net stop "Oracl.. wono | discuss | tweetNext
+ it ops chmod ๐ง ๋ฆฌ๋ ์ค ํ์ผ & ๋๋ ํ ๋ฆฌ ๊ถํ (์์ ๊ถ / ํ๊ฐ๊ถ / ํน์๊ถํ)ํ์ผ ๋ฐ ๋๋ ํฐ๋ฆฌ ๊ถํ ๋ฆฌ๋ ์ค๋ ์ฌ๋ฌ์ฌ์ฉ์๊ฐ ๋ค์ด์ ์ฌ์ฉํ๋ ๋ฉํฐ์ ์ ์์คํ ์ด๋ค. ๋ฐ๋ผ์ ์ฌ๋ฌ ์ฌ์ฉ์๊ฐ ๋ค์ด์ ์ฌ์ฉํ๋ค๋ณด๋ฉด, ์๋ฒ์ ์ฌ๋ ค์ง ๋น๋ฐ์๋ฃ ์ด๋๊ณผ ๊ทธ๊ฒ์ ๋ณ์กฐ,์์ ,์ญ์ ๋ฅผ ํ ์ฐ๋ ค๊ฐ ๋์์ง๊ฒ ๋๋ค. ์ด ๋ฌธ์ ๋ฅผ ๊ทน๋ณตํ๊ธฐ์ํด ๋ฆฌ๋ ์ค OS์๋ ํน๋ณํ ๊ธฐ๋ฅ์ด ์๋๋ฐ ๋ฐ๋ก ํผ๋ฏธ์ (๊ถํ)์ด๋ผ๋ ๊ธฐ๋ฅ์ด๋ค. ์๋์ฐ OS์๋ ํผ๋ฏธ์ ๊ธฐ๋ฅ์ด ์๊ธดํ์ง๋ง, ์ฌ๋ฌ์ฌ์ฉ์๋ค์ด ๋ค์ด์ค๋ ์๋ฒ์ฉ์ด ์๋๊ธฐ์ ๋ฆฌ๋ ์ค์ฒ๋ผ ํ์ฑํ ๋์ด ์์ง์๋๋ค. ์ด ๊ธฐ๋ฅ์ผ๋ก ์ฌ์ฉ์๋ค์ ์์ ํํ ์ฝ๊ธฐ ํผ๋ฏธ์ ์ด ๋ถ์ฌ๋ ํ์ผ๋ง ์ฝ์ ์ ์๊ณ , ์ฐ๊ธฐ ํผ๋ฏธ์ ์ด ๋ถ์ฌ๋ ํ์ผ๋ง ์ฐ๊ธฐ์ ์์ ์ด ๊ฐ๋ฅํ๊ณ , ์คํ ํผ๋ฏธ์ ์ด ๋ถ์ฌ๋ ํ์ผ๋ง ์คํ์ด ๊ฐ๋ฅํ๊ฒ ๋๋ค. ๊ทธ๋ฆฌ๊ณ ์ด๋ ๊ถํ ๋ฟ๋ง ์๋๋ผ ํ์ผ ์์ ์ ๊ฐ๋ ๋ ์ง์ํด์ค๋ค. ์์ ๊ถ & ํ๊ฐ๊ถ ํ์ธ ๋ฐฉ๋ฒ ํ์ผ ๊ถํ ์ ๋ณด .. wono | discuss | tweet
+ it ops caddy Caddy2 matcher / rewrite / modx1. My Caddy version (caddy version): (devel) /has to do this for php sockets to work/ 2. How I run Caddy: ./caddy run --config /root/downloads/configfile --adapter caddyfile a. System environment: Ubuntu, php-fpm b. Co… wono | discuss | tweet
+ it ops env [Linux] Ubuntu, Centos ํ๊ฒฝ๋ณ์ ์ค์ ๋ฐฉ๋ฒ๋ด๊ฐ ํท๊ฐ๋ ค์ ๋จ๊ฒจ๋ Ubuntu vi ~/.bashrc source ~/.bashrc Centos vi ~/.bash_profile source ~/.bash_profile vi /etc/profile source /etc/profile ์ฐธ๊ณ ) /etc/profile : Linux ๋ฅผ ์ฌ์ฉํ๋ ๋ชจ๋ ์ฌ์ฉ์๋ค์ ์ ์ฉ๋๋ ํ๊ฒฝ์ค์ ํ์ผ ~/.bash_profile : Linux ๊ฐ ๊ฐ์ธ ์ฌ์ฉ์๋ค์ ์ ์ฉ๋๋ ํ๊ฒฝ์ค์ ํ์ผ PATH ์ค์ ๋ฐฉ๋ฒ (Ubuntu, Centos) PATH=$PATH:$HOME/bin export PATH export JAVA_HOME=/usr/java/jdk1.6.0_45 export PATH=$PATH:$JAVA_HOME/bin ์ ์ฉ์ด ๋์๋์ง ํ์ธํ๋ ๋ฐฉ๋ฒ echo $JAVA_H.. wono | discuss | tweet
+ it ops mysql [MYSQL] ์์คํ ์ค์ ํ์ผ(my.cnf) ์ฐธ๊ณ [์ฐธ๊ณ ์ฌ์ดํธ] - make my.cnf 1. ์์คํ ์ค์ ํ์ผ(my.cnf) ์ฐธ๊ณ [my.cnf] wono | discuss | tweet
+ it ops ssh [AWS] 5-2. AWS - EC2 ์ธ์คํด์ค ์ ์ํ๊ธฐ(Linux Ubuntu) + ๊ธฐ๋ณธ์ค์ ์๋ ํ์ธ์. ๊ฐ๋ํฌ ์ ๋๋ค. ์ด๋ฒ ํฌ์คํ ์ [ AWS - EC2 Instance ์ ์ํ๊ธฐ ] ์ ๋๋ค. : ) 0. Amazon EC2(Amazon Elastic Compute Cloud) ์ ์ ๋ฐฉ๋ฒ - Instance ์ค์ ํ๋ฉด์์ ์ด๋ฏธ ์ค์นํ EC2 ์ฐํด๋ฆญ, "์ฐ๊ฒฐ" ์ ํด๋ฆญ ํ์. - "ssh ํด๋ผ์ด์ธํธ" ๋ฅผ ํด๋ฆญ ํ์. - ํ๊ธฐ์ ๊ฐ์ด ๊ฐ์ด๋๊ฐ ๋์ ์๋๋ฐ ์ด ๋ถ๋ถ์ ๋ฐ๋ผ ๊ฐ๋ณด์. 1. SSH ํด๋ผ์ด์ธํธ๋ฅผ ์ฐ๋ค. - gitbash, putty๋ฅผ ํตํด ์ ์ํ๋ ๋ฐฉ๋ฒ์ ์์ ๊ธ์ ๊ธฐ๋ก ๋์ด ์์ผ๋ ์ฐธ๊ณ ํ๋๋ก ํ์. https://goddaehee.tistory.com/181 - ์ด๋ฒ ํฌ์คํ ์์ MobaXterm์ผ๋ก ์งํ ํ๋ ค๊ณ ํ๋ค. 1) MobaXterm์ด๋? - SSH, RDP, SFTP ๋ฑ ๋ค์.. wono | discuss | tweet
+ it ops aws ec2 AWS EC2 ์ด๊ธฐ ์ค์ ๋ชจ์์ ๊ฐ AWS EC2์ ํ๋ฆฌํฐ์ด ๋ฒ์ ์ ์ฌ๋ฌ๋ฒ ์์ฑํด๋ณด๋ฉฐ ํญ์ ํด์ค๋ ์ค์ ๋ค์ ๋ชจ์๋จ์ต๋๋ค. wono | discuss | tweet
+ it ops caddy How to Install Caddy Web Server on Ubuntu 22.04 - RoseHostingCaddy is a modern web server built using Go. Its installation is fairly straightforward - we'll show you how to install Caddy on Ubuntu. wono | discuss | tweet
+ it ops linux os ๋ฆฌ๋ ์ค ๋ฐฐํฌํ ์ ์ ์จ(ํ) : ํด๋ฆฌ์IT ์์ฐ ๊ด๋ฆฌ ๊ธฐ์ ๋์ค์ํผ(Lansweeper)๊ฐ ์ง๋ 5์ ๋ฐํํ ๋ฐ์ดํฐ์ ๋ฐ๋ฅด๋ฉด, ์ ์ธ๊ณ 20๋ง์ฌ ๊ฐ ๋ฆฌ๋ ์ค ์ฅ๋น ์ค ์ฐ๋ถํฌ(Ubuntu)๊ฐ 32.24%๋ก ๊ฐ์ฅ ๋์์ผ๋ฉฐ,26.05%๊ฐ ์ผํธOS๋ฅผ ์ฌ์ฉ. RHEL์ 20.11%๋ฅผ ์ฌ์ฉํ๋ ๊ฒ์ผ๋ก ๋ํ๋ฌ์ต๋๋ค. ์ถ์ฒ : ์ปดํจํฐ์๋(https://www.comworld.co.kr/news/articleView.html?idxno=51210) ์ฐธ๊ณ : https://www.theregister.com/2024/06/06/lansweeper_centos/ ๋ค๋ฅธ ์๋ฃ๋ฅผ ์ดํด๋ณด๋ฉด ์ต๊ทผ ํต๊ณ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค. ๋ฐ์คํฌํ ์์ฅ: - 2024๋ ๋ฆฌ๋ ์ค๋ ๋ฐ์คํฌํ ์ด์ ์ฒด์ ์์ฅ์์ 4.45%์ ์ ์ ์จ์ ๊ธฐ๋กํ๋ฉฐ, ํฌ๋กฌ OS๋ฅผ ๋์ด์๋ ์ฑ์ฅ์ ๋ณด์์ต๋๋ค (https://ostechnix.com/linux-market-share-july-2024-report/). ๋ฐฐํฌํ๋ณ ์ฌ์ฉ: * ์ฐ๋ถํฌ๋ ์ ์ฒด ๋ฆฌ๋ ์ค ์์ฅ์์ ์ฝ 33.9%๋ก ๊ฐ์ฅ ๋์ ์ ์ ์จ์ ์ฐจ์งํ๊ณ ์์ผ๋ฉฐ, ๊ทธ ๋ค๋ฅผ ๋ฐ๋น์(16%), CentOS(9.3%)๊ฐ ๋ฐ๋ฅด๊ณ ์์ต๋๋ค - https://www.enterpriseappstoday.com/stats/linux-statistics.html - https://truelist.co/blog/linux-statistics/ ๋ฆฌ๋ ์ค๋ ํด๋ผ์ฐ๋, ์๋ฒ, IoT, ์น ์ธํ๋ผ ๋ฑ ๋ค์ํ ๋ถ์ผ์์ ๊ณ์ํด์ ์ค์ํ ์ญํ ์ ํ๊ณ ์์ผ๋ฉฐ, ์ด๋ฌํ ์ฑ์ฅ์ธ๋ ์์ผ๋ก๋ ์ง์๋ ๊ฒ์ผ๋ก ๋ณด์ ๋๋ค. wono | discuss | tweet
+ it ops aws Mastering AWS Cloud: Best Practices for Naming ConventionsWhen working with AWS Cloud, using clear and consistent naming conventions is essential. Proper naming helps in organizing resources, improving readability, and easing management. Hereโs a guide toโฆ wono | discuss | tweet
+ it ops aws AWS Naming ๋ชจ๋ฒ์ฌ๋ก๋ฅผ ์์๋ณด์๊ธฐ์กด ๊ตฌ์ถ๋์ด ์๋ ํ๊ฒฝ์ Cloud๋ก Migrationํ๋ ๊ฒ์ ๋ง์ ์๊ฐ์ ํ๊ฒ ๋ง๋ ๋ค. ํนํ ๊ฒฝํ์ด ๋ง์ ์๋์ด ๊ฐ๋ฐ์๊ฐ ์ด๋์ด ์ฃผ๋, ํน์ ์ด๋ฏธ ๊ธฐ์กด์ ์กด์ฌํ๋ ๋๊ท๋ชจ ์์คํ ์ ์ ์ฉ๋์ด ์๋ ๊ท์น์ ๋ฐ๋ฅผ ์ ์๋ ์ํฉ์ด ์๋๋ผ๋ฉด ์์ผ๋ก ๊ตฌ์ถํ ์ธํ๋ผ์ ๋ํ ๊ฑฑ์ ์ด ์์ค ์ ๋ฐ์ ์๋ค. ์ด์ ๋ ๊ฐ๋ฐ๋ ์๋น์ค์ ๋ฐฉํฅ์ฑ๊ณผ ๊ทธ์ ๋ฐ๋ฅธ ์ํคํ ์ฒ, ์ธํ๋ผ ๊ตฌ์ถ์ ๋ํ ์ค๊ณ๊ฐ ์ด๋์ ๋ ๋์ด ๋๊ณ ์๊ณ ์ด์ ๋ ๊ทธ์๋ฐ๋ผ ๊ตฌ์ถ๋ง ํ๋ฉด๋๋ ์ํฉ์ด์ง๋ง ์๋น์ค ๊ท๋ชจ๊ฐ ์ปค์ง๊ณ , ๊ฐ๋ฐ์ ์ธ์์ด ๋์ด๋ ๊ฒฝ์ฐ ๋ฆฌ์์ค๋ค์ด ์คํ๊ฒํฐ ์ฒ๋ผ ์์ผ ์ฒ์น๋ถ๊ฐํ ์ํ๊ฐ ๋ ์ ์๋ค. AWS์์๋ ์ด๋ฐ ์ํฉ์ ๋ํ ๋ค์ํ ํด๊ฒฐ๋ฒ์ ์ ์ํด ์ฃผ๊ณ ์์ง๋ง ์ฐ๋ฆฌ๋ ๋จผ์ ๊ฐ์ฅ ๊ฐ๋จํ๊ฒ ๋ฐ๋ก ์ ์ฉํ ์ ์๋ ๋ฆฌ์์ค๋ค์ Naming ๊ท์น์ ์ ํด ๋์ ํด๋ณด๋.. wono | discuss | tweet
+ it ops aws EC2 Naming Convention Made Easy: Top Strategies for Improved OrganizationAmazon Elastic Compute Cloud (EC2) is a popular web service provided by Amazon Web Services (AWS) that allows users to create and manage virtual machines in the cloud. EC2 provides users with aโฆ wono | discuss | tweet
+ it ops aws ec2 AWS - EC2 ์ด ๊ฐ๋จ ์์ฑ + vscode ์๊ฒฉ์ฐ๊ฒฐ๋ ๋ฆฝ๋ ์๋ฒ๊ฐ ๊ธํ ํ์ํ๋ฐ ์ฃผ๋ณ์ ์๋ฌด๊ฒ๋ ์๋ค๋ฉด? Linux OS๊ฐ ํ์ํ ์ํฉ์ธ๋ฐ ์ง์ Windows๋ง ์๋ ์ํฉ์ด๋ผ๋ฉด? Docker๋ฅผ windows ํ๊ฒฝ์์ ๋ ์๋ก ๊ตฌ์ถํ๊ธด ๊ท์ฐฎ์ฃ ... ๊ทธ๋ด ๋๋ EC2๋ฅผ ์ฌ์ฉํด ๋ด ์๋ค!! 1. AWS Service ์ ์ aws ์ฌ์ดํธ์ ์ ์ํด ์ค์๋ค. https://aws.amazon.com/ko/ ํด๋ผ์ฐ๋ ์๋น์ค | ํด๋ผ์ฐ๋ ์ปดํจํ ์๋ฃจ์ | Amazon Web Services aws.amazon.com 2. AWS ๊ฐ์ ํ ๊ณ์ ์์ฑ (์๋ต) ๊ณ์ ์์ฑ ์ ์ ์ฉ์นด๋๋ฅผ ํ์๋ก ํ๊ธฐ ๋๋ฌธ์ ๊ณ์ ๋ณด์์ ์ ์ํฉ์๋ค. ๊ทธ๋ ๋ค๊ณ MFA๋ฅผ ํจ๋ถ๋ก ์ค์ ํ๊ณ ํฐ์ ๋ฐ๊พธ๊ฑฐ๋ MFA ์ฌ์ฉ๋ฒ์ ๊น๋จน์ผ๋ฉด ๊ณ์ ์ฌ์ฉ์ด ๊ณค๋ํด์ง๋๋ค. ๋์ค์ ์๋์ผ๋ก ๋ฌธ์ํด์ ํด์ ํด์ผ ๊ณ์ ์ฌ์ฉ์ด ๊ฐ๋ฅ.. wono | discuss | tweet
+ it ops ec2 aws EC2 ์ธ์คํด์ค VSCode๋ก ์ฐ๊ฒฐํ๊ธฐEC2 ์ธ์คํด์ค์ ์ ์ํ๋ฉด, ํฐ๋ฏธ๋์์ ์ฝ๋๋ฅผ ์์ ํ ์ ์๋ค.๋ถํธํ๊ธฐ ๋๋ฌธ์ Visual Studio Code๋ฅผ EC2 ์ธ์คํด์ค์ ์ฐ๊ฒฐํ์ฌ ์ดํ์๋ ์ฝ๋๋ฅผ ์์ฑํ๊ณ ์์ ํ๋ ๋ฐฉ๋ฒ์ ์์๋ณด์.extensions์์ ftp-simple ํ์ผ์ ์ฐพ์์ ์ค์นํ๋ค.comman wono | discuss | tweet
+ it ops aws ๐ฝ MobaXterm ์ค์น & ์ฌ์ฉ ๋ฐฉ๋ฒ (SSH ์ ์)MobaXterm ๋ฆฌ๋ ์ค์ Telnet, SSH ์ ์์ ์ํด Putty๋ XShell์ ๊น๊ณ , FTP/SFTP์ ์์ ์ํด FileZilla๋ฅผ ๊น๊ณ , ๊ทธ ์ธ ๋ค์ํ ์๊ฒฉ ์ ์์ฉ ํ๋ก๊ทธ๋จ์ ๋ณต์๊ฐ ์ค์นํ์ฌ ๊ด๋ฆฌํ๋ฉด ๋ง์ด ๋ณต์กํด์ง๊ณ ๋ฒ๊ฑฐ๋ก์ ์ง๋ค. ๋ํ Putty ๊ฐ์ ๊ฒฝ์ฐ, ์ฌ๋ฌ ํ์ผ๋ค์ vi์๋ํฐ๋ก ์์ /๊ด๋ฆฌํด์ผํ๋ ๊ฒฝ์ฐ 'Putty'๋ง์ผ๋ก๋ ํ๊ณ๊ฐ ์๋ค MobaXterm์ ํ์กดํ๋ ์ต๊ฐ์ SSH ์ ์ ํด๋ก, ์ต์ํ UI์ ๋ค์ํ ์ ์ ๋ฐฉ์ ์ง์์ผ๋ก ์ค์ ์ด ํธํ๊ณ ๋ณ๋์ SFTP ํ๋ก๊ทธ๋จ ๋ฑ์ ์ค์นํ์ง ์์๋ ๋๋ค. (putty, ํ์ผ์ง๋ผ OUT) ๊ทธ๋ฆฌ๊ณ ๋ณด์ํค๋ putty๋ก ppk ๋ณํํ์ง์๊ณ .key ๋๋ .pem ๊ทธ๋๋ก ์ฌ์ฉํ ์๋ ์๋ค. ํฐ๋ฏธ๋ ํ๋ฉด ์ข์ธก์ ์๋์ฐ ํ์ ์ฐฝ์ฒ๋ผ ํ์ฌ ๊ฒฝ๋ก์ ํด๋์ ํ์ผ.. wono | discuss | tweet
+ it ops aws sftp [AWS EC2] ์ธ์คํด์ค ํ์ผ ์ ์ก ๋ฐฉ๋ฒ (FTP, FTPS FileZilla ์ฌ์ฉ)EC2 ์์ SSH ์ฐ๊ฒฐ๋ก ๋ค ํด๊ฒฐ ๋ ๋๋ ์์ง๋ง, ํ์ํ ํ์ผ๋ค์ ์ธ์คํด์ค ์๋ฒ๋ก ์ฎ๊ฒจ์ผํ ๋๋ ์๋ค. ์ฌ๋ฌ๊ฐ์ง ํด์ด ์๊ฒ ์ง๋ง, ์์ ์ ํ์ผ์ง๋ผ(FileZilla)๋ฅผ ์ฌ์ฉํ ๊ฒฝํ์ด ์์ด์ ์ฌ์ฉํด๋ณธ ๊ฒ์ผ๋ก ์ ํํ๋ค. 1. FileZilla ์ค์น https://filezilla-project.org/download.php?platform=win64 Download FileZilla Client for Windows (64bit x86) Download FileZilla Client for Windows (64bit x86) The latest stable version of FileZilla Client is 3.55.1 Please select the file appropriate for your pl.. wono | discuss | tweet
+ it ops aws ubuntu AWS์ EC2์์ฑ ๋ฐ ubuntu linux์ค์นํ๊ธฐAWS์ EC2์์ฑ ๋ฐ ubuntu linux์ค์นํ๊ธฐ wono | discuss | tweet
+ it ops caddy Redirect reverse proxy to /path1. Caddy version (caddy version): v2.5.1 2. How I run Caddy: Command line (CLI) a. System environment: Windows Server 2016 b. Command: caddy_windows_amd64.exe run --watch c. Service/unit/compose file: N/A d… wono | discuss | tweet
+ it qa caddy How to proxy including subpath1. The problem Iโm having: I want to handle requests coming to subdomain.example.com to localhost:8080/subpath. How can I migrate this? The previous apache configuration was as follows: <VirtualHost *:80> ServerName s… wono | discuss | tweet
+ it tool windows ์๋์ฐ ์๋น์ค ๋ช ๋ น ํ๋กฌํํธ๋ก ์ ์ด๋ช ๋ นํ๋กฌํํธ์์ ์๋น์ค๋ช ํ์ธ sc GetKeyName "OracleServiceORCL" ์๋น์ค ์ญ์ sc delete "OracleServiceORCL" ์๋น์ค ์์ sc start "OracleServiceORCL" ๋๋ net start "OracleServiceORCL" ์๋น์ค ๋ฉ์ถค sc stop "OracleServiceORCL" ๋๋ net stop "OracleServiceORCL" ์ค๋ผํด ์์.bat net start "OracleDBConsoleorcl" net start "OracleOraDb11g_home1TNSListener" net start "OracleServiceORCL" ์ค๋ผํด ๋ฉ์ถค.bat net stop "OracleDBConsoleorcl" net stop "Oracl.. wono | discuss | tweet