Mike Cooley's picture

I am brand spanking new to Turnkey and did not do the install myself. Been pressing my IT dept for months to have a local test/build site for the company website, as well as several other sites. I finally got a VM with Turnkey Linux installed and have been left to my own devices. I am not a Developer, or a System Admin, I am just a Web Designer. I am used to working with cPanel to deploy sites on externally hosted servers.

Ok, now that I have that out of the way, what do I need to do in order to get my site up and running on this VM? I would love to be able to load my Akeeba backup file and kickstart.php via FTP/SFTP and just run it, but something tells me it won't work that way. It looks like I have to install the Turnkey Joomla Appliance in order to run Joomla in Turnkey? Can I install Joomla into the Turnkey instance that is currently running? I have another Joomla site I want to bring over as well as two Wordpress sites as well. Can I have them all hosted on one Turnkey VM?

 

I apologize if all of this is very remedial, but we are terribly shortstaffed in our IT dept and it's taken months just to get the spot on the network to put my stuff. My requirements are low priority for them. If I can resolve this on my own and not wait for them to get around to it, all the better for me.

 

Thanks in advance for any help.

Forum: 
Jeremy Davis's picture

I would suggest that the easiest way to go would be to have an indivdual TKL VM for each site, but you can theoretically have them all in one.

You will need to install and configure it all yourself though. From my reading WordPress is pretty easy and I don't think Joomla would be too hard either.

If you go this way I think the TKL LAMP appliance would be your best option!? Intall the instances of the software you want to sub folders of the doc root (/var/www) so you get /var/www/joomla1, /var/www/joomla2, /var/www/wordpress1, etc. I would also give them each their own MySQL DB.

Once you have that done then the sites should be available via http://<hostname or IP>/joomla1/ etc...

Chris Musty's picture

There are basically 10 steps to this, all which possibly require more explanation so a video would more likely be better than a document. Here goes anyway.

Firstly, if you want a multiple joomla setup on one vm or baremetal server ironically dont use the joomla appliance - Use LAMP! A joomla appliance is essentially LAMP with joomla added on so going back to basics is the easiest way to customise it.

If this site is going to be public and you have included DNS records to resolve to the correct IP then you will access it like this -> http(s)://www.mydomain.com/myfolder If you are using an internal server or dont have DNS setup it will be http(s)://serverIP/myfolder of course the brackets around the 's' indicate the 's' can be omitted, if you include the 's' its SSL.

  1. Setup a working LAMP VM or baremetal server
  2. Craete a suitable folder under /var/www/
  3. Upload your Akeeba backup Zip/Tarball or raw joomla zip/tarball to your new folder
  4. Unzip the contents of the zip/tarball file
  5. Change file permissions of the entire directory (ie use the -r switch) to 777
  6. Create a new db and user in mysql or postgres through phpmyqdmin or phppadmin (respectively)
  7. Run the setup file from akeeba or joomla (some tweaking may be required on the LAMP server)
  8. Remove the /var/www/install directory
  9. Change permissions back to a safe level
  10. Repeat for each new site you wish to host, using a new folder for each one

As mentioned all points could be fleshed out for more explanation but that is basically what I do.

Chris Musty

Director

Specialised Technologies

Chris Musty's picture

Guess we were both onto that one...

Chris Musty

Director

Specialised Technologies

Add new comment