저는 Mac을 사용하고 있으며 가상 박스에 debian linux를 설치했습니다. 내 Mac에서 URL을 가상 박스의 linux로 복사하고 싶습니다. 어떻게해야합니까?맥 키보드로 가상 박스에서 터미널 리눅스에 붙여 넣는 방법?
답변
때때로 Mac에서는 터미널을 열고 VirtualBox 게스트에서는 SSH를 열면됩니다. 포커스를 바꾸는 번거 로움을 피할 수 있습니다.
방금 같은 문제가있었습니다. 클립 보드 공유가 켜져 있는지 확인한 후 Ctrl + Shift + V를 눌러 데비안의 터미널에 붙여 넣습니다.
VirtualBox의 OS X과 Ubuntu간에 작업을 복사하고 붙여 넣기하는 방법에 대한 안내서가 나에게 실망 스러웠습니다. 어쩌면 누군가에게 도움이 질문 건너 오는 사람 :
http://blog.nostopbutton.com/2013/08/24/setup-copy-and-paste-between-os-x-and-linux-virtualbox/
자습서에서는 X로 복사하여 붙여 넣기에 대해 설명하지만 OP에서는 GUI가없는 Linux 콘솔에 대해 묻는 중입니다. – duozmo
좋은 가이드, kali linux는 어떨까요? –
발견! 그것은 비틀기 애플 리케이션하에 있었다 –
먼저
설치 고객 추가 CD (Devices->Insert Guest Additions CD image
을).
는
그런 다음 다시 부팅 한 후, 버추얼 박스에 Vitualbox/Preferences/Input/Virtual Machine/Host Key Combination
에서 호스트 키
을
Shared Clipboard: Bidrectional
변경 VirtualBox를 Machine->Settings->General->Advanced
으로 이동하여 설정 공유 활성화 클립 보드 ⌘
키 매핑 : 내가 영어 (매킨토시) 키보드를 추가하는 cmd/ctrl
맵핑의
는 가장 편안한 솔루션 :
이동 나는 그것이 키보드에있을 수 있습니다 이전 버전에 맞춰 Ubuntu Settings->Text Entry
(을 것 같다 레이아웃 설정)
Input sources to use:
히트에서 플러스 (+)
내가 5.0.4
English (Macintosh)
를 추가
조립했습니다 a page describing how to do this
짧은 버전은 AppleScript와 사용자 정의 키보드 단축키를 사용하여 수행 할 수 있습니다.
애플 스크립트는 :
on run {input, parameters}
set input to input as text
tell application "System Events"
repeat with currentChar in the characters of input
set cID to id of currentChar
set used to false
repeat with r in {{48, 29}, {49, 18}, {50, 19}, {51, 20}, {52, 21}, {53, 23}, {54, 22}, {55, 26}, {56, 28}, {57, 25}, {45, 27}, {46, 47}, {47, 44}, {61, 24}}
if first item of r is equal to cID then -- 0-9 -./=
key code (second item of r)
set used to true
end if
end repeat
repeat with r in {{42, 28}, {43, 24}} -- *+
if first item of r is equal to cID then
key code (second item of r) using shift down
set used to true
end if
end repeat
if not used then
keystroke currentChar
end if
end repeat
end tell
return input
end run
이 스크립트는 어리석게 붙여 넣기를 방지 암호 필드를 물리 치고 유용합니다.
나는 가상 머신이 PuTTY, FileZilla 등으로 연결된 윈도우 시스템에서 우분투를 사용한다.
사용하지 않음 (기본 버추얼 콘솔)
다음이 얼마나 할 수 있습니다 처음부터 설정 당신 :
### Setup Virtualbox:
https://www.virtualbox.org/wiki/Downloads
install ubuntu from their website
### Launch Ubuntu from Virtualbox Console:
sudo apt-get install openssh-server
sudo systemctl start ssh
sudo systemctl status ssh
netstat -tulpn
# see ubuntu port 22 open and ssh running
sudo poweroff
### Virtualbox:
settings - network - Advanced - Adapter Type: PCNet Fast 3 - Port Forwarding
Name: SSH, Protocol: TCP, Host Port (Windows): 3022, Guest Port (Ubuntu): 22
right click - start - headless start
### PuTTY:
Seesion: Localhost Ubuntu: <your_user> -p
Host: <your_user>@127.0.0.1
Port: 3022
Window - Colums: 130, Rows: 24
Scrollback lines: 10000
Appearance - Cursor: Vertical + Blinks
Font Courier New - Regular - 12px
Behaviour - Window Title: Localhost Ubuntu
Full screen on ALT + ENTER
Connection Data - Auto login Username: <your_user>
Session - SAVE!
### FTP:
Host: localhost
Port: 3022
SFTP (SSH FTP)
Logon Type: normal
<your_user>
<pass>
Transfer settings: limit max. conenction: 4
### Git BASH:
ssh -p 3022 <your_user>@localhost
### Enable SSH Root Login: (Use only on localhost, security advice!)
# Set a password for root account first and then enable root account:
sudo passwd root
sudo passwd -u root
# Reverting Back: (lock the root account)
sudo passwd -l root
# Enable SSH root login:
sudo nano /etc/ssh/sshd_config
# PermitRootLogin prohibit-password
PermitRootLogin yes
sudo systemctl restart ssh
### Virtualbox Windows Headless Start
# Make a .lnk shortcut with target or .bat batch file
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" startvm "UbuntuMin" --type headless
"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" controlvm "UbuntuMin" poweroff
Add shortcuts to start menu -> ubuntu START & STOP - change .ico - right click - pin to start
- 1. 맥 ssh 터미널
- 2. 가상 박스에서 무선을 연결할 수 없습니다. (윈도우 호스트, 맥 게스트)
- 3. 맥 터미널 문제
- 4. 맥 로그인 터미널 오류
- 5. 특수 문자를 붙여 넣는 방법
- 6. 리눅스 가상 박스에서 복구
- 7. 맥 OS X는/오픈 터미널 *
- 8. 맥 터미널 버퍼 끝 표시
- 9. 버추얼 박스에서 실행되는 민트 리눅스에 영구적으로 공유 폴더를 설치하십시오.
- 10. 파일을 복사하여 다른 시트에 붙여 넣는 방법
- 11. 젠킨스에 소나 링크를 붙여 넣는 방법
- 12. 투명한 이미지를 플래시 프로젝트에 붙여 넣는 방법
- 13. 표 데이터를 HTML 표에 붙여 넣는 방법
- 14. Excel에서 데이터를 cxGrid에 붙여 넣는 방법
- 15. NSOutlineView의 NSTextFieldCell에서 텍스트를 잘라내어 붙여 넣는 방법
- 16. [배열 수]를 대문자로 붙여 넣는 방법 :
- 17. D 및 가상 터미널
- 18. OSX로 가상 박스에서 xcode를 실행
- 19. 맥 OS X 터미널 날짜와 변수 문제
- 20. 맥 osx 터미널 병합 폴더 (rsync?)
- 21. 맥 터미널 명령에서 JavaScriptMVC 응용 프로그램
- 22. Blackberry PopupScreen 크기가 가상 키보드로 제한됩니다.
- 23. iPhone의 가상 키보드로 텍스트 입력 처리하기
- 24. 안드로이드에서 가상 키보드로 누른 열쇠 잡기?
- 25. NSTextView 붙여 넣기 : "foo"를 붙여 넣을 때 "바"를 붙여 넣는 방법?
- 26. 브라우저에 텍스트를 붙여 넣는 방법은 무엇입니까?
- 27. 가상 박스에서 VIM에 대한 설정 저장
- 28. 안드로이드 장치가 win7 가상 박스에서 인식되지 않습니다.
- 29. 가상 박스에서 게스트 OS를 디버그하는 도구
- 30. 가상 박스에서 로컬 아파치 서버에 접근하기
이 터미널 에뮬레이터 윈도우, 또는 실제 터미널인가? (이전 버전 인 경우 클립 보드 공유를 켜고 Command + Shift + C를 누릅니다.) – Ryan
게스트 추가 기능을 설치 했습니까? 또한 TTY 창이나 터미널 에뮬레이터에 대해 이야기하고 있습니까? – Blender
내 데비안에 X.Org가 없기 때문에 게스트 추가 기능을 설치할 수 없습니다. TTY를 직접 사용하고 있습니다. – ggomesfe