Testing Environments

From SME Server
Jump to navigationJump to search


Helpful Wiki Pages

Hardware

Hardware Compatability

For testing purposes hardware compatibility is a particularly important concern if you have an older or custom-built system. Because hardware specifications change almost daily, it is recommended that systems should be checked for compatibility. The most recent list of supported hardware can be found in the Red Hat Hardware Compatibility List, available online at https://access.redhat.com/ecosystem/search/#/category/Server. Also see Red Hat Enterprise Linux technology capabilities and limits for general information about system requirements.

As a general rule just about any hardware will suffice as a Standalone test machines or as a host for a virtual environment.

VM Setups

VirtualBox

Content to be done

Microsoft Windows

Content to be done

MacOS

Very remiss of me (Terry Fage) in not mentioning the MacOS setup was captured and written up by Chris (I wont list his username unless he wants to) I simply copied pasted, we need more Chris's

Create a new Virtual Machine, choose 'Linux' as the type, 'Other Linux (64-bit)' as the version and set the memory to at least 1GB, ideally 2GB+ as ClamAV on its own needs ~1GB.

New VM.jpg

Set your new drive to at least 10GB, leave it as VDI, Dynamically Allocated

New Drive.jpg

Once the machine's created, go into Settings -> System. Change the Chipset type to ICH9

Chipset.jpg

Under System -> Processor, bump it up to 2 CPUs if your machine supports it

Processor.jpg

By default, under storage you'll have an IDE controller. Hit the X at the bottom to remove it

Storage.jpg

Add an AHCI controller in its place

Storage2.jpg

Set the port count to 2, then hit the + disk icon on the controller

Storage Ports.jpg

Choose the VDI created in the machine setup

Storage Disk.jpg

Do the same with the CD icon. Choose the SME ISO if you've already added it to Virtual Media Manager. If it's not there then hit 'Add' and browse for the ISO

Storage CD.jpg

Disable audio. Not mandatory, but you're not going to need it

Audio.jpg

Choose a 'bridged' network adapter and make sure it's attached to your host's main network connection. This way your VM will because like a normal machine on your network and you can SSH to it

Networking.jpg

You're done - fire up the VM and the installer should start
Note - when the machine reboots you may see a 'critical error' (unless it's just my Hackintosh being weird). This is fine - just hit Ok and start it up again

Error.jpg

Linux

Content to be done

Proxmox

Proxmox VE is a complete open-source platform for all-inclusive enterprise virtualization that tightly integrates KVM hypervisor and LXC containers, software-defined storage and networking functionality on a single platform, and easily manages high availability clusters and disaster recovery tools with the built-in web management interface.

Install Proxmox #.# to suitable hardware - see proxmox wiki for details of setup

Start Proxmox, login as root, before creating a new VM there needs to be a relevant iso image available from pve storage to act as a install CD/DVD, this and other OS isos needs to be uploaded to pve local storage
Uploadiso a.jpg
Select upload button
Uploadiso.jpg
Select a suitable iso and upload
Uploadiso2.jpg

Install/configure Koozali SME9/10 VM on proxmox VE

If not already running Start Proxmox and login as root, Select Create VM button in top right corner

Openproxhome.jpg
Newvm-name.jpg
Enter name details of new VM 
Newvm-name1.jpg
Select CD/DVD image file to use as install source
Vm-CD-DVD1iso.jpg
Vm-CD-DVD2iso.jpg
VM System, safe to accept defaults
 System1.jpg
Hard disk details, type/size - min of 10gb will suffice for a SME10 install
Hardisk.jpg
 CPU depending on hardware the more the better - 1 Socket 2 cores sufficent

Cpu-cores.jpg
Memory - minimum for sme10, 1024mb will operate sluggishly, 2048mb preferred minimum, 4096mb ideal
Mem2048.jpg
Network setting defaults are safe to use 
Proxneteth.jpg
Summary of settings
Summary.jpg
Additional Hardware, Add extra hardware, change hardware settings

Hardware.jpg
Important.png Note:
Make sure you set your default keyboard - it makes life much easier!!


We will use the vmbr0 that is set up, but we need to create a dummy one so we can put SME in server/gateway mode and use Daniels scripts:

  • Create a new network interface and call it vmbr1
  • Do NOT set IP address/subnet/bridge ports etc.
  • Create your KVM for SME. Make sure that you give it two network adaptors - one is vmbr0 and one is vmbr1
    • vmbr0 should have the following settings :
Model: virtio
MAC: 10:10:00:00:20:20 (as per your mac that you set)
  • After you have created the KVM add a second adaptor:
    • vmbr1 should have the following settings:
Model: virtio
MAC: should be the MAC of your main IP address

It doesn't matter which one is 0 or 1 as long as the settings are correct.



Hardware2.jpg
Select console and push start button, install will begin, interact as normal
Sme10setup.jpg
A standalone terminal window can be seletced by selecting from top right menu - console- no vnc
Terminal.jpg

ESXi