eMedLab Setting up

Instance

  1. Go to 10.0.42.197
  2. Put in username and pass
  3. Go to project on the top tabs
  4. Go to images on the top tabs
  5. Click on launch for mappingVM
  6. Change Flavour to m2.xlarge
  7. Give a Name
  8. Go to the Networking Tab and click on the "+" for pilot5-net
  9. Go to Access & Security and uncheck default and check ssh-icmp-pilot5
  10. Click Launch

Volume (storage)

  1. Go To Volumes on the top tabs
  2. Ckick on Create Volume
  3. Give name and size
  4. Click Create
  5. Click on more and Edit Attachments
  6. Select instance and put device name as /dev/vdc
  7. Click on Attach Volume

Setting up

  1. ssh into machine
  2. password: jody
  3. 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/

results matching ""

    No results matching ""