본문 바로가기

대학강의정리/22.1 우분투리눅스20

6장. SWAP 메모리 영역, RAID 개념 1. SWAP 영역을 사용하는 이유 : RAM 용량이 가득 차서 데이터 손실이 일어나거나 에러가 발생하는 일을 사전에 방지하기 위해 사용한다. 2. SWAP이란? - 시스템에 메모리가 부족할 경우, 하드디스크 일부 공간을 활용해 작업을 계속할 수 있도록 도와주는 메모리 영역이다. - 하드디스크 일부를 RAM처럼 이용할 수 있게 해준다. 3. 참고자료 https://it-serial.tistory.com/entry/Linux-Swap-%ED%8C%8C%ED%8B%B0%EC%85%98%EC%9D%B4%EB%9E%80-CPU-RAM-%ED%95%98%EB%93%9C-%EB%94%94%EC%8A%A4%ED%81%AC-%E2%91%A0 1. RAID 소개 RAID(Redundant Array of Inexpens.. 2022. 6. 17.
8. 메일서버 구축 및 메일 보내기 1. 메일이 보내지는 과정 2. 샌드메일 서버 작동 원리 3. smtp https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=marnet&logNo=220406051164 메일서버 SMTP 이해하기 메일서버 SMTP 이해하기 MUA (Mail User Agent) - An email client, email reader, or more for... blog.naver.com 메일서버 SMTP 이해하기 MUA (Mail User Agent) - An email client, email reader, or more formally mail user agent (MUA), is a computer program used to access an.. 2022. 6. 5.
7. evolution 패키지는 설치할 수 있는 후보가 없습니다 /etc/apt/sources.list 에 아래의 텍스트를 복사해 붙여넣고 apt-update를 실행하여 해결 #deb cdrom:[Ubuntu 20.04.4 LTS _Focal Fossa_ - Release amd64 (20220223)]/ focal main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://kr.archive.ubuntu.com/ubuntu/ focal main restricted # deb-src http://kr.archive.ubuntu.com/ubuntu/ focal main restric.. 2022. 6. 4.
6. apt-upgrade시 temporary failure resolving 'us.archive.ubuntu.com' 에러 # apt-get update Err:1 http://kr.archive.ubuntu.com/ubuntu focal InRelease Temporary failure resolving 'kr.archive.ubuntu.com' Err:2 http://security.ubuntu.com/ubuntu focal-security InRelease Temporary failure resolving 'security.ubuntu.com' Err:3 http://kr.archive.ubuntu.com/ubuntu focal-updates InRelease Temporary failure resolving 'kr.archive.ubuntu.com' Err:4 http://kr.archive.ubuntu.com/ubu.. 2022. 6. 2.
5. mysql 명령어 mysql 설치 아래의 명령어는 apache2, php7.4, mysql-server8.0이 동시에 깔리는 명령어이다. apt -y install lamp-server^ show databases; use 데이터베이스이름; select * from user; select host, user from user; 사용자 계정 생성 및 삭제 MySQL에 root로 접속 한 뒤 use mysql; select host,user from user; 현재 생성된 db의 사용자 계정들을 확인할 수 있다. 사용자 계정 생성 GRANT USAGE ON [database명].[table명] TO [user명]@[server명] IDENTIFIED BY ['패스워드']; ex) grant usage on database.*.. 2022. 5. 24.
5. apt upgrade시 break pakages 오류 필자가 겪었던 오류의 시작은 아래의 명령어가 안 먹었던 것인데 apt -y install lamp-server^ apt update는 제대로 기능했지만 apt upgrade는 제대로 기능하지 않았다. 따라서 아래의 오류가 발생했고 dpkg : Breaks: libapt-pkg5.0 ( 2022. 5. 24.