본문 바로가기

728x90

리눅스

C276x260.fwebp.q85 [draft] Git 경고 메시지 "LF will be replaced by CRLF the next time Git touches it" 해결 방법 Git 경고 메시지 "LF will be replaced by CRLF the next time Git touches it" 해결 방법Git에서 파일을 작업할 때 다음과 같은 경고 메시지가 나타날 수 있습니다.$ git add .warning: in the working copy of '.gitignore', LF will be replaced by CRLF the next time Git touches it원인이 경고 메시지는 Git이 파일의 줄 끝 문자를 변경할 것이라고 알려주는 것입니다. 일반적으로 이러한 경고는 프로젝트가 여러 플랫폼에서 작업될 때 발생하는 것입니다. 일부 플랫폼은 줄 끝을 나타내는데에 LF(Line Feed - Unix 스타일)를 사용하고 다른 플랫폼은 CRLF(Carriage .. 더보기
C276x260.fwebp.q85 [draft] MySQL에서 Time Zone 관련 변수를 설정하고 사용하는 방법 MySQL에서 Time Zone 관련 변수를 설정하고 사용하는 방법global.time_zone은 MySQL 서버에서 모든 세션에 대해 사용되는 기본 타임존입니다. session.time_zone은 현재 세션에서 사용되는 타임존입니다. global.time_zone은 MySQL 설정 파일에 설정되거나 SET GLOBAL time_zone 명령어를 사용하여 변경할 수 있습니다. session.time_zone은 SET time_zone 명령어를 사용하여 변경할 수 있습니다. global.time_zone과 session.time_zone의 차이점global.time_zone은 모든 세션에 대해 사용되지만 session.time_zone은 현재 세션에서만 사용됩니다.global.time_zone은 MySQL.. 더보기
C276x260.fwebp.q85 [draft] Mac Time Machine 백업 시간 줄이기 Mac Time Machine 백업 시간 줄이기낮은 프로세스 우선 순위 조절을 제거하여 타임머신 속도를 향샹 설정sudo sysctl debug.lowpri_throttle_enabled=0> sudo sysctl debug.lowpri_throttle_enabled=0Password:debug.lowpri_throttle_enabled: 1 -> 0확인sysctl debug.lowpri_throttle_enabled> sysctl debug.lowpri_throttle_enableddebug.lowpri_throttle_enabled: 0 더보기
C276x260.fwebp.q85 [draft] timedatectl 명령어 timedatectl 명령어timedatectl 명령어는 시스템의 시간 및 날짜 설정을 관리하는데 사용되는 Linux 시스템 명령어입니다. 이 명령어를 사용하면 시스템 시간, 날짜, 시간대 등을 설정하고 확인할 수 있습니다. 일반적으로 timedatectl 명령어를 사용할 때 아래와 같은 옵션을 사용할 수 있습니다. status: 현재 시간 및 날짜 설정 상태를 보여줍니다.set-time YYYY-MM-DD: 시스템 날짜를 지정한 날짜로 설정합니다.set-time HH:MM:SS: 시스템 시간을 지정한 시간으로 설정합니다.set-timezone TIMEZONE: 시스템 시간대를 설정합니다. 예: Asia/Seoul.list-timezones: 사용 가능한 시간대 목록을 표시합니다.timedatectl 사.. 더보기
C276x260.fwebp.q85 [draft] /etc/timezone도 수동으로 업데이트 /etc/timezone도 수동으로 업데이트우분투 계열에서는 명령어로 타임존 변경 시 /etc/timezone도 같이 갱신되도록 처리할 수 있습니다 UI 대화식 설정sudo dpkg-reconfigure tzdata비대화식 설정echo "Asia/Seoul" | sudo tee /etc/timezonesudo dpkg-reconfigure -f noninteractive tzdata확인 명령어현재 타임존 확인/etc/localtime만 수정하며 /etc/timezone은 갱신 안함timedatectl/etc/localtime 확인실질적으로 시스템 타임존을 결정하는 파일 (심볼릭 링크)ls -l /etc/localtime/etc/timezone 내용 확인일부 배포판에서 사용하는 설명용 파일 (수동 갱신 필.. 더보기
C276x260.fwebp.q85 [WIP] lftp와 FileZilla를 사용한 FTPS 클라이언트 설정 방법 lftp와 FileZilla를 사용한 FTPS 클라이언트 설정 방법lftp를 사용한 FTPS 접속1. lftp 설치lftp를 설치합니다. 대부분의 Linux 배포판에서는 패키지 관리자를 사용하여 lftp를 설치할 수 있습니다. CentOSyum install -y lftpUbuntusudo apt-get install lftplftp 버전 정보 확인lftp --version$ lftp --versionLFTP | Version 4.4.8 | Copyright (c) 1996-2013 Alexander V. LukyanovLFTP is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public.. 더보기
C276x260.fwebp.q85 [draft] 우분투에 lftp를 설치하고 사용하는 방법 우분투에 lftp를 설치하고 사용하는 방법lftp 설치하기패키지 목록 업데이트sudo apt-get updatelftp 설치sudo apt-get install -y lftplftp 사용하기기본 사용법lftp를 사용하여 FTP 서버에 접속하고 파일을 전송하려면 다음과 같이 명령어를 입력합니다.lftp ftp://username@ftp.example.comusername : FTP 서버에 로그인할 사용자 이름ftp.example.com : 접속할 FTP 서버의 주소FTP 서버 접속 및 명령어 실행lftp를 사용하여 FTP 서버에 접속하면 lftp 프롬프트가 나타납니다. 이 상태에서 다양한 FTP 명령어를 사용할 수 있습니다. FTP 서버의 디렉토리 목록 보기ls로컬 시스템의 디렉토리로 이동lcd /path.. 더보기
C276x260.fwebp.q85 [draft] 우분투에서 메일 서버(postfix)를 구축하고 설정하는 방법 우분투에서 메일 서버(postfix)를 구축하고 설정하는 방법우분투에서 메일 서버를 구축하고 설정하는 방법에 대해 단계별로 안내해 드리겠습니다.다음은 메일 서버를 구축하는 과정입니다.단계 1: 필요한 패키지 설치하기터미널을 열고 다음 명령을 실행하여 필요한 패키지를 설치합니다.sudo apt updatesudo apt install -y mysql-serversudo apt install -y postfixsudo apt install -y dovecot postfix-mysql dovecot-mysql단계 2: MySQL 데이터베이스 구성하기MySQL에 루트 암호를 설정합니다.sudo mysql_secure_installationMySQL에 로그인합니다.sudo mysql -u root -p다음 명령을.. 더보기

728x90