eMedLab Setting up
Instance
- Go to
10.0.42.197
- Put in username and pass
- Go to project on the top tabs
- Go to images on the top tabs
- Click on
launch
for mappingVM
- Change Flavour to m2.xlarge
- Give a Name
- Go to the Networking Tab and click on the "+" for pilot5-net
- Go to Access & Security and uncheck default and check ssh-icmp-pilot5
- Click Launch
Volume (storage)
- Go To Volumes on the top tabs
- Ckick on Create Volume
- Give name and size
- Click Create
- Click on more and Edit Attachments
- Select instance and put device name as
/dev/vdc
- Click on Attach Volume
Setting up
- ssh into machine
- password: jody
- Do this:
sudo su
parted /dev/vdc
mklabel gpt
mkpart primary 0GB 10000GB
quit
mkfs.ext4 /dev/vdc1
swapoff -a
fdisk /dev/vda
#### entering fdisk evironment ####
d
1
d
2
n
p
1
2048
+150G
n
e
2
(press enter, use default)
(press enter, use default)
n
l
(press enter, use default)
(press enter, use default)
a
1
t
5
82
w
#### leaving fdisk evironment ####
reboot
ssh 10.18.0.XX
sudo su
resize2fs /dev/vda1
mkswap /dev/vda5
swapoff -a
swapon /dev/vda5
mkfs.ext4 /dev/vdc1
mkdir /opt/storage
mount /dev/vdc1 /opt/storage
cp -r /home/jody /opt/storage/
umount /opt/storage
mount /dev/vdc1 /home/
chown -R jody:jody /home/jody/