Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 849 Bytes

File metadata and controls

65 lines (44 loc) · 849 Bytes
description Notes for nnn online courses.

nnn

VagrantとVirtualboxを使う
MyVagrant/ubuntu64_18にbionic64をインストール�

vagrant box add ubuntu/bionic64
vagrant init ubuntu/bionic64
vagrant up
vagrant ssh

sudo apt update
sudo timedatectl set-timezone Asia/Tokyo

sudo apt install bsdgames
tetris-bsd

exit
vagrant halt
# Show Hardware
sudo lshw -short

# Show storage and data usage
df

Vagrantの共有フォルダ

cd ~/MyVagrant/ubuntu64_18
mkdir workspace

vi VagrantFile

{% code title="VagrantFile" %}

config.vm.synced_folder "./workspace", "/home/vagrant/workspace"

config.vm.provider "virtualbox" do |vb|
    vb.memory = "1024"
end

{% endcode %}

vagrant reload
vagrant ssh

cd ~
mkdir workspace/tmp # The same folder should appear on Mac.