How to Setup a TurnKey Linux Container

Before we can download a template, select an available storage node (Usually the “local” storage node) and open the “content” tab. From there, press the “Templates” button. From the list, select the template you would like to download. For the purpose of this tutorial, we chose the “TurnKey LAMP Stack” from the list. Once selected, press the “Download” button. Once the download is complete you will be able to close the window. Make sure you don't close until you see “TASK OK”.

Now that we have a container template image, we can now start the creation of our container. Let's start by pressing the “Create CT” button in the top right corner of the Proxmox interface. From there, you will be able to enter the Hostname(In all LaswitchTech Managed Network, I recommend you keep using the naming convention which is for this container and also the 'root' password. Next we can select our template image from the dropdown. Now we can setup the virtual disk that will store our container. Select an appropriate storage source and then enter the size of the disk you want to create. Next we will setup the amount of cores that we want to make available to the container. Remember never to give more then the host can provide. We will do the same thing for the amount of RAM that we want available to our container. Now the network portion of our container. In all LaswitchTech managed host, the interface that you will need to bridge on is vmbr1. This will put the container behind the network firewall. If you decide to put it on vmbr0, the container will be running on the WAN network. In the DNS section, we can enter the hostname we have previously used. This section is not necessary because we are not using the Proxmox DNS Server. Now you can review the settings and press “Finish” once you are satisfied.

Now that our container is installed, we can now ssh on it using the “root” account.


Once connected, the initialisation script/wizard should automatically start. You may follow all the steps until completion. This will configure all the basic accounts such as the 'root' user for a MySQL server.