목록ETC (69)
main
1. repository 추가 sudo add-apt-repository ppa:deadsnakes/ppa 2. 패키지 업데이트 및 패키지 설치 (필요한 버전으로 설치한다.) sudo apt-get update sudo apt-get install python2.7 sudo apt-get install python3.6 sudo apt-get install python3.7 sudo apt-get install python3.8 sudo apt-get install python3.9 3-1. python 2 버전 심볼릭 링크 설정 # 기존 심볼릭링크 삭제 sudo update-alternatives --remove-all python # 심볼릭링크 등록 sudo update-alternatives --i..
추가되어 있는 네트워크 드라이브 확인용 'DeviceId = "H:"' 에 사용중인 네트워크 드라이브의 드라이브명을 넣어준다. $text = "" $Disk = Get-WmiObject Win32_LogicalDisk -Filter 'DeviceId = "H:"' if($Disk.Size -eq $Null){ $text = $text + "`n`경로 " + $Disk.ProviderName + "`n`드라이브 크기: " + "{0:0}" -f ($Disk.Size/1024/1024/1024)+" GB" + "`n`드라이브 남은용량: " + "{0:0}" -f ($Disk.Freespace/1024/1024/1024)+ " GB" + "`n`드라이브 남은퍼센트: 100%" + "`n` " } else { ..
# 오래된 버전 삭제 sudo apt-get remove docker docker-engine docker.io docker-ce # docker install sudo apt-get update # docker 필수 패키지 sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add # armhf는 [arch=armhf], s390x는 [arch=s390x]로 명령어를 변경해야 합니다. sudo add-apt-repository "deb [arch=amd64] http..
grep XXX.XXX.XXX /etc/hosts.allow || echo sshd:XXX.XXX.XXX.* >> /etc/hosts.allow