Ubuntu 초기 설정
등록일: 2024. 3. 13. 23:15
root 계정 비밀번호 변경
sudo passwd root
hostname 변경
hostnamectl set-hostname 변경할 이름
한국 시간으로 변경
ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
UTF-8로 설정
locale로 확인
다 UTF-8로 돼있어서 안-심
이상한 에러?
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3990 (unattended-upgr)N: Be aware that removing the lock file is not a solution and may break your system.E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
# 해결책
killall apt apt-get
rm /var/lib/apt/lists/lock
rm /var/cache/apt/archives/lock
rm /var/lib/dpkg/lock*
dpkg --configure -a
apt-get update
ftp
apt-get install vsftpd
nano /etc/ftpusers>> root 주석처리nano /etc/vsftpd.conf>>#write_enable = yes주석 해제
service vsftpd restart
docker 설치
apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
apt-get install docker docker.io