1. Virtual Box 실행
- 설정
- 새로 만들기
- ISO 이미지 파일 선택
- 사용자 이름 / 암호 설정
- 하드웨어 메모리 설정
- 메모리 : 8192MB
- 프로세서 : 2CPU
- 하드 디스크 기본값
- 새 가상 하드 디스크 : 25GB
- 키보드 설정
- 호스트키 조합 : Left Window + Shift
- 들어가기
- Ubuntu software 에서 Terminator 설치
- Administrator 계정 만들기
- User → Unlock → Add User
- Account Type : Administrator로 설정
- 사용자 이름 / 암호 설정
- 호스팅 설정
- sudo shutdown -h now : 가상머신 나가기
- Virtual Box 설정
- 어댑터2
- 호스트 전용 어댑터 선택
- 가상머신 재실행
- Terminator 실행
# 상태확인
sudo service ssh status
- Error 발생
sudo apt-get install openssh-server
- ip 확인
ip addr
2. Windows cmd
- ssh {계정명}@IP
- whoami : 현재 사용중인 계정 확인
- 권한
rwx r-x r-x (755)
소유자 그룹 others
r : read (4)
w : write (2)
x : exe (1)
- pip 설치
sudo apt install python3-pip
- Miniconda 설치
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
- Miniconda 파일 권한 변경
chmod 700 ./Miniconda3-latest-Linux-x86_64.sh
- 실행
- q(끝까지 내리기) → enter → yes → enter → yes
./Miniconda3-latest-Linux-x86_64.sh
- bashrc 적용 (환경설정 변경내용 적용)
- 유저가 로그인할 때 읽어들이는 파일
- 유저 개인의 alias 및 변수 설정
source ~/.bashrc
- jupyter 설치
pip3 install jupyter
💡 Reference
- Virtual Box 설치 (Windows hosts)
Downloads – Oracle VM VirtualBox
Download VirtualBox Here you will find links to VirtualBox binaries and its source code. VirtualBox binaries By downloading, you agree to the terms and conditions of the respective license. VirtualBox 7.0.18 platform packages The binaries are released unde
www.virtualbox.org
- Virtual Box 설치시 Microsoft Visual C++ 에러
[Error] VirtualBox 설치 시, Visual C++ 2019 오류
오류 내용 Oracle VM virtualBox 7.0.4 needs the Microsoft Visual C++ 2019 Redistributable Package being installed first. Please install and restar the installation of Oracle-VM VirtualBox 7.0.4. 오류 상황 해결 방안 도움창 말대로 Microsoft
olppaemmit.tistory.com
- Ubuntu (22.04.3 LTS)
https://ubuntu.com/download/desktop
ubuntu.com
- source ~/.bashrc
source 명령어와 bash에 대해 알아보자
들어가며 항상 bash 설정 파일을 건들고 나서 source를 써야만 적용이 됐는데, 이 source가 무엇인지 그리고 어떤 예시가 있는지 살펴보겠습니다. source 명령어란 source [환경 설정 파일명] brew나 nodejs
imksh.com
'AI SW & MLOps > Linux' 카테고리의 다른 글
[Linux] starbucks 데이터 넣기 (1) | 2024.06.04 |
---|---|
[Linux] 데이터 가져오기 & MariaDB 설치 (0) | 2024.06.04 |
[Linux] Jupyter 설치 및 설정 & vim (0) | 2024.06.04 |