TurnKey Linux Virtual Appliance Library

Recommended VM Configurations

[I've been using TKL appliances for about a year. In my school environment I can easily create a VMWare VM, mount the TKL ISO, and be up and running in minutes. I've enjoyed better than average success editing the VMs to enable multiuser for WP, or customize Moodle, for example. I rate my skill level as 'basic-proficient.']

When posting TKL appliances, can a suggested production configuration be posted?

Although my testing had Moodle running fine on a VM with 1G RAM, when 20 students logged in the machine began to crash unexpectedly. I increased to 3G and it stabilized tremendously. I'm not sure how to tell if I would benefit from allocating MORE RAM to it.

I've currently assigned a single core to the machine. Would this appliance benefit from additional cores, or by nature of the appliance is this just wasting resources?

What other settings would help increase the efficiency of the appliance? Next to the changelog, documentation and ISOs on the DL page, perhaps some of this information could be posted?

As always THANKS for all of the hard work on TKL! I wouldn't be able to provide this in our HS if it weren't for your work!

Johnny Q's picture

Tweak php.ini File

You will need to tweak your php.ini file for the moodle application to use more memory

use nano to edit the file below

/etc/php5/apache2/php.ini

 

Set the config string to 512 or higher i think default its set to 40M which isnt enough for large apps

memory_limit = 512M
 

and yes giving it more virtual processors will help! apache/mysql/php are all multi threaded and will take a advantage of it.

 

One more thing make sure you restart apache apache2ctl restart


Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)