Difference between revisions of "Build a virtual Elab server"
(Created page with "On your VirtualBox install an Oracle UEK 7.9 server using this DVD, which you have downloaded first: [https://yum.oracle.com/ISOS/OracleLinux/OL7/u9/x86_64/OracleLinux-R7-U9-S...")
Revision as of 12:17, 22 March 2021
On your VirtualBox install an Oracle UEK 7.9 server using this DVD, which you have downloaded first: Oracle 7.9 DVD
As root perform
yum update reboot now yum install epel
If you want a graphical interface do this:
yum -y groupinstall kde "KDE Plasma Workspaces" yum install kernel-headers kernel-devel make gcc perl dkms bzip2 reboot yum grouplist yum groupinstall "Server with GUI" cd /etc/systemd/system/ ls rm default.target ln -s /usr/lib/systemd/system/graphical.target default.target ll reboot now
Now install docker. First edit /etc/yum.repos.d/oracle-linux-ol7.repo change 0 til 1 in the section [ol7_addons], save and execute:
yum install docker-engine docker-cli docker-compose
Let your favourite browser open the team github page from the students that constrructed this server setup.
Create under root a directory called e.g. elab-server
mkdir elab-server git clone https://github.com/AUTeam2/server-setup.git
systemctl enable docker.service systemctl start docker.service
docker volume create data-volume docker volume create mqtt-volume
Change version number in the docker-compose.yml file from 3.7 to 3.3
docker-compose up -d --build
be sure that it ends without errors - if, then try to run it again. It takes quite a while! (on my 6 core virtual machine more than one hour)
More to come...